/* One Hog — character-led agency site */

:root {
  --ink: #1a0f14;
  --ink-soft: #3d2a33;
  --paper: #fff6f0;
  --paper-dim: rgba(255, 246, 240, 0.72);
  --red: #e02d2a;
  --red-deep: #b01c22;
  --boot: #2a4fd8;
  --hog: #f4a8b5;
  --gold: #e8b820;
  --sky-a: #ff7a5c;
  --sky-b: #ffb457;
  --sky-c: #6ec8ff;
  --sky-d: #3a6fd8;
  --line: rgba(26, 15, 20, 0.12);
  --font-display: "Syne", sans-serif;
  --font-body: "Figtree", sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.55;
  background: var(--sky-d);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  cursor:
    url("/assets/cursor-hog.png") 16 6,
    url("/assets/cursor-hog-sm.png") 10 4,
    auto;
}

a,
button,
[role="button"],
input,
textarea,
label,
.note-card,
.wa-dock__btn,
.top__cta,
.btn {
  cursor:
    url("/assets/cursor-hog.png") 16 6,
    url("/assets/cursor-hog-sm.png") 10 4,
    pointer;
}

@media (hover: none), (pointer: coarse) {
  body,
  a,
  button,
  [role="button"],
  input,
  textarea,
  label,
  .note-card,
  .wa-dock__btn,
  .top__cta,
  .btn {
    cursor: auto;
  }

  a,
  button,
  [role="button"],
  .note-card,
  .wa-dock__btn,
  .top__cta,
  .btn {
    cursor: pointer;
  }
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--red-deep);
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0;
}

p {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* —— Atmosphere —— */

.sky {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.sky__wash {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 80% at 70% 15%, var(--sky-b) 0%, transparent 55%),
    radial-gradient(90% 70% at 10% 80%, var(--sky-c) 0%, transparent 50%),
    linear-gradient(
      165deg,
      var(--sky-a) 0%,
      #ff8f6a 28%,
      #7eb8ef 62%,
      var(--sky-d) 100%
    );
}

.sky__grid {
  position: absolute;
  inset: -20%;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 72px 72px;
  transform: perspective(600px) rotateX(58deg) translateY(-12%) scale(1.4);
  transform-origin: center top;
  mask-image: linear-gradient(to bottom, transparent, black 25%, black 70%, transparent);
  opacity: 0.45;
  animation: grid-drift 28s linear infinite;
}

.sky__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.55;
}

.sky__orb--a {
  width: min(48vw, 420px);
  height: min(48vw, 420px);
  top: 8%;
  right: 5%;
  background: radial-gradient(circle, #ffe29a 0%, transparent 70%);
  animation: orb-float 12s var(--ease-soft) infinite alternate;
}

.sky__orb--b {
  width: min(40vw, 340px);
  height: min(40vw, 340px);
  bottom: 18%;
  left: -5%;
  background: radial-gradient(circle, #9ad4ff 0%, transparent 70%);
  animation: orb-float 16s var(--ease-soft) infinite alternate-reverse;
}

@keyframes grid-drift {
  from {
    background-position: 0 0, 0 0;
  }
  to {
    background-position: 72px 72px, 72px 72px;
  }
}

@keyframes orb-float {
  from {
    transform: translate(0, 0);
  }
  to {
    transform: translate(24px, -30px);
  }
}

/* —— Top bar —— */

.top {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem clamp(1.25rem, 4vw, 2.75rem);
  background: linear-gradient(
    to bottom,
    rgba(255, 246, 240, 0.72),
    rgba(255, 246, 240, 0)
  );
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.top__mark {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  text-decoration: none;
  color: var(--ink);
}

.top__mark img {
  width: 2.15rem;
  height: 2.15rem;
  object-fit: contain;
}

.top__nav {
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 2.5vw, 1.75rem);
  font-size: 0.95rem;
  font-weight: 500;
}

.top__nav a {
  text-decoration: none;
}

.top__nav a:not(.top__cta):hover {
  text-decoration: underline;
}

.top__nav a[aria-current="page"] {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.2em;
}

.top__cta {
  padding: 0.45rem 0.95rem;
  background: var(--ink);
  color: var(--paper) !important;
  border-radius: 2px;
  transition: background 0.25s var(--ease-soft), transform 0.25s var(--ease-soft);
}

.top__cta:hover {
  background: var(--red);
  transform: translateY(-1px);
}

/* —— Buttons —— */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.35rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 2px;
  transition:
    background 0.25s var(--ease-soft),
    color 0.25s var(--ease-soft),
    border-color 0.25s var(--ease-soft),
    transform 0.25s var(--ease-soft);
}

.btn--primary {
  background: var(--ink);
  color: var(--paper);
}

.btn--primary:hover {
  background: var(--red);
  color: var(--paper);
  transform: translateY(-2px);
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid rgba(26, 15, 20, 0.35);
}

.btn--ghost:hover {
  border-color: var(--ink);
  color: var(--ink);
  transform: translateY(-2px);
}

.btn--lg {
  padding: 1.05rem 1.7rem;
  font-size: 1.125rem;
}

/* —— Hero —— */

.hero {
  display: grid;
  grid-template-columns: 1fr;
  align-items: end;
  min-height: min(100svh, 920px);
  padding: clamp(1rem, 3vw, 2rem) clamp(1.25rem, 4vw, 2.75rem) 0;
  gap: 0;
  position: relative;
}

.hero__copy {
  position: relative;
  z-index: 2;
  max-width: 34rem;
  padding-bottom: clamp(1.5rem, 4vh, 3rem);
  animation: rise-in 0.9s var(--ease-out) both;
}

.hero__brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3.4rem, 12vw, 7.5rem);
  line-height: 0.88;
  letter-spacing: -0.055em;
  color: var(--ink);
  margin: 0 0 0.85rem;
  text-wrap: balance;
}

