/* ==========================================================================
   Basalt — Global Stylesheet
   A premium, minimal design system. Light motion, generous space.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Surfaces */
  --bg:            #07080b;
  --bg-soft:       #0b0d12;
  --surface:       #101319;
  --surface-2:     #151922;
  --line:          rgba(255, 255, 255, 0.08);
  --line-strong:   rgba(255, 255, 255, 0.16);

  /* Type */
  --text:          #f4f6fa;
  --text-muted:    #9aa4b4;
  --text-dim:      #6b7484;

  /* Brand */
  --brand:         #5b8cff;
  --brand-soft:    #8aabff;
  --accent:        #6ee7d0;
  --brand-glow:    rgba(91, 140, 255, 0.35);

  /* Shape */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-full: 999px;

  /* Motion — light and unhurried */
  --ease:     cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --t-fast:   180ms;
  --t-mid:    320ms;
  --t-slow:   620ms;

  /* Layout */
  --wrap: 1180px;
  --gutter: 24px;
  --nav-h: 76px;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.28);
  --shadow-md: 0 18px 44px rgba(0, 0, 0, 0.42);
  --shadow-lg: 0 32px 80px rgba(0, 0, 0, 0.55);
}

/* --------------------------------------------------------------------------
   2. Reset & base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 24px);
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto,
               Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; background: var(--surface-2); }

a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }

::selection { background: var(--brand); color: #04060c; }

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Ambient page glow — sits behind everything, costs nothing to animate */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(760px 420px at 12% -8%,  rgba(91, 140, 255, 0.16), transparent 62%),
    radial-gradient(680px 400px at 92% 4%,   rgba(110, 231, 208, 0.09), transparent 60%);
}

/* --------------------------------------------------------------------------
   3. Typography
   -------------------------------------------------------------------------- */
h1, h2, h3, h4 {
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.03em;
}

h1 { font-size: clamp(2.5rem, 6vw, 4.25rem); letter-spacing: -0.04em; }
h2 { font-size: clamp(1.95rem, 3.9vw, 2.9rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); letter-spacing: -0.02em; }
h4 { font-size: 1.05rem; letter-spacing: -0.015em; }

p { color: var(--text-muted); }

.lead {
  font-size: clamp(1.03rem, 1.6vw, 1.19rem);
  line-height: 1.68;
  color: var(--text-muted);
  max-width: 62ch;
}

.grad-text {
  background: linear-gradient(104deg, var(--text) 8%, var(--brand-soft) 52%, var(--accent) 96%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* --------------------------------------------------------------------------
   4. Layout primitives
   -------------------------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
  position: relative;
  z-index: 1;
}

.section { padding-block: clamp(72px, 9vw, 124px); position: relative; z-index: 1; }
.section--tight { padding-block: clamp(56px, 6vw, 84px); }

.section-head { max-width: 660px; margin-bottom: clamp(40px, 5vw, 60px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head h2 { margin-bottom: 16px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-soft);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--brand));
}
.section-head--center .eyebrow::before { display: none; }

.grid { display: grid; gap: 22px; }
.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)); }

.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong), transparent);
  border: 0;
}

/* --------------------------------------------------------------------------
   5. Buttons
   -------------------------------------------------------------------------- */
.btn {
  --btn-bg: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 26px;
  border-radius: var(--r-full);
  font-size: 0.925rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  white-space: nowrap;
  background: var(--btn-bg);
  border: 1px solid transparent;
  transition:
    transform var(--t-mid) var(--ease),
    box-shadow var(--t-mid) var(--ease),
    background-color var(--t-mid) var(--ease),
    border-color var(--t-mid) var(--ease),
    color var(--t-mid) var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); transition-duration: 90ms; }

.btn svg { transition: transform var(--t-mid) var(--ease); }
.btn:hover svg { transform: translateX(4px); }

.btn--primary {
  --btn-bg: var(--brand);
  color: #060911;
  font-weight: 600;
  box-shadow: 0 8px 22px rgba(91, 140, 255, 0.24);
}
.btn--primary:hover {
  --btn-bg: var(--brand-soft);
  box-shadow: 0 16px 34px rgba(91, 140, 255, 0.34);
}

.btn--ghost {
  border-color: var(--line-strong);
  color: var(--text);
  backdrop-filter: blur(6px);
}
.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.28);
}

