/* WHJ — Quiet Luxury Landing (Bootstrap 5 RTL layout) */
:root {
  --cream: #faf9f6;
  --cream-deep: #f3f0e8;
  --ink: #1e2923;
  --ink-soft: rgba(30, 41, 35, 0.7);
  --ink-faint: rgba(30, 41, 35, 0.42);
  --gold: #d4a373;
  --gold-bright: #e5b80b;
  --gold-glow: rgba(212, 163, 115, 0.45);
  --glass: rgba(255, 255, 255, 0.42);
  --border: rgba(30, 41, 35, 0.08);
  --border-gold: rgba(212, 163, 115, 0.35);
  --radius: 18px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font: "Tajawal", system-ui, sans-serif;
  --display: "El Messiri", "Tajawal", serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --max: 1120px;
  --hero-ink: #0e0c08;
  --hero-cream: #f2ead9;
  --hero-muted: #b6ab98;
  --hero-line: rgba(246, 241, 228, 0.12);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  font-family: var(--font);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.7;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

/* —— Custom cursor —— */
@media (hover: hover) and (pointer: fine) {
  body.has-cursor,
  body.has-cursor * {
    cursor: none !important;
  }
}

.cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 18px;
  height: 18px;
  margin: 0;
  pointer-events: none;
  z-index: 9999;
  display: none;
  transform: translate3d(-100px, -100px, 0);
  will-change: transform;
  opacity: 0.92;
  transition: opacity 0.28s ease;
}

@media (hover: hover) and (pointer: fine) {
  .cursor {
    display: block;
  }
}

.cursor__arrow {
  display: block;
  width: 18px;
  height: 18px;
  filter: drop-shadow(0 1px 2px rgba(14, 12, 8, 0.35));
  transition: transform 0.28s var(--ease);
}

.cursor__arrow-fill {
  fill: rgba(30, 41, 35, 0.88);
  stroke: rgba(255, 255, 255, 0.55);
  stroke-width: 0.8;
  transition: fill 0.25s ease, stroke 0.25s ease;
}

.cursor.is-on-dark .cursor__arrow-fill {
  fill: rgba(248, 221, 139, 0.95);
  stroke: rgba(14, 12, 8, 0.45);
}

/* Hover: soft lift + gold tip */
.cursor.is-hover .cursor__arrow {
  transform: scale(1.15);
}

.cursor.is-hover .cursor__arrow-fill {
  fill: var(--gold-bright);
  stroke: rgba(255, 248, 220, 0.7);
}

.cursor.is-on-dark.is-hover .cursor__arrow-fill {
  fill: #f8dd8b;
  stroke: rgba(14, 12, 8, 0.35);
}

.cursor.is-down .cursor__arrow {
  transform: scale(0.88);
}

.cursor.is-hidden {
  opacity: 0;
}

@media (prefers-reduced-motion: reduce) {
  .cursor__arrow {
    transition: none;
  }

  .cursor.is-hover .cursor__arrow,
  .cursor.is-down .cursor__arrow {
    transform: none;
  }
}

/* —— Ambient layers —— */
.ambient-glow {
  position: fixed;
  inset: 0;
  top: 100svh;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(
      520px circle at var(--mx, 70%) var(--my, 30%),
      rgba(229, 184, 11, 0.14),
      transparent 55%
    ),
    radial-gradient(
      680px circle at calc(var(--mx, 70%) + 12%) calc(var(--my, 30%) + 18%),
      rgba(212, 163, 115, 0.1),
      transparent 60%
    );
  will-change: background;
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

.site-nav,
main,
.site-footer {
  position: relative;
  z-index: 2;
}

.mono {
  font-family: var(--mono);
  letter-spacing: 0.02em;
}

/* —— Brand —— */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}

.brand__logo {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 0 20px rgba(229, 184, 11, 0.25);
}

.brand__logo--sm {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  box-shadow: none;
}