.hero__headline {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3.6vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0 0 0.65rem;
  max-width: 22ch;
  text-wrap: balance;
  line-height: 1.15;
}

.hero__lede {
  font-family: var(--font-body);
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  font-weight: 500;
  letter-spacing: 0;
  color: var(--ink-soft);
  max-width: 34ch;
  line-height: 1.5;
  margin: 0 0 1.6rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero__stage {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  min-height: min(52vh, 520px);
  margin-top: -1rem;
  pointer-events: none;
}

.hero__glow {
  position: absolute;
  width: min(70%, 420px);
  aspect-ratio: 1;
  bottom: 8%;
  left: 50%;
  translate: -50% 0;
  background: radial-gradient(
    circle,
    rgba(255, 226, 154, 0.75) 0%,
    rgba(255, 122, 92, 0.25) 45%,
    transparent 70%
  );
  filter: blur(8px);
  animation: glow-pulse 4.5s var(--ease-soft) infinite alternate;
}

.hero__stage picture {
  position: relative;
  z-index: 2;
  display: block;
  width: min(88vw, 520px);
}

.hero__hog {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 28px 40px rgba(26, 15, 20, 0.28));
  transform-origin: 55% 60%;
  animation: hog-float 5.5s var(--ease-soft) infinite;
  will-change: transform;
}

.hero__trail {
  position: absolute;
  z-index: 1;
  width: min(55%, 280px);
  height: 3px;
  bottom: 22%;
  left: 12%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(42, 79, 216, 0.55),
    rgba(224, 45, 42, 0.4),
    transparent
  );
  border-radius: 2px;
  transform: rotate(-18deg);
  opacity: 0.7;
  animation: trail-flicker 3.2s ease-in-out infinite;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hog-float {
  0%,
  100% {
    transform: translateY(0) rotate(-2deg);
  }
  50% {
    transform: translateY(-18px) rotate(2deg);
  }
}

@keyframes glow-pulse {
  from {
    opacity: 0.7;
    transform: scale(0.92);
  }
  to {
    opacity: 1;
    transform: scale(1.05);
  }
}

@keyframes trail-flicker {
  0%,
  100% {
    opacity: 0.35;
    transform: rotate(-18deg) scaleX(0.85);
  }
  50% {
    opacity: 0.85;
    transform: rotate(-18deg) scaleX(1);
  }
}