.btn--light { --btn-bg: var(--text); color: #06080d; font-weight: 600; }
.btn--light:hover { --btn-bg: #fff; }

.btn--sm { padding: 10px 20px; font-size: 0.875rem; }
.btn--block { width: 100%; }

/* Text link with an underline that draws itself in */
.link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.925rem;
  font-weight: 500;
  color: var(--brand-soft);
  position: relative;
  transition: color var(--t-fast) var(--ease);
}
.link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--t-mid) var(--ease-out);
}
.link:hover { color: var(--accent); }
.link:hover::after { transform: scaleX(1); transform-origin: left; }
.link svg { transition: transform var(--t-mid) var(--ease); }
.link:hover svg { transform: translateX(4px); }

/* --------------------------------------------------------------------------
   6. Cards & surfaces
   -------------------------------------------------------------------------- */
.card {
  position: relative;
  background: linear-gradient(168deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012));
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 30px;
  overflow: hidden;
  transition:
    transform var(--t-mid) var(--ease),
    border-color var(--t-mid) var(--ease),
    box-shadow var(--t-mid) var(--ease);
}
/* Hairline sheen along the top edge, revealed on hover */
.card::after {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--brand), transparent);
  opacity: 0;
  transition: opacity var(--t-mid) var(--ease);
}
.card:hover {
  transform: translateY(-5px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-md);
}
.card:hover::after { opacity: 1; }

.card h3 { margin-bottom: 10px; }
.card p { font-size: 0.945rem; }

.card-icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  margin-bottom: 22px;
  border-radius: 14px;
  color: var(--brand-soft);
  background: linear-gradient(150deg, rgba(91, 140, 255, 0.2), rgba(110, 231, 208, 0.08));
  border: 1px solid rgba(91, 140, 255, 0.22);
  transition: transform var(--t-mid) var(--ease-out), color var(--t-mid) var(--ease);
}
.card:hover .card-icon { transform: translateY(-2px) scale(1.06); color: var(--accent); }

.card-num {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--text-dim);
  margin-bottom: 18px;
}

/* Bulleted feature list used inside cards */
.ticks { display: grid; gap: 10px; margin-top: 20px; }
.ticks li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.ticks li::before {
  content: "";
  flex: none;
  width: 15px;
  height: 15px;
  margin-top: 5px;
  border-radius: 50%;
  background: rgba(110, 231, 208, 0.14) center / 9px no-repeat
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236ee7d0' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
}

/* --------------------------------------------------------------------------
   7. Header / navigation
   -------------------------------------------------------------------------- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  border-bottom: 1px solid transparent;
  transition:
    background-color var(--t-mid) var(--ease),
    border-color var(--t-mid) var(--ease),
    backdrop-filter var(--t-mid) var(--ease),
    height var(--t-mid) var(--ease);
}
.header.is-stuck {
  height: 64px;
  background: rgba(7, 8, 11, 0.76);
  backdrop-filter: blur(16px) saturate(150%);
  border-bottom-color: var(--line);
}

.nav {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 1.16rem;
  font-weight: 600;
  letter-spacing: -0.035em;
  transition: opacity var(--t-fast) var(--ease);
}
.brand:hover { opacity: 0.82; }
.brand-mark {
  width: 34px;
  height: 34px;
  flex: none;
  transition: transform var(--t-slow) var(--ease-out);
}
.brand:hover .brand-mark { transform: rotate(-8deg) scale(1.06); }
.brand-name span { color: var(--brand); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  position: relative;
  padding: 9px 15px;
  border-radius: var(--r-full);
  font-size: 0.92rem;
  color: var(--text-muted);
  transition: color var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease);
}
.nav-links a:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.nav-links a.is-active { color: var(--text); }
.nav-links a.is-active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 1px;
  width: 15px;
  height: 2px;
  border-radius: 2px;
  background: var(--brand);
  transform: translateX(-50%);
}

.nav-cta { display: flex; align-items: center; gap: 10px; }

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  transition: background-color var(--t-fast) var(--ease);
}
.nav-toggle:hover { background: rgba(255, 255, 255, 0.06); }
.nav-toggle span {
  display: block;
  width: 17px;
  height: 1.5px;
  background: var(--text);
  border-radius: 2px;
  transition: transform var(--t-mid) var(--ease), opacity var(--t-fast) var(--ease);
}
.nav-toggle span + span { margin-top: 5px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* --------------------------------------------------------------------------
   8. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  padding-top: calc(var(--nav-h) + clamp(56px, 8vw, 96px));
  padding-bottom: clamp(64px, 8vw, 104px);
  overflow: hidden;
}
.hero--inner { padding-bottom: clamp(48px, 5vw, 68px); }

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(36px, 5vw, 64px);
  align-items: center;
}

.hero h1 { margin-bottom: 24px; }
.hero .lead { margin-bottom: 36px; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 44px; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 16px 7px 9px;
  margin-bottom: 26px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-full);
  background: rgba(255, 255, 255, 0.035);
  font-size: 0.815rem;
  color: var(--text-muted);
  backdrop-filter: blur(8px);
}
.pill b {
  padding: 3px 9px;
  border-radius: var(--r-full);
  background: var(--brand);
  color: #060911;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

/* Hero image stack */
.hero-visual { position: relative; }
.hero-visual img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
}
.hero-visual::before {
  content: "";
  position: absolute;
  inset: -14%;
  z-index: -1;
  background: radial-gradient(closest-side, var(--brand-glow), transparent 72%);
  filter: blur(18px);
}