.brand__mark {
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  font-family: var(--display);
  background: linear-gradient(135deg, var(--ink) 40%, var(--gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand__latin {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  color: var(--ink-faint);
  text-transform: uppercase;
}

.brand__names {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.05rem;
  line-height: 1;
}

/* —— Floating pill nav —— */
.site-nav {
  display: block;
  position: fixed;
  top: 0;
  inset-inline: 0;
  z-index: 100;
  width: 100%;
  padding: 0.85rem clamp(0.7rem, 3vw, 1.75rem) 0;
  background: transparent;
  pointer-events: none;
}

.site-nav__bar,
.site-nav .navbar-collapse {
  pointer-events: auto;
}

.site-nav__bar {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.75rem 1.25rem;
  width: min(1080px, 100%);
  margin-inline: auto;
  min-height: 68px;
  padding: 0.4rem 0.45rem 0.4rem 1.15rem;
  background: #fff;
  border-radius: 999px;
  box-shadow:
    0 10px 28px rgba(30, 41, 35, 0.1),
    0 1px 2px rgba(30, 41, 35, 0.04);
}

.site-nav .navbar-brand {
  margin: 0;
  padding: 0;
}

.site-nav .brand__logo {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  box-shadow: none;
}

.site-nav .brand__mark {
  background: none;
  -webkit-text-fill-color: var(--ink);
  color: var(--ink);
  font-size: 1.2rem;
  line-height: 1;
}

.site-nav .brand__latin {
  color: rgba(30, 41, 35, 0.45);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
}

.site-nav .navbar-collapse {
  justify-content: center;
}

.site-nav .navbar-nav {
  gap: 0.15rem 1.65rem;
}

.site-nav .nav-link {
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.35rem 0.1rem;
  transition: color 0.25s var(--ease);
}

.site-nav .nav-link:hover,
.site-nav .nav-link:focus {
  color: #b8893d;
}

.site-nav__end {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.site-nav .navbar-toggler {
  border: 1px solid rgba(30, 41, 35, 0.12);
  border-radius: 999px;
  padding: 0.45rem 0.55rem;
  box-shadow: none;
}

.site-nav .navbar-toggler:focus {
  box-shadow: 0 0 0 3px rgba(229, 184, 11, 0.25);
}

.site-nav .navbar-toggler-icon {
  width: 1.15rem;
  height: 1.15rem;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%231e2923' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .site-nav .navbar-nav {
    gap: 0.1rem 0.85rem;
  }

  .site-nav .nav-link {
    font-size: 0.86rem;
  }
}

@media (max-width: 767.98px) {
  .site-nav__bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    border-radius: 22px;
    padding: 0.45rem 0.55rem;
  }

  .site-nav__bar:has(.navbar-collapse.show) {
    max-height: calc(100svh - 1.25rem);
    overflow: auto;
    border-radius: 22px;
  }

  .site-nav .navbar-brand {
    order: 1;
    min-width: 0;
  }

  .site-nav__end {
    order: 2;
    margin-inline-start: auto;
    flex-shrink: 0;
  }

  .site-nav .navbar-collapse {
    order: 3;
    flex: 1 0 100%;
    margin-top: 0.35rem;
    padding: 0.15rem 0.35rem 0.35rem;
    background: transparent;
    border: 0;
    border-top: 1px solid rgba(30, 41, 35, 0.08);
  }

  .site-nav .navbar-nav {
    width: 100%;
    align-items: stretch;
    gap: 0;
  }

  .site-nav .nav-link {
    display: block;
    padding: 0.8rem 0.2rem;
  }
}

@media (max-width: 380px) {
  .site-nav {
    padding-inline: 0.55rem;
  }

  .site-nav .brand__logo {
    width: 34px;
    height: 34px;
  }

  .site-nav .brand__mark {
    font-size: 1.05rem;
  }
}

/* —— Hero —— */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 110px 0 70px;
  color: var(--hero-cream);
  background:
    radial-gradient(
      60% 55% at var(--hx, 72%) var(--hy, 28%),
      rgba(229, 184, 11, 0.16),
      transparent 60%
    ),
    radial-gradient(45% 40% at 15% 85%, rgba(212, 163, 115, 0.12), transparent 65%),
    var(--hero-ink);
  overflow: hidden;
}

.hero__content {
  max-width: var(--max);
  position: relative;
  z-index: 5;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--gold-bright);
  font-size: 0.82rem;
  margin-bottom: 1.5rem;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--gold-bright);
}

.headline {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.85rem, 4.4vw, 3.45rem);
  line-height: 1.32;
  margin: 0 0 1.4rem;
  color: var(--hero-cream);
  letter-spacing: -0.01em;
}

