/* Perly Consulting — site styles.
   Ported from the Claude Design canvas (Perly Site.dc.html) and the
   Perly Consulting Design System components. Tokens live in css/tokens/. */

html { scroll-behavior: smooth; }

/* ---------------------------------------------------------------- layout */

.container { max-width: var(--container); margin: 0 auto; }
.container--narrow { max-width: var(--container-narrow); margin: 0 auto; }

/* ------------------------------------------------------------ components */

/* Button — blunt CTA. Variants: primary (money green), gold (cash accent),
   ghost (ink outline). */
.btn {
  font-family: var(--font-display);
  font-weight: var(--weight-bold);
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  border: 2px solid transparent;
  border-radius: var(--radius-md);
  cursor: pointer;
  text-decoration: none;
  line-height: 1;
  font-size: 1rem;
  padding: 13px 22px;
  transition:
    transform var(--dur-fast) var(--ease-out),
    background var(--dur-fast) var(--ease-out),
    color var(--dur-fast) var(--ease-out),
    box-shadow var(--dur-fast) var(--ease-out);
}
.btn--lg { font-size: 1.1875rem; padding: 18px 32px; }
.btn--primary { background: var(--action-primary); color: var(--action-on-primary); box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--action-primary-hover); color: var(--action-on-primary); transform: translateY(-1px); }
.btn--gold { background: var(--action-gold); color: var(--action-on-gold); box-shadow: var(--shadow-sm); }
.btn--gold:hover { background: var(--action-gold-hover); color: var(--action-on-gold); transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--green-700); border-color: var(--ink-900); }
.btn--ghost:hover { background: var(--ink-900); color: var(--paper-100); transform: translateY(-1px); }
.btn__arrow { font-family: var(--font-body); font-weight: 700; }

/* Input — cream fill, engraved hairline, gold focus */
.field { display: flex; flex-direction: column; gap: var(--space-2); }
.field__label {
  font-family: var(--font-mono);
  font-size: var(--text-eyebrow);
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--ink-700);
}
.field__control {
  width: 100%;
  font-family: var(--font-body);
  font-size: var(--text-body-lg);
  color: var(--ink-900);
  background: var(--paper-100);
  border: 1.5px solid var(--paper-400);
  border-radius: var(--radius-md);
  padding: 13px 15px;
  box-shadow: var(--shadow-inset);
  outline: none;
  transition: border-color var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
}
.field__control:focus {
  border-color: var(--gold-500);
  box-shadow: var(--shadow-inset), 0 0 0 3px rgba(199, 154, 58, 0.22);
}
textarea.field__control { min-height: 96px; resize: vertical; }
.field__hint { font-size: var(--text-sm); color: var(--text-muted); }

/* Checkbox — square opt-in; gold fill + CSS check when on */
.checkbox {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  cursor: pointer;
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--text-body);
  line-height: 1.4;
}
.checkbox__box {
  position: relative;
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  border-radius: var(--radius-sm);
  border: 2px solid var(--ink-900);
  background: var(--paper-100);
  box-shadow: var(--shadow-inset);
  transition: background var(--dur-fast) var(--ease-out);
}
.checkbox__box::after {
  content: '';
  position: absolute;
  left: 6px;
  top: 1px;
  width: 6px;
  height: 12px;
  border: solid var(--green-900);
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg);
  opacity: 0;
}
.checkbox input {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  cursor: pointer;
}
.checkbox:has(input:checked) .checkbox__box { background: var(--gold-500); }
.checkbox:has(input:checked) .checkbox__box::after { opacity: 1; }
.checkbox:has(input:focus-visible) .checkbox__box { outline: 2px solid var(--focus-ring); outline-offset: 2px; }

/* Tag — program pill */
.tag {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: var(--text-eyebrow);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: var(--radius-pill);
  line-height: 1;
  white-space: nowrap;
}
.tag--green { background: var(--green-700); color: var(--paper-100); border: 1.5px solid var(--green-700); }
.tag--gold { background: var(--gold-500); color: var(--green-900); border: 1.5px solid var(--gold-500); }
.tag--sepia { background: var(--sepia-600); color: var(--paper-100); border: 1.5px solid var(--sepia-600); }
.tag--alert { background: var(--alert); color: var(--paper-100); border: 1.5px solid var(--alert); }
.tag--outline { background: transparent; color: var(--ink-900); border: 1.5px solid var(--ink-900); }
.tag--outline.tag--ondark { color: var(--paper-100); }

/* SectionLabel — mono eyebrow + hairline rule */
.eyebrow {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-mono);
  font-size: var(--text-eyebrow);
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--gold-600);
}
.eyebrow__index { font-weight: 700; }
.eyebrow__tick { flex: 0 0 24px; height: 1px; background: currentColor; opacity: 0.6; }
.eyebrow__label { font-weight: 700; }
.eyebrow__rule { flex: 1; height: 1px; background: var(--border-hairline); }
.eyebrow--ondark { color: var(--gold-400); }
.eyebrow--ondark .eyebrow__rule { background: var(--border-on-dark); }