/* Small floating stat chip over the hero image */
.float-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 18px;
  border-radius: var(--r-md);
  background: rgba(16, 19, 25, 0.86);
  border: 1px solid var(--line-strong);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-md);
  animation: float 6.5s var(--ease) infinite;
}
.float-chip--a { left: -22px; top: 12%; }
.float-chip--b { right: -18px; bottom: 11%; animation-delay: -3.2s; }
.float-chip strong { display: block; font-size: 1.16rem; letter-spacing: -0.03em; }
.float-chip small { color: var(--text-dim); font-size: 0.74rem; }

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

/* --------------------------------------------------------------------------
   9. Logo marquee
   -------------------------------------------------------------------------- */
.marquee {
  overflow: hidden;
  padding-block: 30px;
  border-block: 1px solid var(--line);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track {
  display: flex;
  gap: 68px;
  width: max-content;
  animation: slide 34s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  font-size: 1.32rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--text-dim);
  white-space: nowrap;
  transition: color var(--t-mid) var(--ease);
}
.marquee-track span:hover { color: var(--text); }

@keyframes slide {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* --------------------------------------------------------------------------
   10. Stats
   -------------------------------------------------------------------------- */
.stat { text-align: center; padding: 26px 14px; }
.stat b {
  display: block;
  font-size: clamp(2.1rem, 4.4vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1;
  margin-bottom: 9px;
}
.stat span { font-size: 0.875rem; color: var(--text-dim); }

.stat-bar {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: linear-gradient(168deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
  overflow: hidden;
}
.stat-bar .stat + .stat { border-left: 1px solid var(--line); }

/* --------------------------------------------------------------------------
   11. Media / split blocks
   -------------------------------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(36px, 5vw, 68px);
  align-items: center;
}
.split--flip .split-media { order: -1; }

.media {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}
.media img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  transition: transform var(--t-slow) var(--ease-out);
}
.media:hover img { transform: scale(1.045); }
.media--tall img { aspect-ratio: 4 / 5; }
.media--wide img { aspect-ratio: 16 / 9; }

/* --------------------------------------------------------------------------
   12. Work / portfolio
   -------------------------------------------------------------------------- */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 38px;
}
.filter {
  padding: 9px 19px;
  border: 1px solid var(--line);
  border-radius: var(--r-full);
  font-size: 0.875rem;
  color: var(--text-muted);
  transition:
    color var(--t-fast) var(--ease),
    background-color var(--t-fast) var(--ease),
    border-color var(--t-fast) var(--ease);
}
.filter:hover { color: var(--text); border-color: var(--line-strong); }
.filter.is-active {
  background: var(--text);
  border-color: var(--text);
  color: #06080d;
  font-weight: 500;
}

.work-card {
  position: relative;
  display: block;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
  transition:
    transform var(--t-mid) var(--ease),
    border-color var(--t-mid) var(--ease),
    box-shadow var(--t-mid) var(--ease),
    opacity var(--t-mid) var(--ease);
}
.work-card:hover {
  transform: translateY(-6px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-md);
}
.work-card img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  transition: transform var(--t-slow) var(--ease-out);
}
.work-card:hover img { transform: scale(1.06); }

.work-body { padding: 24px 26px 28px; }
.work-tag {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--brand-soft);
}
.work-body h3 { margin: 10px 0 8px; }
.work-body p { font-size: 0.9rem; }