.headline em {
  font-style: normal;
  color: transparent;
  background: linear-gradient(90deg, #f8dd8b, var(--gold-bright) 55%, var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
}

.hero__sub {
  font-size: clamp(0.98rem, 1.5vw, 1.12rem);
  line-height: 1.9;
  color: var(--hero-muted);
  max-width: 48ch;
  margin: 0 0 2.2rem;
  font-weight: 400;
}

.btn-ghost {
  font-family: var(--mono);
  font-size: 0.85rem;
  color: var(--hero-muted);
  border-bottom: 1px solid var(--hero-line);
  padding-bottom: 3px;
  transition:
    color 0.25s,
    border-color 0.25s;
}

.btn-ghost:hover {
  color: var(--gold-bright);
  border-color: var(--gold-bright);
}

.hero-mark {
  position: relative;
  min-height: clamp(200px, 42vw, 340px);
  will-change: transform;
}

.hero-mark.is-alive {
  animation: bolt-float 10s ease-in-out infinite;
}

.bolt-glow {
  position: absolute;
  inset: 0;
  opacity: 0.14;
  transform: rotate(-6deg) scale(1.7);
  width: 100%;
  height: 100%;
  transform-origin: center;
}

.hero-mark.is-alive .bolt-glow {
  animation: bolt-echo 12s ease-in-out infinite;
}

.bolt-live {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(78%, 300px);
  height: auto;
  filter:
    drop-shadow(0 0 16px rgba(229, 184, 11, 0.45))
    drop-shadow(0 0 40px rgba(212, 163, 115, 0.28));
}

.hero-mark.is-alive .bolt-live {
  animation: bolt-breathe 7s ease-in-out infinite;
}

.bolt-live path:not(.bolt-spark) {
  fill: none;
  stroke: url(#boltGrad);
  stroke-width: 14;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.bolt-spark {
  fill: none;
  stroke: #fff6c8;
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0;
  pointer-events: none;
}

.hero-mark.is-alive .bolt-spark {
  opacity: 0.85;
  animation: bolt-spark-flow 6.5s linear infinite;
}

@keyframes bolt-float {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
  50% {
    transform: translate3d(0, -12px, 0) rotate(1.2deg);
  }
}

@keyframes bolt-echo {
  0%,
  100% {
    opacity: 0.1;
    transform: rotate(-7deg) scale(1.65);
  }
  50% {
    opacity: 0.2;
    transform: rotate(-4deg) scale(1.78);
  }
}

@keyframes bolt-breathe {
  0%,
  100% {
    filter:
      drop-shadow(0 0 14px rgba(229, 184, 11, 0.38))
      drop-shadow(0 0 34px rgba(212, 163, 115, 0.22));
  }
  50% {
    filter:
      drop-shadow(0 0 22px rgba(229, 184, 11, 0.62))
      drop-shadow(0 0 52px rgba(212, 163, 115, 0.38));
  }
}

@keyframes bolt-spark-flow {
  from {
    stroke-dashoffset: 0;
  }
  to {
    stroke-dashoffset: var(--bolt-spark-travel, -400);
  }
}

/* —— Buttons (namespaced away from Bootstrap .btn) —— */
.whj-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  border-radius: 6px;
  padding: 0.95rem 1.85rem;
  gap: 0.55rem;
  transition:
    transform 0.35s var(--ease),
    box-shadow 0.35s var(--ease),
    background 0.35s var(--ease);
}

.whj-btn--gold {
  color: var(--ink);
  background: #e5b80b;
  box-shadow: 0 2px 6px rgba(229, 184, 11, 0.14);
}

.whj-btn--gold:hover {
  transform: translateY(-2px);
  background: #f0c51a;
  box-shadow: 0 4px 10px rgba(229, 184, 11, 0.2);
  color: var(--ink);
}

.whj-btn--gold:active {
  transform: translateY(0);
  background: #d4a90a;
}

.whj-btn--gold svg {
  width: 18px;
  height: 18px;
  transform: scaleX(-1);
  flex-shrink: 0;
}

/* —— Sections —— */
.section {
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
  scroll-margin-top: 96px;
}

.section--services {
  position: relative;
}

.section--services .container {
  max-width: var(--max);
}

.section--services::before {
  content: "";
  position: absolute;
  top: -48px;
  left: 0;
  right: 0;
  height: 48px;
  background: linear-gradient(180deg, transparent, var(--cream));
  pointer-events: none;
}

.eyebrow--ink {
  color: var(--gold);
  margin-bottom: 0.85rem;
}

.eyebrow--ink::before {
  background: var(--gold);
}

.services-title {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  letter-spacing: -0.02em;
  margin: 0;
  line-height: 1.35;
  color: var(--ink);
}

.services-note {
  color: rgba(30, 41, 35, 0.78);
  font-size: 0.98rem;
  max-width: 28ch;
  line-height: 1.8;
}

@media (min-width: 992px) {
  .services-note {
    text-align: end;
  }
}

.glass {
  background: var(--glass);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.55) inset,
    0 18px 48px rgba(30, 41, 35, 0.04);
}

.service-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 1.5rem 1.35rem 1.4rem;
  transition:
    transform 0.35s var(--ease),
    border-color 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-gold);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.55) inset,
    0 20px 44px rgba(30, 41, 35, 0.07);
}

.service-card__icon {
  width: 64px;
  height: 64px;
  margin-bottom: 1.1rem;
}

.service-card__icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.service-card__num {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.08em;
  margin-bottom: 0.55rem;
}

.service-card h3 {
  font-family: var(--display);
  font-size: clamp(1.1rem, 2vw, 1.25rem);
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 0.5rem;
  line-height: 1.35;
}

.service-card p {
  margin: 0 0 1.15rem;
  font-size: 0.94rem;
  line-height: 1.75;
  color: rgba(30, 41, 35, 0.78);
  flex: 1;
}

.service-card__tag {
  font-size: 0.7rem;
  color: var(--ink-faint);
  letter-spacing: 0.05em;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
  width: 100%;
}

/* —— Live System Performance Gauge —— */
.section--gauge {
  position: relative;
  padding-top: clamp(1rem, 3vw, 2rem);
}