/* ProofStat — oversized ledger figure + blunt caption */
.stat {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  padding-left: var(--space-5);
  border-left: 3px solid var(--gold-500);
}
.stat__value {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--green-700);
}
.stat__label {
  font-family: var(--font-body);
  font-size: var(--text-body-lg);
  line-height: 1.35;
  color: var(--text-body);
  max-width: 32ch;
}

/* ServiceCard — outcome-first service block */
.service-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  background: var(--surface-card);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  box-shadow: var(--shadow-card);
  transition: transform var(--dur-med) var(--ease-out), box-shadow var(--dur-med) var(--ease-out);
}
.service-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.service-card h3 {
  font-size: var(--text-h3);
  font-weight: var(--weight-black);
  margin: 0;
  line-height: 1.1;
}
.service-card__body { color: var(--text-body); font-size: var(--text-body-lg); line-height: var(--leading-body); }
.service-card__body p { margin: 0; max-width: none; }
.service-card__aside {
  font-family: var(--font-italic);
  font-style: italic;
  font-size: var(--text-body-lg);
  color: var(--sepia-600);
  margin: 0;
  border-top: 1px solid var(--border-hairline);
  padding-top: var(--space-4);
}

/* PullQuote — oversized italic money line */
.pullquote { margin: 0; display: flex; flex-direction: column; gap: var(--space-4); }
.pullquote blockquote {
  margin: 0;
  font-family: var(--font-italic);
  font-style: italic;
  font-weight: 500;
  font-size: var(--text-display);
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--ink-900);
  text-wrap: balance;
}
.pullquote figcaption {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gold-600);
}
.pullquote--ondark blockquote { color: var(--paper-100); }
.pullquote--ondark figcaption { color: var(--gold-400); }

/* ---------------------------------------------------------------- header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px var(--gutter);
  background: rgba(244, 236, 214, 0.86);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-hairline);
}
.wordmark { text-decoration: none; display: flex; flex-direction: column; line-height: 1; }
.wordmark__name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  color: var(--ink-900);
}
.wordmark__sub {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-600);
}
.site-nav { display: flex; align-items: center; gap: clamp(14px, 3vw, 34px); }
.site-nav__link {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink-700);
  text-decoration: none;
}
.site-nav__link:hover { color: var(--gold-600); }
@media (max-width: 720px) { .nav-hide { display: none !important; } }

/* ------------------------------------------------------------------ hero */

.hero { position: relative; overflow: hidden; background: var(--paper-200); }
.hero__grain { position: absolute; inset: 0; background: var(--grain); }
.hero__bills { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.hero__inner {
  position: relative;
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(40px, 6vw, 84px) var(--gutter) 0;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px 32px;
}
.hero__copy {
  position: relative;
  z-index: 2;
  flex: 1 1 400px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding-bottom: clamp(48px, 6vw, 84px);
}
.hero__tagline {
  font-family: var(--font-italic);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.05rem, 2vw, 1.4rem);
  color: var(--gold-600);
  margin: 0;
  max-width: 34ch;
}
.hero__headline {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: var(--text-display);
  line-height: 0.92;
  letter-spacing: -0.03em;
  color: var(--ink-900);
  margin: 0;
  max-width: 12ch;
  text-wrap: balance;
}
.hero__sub {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  line-height: 1.55;
  color: var(--ink-700);
  max-width: 46ch;
  margin: 0;
}
.hero__note {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  color: var(--ink-500);
  margin: 0;
}
.hero__tree-wrap { flex: 0 1 420px; min-width: 260px; margin: 0 auto; }
.hero__tree {
  display: block;
  width: 100%;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  transform-origin: 50% 100%;
}
.hero__tree.is-shaking { animation: pw-treesway 0.85s ease-in-out; }
.hero__tree svg { display: block; max-width: 500px; margin: 0 auto; width: 100%; }
.hero__tree .tree-bill { filter: drop-shadow(0 4px 5px rgba(76, 52, 32, 0.35)); }
@media (max-width: 960px) { .hero__tree svg { max-width: 340px; } } /* stacked under the copy: keep the hero short */

/* -------------------------------------------------------------- sections */

.section { padding: var(--section-y) var(--gutter); }
.section-h { font-size: var(--text-display); margin: 20px 0 0; line-height: 1.02; }
.prose-lead p { font-size: var(--text-lead); margin: 18px 0 0; }
.prose-lead p:first-child { margin-top: 24px; }