.work-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}
.chip {
  padding: 5px 12px;
  border: 1px solid var(--line);
  border-radius: var(--r-full);
  font-size: 0.74rem;
  color: var(--text-dim);
}

/* Hidden by the filter script */
.work-card.is-hidden { display: none; }

/* --------------------------------------------------------------------------
   13. Process timeline
   -------------------------------------------------------------------------- */
.steps { position: relative; display: grid; gap: 0; }
.steps::before {
  content: "";
  position: absolute;
  left: 21px;
  top: 12px;
  bottom: 12px;
  width: 1px;
  background: linear-gradient(180deg, var(--brand), var(--accent), transparent);
  opacity: 0.4;
}
.step {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 24px;
  padding-block: 22px;
}
.step-dot {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--surface-2);
  border: 1px solid var(--line-strong);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--brand-soft);
  transition: border-color var(--t-mid) var(--ease), transform var(--t-mid) var(--ease-out);
}
.step:hover .step-dot { border-color: var(--brand); transform: scale(1.08); }
.step h3 { margin-bottom: 7px; }
.step p { font-size: 0.94rem; }

/* --------------------------------------------------------------------------
   14. Testimonials
   -------------------------------------------------------------------------- */
.quote { display: flex; flex-direction: column; height: 100%; }
.quote-mark {
  font-size: 3rem;
  line-height: 0.7;
  color: var(--brand);
  opacity: 0.35;
  margin-bottom: 14px;
}
.quote blockquote {
  font-size: 1.02rem;
  line-height: 1.68;
  color: var(--text);
  letter-spacing: -0.015em;
  flex: 1;
}
.quote-by {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.quote-by img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  flex: none;
}
.quote-by b { display: block; font-size: 0.9rem; font-weight: 600; }
.quote-by small { color: var(--text-dim); font-size: 0.79rem; }

/* --------------------------------------------------------------------------
   15. Team
   -------------------------------------------------------------------------- */
.member { text-align: left; }
.member-photo {
  position: relative;
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--line);
  margin-bottom: 18px;
}
.member-photo img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  filter: grayscale(100%) contrast(1.04);
  transition: filter var(--t-slow) var(--ease), transform var(--t-slow) var(--ease-out);
}
.member:hover .member-photo img { filter: grayscale(0%); transform: scale(1.05); }
.member h4 { margin-bottom: 3px; }
.member span { font-size: 0.85rem; color: var(--text-dim); }

/* --------------------------------------------------------------------------
   16. Pricing
   -------------------------------------------------------------------------- */
.price-card { display: flex; flex-direction: column; }
.price-card.is-featured {
  border-color: rgba(91, 140, 255, 0.4);
  background: linear-gradient(168deg, rgba(91, 140, 255, 0.11), rgba(255, 255, 255, 0.012));
}
.price-card.is-featured::after { opacity: 1; }
.price-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  padding: 4px 11px;
  border-radius: var(--r-full);
  background: var(--brand);
  color: #060911;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.price {
  display: flex;
  align-items: baseline;
  gap: 5px;
  margin: 16px 0 6px;
}
.price b { font-size: 2.5rem; font-weight: 600; letter-spacing: -0.045em; }
.price span { font-size: 0.86rem; color: var(--text-dim); }
.price-card .ticks { flex: 1; margin-bottom: 26px; }

/* --------------------------------------------------------------------------
   17. Accordion (FAQ)
   -------------------------------------------------------------------------- */
.acc { border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  width: 100%;
  padding: 24px 4px;
  text-align: left;
  font-size: 1.02rem;
  font-weight: 500;
  letter-spacing: -0.015em;
  transition: color var(--t-fast) var(--ease);
}
.acc-btn:hover { color: var(--brand-soft); }
.acc-icon {
  flex: none;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  position: relative;
  transition: transform var(--t-mid) var(--ease-out), border-color var(--t-mid) var(--ease);
}
.acc-icon::before,
.acc-icon::after {
  content: "";
  position: absolute;
  background: currentColor;
  border-radius: 2px;
  transition: opacity var(--t-mid) var(--ease);
}
.acc-icon::before { width: 11px; height: 1.5px; }
.acc-icon::after  { width: 1.5px; height: 11px; }
.acc-btn[aria-expanded="true"] .acc-icon { transform: rotate(180deg); border-color: var(--brand); }
.acc-btn[aria-expanded="true"] .acc-icon::after { opacity: 0; }