.section--gauge .container {
  max-width: var(--max);
}

.gauge-board {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(16px) saturate(1.15);
  -webkit-backdrop-filter: blur(16px) saturate(1.15);
  border: 1px solid rgba(30, 41, 35, 0.1);
  border-radius: 1.75rem;
  padding: clamp(1.75rem, 4vw, 2.75rem);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.65) inset,
    0 18px 48px rgba(30, 41, 35, 0.05);
}

.gauge-board__header {
  max-width: 36rem;
  margin: 0 auto 2rem;
}

.gauge-board__title {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.45rem, 2.8vw, 2.15rem);
  line-height: 1.35;
  color: var(--ink);
  margin: 0 0 0.65rem;
}

.gauge-board__sub {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.75;
}

.gauge-board__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .gauge-board__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

.gauge-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.15rem 0.85rem 0.35rem;
  border-radius: 1.15rem;
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid rgba(30, 41, 35, 0.07);
  transition:
    border-color 0.3s var(--ease),
    transform 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
}

.gauge-card:hover {
  border-color: var(--border-gold);
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(30, 41, 35, 0.06);
}

.gauge-ring {
  position: relative;
  width: min(148px, 42vw);
  aspect-ratio: 1;
  margin-bottom: 1rem;
}

.gauge-ring svg {
  width: 100%;
  height: 100%;
  display: block;
  transform: rotate(-90deg);
}

.gauge-ring__track,
.gauge-ring__progress {
  fill: none;
  stroke-width: 8;
  stroke-linecap: round;
}

.gauge-ring__track {
  stroke: rgba(30, 41, 35, 0.08);
}

.gauge-ring__progress {
  stroke: var(--gold-bright);
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  transition: stroke-dashoffset 1.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.gauge-card.is-on .gauge-ring__progress {
  stroke-dashoffset: var(--gauge-offset, 100);
}

.gauge-ring__value {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.05rem;
  font-weight: 600;
  font-size: clamp(1.05rem, 2.4vw, 1.2rem);
  color: var(--ink);
  letter-spacing: -0.02em;
}

.gauge-ring__prefix,
.gauge-ring__unit {
  font-size: 0.72em;
  color: var(--gold);
  font-weight: 500;
}

.gauge-card__title {
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 0.35rem;
  line-height: 1.45;
  max-width: 16ch;
}

.gauge-card__hint {
  margin: 0;
  font-size: 0.68rem;
  color: var(--ink-faint);
  letter-spacing: 0.04em;
}

@media (prefers-reduced-motion: reduce) {
  .gauge-ring__progress {
    transition: none;
  }

  .gauge-card:hover {
    transform: none;
  }
}

/* —— Interactive Balance Scale —— */
.section--scale {
  position: relative;
  padding-top: clamp(0.5rem, 2vw, 1.25rem);
}

.section--scale .container {
  max-width: var(--max);
}

.scale-board {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(16px) saturate(1.15);
  -webkit-backdrop-filter: blur(16px) saturate(1.15);
  border: 1px solid rgba(30, 41, 35, 0.1);
  border-radius: 1.75rem;
  padding: clamp(1.5rem, 4vw, 2.75rem);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.65) inset,
    0 18px 48px rgba(30, 41, 35, 0.05);
  text-align: center;
}

.scale-board__header {
  max-width: 34rem;
  margin: 0 auto 1.5rem;
}

.scale-board__badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.72rem;
  font-weight: 800;
  color: #7a5a12;
  background: rgba(254, 243, 199, 0.9);
  border: 1px solid rgba(252, 211, 77, 0.65);
  border-radius: 999px;
  padding: 0.3rem 0.8rem;
}

.scale-board__title {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.4rem, 2.8vw, 2.05rem);
  color: var(--ink);
  margin: 0.75rem 0 0.45rem;
  line-height: 1.35;
}

.scale-board__sub {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.7;
}

.scale-stage {
  background: rgba(14, 12, 8, 0.96);
  border: 1px solid rgba(55, 65, 81, 0.85);
  border-radius: 1.15rem;
  padding: clamp(1.25rem, 3vw, 2rem) 1rem 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 20px 48px rgba(14, 12, 8, 0.18);
  overflow: hidden;
}

.scale-status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.95rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  transition:
    background 0.3s ease,
    color 0.3s ease,
    border-color 0.3s ease;
}

.scale-status__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
  animation: tipPingPulse 1.6s ease-out infinite;
}

.scale-status.is-balanced,
.scale-status.is-light {
  background: rgba(16, 185, 129, 0.16);
  color: #34d399;
  border: 1px solid rgba(52, 211, 153, 0.3);
}

.scale-status.is-balanced .scale-status__dot,
.scale-status.is-light .scale-status__dot {
  background: #34d399;
}

.scale-status.is-warn {
  background: rgba(245, 158, 11, 0.16);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.35);
}

.scale-status.is-warn .scale-status__dot {
  background: #f59e0b;
}