@media (min-width: 900px) {
  .hero {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    align-items: center;
    padding-bottom: 2rem;
  }

  .hero__copy {
    padding-bottom: 0;
    animation-delay: 0.05s;
  }

  .hero__stage {
    min-height: min(78vh, 700px);
    margin-top: 0;
    justify-content: flex-end;
  }

  .hero__stage picture {
    width: min(48vw, 620px);
  }

  .hero__hog {
    animation:
      hog-enter 1.1s var(--ease-out) 0.15s both,
      hog-float 5.5s var(--ease-soft) 1.3s infinite;
  }

  .hero__trail {
    left: auto;
    right: 18%;
    bottom: 28%;
  }
}

@keyframes hog-enter {
  from {
    opacity: 0;
    transform: translate(40px, 50px) rotate(8deg) scale(0.92);
  }
  to {
    opacity: 1;
    transform: translateY(0) rotate(-2deg) scale(1);
  }
}

/* -- Credibility -- */

.proof {
  padding: 0 clamp(1.25rem, 4vw, 2.75rem);
  margin: -0.5rem 0 clamp(0.5rem, 2vw, 1rem);
}

.proof__list {
  display: grid;
  gap: 0.85rem 1.75rem;
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.1rem 0;
  border-block: 1.5px solid var(--line);
  list-style: none;
}

@media (min-width: 720px) {
  .proof__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
    padding: 1.25rem 0;
  }
}

.proof__list li {
  display: grid;
  gap: 0.15rem;
}

.proof__list strong {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.15rem, 2.4vw, 1.35rem);
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1.15;
}

.proof__list span {
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.35;
  max-width: 22ch;
}

/* —— Marquee strip —— */

.strip {
  margin: clamp(1.5rem, 4vw, 3rem) 0;
  padding: 0.9rem 0;
  overflow: hidden;
  border-block: 1.5px solid rgba(26, 15, 20, 0.14);
  background: rgba(255, 246, 240, 0.28);
}

.strip__track {
  display: flex;
  gap: 1.5rem;
  width: max-content;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1rem, 2.2vw, 1.25rem);
  letter-spacing: -0.02em;
  text-transform: uppercase;
  white-space: nowrap;
  animation: marquee 28s linear infinite;
}

.strip__track span[aria-hidden="true"] {
  color: var(--red);
}

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

/* —— Chapters —— */

.chapter {
  padding: clamp(3.5rem, 9vw, 7rem) clamp(1.25rem, 4vw, 2.75rem);
}

.chapter__intro {
  max-width: 36rem;
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}

.eyebrow {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--boot);
  margin-bottom: 0.85rem;
}

.chapter h2 {
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  margin-bottom: 0.85rem;
}

.chapter__intro p:last-child,
.services__copy > p:last-of-type {
  color: var(--ink-soft);
  max-width: 38ch;
  font-size: 1.1rem;
}

/* —— Missions —— */

.missions {
  display: grid;
  gap: 0;
  border-top: 1.5px solid var(--line);
}

.mission {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(1rem, 3vw, 2rem);
  padding: clamp(1.5rem, 3.5vw, 2.25rem) 0;
  border-bottom: 1.5px solid var(--line);
  transition: background 0.3s var(--ease-soft);
}

.mission:hover {
  background: rgba(255, 246, 240, 0.35);
}

.mission__num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  letter-spacing: -0.04em;
  color: var(--red);
  line-height: 1;
  padding-top: 0.15rem;
}

.mission__body h3 {
  font-size: clamp(1.35rem, 2.8vw, 1.75rem);
  margin-bottom: 0.45rem;
}

.mission__body p {
  color: var(--ink-soft);
  max-width: 48ch;
}

/* —— Services —— */

.chapter--services {
  background: rgba(255, 246, 240, 0.38);
  border-block: 1.5px solid var(--line);
}

.services {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  max-width: 1100px;
}

@media (min-width: 800px) {
  .services {
    grid-template-columns: 1fr 1.15fr;
    align-items: start;
  }
}

.services__list {
  display: grid;
  gap: 0;
}

.services__list li {
  display: grid;
  gap: 0.2rem;
  padding: 1.15rem 0;
  border-bottom: 1.5px solid var(--line);
}

.services__list li:first-child {
  border-top: 1.5px solid var(--line);
}