/* Height animates via a grid-row trick — no JS measurement needed */
.acc-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--t-mid) var(--ease-out);
}
.acc-panel > div { overflow: hidden; }
.acc-item.is-open .acc-panel { grid-template-rows: 1fr; }
.acc-panel p { padding: 0 4px 26px; max-width: 74ch; font-size: 0.95rem; }

/* --------------------------------------------------------------------------
   18. Forms
   -------------------------------------------------------------------------- */
.form { display: grid; gap: 18px; }
.field { display: grid; gap: 8px; }
.field label {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.01em;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 16px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  font-size: 0.94rem;
  transition:
    border-color var(--t-fast) var(--ease),
    background-color var(--t-fast) var(--ease),
    box-shadow var(--t-fast) var(--ease);
}
.field textarea { resize: vertical; min-height: 132px; }
.field input::placeholder,
.field textarea::placeholder { color: var(--text-dim); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brand);
  background: rgba(91, 140, 255, 0.06);
  box-shadow: 0 0 0 3px rgba(91, 140, 255, 0.14);
}
.field select { appearance: none; cursor: pointer; }
.field select option { background: var(--surface); color: var(--text); }
/* Chevron for the select */
.field.field--select { position: relative; }
.field.field--select::after {
  content: "";
  position: absolute;
  right: 17px;
  bottom: 20px;
  width: 9px;
  height: 9px;
  border-right: 1.5px solid var(--text-dim);
  border-bottom: 1.5px solid var(--text-dim);
  transform: rotate(45deg);
  pointer-events: none;
}

.form-note { font-size: 0.82rem; color: var(--text-dim); }

/* Visible to screen readers only */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.form-status {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-radius: var(--r-sm);
  background: rgba(110, 231, 208, 0.1);
  border: 1px solid rgba(110, 231, 208, 0.3);
  color: var(--accent);
  font-size: 0.9rem;
}
.form-status.is-visible { display: flex; animation: fadeUp var(--t-mid) var(--ease-out) both; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* --------------------------------------------------------------------------
   19. Contact details
   -------------------------------------------------------------------------- */
.contact-item {
  display: flex;
  gap: 16px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.contact-item:last-child { border-bottom: 0; }
.contact-item .card-icon { width: 42px; height: 42px; margin: 0; border-radius: 12px; flex: none; }
.contact-item h4 { margin-bottom: 3px; }
.contact-item p, .contact-item a { font-size: 0.92rem; color: var(--text-muted); }
.contact-item a { transition: color var(--t-fast) var(--ease); }
.contact-item a:hover { color: var(--brand-soft); }

/* --------------------------------------------------------------------------
   20. Blog
   -------------------------------------------------------------------------- */
.post {
  display: flex;
  flex-direction: column;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
  transition:
    transform var(--t-mid) var(--ease),
    border-color var(--t-mid) var(--ease),
    box-shadow var(--t-mid) var(--ease);
}
.post:hover {
  transform: translateY(-5px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-md);
}
.post img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform var(--t-slow) var(--ease-out);
}
.post:hover img { transform: scale(1.05); }
.post-body { padding: 24px 26px 28px; flex: 1; display: flex; flex-direction: column; }
.post-meta {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.76rem;
  color: var(--text-dim);
  margin-bottom: 12px;
}
.post-meta em {
  font-style: normal;
  color: var(--brand-soft);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.post-body h3 { font-size: 1.16rem; margin-bottom: 10px; }
.post-body p { font-size: 0.9rem; flex: 1; }
.post-body .link { margin-top: 20px; align-self: flex-start; }

.post--feature { flex-direction: row; align-items: stretch; }
.post--feature img { width: 52%; aspect-ratio: auto; object-fit: cover; }
.post--feature .post-body { padding: clamp(28px, 4vw, 46px); justify-content: center; }
.post--feature h3 { font-size: clamp(1.35rem, 2.4vw, 1.85rem); }

/* --------------------------------------------------------------------------
   21. CTA band
   -------------------------------------------------------------------------- */
.cta {
  position: relative;
  overflow: hidden;
  padding: clamp(48px, 7vw, 84px) clamp(26px, 5vw, 68px);
  border-radius: clamp(20px, 3vw, 32px);
  border: 1px solid var(--line-strong);
  background:
    radial-gradient(620px 300px at 18% 0%, rgba(91, 140, 255, 0.24), transparent 66%),
    radial-gradient(520px 280px at 88% 100%, rgba(110, 231, 208, 0.16), transparent 66%),
    var(--surface);
  text-align: center;
}
.cta h2 { margin-bottom: 16px; }
.cta .lead { margin: 0 auto 32px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* --------------------------------------------------------------------------
   22. Footer
   -------------------------------------------------------------------------- */
.footer {
  margin-top: clamp(72px, 9vw, 118px);
  border-top: 1px solid var(--line);
  background: var(--bg-soft);
  position: relative;
  z-index: 1;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 44px;
  padding-block: clamp(48px, 6vw, 72px);
}
.footer-grid p { font-size: 0.92rem; max-width: 34ch; margin-top: 16px; }
.footer h5 {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 18px;
}
.footer-links { display: grid; gap: 11px; }
.footer-links a {
  font-size: 0.92rem;
  color: var(--text-muted);
  transition: color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
.footer-links a:hover { color: var(--text); transform: translateX(3px); }

.socials { display: flex; gap: 9px; margin-top: 22px; }
.socials a {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 11px;
  color: var(--text-muted);
  transition:
    color var(--t-fast) var(--ease),
    border-color var(--t-fast) var(--ease),
    background-color var(--t-fast) var(--ease),
    transform var(--t-mid) var(--ease);
}
.socials a:hover {
  color: var(--text);
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-2px);
}

.footer-base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-block: 24px;
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
  color: var(--text-dim);
}
.footer-base nav { display: flex; gap: 22px; }
.footer-base a:hover { color: var(--text); }

/* --------------------------------------------------------------------------
   23. Scroll reveal
   -------------------------------------------------------------------------- */
/* Scoped to .js so the page is never blank if the script fails to load */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity var(--t-slow) var(--ease-out),
    transform var(--t-slow) var(--ease-out);
  transition-delay: var(--d, 0ms);
  will-change: opacity, transform;
}
.js [data-reveal].is-in {
  opacity: 1;
  transform: none;
}

/* Thin progress bar tied to scroll position */
.progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 100%;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  z-index: 200;
}