.scale-status.is-heavy {
  background: rgba(244, 63, 94, 0.14);
  color: #fb7185;
  border: 1px solid rgba(244, 63, 94, 0.28);
}

.scale-status.is-heavy .scale-status__dot {
  background: #f43f5e;
}

.scale-rig {
  position: relative;
  max-width: 22rem;
  height: 11.5rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
}

.scale-pillar {
  position: relative;
  z-index: 1;
  width: 0.7rem;
  height: 5.75rem;
  border-radius: 0.35rem 0.35rem 0 0;
  background: linear-gradient(180deg, #6b7280, #1f2937);
}

.scale-pillar__base {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 3.25rem;
  height: 0.55rem;
  margin-left: -1.625rem;
  border-radius: 0.3rem;
  background: #374151;
}

.scale-beam {
  position: absolute;
  top: 1.1rem;
  left: 0;
  right: 0;
  height: 0.45rem;
  z-index: 2;
  border-radius: 999px;
  background: linear-gradient(90deg, #e5b80b, #f8dd8b, #e5b80b);
  box-shadow: 0 4px 16px rgba(229, 184, 11, 0.28);
  transform: rotate(var(--tilt, 0deg));
  transform-origin: center center;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.scale-pan {
  position: absolute;
  top: 50%;
  width: 7rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.scale-pan--left {
  left: 0;
  transform: translate(-50%, 0);
}

.scale-pan--right {
  right: 0;
  transform: translate(50%, 0);
}

.scale-pan__cord {
  width: 2px;
  height: 3.6rem;
  background: rgba(229, 184, 11, 0.75);
}

.scale-pan__bowl {
  width: 7rem;
  min-height: 2.75rem;
  border: 2px solid rgba(229, 184, 11, 0.75);
  border-top: none;
  border-radius: 0 0 999px 999px;
  background: rgba(17, 24, 39, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.4rem 0.45rem 0.55rem;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}

.scale-pan__cord--burden {
  background: rgba(251, 113, 133, 0.8);
}

.scale-pan__bowl--burden {
  border-color: rgba(251, 113, 133, 0.75);
  background: rgba(76, 5, 25, 0.45);
}

.scale-pan__items {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  justify-content: center;
  align-items: center;
}

.scale-pan__label--burden {
  color: #fb7185;
}

.scale-chip {
  font-size: 0.58rem;
  font-weight: 700;
  color: #fecdd3;
  background: rgba(244, 63, 94, 0.22);
  border: 1px solid rgba(251, 113, 133, 0.45);
  border-radius: 0.35rem;
  padding: 0.15rem 0.35rem;
  line-height: 1.3;
}

.scale-pan__bowl--fixed {
  background: rgba(229, 184, 11, 0.1);
}

.scale-pan__fixed {
  font-size: 0.7rem;
  font-weight: 700;
  color: #f8dd8b;
}

.scale-pan__label {
  margin-top: 0.45rem;
  font-size: 0.68rem;
  font-weight: 600;
  color: #e5b80b;
}

.scale-picker__hint {
  margin: 0 0 0.85rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink);
}

.scale-picker__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem;
}

.scale-elem {
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--border);
  border-radius: 0.85rem;
  padding: 0.55rem 0.9rem;
  transition:
    background 0.25s var(--ease),
    border-color 0.25s var(--ease),
    color 0.25s var(--ease),
    transform 0.25s var(--ease);
}

.scale-elem:hover {
  border-color: var(--border-gold);
  color: var(--ink);
  transform: translateY(-1px);
}

.scale-elem.is-active {
  color: #881337;
  background: rgba(254, 205, 211, 0.95);
  border-color: rgba(244, 63, 94, 0.45);
  box-shadow: 0 4px 14px rgba(244, 63, 94, 0.14);
}

.scale-board__actions {
  margin-top: 1.15rem;
}

.scale-reset {
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ink-soft);
  background: rgba(30, 41, 35, 0.06);
  border: 1px solid var(--border);
  border-radius: 0.85rem;
  padding: 0.55rem 1rem;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}

.scale-reset:hover {
  color: var(--ink);
  border-color: var(--border-gold);
  background: rgba(255, 255, 255, 0.85);
}

@media (prefers-reduced-motion: reduce) {
  .scale-beam,
  .scale-elem,
  .scale-status__dot {
    transition: none;
    animation: none;
  }
}

/* —— Tip of the Day —— */
.tip-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: inherit;
  font-size: 0.75rem;
  font-weight: 800;
  color: #451a03;
  background: rgba(254, 243, 199, 0.82);
  border: 1px solid rgba(252, 211, 77, 0.8);
  border-radius: 999px;
  padding: 0.4rem 1rem;
  margin: 0 0 1.1rem;
  box-shadow:
    0 0 0 1px rgba(229, 184, 11, 0.12),
    0 6px 18px rgba(229, 184, 11, 0.18);
  transition:
    background 0.25s var(--ease),
    box-shadow 0.25s var(--ease),
    transform 0.25s var(--ease);
}