.services__list strong {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.services__list span {
  color: var(--ink-soft);
}

/* —— Contact —— */

.chapter--contact {
  padding-bottom: clamp(4rem, 10vw, 8rem);
}


.contact {
  max-width: 40rem;
}

.contact h2 {
  font-size: clamp(2.4rem, 6vw, 4rem);
  margin-bottom: 0.85rem;
}

.contact__lede {
  color: var(--ink-soft);
  font-size: 1.15rem;
  max-width: 34ch;
  margin-bottom: 2rem;
}

.contact-form {
  display: grid;
  gap: 1.1rem;
}

.contact-form__row {
  display: grid;
  gap: 1.1rem;
}

@media (min-width: 640px) {
  .contact-form__row {
    grid-template-columns: 1fr 1fr;
  }
}

.field {
  display: grid;
  gap: 0.4rem;
}

.field__label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.field input,
.field textarea {
  width: 100%;
  margin: 0;
  padding: 0.85rem 0.95rem;
  border: 1.5px solid rgba(26, 15, 20, 0.28);
  border-radius: 2px;
  background: rgba(255, 246, 240, 0.55);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.4;
  transition: border-color 0.2s var(--ease-soft), background 0.2s var(--ease-soft);
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(61, 42, 51, 0.55);
}

.field input:hover,
.field textarea:hover {
  border-color: rgba(26, 15, 20, 0.45);
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--ink);
  background: rgba(255, 246, 240, 0.85);
}

.field textarea {
  resize: vertical;
  min-height: 8.5rem;
}

.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-form__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  margin-top: 0.25rem;
}