/* Client logos — quiet strip between the diagnostic and the services */
.clients { border-top: 1px solid var(--border-hairline); padding: clamp(36px, 5vw, 56px) var(--gutter); }
.clients__inner { display: flex; flex-direction: column; align-items: center; gap: 28px; }
.clients__label {
  font-family: var(--font-mono);
  font-size: var(--text-eyebrow);
  font-weight: 700;
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--gold-600);
  margin: 0;
}
.clients__logos {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 28px clamp(32px, 6vw, 72px);
}
.clients__logo {
  height: 34px;
  width: auto;
  mix-blend-mode: multiply; /* two of the logos ship on white; multiply drops that to cream */
  filter: grayscale(1);
  opacity: 0.72;
  transition: filter var(--dur-med) var(--ease-out), opacity var(--dur-med) var(--ease-out);
}
.clients__logo--stacked { height: 64px; }
.clients__logos li:hover .clients__logo { filter: none; opacity: 1; }

/* Services */
.services { background: var(--surface-sunk); border-top: 1px solid var(--border-hairline); border-bottom: 1px solid var(--border-hairline); }
.services__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.services .section-h { margin-bottom: 40px; }
.pull-band {
  position: relative;
  overflow: hidden;
  background: var(--green-900);
  padding: clamp(56px, 8vw, 96px) var(--gutter);
}
.pull-band__inner {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(32px, 5vw, 72px);
}
.pull-band__photo { flex: 0 1 380px; min-width: 240px; margin: 0; transform: rotate(-2.5deg); }
.pull-band__photo img {
  width: 100%;
  height: auto;
  border: 5px solid var(--paper-100);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-note);
}
.pull-band .pullquote { flex: 1 1 360px; }
.pull-band .pullquote blockquote { max-width: 14ch; }
@media (max-width: 900px) {
  .pull-band__inner { flex-direction: column; }
  .pull-band__photo { flex-basis: auto; width: min(100%, 380px); }
  .pull-band .pullquote { flex-basis: auto; align-items: center; text-align: center; }
}
.pull-band__bills { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }

/* Why us */
.why__stats { display: grid; grid-template-columns: 1fr; gap: clamp(28px, 4vw, 44px) 32px; }
@media (min-width: 560px) { .why__stats { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 940px) { .why__stats { grid-template-columns: repeat(4, 1fr); } } /* 2×2 or 4-up, never 3+1 */
.why__lead { font-size: var(--text-lead); margin: 24px 0 clamp(40px, 6vw, 64px); max-width: 60ch; }
.why__quote-row {
  margin-top: clamp(48px, 7vw, 80px);
  border-top: 1px solid var(--border-hairline);
  padding-top: clamp(40px, 5vw, 56px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  align-items: start;
}
.why__quote-body { font-size: var(--text-body-lg); margin: 0; }
.why__quote-kicker {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-body-lg);
  color: var(--green-700);
  margin: 20px 0 0;
}

/* In their words — one quote on screen, arrows to the rest */
.voices {
  background: var(--surface-sunk);
  border-top: 1px solid var(--border-hairline);
  border-bottom: 1px solid var(--border-hairline);
  padding: clamp(48px, 7vw, 88px) var(--gutter);
}
.carousel { margin-top: 36px; }
.carousel__track {
  display: flex;
  gap: 32px; /* keeps the next slide's photo ring from peeking into view */
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  border-radius: var(--radius-md);
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 6px; }
.voice {
  flex: 0 0 100%;
  scroll-snap-align: start;
  margin: 0;
  display: grid;
  grid-template-columns: minmax(160px, 260px) 1fr;
  grid-template-rows: 1fr auto;
  gap: 14px clamp(24px, 4vw, 56px);
  align-items: end;
}
.voice__photo {
  grid-row: 1 / span 2;
  align-self: start;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: var(--ring-engraved);
}
.voice__quote,
.voice__who { grid-column: 2; } /* a slide with no photo keeps its text in the right-hand column, space left clear */
.voice__quote {
  margin: 0;
  font-family: var(--font-italic);
  font-style: italic;
  font-weight: 500;
  font-size: var(--text-h1);
  line-height: 1.18;
  letter-spacing: -0.01em;
  color: var(--ink-900);
  text-wrap: balance;
}
.voice__who {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gold-600);
}
.voice__who strong { color: var(--ink-900); }
.carousel__nav { display: flex; align-items: center; gap: 14px; margin-top: 32px; }
.carousel__btn {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-pill);
  border: 2px solid var(--ink-900);
  background: transparent;
  color: var(--ink-900);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.15rem;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}
.carousel__btn:hover { background: var(--ink-900); color: var(--paper-100); transform: translateY(-1px); }
.carousel__count {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  letter-spacing: 0.08em;
  color: var(--ink-500);
  min-width: 7ch;
  text-align: center;
}
@media (max-width: 640px) {
  .voice { grid-template-columns: 1fr; grid-template-rows: auto; align-items: start; }
  .voice__photo { grid-row: auto; width: 120px; }
  .voice__quote, .voice__who { grid-column: auto; }
}