.tip-badge--hero {
  margin: 0 0 1.15rem;
  color: #f8f1d8;
  background: rgba(229, 184, 11, 0.14);
  border-color: rgba(229, 184, 11, 0.45);
  box-shadow:
    0 0 0 1px rgba(229, 184, 11, 0.08),
    0 8px 24px rgba(229, 184, 11, 0.12);
}

.tip-badge:hover:not(.tip-badge--nav) {
  background: rgba(253, 230, 138, 0.92);
  box-shadow:
    0 0 0 1px rgba(229, 184, 11, 0.2),
    0 8px 22px rgba(229, 184, 11, 0.28);
  transform: translateY(-1px);
}

.tip-badge--nav {
  position: relative;
  z-index: 1;
  margin: 0;
  width: 42px;
  height: 42px;
  padding: 0;
  border-radius: 50%;
  color: var(--ink);
  background: transparent;
  border-color: rgba(30, 41, 35, 0.16);
  box-shadow: none;
  transition:
    background 0.25s var(--ease),
    box-shadow 0.25s var(--ease),
    transform 0.25s var(--ease),
    border-color 0.25s var(--ease);
}

.tip-badge--nav.is-nudging {
  animation: tipBadgeShake 2.4s ease-in-out infinite;
}

.tip-badge__ping {
  position: absolute;
  top: -3px;
  inset-inline-end: -3px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ef4444;
  border: 1.5px solid #fff;
  box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.55);
  opacity: 0;
  transform: scale(0.6);
  pointer-events: none;
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
}

.tip-badge--nav.is-nudging .tip-badge__ping {
  opacity: 1;
  transform: scale(1);
  animation: tipPingPulse 1.6s ease-out infinite;
}

@keyframes tipBadgeShake {
  0%,
  82%,
  100% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
  84% {
    transform: translate3d(-2px, 0, 0) rotate(-1.5deg);
  }
  86% {
    transform: translate3d(2px, 1px, 0) rotate(1.5deg);
  }
  88% {
    transform: translate3d(-2px, 0, 0) rotate(-1deg);
  }
  90% {
    transform: translate3d(2px, 0, 0) rotate(1deg);
  }
  92% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
}

@keyframes tipPingPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.55);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(239, 68, 68, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .tip-badge--nav.is-nudging {
    animation: none;
  }

  .tip-badge--nav.is-nudging .tip-badge__ping {
    animation: none;
  }
}

.tip-badge--nav.is-open {
  transform: scale(0.97);
  color: var(--ink);
  background: rgba(229, 184, 11, 0.18);
  border-color: rgba(184, 137, 61, 0.7);
  box-shadow: none;
}

.tip-wrap {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: stretch;
}

.tip-wrap--nav {
  position: relative;
  display: flex;
  align-items: center;
  z-index: 50;
}

.tip-badge--nav:hover {
  color: var(--ink);
  background: rgba(229, 184, 11, 0.14);
  border-color: rgba(184, 137, 61, 0.55);
  transform: translateY(-1px);
}

.tip-badge--nav .tip-badge__label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.tip-badge--hero:hover {
  color: #f8f1d8;
  background: rgba(229, 184, 11, 0.24);
  box-shadow:
    0 0 0 1px rgba(229, 184, 11, 0.18),
    0 10px 28px rgba(229, 184, 11, 0.22);
}

.tip-badge:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 3px;
}

.tip-badge__icon {
  font-size: 0.95rem;
  line-height: 1;
}

.tip-badge__spark {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold-bright);
  box-shadow: 0 0 0 0 rgba(229, 184, 11, 0.55);
  animation: tipSparkle 1.8s ease-out infinite;
}

@keyframes tipSparkle {
  0% {
    transform: scale(0.85);
    box-shadow: 0 0 0 0 rgba(229, 184, 11, 0.55);
    opacity: 1;
  }
  70% {
    transform: scale(1.15);
    box-shadow: 0 0 0 8px rgba(229, 184, 11, 0);
    opacity: 0.85;
  }
  100% {
    transform: scale(0.85);
    box-shadow: 0 0 0 0 rgba(229, 184, 11, 0);
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tip-badge__spark {
    animation: none;
  }
}

.tip-popover {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 50;
  width: min(22rem, calc(100vw - 1.5rem));
  max-width: 22rem;
  text-align: right;
  background: #fff;
  border: 1px solid rgba(252, 211, 77, 0.6);
  border-radius: 1rem;
  padding: 1.15rem 1.1rem 1rem;
  box-shadow: 0 18px 40px rgba(14, 12, 8, 0.22);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate3d(0, -10px, 0) scale(0.94);
  transform-origin: top left;
  filter: blur(2px);
  transition:
    opacity 0.32s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.32s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0.32s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.38s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform, opacity, filter;
}

.tip-popover.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate3d(0, 0, 0) scale(1);
  filter: blur(0);
  box-shadow:
    0 22px 48px rgba(14, 12, 8, 0.24),
    0 0 0 1px rgba(229, 184, 11, 0.08);
}