.contact-form__alt {
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.contact-form__alt a {
  font-weight: 600;
  color: var(--ink);
}

.contact-form__status {
  margin: 0;
  font-weight: 500;
  font-size: 0.98rem;
}

.contact-form__status[data-state="ok"] {
  color: var(--boot);
}

.contact-form__status[data-state="err"] {
  color: var(--red-deep);
}

.contact-form.is-sending .btn {
  opacity: 0.7;
  pointer-events: none;
}

.contact-form button {
  border: none;
  cursor: pointer;
}

/* -- WhatsApp dock -- */

.wa-dock {
  --wa: #1f8f4a;
  --wa-deep: #146b38;
  --wa-pop: #e8b820;
  position: fixed;
  right: clamp(1rem, 3vw, 1.85rem);
  bottom: clamp(1rem, 3vw, 1.85rem);
  z-index: 50;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.65rem;
  animation: wa-enter 0.85s var(--ease-out) 0.6s both;
}

.wa-dock__bubble {
  margin: 0;
  max-width: 14rem;
  padding: 0.65rem 0.9rem;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: -0.02em;
  line-height: 1.25;
  border: 2px solid var(--ink);
  border-radius: 14px 14px 4px 14px;
  box-shadow: 4px 4px 0 var(--ink);
  opacity: 0;
  transform: translateY(10px) scale(0.92) rotate(-2deg);
  transform-origin: bottom right;
  pointer-events: none;
  transition:
    opacity 0.35s var(--ease-out),
    transform 0.35s var(--ease-out);
}

.wa-dock.is-chatty .wa-dock__bubble,
.wa-dock:hover .wa-dock__bubble,
.wa-dock:focus-within .wa-dock__bubble {
  opacity: 1;
  transform: translateY(0) scale(1) rotate(-2deg);
}

.wa-dock__btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 3.5rem;
  padding: 0.65rem 1.15rem 0.65rem 0.7rem;
  border-radius: 999px 999px 999px 22px;
  background: linear-gradient(145deg, #2bb35d 0%, var(--wa) 55%, var(--wa-deep) 100%);
  color: #fff8f0;
  text-decoration: none;
  font-family: var(--font-display);
  isolation: isolate;
  overflow: visible;
  transform: rotate(-3deg);
  box-shadow:
    0 12px 28px rgba(20, 107, 56, 0.35),
    3px 3px 0 rgba(26, 15, 20, 0.85);
  transition:
    transform 0.3s var(--ease-out),
    box-shadow 0.3s var(--ease-out),
    filter 0.3s var(--ease-out);
}

.wa-dock__btn:hover,
.wa-dock__btn:focus-visible {
  color: #fff8f0;
  transform: rotate(0deg) scale(1.06) translateY(-3px);
  box-shadow:
    0 18px 36px rgba(20, 107, 56, 0.4),
    4px 4px 0 rgba(26, 15, 20, 0.9);
  outline: none;
}

.wa-dock__btn:active {
  transform: rotate(-1deg) scale(0.97);
}

.wa-dock__aura {
  position: absolute;
  inset: -10px;
  border-radius: inherit;
  background: radial-gradient(circle at 30% 30%, rgba(232, 184, 32, 0.35), transparent 60%);
  opacity: 0;
  z-index: -1;
  transition: opacity 0.35s var(--ease-soft);
  pointer-events: none;
}

.wa-dock__btn:hover .wa-dock__aura,
.wa-dock.is-amped .wa-dock__aura {
  opacity: 1;
}

.wa-dock__ring {
  position: absolute;
  inset: -6px;
  border: 2px solid rgba(43, 179, 93, 0.55);
  border-radius: inherit;
  animation: wa-ring 2.8s var(--ease-soft) infinite;
  pointer-events: none;
}

.wa-dock__icon {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 50%;
  background: rgba(255, 248, 240, 0.16);
  animation: wa-bob 2.4s var(--ease-soft) infinite;
}

.wa-dock__icon svg {
  width: 1.4rem;
  height: 1.4rem;
}

.wa-dock__copy {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.05rem;
  line-height: 1.1;
}

.wa-dock__title {
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: -0.03em;
}

.wa-dock__sub {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.72rem;
  opacity: 0.88;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.wa-dock__spark {
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 1px;
  background: var(--wa-pop);
  opacity: 0;
  pointer-events: none;
  z-index: 2;
}

.wa-dock.is-amped .wa-dock__spark,
.wa-dock__btn:hover .wa-dock__spark {
  animation: wa-spark 0.9s var(--ease-out) forwards;
}

.wa-dock__spark--a {
  top: 0.2rem;
  right: 1.2rem;
  --sx: 10px;
  --sy: -20px;
  animation-delay: 0.05s;
}

.wa-dock__spark--b {
  top: -0.15rem;
  right: 2.4rem;
  background: #fff6f0;
  --sx: 18px;
  --sy: -12px;
  animation-delay: 0.15s;
}

.wa-dock__spark--c {
  bottom: 0.35rem;
  left: 0.35rem;
  background: var(--red);
  --sx: -14px;
  --sy: 10px;
  animation-delay: 0.22s;
}

.wa-dock.is-boost .wa-dock__btn {
  animation: wa-wiggle 0.65s var(--ease-out);
}

@keyframes wa-enter {
  from {
    opacity: 0;
    transform: translate(40px, 50px) rotate(12deg) scale(0.7);
  }
  to {
    opacity: 1;
    transform: translate(0, 0) rotate(0) scale(1);
  }
}

@keyframes wa-bob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-3px);
  }
}

@keyframes wa-ring {
  0% {
    transform: scale(1);
    opacity: 0.7;
  }
  70% {
    transform: scale(1.18);
    opacity: 0;
  }
  100% {
    transform: scale(1.18);
    opacity: 0;
  }
}

@keyframes wa-spark {
  0% {
    opacity: 0;
    transform: translate(0, 0) scale(0.4) rotate(0deg);
  }
  40% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translate(var(--sx, 12px), var(--sy, -18px)) scale(1) rotate(40deg);
  }
}

@keyframes wa-wiggle {
  0%,
  100% {
    transform: rotate(-3deg);
  }
  20% {
    transform: rotate(6deg) scale(1.05);
  }
  40% {
    transform: rotate(-8deg) scale(1.08);
  }
  60% {
    transform: rotate(4deg) scale(1.04);
  }
  80% {
    transform: rotate(-4deg);
  }
}