/* Team */
.team__lead { font-size: var(--text-lead); margin: 24px 0 40px; max-width: 54ch; }
.team__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.team-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  background: var(--surface-card);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  box-shadow: var(--shadow-card);
}
.team-card__head { display: flex; align-items: center; gap: var(--space-5); }
.team-card__photo {
  width: 112px;
  height: 112px;
  object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: var(--ring-engraved);
}
.team-card__role {
  font-family: var(--font-mono);
  font-size: var(--text-eyebrow);
  font-weight: 700;
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--gold-600);
  margin: 0 0 6px;
}
.team-card__name {
  font-size: var(--text-h3);
  font-weight: var(--weight-black);
  margin: 0;
  line-height: 1.1;
}
.team-card__bio { font-size: var(--text-body-lg); margin: 0; max-width: none; }

/* How we're paid — dark money band */
.paid { position: relative; overflow: hidden; background: var(--green-700); color: var(--paper-100); }
.paid__engraving { position: absolute; inset: 0; background: var(--engraving); opacity: 0.5; }
.paid__inner { position: relative; z-index: 2; }
.paid .section-h { color: var(--paper-100); }
.paid__lead { font-size: var(--text-lead); color: var(--paper-100); margin: 24px 0 0; max-width: 54ch; }
.paid__lead strong { color: var(--gold-400); }
.paid__note {
  font-family: var(--font-italic);
  font-style: italic;
  font-size: var(--text-body-lg);
  color: var(--green-200);
  margin: 22px 0 0;
}

/* Register */
.register__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}
.register__lead { font-size: var(--text-lead); margin: 22px 0 0; }
.register__screen {
  margin-top: 32px;
  padding: 20px 22px;
  background: var(--surface-sunk);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md);
}
.register__screen-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ink-900);
  margin: 0 0 6px;
}
.register__screen-copy { font-size: var(--text-base); margin: 0 0 16px; }
.register-card {
  background: var(--surface-card);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: clamp(24px, 3vw, 36px);
}
.register-card__form { display: flex; flex-direction: column; gap: 18px; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.register-card__error { font-size: var(--text-sm); color: var(--alert); margin: 0; }
.register-card__sent { display: none; text-align: center; padding: 32px 8px; }
.register-card__sent-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.75rem;
  color: var(--green-700);
  margin: 0 0 10px;
}
.register-card__sent-copy { font-size: var(--text-body-lg); margin: 0; }
.register-card.is-sent .register-card__form { display: none; }
.register-card.is-sent .register-card__sent { display: block; }

/* ---------------------------------------------------------------- footer */

.site-footer {
  background: var(--green-900);
  color: var(--paper-100);
  padding: clamp(48px, 6vw, 72px) var(--gutter);
}
.site-footer__inner { max-width: var(--container); margin: 0 auto; display: flex; flex-direction: column; gap: 26px; }
.site-footer__top { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: flex-end; }
.site-footer__wordmark { line-height: 1; }
.site-footer__name { font-family: var(--font-display); font-weight: 900; font-size: 2rem; letter-spacing: -0.02em; }
.site-footer__sub {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-400);
  margin-top: 6px;
}
.site-footer__tags { display: flex; gap: 8px; flex-wrap: wrap; }
.site-footer__meta {
  border-top: 1px solid var(--border-on-dark);
  padding-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--green-200);
}
.site-footer__meta em { color: var(--paper-100); }

/* -------------------------------------------------- falling-bill motion */

@keyframes pw-fall { 0% { transform: translateY(-110px); opacity: 0; } 5% { opacity: 1; } 88% { opacity: 1; } 100% { transform: translateY(1050px); opacity: 0; } }
@keyframes pw-fall-f { 0% { transform: translateY(-110px); opacity: 0; } 2% { opacity: 1; } 29% { opacity: 1; } 32% { transform: translateY(1050px); opacity: 0; } 100% { transform: translateY(1050px); opacity: 0; } }
@keyframes pw-sway { from { transform: translateX(-16px) rotate(-8deg); } to { transform: translateX(18px) rotate(9deg); } }
@keyframes pw-tumble { 0% { transform: rotateX(6deg) rotateZ(-5deg); } 50% { transform: rotateX(186deg) rotateZ(5deg); } 100% { transform: rotateX(366deg) rotateZ(-5deg); } }
@keyframes pw-treesway { 0%, 100% { transform: rotate(0deg); } 22% { transform: rotate(-2.2deg); } 55% { transform: rotate(2.4deg); } 82% { transform: rotate(-1deg); } }

@media (prefers-reduced-motion: reduce) {
  [data-anim] { animation: none !important; }
}