.tip-popover__head,
.tip-popover__tag,
.tip-popover__name,
.tip-popover__body,
.tip-popover__actions,
.tip-popover__feedback {
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.tip-popover.is-open .tip-popover__head {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.06s;
}

.tip-popover.is-open .tip-popover__tag {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.09s;
}

.tip-popover.is-open .tip-popover__name {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.12s;
}

.tip-popover.is-open .tip-popover__body {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.16s;
}

.tip-popover.is-open .tip-popover__actions {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.2s;
}

.tip-popover.is-open .tip-popover__feedback {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.24s;
}

.tip-popover__tag {
  display: inline-flex;
  margin: 0 0 0.45rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  color: #7a5a12;
  background: rgba(251, 191, 36, 0.18);
  border: 1px solid rgba(252, 211, 77, 0.45);
}

.tip-popover__name {
  font-family: var(--display);
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 0.45rem;
  line-height: 1.45;
}

.tip-popover__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.65rem;
  margin-bottom: 0.7rem;
}

.tip-popover__head h3 {
  font-family: var(--display);
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--ink);
  margin: 0;
  line-height: 1.4;
}

.tip-popover__close {
  flex-shrink: 0;
  width: 1.75rem;
  height: 1.75rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #faf9f6;
  color: var(--ink-soft);
  font-size: 0.85rem;
  line-height: 1;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
}

.tip-popover__close:hover {
  color: var(--ink);
  border-color: rgba(229, 184, 11, 0.45);
  background: #fff;
}

.tip-popover__body {
  margin: 0 0 0.95rem;
  font-size: 0.92rem;
  line-height: 1.8;
  color: rgba(30, 41, 35, 0.88);
}

.tip-popover__actions {
  display: flex;
}

.tip-popover__copy {
  width: 100%;
  font-family: inherit;
  font-size: 0.86rem;
  font-weight: 700;
  color: #1e2923;
  border: 1px solid rgba(212, 163, 115, 0.35);
  border-radius: 999px;
  padding: 0.65rem 0.95rem;
  background: linear-gradient(180deg, #f8dd8b, #e5b80b);
  box-shadow: 0 4px 12px rgba(229, 184, 11, 0.18);
  transition:
    transform 0.2s ease,
    background 0.2s ease;
}

.tip-popover__copy:hover {
  transform: translateY(-1px);
}

.tip-popover__copy.is-success {
  background: linear-gradient(180deg, #c8e0c4, #8fb88a);
  border-color: rgba(61, 90, 69, 0.25);
  box-shadow: none;
}

.tip-popover__feedback {
  min-height: 1.15rem;
  margin: 0.55rem 0 0;
  font-size: 0.78rem;
  color: #3d5a45;
  text-align: center;
}

@media (prefers-reduced-motion: reduce) {
  .tip-popover,
  .tip-popover__head,
  .tip-popover__tag,
  .tip-popover__name,
  .tip-popover__body,
  .tip-popover__actions,
  .tip-popover__feedback,
  .tip-badge--nav {
    transition: none !important;
    filter: none !important;
  }

  .tip-popover {
    transform: none;
  }

  .tip-popover__head,
  .tip-popover__tag,
  .tip-popover__name,
  .tip-popover__body,
  .tip-popover__actions,
  .tip-popover__feedback {
    opacity: 1;
    transform: none;
  }
}

/* —— Why —— */
.why {
  position: relative;
  background:
    radial-gradient(50% 60% at 12% 70%, rgba(212, 163, 115, 0.12), transparent 65%),
    radial-gradient(40% 50% at 88% 20%, rgba(229, 184, 11, 0.08), transparent 60%),
    var(--cream-deep);
  padding: clamp(3.5rem, 8vw, 5.5rem) 0;
  overflow: hidden;
}

.why .container {
  max-width: var(--max);
}

.why-quote {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.3rem, 2.8vw, 2.1rem);
  line-height: 1.65;
  color: var(--ink);
  margin: 0.35rem 0 0;
}

.why-quote .accent {
  color: transparent;
  background: linear-gradient(90deg, var(--gold), var(--gold-bright));
  -webkit-background-clip: text;
  background-clip: text;
}

.why-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
  border-inline-start: 1px solid var(--border);
  padding-inline-start: 1.85rem;
  margin: 0.5rem 0 0;
  padding-top: 0;
}

@media (max-width: 991.98px) {
  .why-list {
    border-inline-start: none;
    border-top: 1px solid var(--border);
    padding-inline-start: 0;
    padding-top: 1.5rem;
  }
}

.why-item {
  font-size: 1.02rem;
  font-weight: 600;
  color: #1e2923;
  line-height: 1.8;
}

.why-item span {
  color: var(--gold);
  margin-inline-end: 0.45rem;
  font-weight: 700;
}