@media (max-width: 520px) {
  .wa-dock__copy {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .wa-dock__btn {
    width: 3.6rem;
    height: 3.6rem;
    min-height: 0;
    padding: 0;
    justify-content: center;
    border-radius: 50% 50% 50% 18px;
  }

  .wa-dock__bubble {
    font-size: 0.85rem;
    max-width: 11rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wa-dock,
  .wa-dock__icon,
  .wa-dock__ring,
  .wa-dock__spark,
  .wa-dock.is-boost .wa-dock__btn {
    animation: none !important;
  }

  .wa-dock__bubble {
    transition: none;
  }
}


/* —— Footer —— */

.foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 0.75rem;
  padding: 1.5rem clamp(1.25rem, 4vw, 2.75rem) 2rem;
  border-top: 1.5px solid var(--line);
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.foot__sep {
  margin: 0 0.35rem;
  color: var(--red);
}

.foot__tag {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
}

/* —— Reveal on scroll —— */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.7s var(--ease-out),
    transform 0.7s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 80ms);
}

.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}

/* —— Reduced motion —— */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .sky__grid,
  .sky__orb,
  .hero__hog,
  .hero__glow,
  .hero__trail,
  .strip__track,
  .hero__copy {
    animation: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* —— Small screens nav —— */

@media (max-width: 520px) {
  .top__nav a:not(.top__cta) {
    display: none;
  }

  .hero__brand {
    font-size: clamp(3rem, 15vw, 4.5rem);
  }
}

/* -- Notes -- */

.page-notes .sky__wash {
  opacity: 0.92;
}

.page-notes .sky__grid {
  opacity: 0.28;
}

.notes-main {
  width: min(920px, 100%);
  margin: 0 auto;
  padding: clamp(1.75rem, 5vw, 3.5rem) clamp(1.25rem, 4vw, 2.75rem)
    clamp(4.5rem, 11vw, 8rem);
}

.notes-main--article {
  width: min(760px, 100%);
}

.notes-hero {
  display: grid;
  gap: 1.5rem;
  align-items: end;
  margin-bottom: clamp(2.25rem, 5vw, 3.75rem);
  padding-bottom: clamp(1.5rem, 3vw, 2rem);
  border-bottom: 1.5px solid var(--line);
}

@media (min-width: 720px) {
  .notes-hero {
    grid-template-columns: 1fr auto;
  }
}

.notes-hero h1 {
  font-size: clamp(3.6rem, 11vw, 6.5rem);
  line-height: 0.9;
  letter-spacing: -0.05em;
  margin: 0.15rem 0 0.85rem;
}

.notes-hero__lede {
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  max-width: 34ch;
  line-height: 1.5;
}

.notes-hero__count {
  justify-self: start;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  line-height: 1.2;
}

.notes-hero__count span {
  display: block;
  font-size: clamp(2.5rem, 6vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--red);
  text-transform: none;
}

.note-list {
  display: grid;
  gap: 0;
}

.note-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem 1.25rem;
  align-items: start;
  padding: clamp(1.5rem, 3.5vw, 2.15rem) 0;
  border-bottom: 1.5px solid var(--line);
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s var(--ease-out);
}

.note-card:first-child {
  border-top: 1.5px solid var(--line);
}

.note-card:hover {
  color: inherit;
  transform: translateX(4px);
}

.note-card__num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--red);
  padding-top: 0.2rem;
}

.note-card__body {
  display: grid;
  gap: 0.5rem;
  min-width: 0;
}

.note-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.85rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--boot);
}

.note-card__meta time {
  color: var(--boot);
}

.note-card h2 {
  font-size: clamp(1.4rem, 3.2vw, 1.85rem);
  text-wrap: balance;
}

.note-card p {
  color: var(--ink-soft);
  max-width: 48ch;
  font-size: 1.02rem;
}

.note-card__go {
  display: none;
  grid-column: 2;
  justify-self: start;
  margin-top: 0.15rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.note-card__go::after {
  content: " →";
  color: var(--red);
}

@media (min-width: 720px) {
  .note-card {
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 1.5rem;
  }

  .note-card__go {
    display: inline;
    grid-column: auto;
    opacity: 0;
    transform: translateX(-6px);
    transition:
      opacity 0.25s var(--ease-soft),
      transform 0.25s var(--ease-soft);
  }

  .note-card:hover .note-card__go {
    opacity: 1;
    transform: translateX(0);
  }
}

.note {
  animation: rise-in 0.7s var(--ease-out) both;
}

.note__header {
  margin-bottom: clamp(1.75rem, 4vw, 2.75rem);
  padding-bottom: clamp(1.25rem, 3vw, 1.75rem);
  border-bottom: 1.5px solid var(--line);
}

.note__header h1 {
  font-size: clamp(2.15rem, 5.2vw, 3.35rem);
  margin: 0.55rem 0 1rem;
  text-wrap: balance;
  max-width: 16ch;
}

.note__header .eyebrow a {
  text-decoration: none;
}

.note__header .eyebrow a:hover {
  text-decoration: underline;
}

.note__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.note-prose {
  display: grid;
  gap: 1.05rem;
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 1.5vw, 1.125rem);
  line-height: 1.7;
}