/* --------------------------------------------------------------------------
   24. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1000px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 900px) {
  :root { --gutter: 20px; }

  .nav-toggle { display: grid; }
  .nav-cta .btn { display: none; }

  .nav-links {
    position: fixed;
    inset: var(--nav-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 14px 20px 24px;
    background: rgba(9, 11, 15, 0.97);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    /* Collapsed by default; opened by the toggle */
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition:
      opacity var(--t-mid) var(--ease),
      transform var(--t-mid) var(--ease-out),
      visibility var(--t-mid) linear;
  }
  .nav-links.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
  .nav-links a { padding: 13px 14px; font-size: 1rem; border-radius: 12px; }
  .nav-links a.is-active::after { left: 14px; transform: none; bottom: 9px; }
  .nav-links .btn { margin-top: 12px; }

  .hero-grid { grid-template-columns: 1fr; gap: 46px; }
  .hero-visual { max-width: 460px; margin-inline: auto; }
  .hero-visual img { aspect-ratio: 4 / 3.4; }
  .float-chip--a { left: 8px; }
  .float-chip--b { right: 8px; }

  .split { grid-template-columns: 1fr; gap: 34px; }
  .split--flip .split-media { order: 0; }

  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .post--feature { flex-direction: column; }
  .post--feature img { width: 100%; aspect-ratio: 16 / 9; }
}

@media (max-width: 660px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }

  .stat-bar { border-radius: var(--r-md); }
  .stat-bar .stat + .stat { border-left: 0; border-top: 1px solid var(--line); }

  .card { padding: 26px 22px; }
  .hero-actions .btn { width: 100%; }
  .footer-base { flex-direction: column; align-items: flex-start; }
  .float-chip { padding: 11px 14px; }
  .float-chip strong { font-size: 1rem; }
}

/* --------------------------------------------------------------------------
   25. Reduced motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .js [data-reveal] { opacity: 1; transform: none; }
}