/* —— CTA / Lead form —— */
.cta-block {
  position: relative;
  scroll-margin-top: 96px;
  background:
    radial-gradient(55% 80% at 50% 0%, rgba(229, 184, 11, 0.1), transparent 65%),
    var(--cream);
  padding: clamp(2rem, 4vw, 2.75rem) 0 1.5rem;
  border-top: 1px solid var(--border);
}

.cta-block__title {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.55rem, 3.5vw, 2.55rem);
  margin: 0 0 0.55rem;
  color: var(--ink);
  line-height: 1.35;
}

.cta-block__title em {
  font-style: normal;
  color: transparent;
  background: linear-gradient(90deg, var(--gold-bright), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
}

.cta-block__sub {
  color: var(--ink-soft);
  font-size: 0.98rem;
  margin: 0 0 1.25rem;
  max-width: 48ch;
  line-height: 1.7;
}

.lead-field {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 48px;
  padding: 0.15rem 0.85rem;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid var(--border);
  border-radius: 10px;
}

.lead-field label {
  flex-shrink: 0;
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.88rem;
  font-weight: 700;
  white-space: nowrap;
}

.lead-field:focus-within {
  border-color: var(--border-gold);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(212, 163, 115, 0.12);
}

.lead-input.form-control {
  font-family: inherit;
  font-size: 0.9rem;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0.55rem 0;
  min-height: 44px;
  box-shadow: none;
}

.lead-input.form-control::placeholder {
  color: var(--ink-faint);
}

.lead-input.form-control:focus {
  border-color: transparent;
  background: transparent;
  box-shadow: none;
  color: var(--ink);
}

.lead-form__submit {
  padding: 0.85rem 1.5rem;
  font-size: 0.95rem;
  white-space: normal;
  box-shadow: 0 2px 6px rgba(229, 184, 11, 0.14);
}

.lead-form__submit:hover {
  box-shadow: 0 4px 10px rgba(229, 184, 11, 0.2);
}

.form__status {
  margin-top: 0.75rem;
  font-size: 0.88rem;
  min-height: 1.4em;
  color: var(--ink-soft);
  text-align: center;
}

.form__status.is-success {
  color: #3d5a45;
}

.form__status.is-error {
  color: #8a3d3d;
}

/* —— Footer —— */
.site-footer {
  padding: 1.5rem 0 1.75rem;
  border-top: 1px solid var(--border);
  background: var(--cream);
}

.site-footer .container {
  max-width: var(--max);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-brand .brand__mark {
  font-size: inherit;
  font-weight: 800;
  line-height: inherit;
}

.footer-tagline {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: rgba(30, 41, 35, 0.72);
  max-width: 48ch;
}

@media (max-width: 991.98px) {
  .footer-brand {
    flex-direction: column;
  }

  .footer-tagline {
    max-width: 36ch;
    margin-inline: auto;
  }
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.footer-social__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: var(--ink);
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  transition:
    border-color 0.25s var(--ease),
    background 0.25s var(--ease),
    color 0.25s var(--ease);
}

.footer-social__link svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.footer-social__link:hover {
  border-color: var(--border-gold);
  background: #fff;
  color: #b8860b;
}

.section--files {
  background: linear-gradient(180deg, transparent, rgba(212, 163, 115, 0.08) 40%, transparent);
}

.file-slot {
  max-width: 560px;
  margin-inline: auto;
  text-align: center;
}

.file-slot .services-title {
  margin-bottom: 1.15rem;
}

.file-card {
  display: flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  margin-inline: auto;
  gap: 1.15rem;
  padding: 0.7rem 0.7rem 0.7rem 1.15rem;
  color: inherit;
  text-decoration: none;
  text-align: start;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease);
}

.file-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-gold);
  color: inherit;
}

.file-card__name {
  font-weight: 800;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.file-card__action {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 2.6rem;
  height: 2.6rem;
  background: #e5b80b;
  color: var(--ink);
  border-radius: 999px;
}

.file-card:hover .file-card__action {
  background: #f0c51a;
}

.files-empty {
  margin: 0;
  color: var(--ink-soft);
}

.footer-copy {
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(30, 41, 35, 0.65);
  white-space: nowrap;
}

/* —— Reveal (GSAP) —— */
.reveal {
  opacity: 0;
  transform: translateY(28px);
}

@media (max-width: 575.98px) {
  .hero {
    padding: 112px 0 56px;
  }

  .hero-mark {
    min-height: 200px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .bolt-live path:not(.bolt-spark) {
    stroke-dasharray: none !important;
    stroke-dashoffset: 0 !important;
  }

  .hero-mark.is-alive,
  .hero-mark.is-alive .bolt-glow,
  .hero-mark.is-alive .bolt-live,
  .hero-mark.is-alive .bolt-spark {
    animation: none !important;
  }

  .bolt-spark {
    opacity: 0 !important;
  }
}