.note-prose__lede {
  font-size: clamp(1.2rem, 2.2vw, 1.4rem);
  line-height: 1.55;
  color: var(--ink);
  font-weight: 500;
  max-width: 36ch;
  margin-bottom: 0.5rem;
  padding-bottom: 1.35rem;
  border-bottom: 1.5px solid var(--line);
}

.note-prose h2 {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.55rem 0.85rem;
  margin-top: 1.55rem;
  font-size: clamp(1.3rem, 2.8vw, 1.6rem);
  color: var(--ink);
  max-width: 28ch;
}

.note-prose__step {
  flex: 0 0 auto;
  font-size: 0.85em;
  color: var(--red);
  letter-spacing: -0.03em;
}

.note-prose p,
.note-prose li {
  max-width: 60ch;
}

.note-prose a {
  font-weight: 600;
  color: var(--ink);
  text-decoration-color: rgba(224, 45, 42, 0.45);
}

.note-prose a:hover {
  color: var(--red-deep);
  text-decoration-color: var(--red-deep);
}

.note-prose ul,
.note-prose ol {
  display: grid;
  gap: 0.7rem;
  margin: 0.25rem 0 0.5rem;
  padding: 0;
  list-style: none;
}

.note-prose li {
  position: relative;
  padding-left: 1.55rem;
}

.note-prose li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.55rem;
  height: 0.55rem;
  background: var(--red);
  transform: rotate(45deg);
}

.note-prose ol {
  counter-reset: note-step;
}

.note-prose ol li {
  padding-left: 2rem;
}

.note-prose ol li::before {
  content: counter(note-step);
  counter-increment: note-step;
  top: 0.05em;
  width: auto;
  height: auto;
  background: none;
  transform: none;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--red);
  letter-spacing: -0.03em;
}

.note-prose__pull {
  margin: 1.35rem 0 0.75rem;
  padding: 1.15rem 0 1.15rem 1.15rem;
  border-left: 3px solid var(--red);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.15rem, 2.4vw, 1.35rem);
  line-height: 1.35;
  letter-spacing: -0.025em;
  color: var(--ink);
  max-width: 28ch;
}

.note__footer {
  display: grid;
  gap: 1.25rem;
  margin-top: clamp(2.75rem, 6vw, 4rem);
  padding: clamp(1.5rem, 3vw, 2rem) 0 0;
  border-top: 1.5px solid var(--line);
}

@media (min-width: 640px) {
  .note__footer {
    grid-template-columns: 1fr auto;
    align-items: end;
  }
}

.note__footer-copy p:last-child {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-top: 0.25rem;
}

.note__footer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.notes-tease {
  max-width: 1100px;
}

.notes-tease__list {
  display: grid;
  gap: 0;
  margin-top: clamp(1.5rem, 4vw, 2.5rem);
  border-top: 1.5px solid var(--line);
}

.notes-tease__list a {
  display: grid;
  gap: 0.35rem;
  padding: 1.25rem 0;
  border-bottom: 1.5px solid var(--line);
  text-decoration: none;
  transition: transform 0.25s var(--ease-soft);
}

.notes-tease__list a:hover {
  color: inherit;
  transform: translateX(4px);
}

.notes-tease__list strong {
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.notes-tease__list span {
  color: var(--ink-soft);
}

.notes-tease__more {
  display: inline-block;
  margin-top: 1.25rem;
  font-family: var(--font-display);
  font-weight: 700;
  text-decoration: none;
}

.notes-tease__more:hover {
  text-decoration: underline;
}

@media (prefers-reduced-motion: reduce) {
  .note,
  .note-card,
  .notes-tease__list a {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }
}
