:root {
  color-scheme: light;
  --ink: #22171d;
  --muted: #6f5d66;
  --paper: #fff5f8;
  --panel: #ffffff;
  --line: #f1c9d5;
  --pink: #f5bccb;
  --pink-light: #fde3ea;
  --pink-dark: #c65072;
  --plum: #5a263c;
  --mint: #8bd9c7;
  --cream: #fffaf2;
  --shadow: 0 22px 60px rgba(90, 38, 60, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

[id] {
  scroll-margin-top: 104px;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  background:
    radial-gradient(circle at 18% 20%, rgba(245, 188, 203, 0.5) 0 70px, transparent 72px),
    radial-gradient(circle at 86% 16%, rgba(139, 217, 199, 0.32) 0 92px, transparent 94px),
    radial-gradient(circle at 70% 86%, rgba(255, 250, 242, 0.85) 0 120px, transparent 122px),
    linear-gradient(120deg, rgba(255, 245, 248, 0.94), rgba(253, 227, 234, 0.92));
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  opacity: 0.44;
  background-image:
    linear-gradient(rgba(198, 80, 114, 0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(198, 80, 114, 0.14) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(to bottom, #000, transparent 80%);
}

body.tail-cursor {
  cursor: none;
}

body.tail-cursor a,
body.tail-cursor button,
body.tail-cursor input,
body.tail-cursor select,
body.tail-cursor textarea {
  cursor: none;
}

.fireworks-canvas {
  position: fixed;
  inset: 0;
  z-index: 20;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.pig-cursor {
  position: fixed;
  z-index: 30;
  display: none;
  width: 42px;
  height: 42px;
  pointer-events: none;
  transform: translate3d(-100px, -100px, 0);
}

.pig-cursor::before {
  position: absolute;
  inset: 6px;
  border: 5px solid var(--pink-dark);
  border-left-color: transparent;
  border-radius: 50%;
  content: "";
  transform: rotate(-28deg);
  box-shadow: 0 0 0 6px rgba(245, 188, 203, 0.28);
}

.pig-cursor::after {
  position: absolute;
  right: 2px;
  bottom: 5px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--plum);
  content: "";
}

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

.pig-floater {
  position: absolute;
  display: grid;
  width: clamp(54px, 8vw, 92px);
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgba(198, 80, 114, 0.16);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.52);
  box-shadow: 0 18px 44px rgba(198, 80, 114, 0.14);
  animation: pigDrift 13s ease-in-out infinite;
}

.pig-floater svg {
  width: 72%;
  height: 72%;
}

.pig-floater path:nth-child(-n + 2),
.pig-floater circle {
  fill: var(--pink);
  stroke: var(--plum);
  stroke-linejoin: round;
  stroke-width: 2.8;
}

.pig-floater ellipse {
  fill: #ffd6df;
  stroke: var(--pink-dark);
  stroke-width: 2.8;
}

.pig-floater path:last-child {
  fill: none;
  stroke: var(--plum);
  stroke-linecap: round;
  stroke-width: 4.4;
}

.pig-floater-one {
  top: 16%;
  left: 78%;
}

.pig-floater-two {
  top: 58%;
  left: 3%;
  animation-delay: -5s;
}

.pig-floater-three {
  right: 8%;
  bottom: 10%;
  animation-delay: -9s;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 5vw, 64px);
  border-bottom: 1px solid rgba(198, 80, 114, 0.16);
  background: rgba(255, 245, 248, 0.9);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand strong {
  display: block;
  font-size: 1rem;
  line-height: 1;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
}

.logo-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(198, 80, 114, 0.22);
  border-radius: 8px;
  background: var(--pink-light);
  box-shadow: 0 10px 25px rgba(198, 80, 114, 0.14);
}

.logo-mark svg {
  width: 34px;
  height: 34px;
}

.logo-ear-fill,
.logo-face-fill {
  fill: var(--pink);
  stroke: var(--plum);
  stroke-linejoin: round;
  stroke-width: 2.8;
}

.logo-snout-fill {
  fill: #ffd6df;
  stroke: var(--pink-dark);
  stroke-width: 2.8;
}

.logo-line {
  fill: none;
  stroke: var(--plum);
  stroke-linecap: round;
  stroke-width: 4.4;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
  padding: 9px 12px;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  background: rgba(245, 188, 203, 0.35);
  color: var(--plum);
  outline: none;
}

.hero {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  gap: clamp(32px, 6vw, 72px);
  min-height: min(650px, calc(88vh - 76px));
  align-items: center;
  padding: clamp(42px, 7vw, 74px) clamp(18px, 5vw, 64px) 38px;
  overflow: hidden;
}

.hero::before,
.hero::after {
  position: absolute;
  z-index: -1;
  width: 160px;
  height: 160px;
  border: 22px solid rgba(198, 80, 114, 0.14);
  border-radius: 44% 56% 50% 50%;
  content: "";
  animation: bob 8s ease-in-out infinite;
}

.hero::before {
  top: 9%;
  left: 40%;
  transform: rotate(18deg);
}

.hero::after {
  right: 6%;
  bottom: 7%;
  width: 108px;
  height: 108px;
  border-color: rgba(139, 217, 199, 0.3);
  animation-delay: -4s;
}

.hero-copy {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--pink-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  max-width: 12ch;
  font-size: clamp(3.1rem, 8vw, 6.5rem);
  letter-spacing: 0;
  line-height: 0.9;
}

.lead {
  max-width: 660px;
  margin: 28px 0 0;
  color: #4e3d46;
  font-size: clamp(1.08rem, 2.2vw, 1.35rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.fresh-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.fresh-strip span,
.spark-badges span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(198, 80, 114, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.68);
  color: var(--plum);
  font-size: 0.78rem;
  font-weight: 900;
  padding: 7px 10px;
  text-transform: uppercase;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  padding: 12px 18px;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.button.primary {
  background: var(--pink-dark);
  color: #ffffff;
  box-shadow: 0 14px 30px rgba(198, 80, 114, 0.3);
}

.button.primary:hover,
.button.primary:focus-visible {
  background: var(--plum);
}

.button.secondary {
  border-color: rgba(198, 80, 114, 0.26);
  background: #ffffff;
}

.hero-visual {
  position: relative;
  min-height: 470px;
}

.hero-visual::before {
  position: absolute;
  top: 20px;
  left: 2%;
  z-index: 1;
  width: 118px;
  height: 118px;
  border-radius: 50%;
  background:
    linear-gradient(var(--pink-dark), var(--pink-dark)) 50% 50% / 14px 78px no-repeat,
    linear-gradient(90deg, var(--pink-dark), var(--pink-dark)) 50% 50% / 78px 14px no-repeat;
  content: "";
  opacity: 0.18;
  transform: rotate(22deg);
  animation: spinSlow 18s linear infinite;
}

.identity-panel {
  position: absolute;
  inset: 22px 0 auto auto;
  z-index: 2;
  display: grid;
  width: min(100%, 430px);
  min-height: 400px;
  align-content: space-between;
  padding: 28px;
  border: 1px solid rgba(198, 80, 114, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(253, 227, 234, 0.84)),
    linear-gradient(45deg, rgba(245, 188, 203, 0.8), rgba(139, 217, 199, 0.25));
  box-shadow: var(--shadow);
  transform: rotate(-1deg);
}

.identity-logo {
  display: grid;
  width: 118px;
  height: 118px;
  place-items: center;
  border-radius: 8px;
  background: var(--plum);
}

.identity-logo svg {
  width: 82px;
  height: 82px;
}

.pig-ear,
.pig-face {
  fill: var(--pink);
  stroke: #ffffff;
  stroke-linejoin: round;
  stroke-width: 2.8;
}

.pig-snout {
  fill: #ffd6df;
  stroke: #ffffff;
  stroke-width: 2.8;
}

.pig-details {
  fill: none;
  stroke: var(--plum);
  stroke-linecap: round;
  stroke-width: 4.4;
}

.terminal-line {
  display: block;
  color: #4e3d46;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: clamp(0.9rem, 2vw, 1rem);
  font-weight: 700;
}

.identity-panel strong {
  font-size: clamp(4.2rem, 10vw, 7.2rem);
  line-height: 0.85;
}

.spark-badges {
  position: absolute;
  top: 8px;
  right: 0;
  z-index: 3;
  display: grid;
  gap: 8px;
  transform: rotate(5deg);
}

.signal-grid {
  position: absolute;
  inset: auto auto 0 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(58px, 1fr));
  gap: 12px;
  width: min(80%, 380px);
}

.signal-grid span {
  aspect-ratio: 1;
  border: 1px solid rgba(198, 80, 114, 0.14);
  border-radius: 8px;
  background: #ffffff;
}

.signal-grid span:nth-child(3n + 1) {
  background: var(--pink);
}

.signal-grid span:nth-child(4n + 2) {
  background: var(--pink-light);
}

.signal-grid span:nth-child(5n) {
  background: var(--mint);
}

.section {
  padding: 76px clamp(18px, 5vw, 64px);
}

.intro {
  border-block: 1px solid rgba(198, 80, 114, 0.12);
  background: var(--plum);
  color: #ffffff;
}

.intro p {
  max-width: 980px;
  margin: 0;
  font-size: clamp(1.55rem, 4vw, 3.1rem);
  font-weight: 800;
  line-height: 1.05;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-heading h2,
.contact-copy h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
}

.services {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.services article {
  position: relative;
  overflow: hidden;
  min-height: 260px;
  padding: 24px;
  border: 1px solid rgba(198, 80, 114, 0.14);
  border-radius: 8px;
  background: var(--panel);
}

.services article::after {
  position: absolute;
  right: -34px;
  bottom: -44px;
  width: 118px;
  height: 118px;
  border: 18px solid rgba(245, 188, 203, 0.46);
  border-left-color: transparent;
  border-radius: 50%;
  content: "";
}

.card-spark {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 42px;
  height: 42px;
  background:
    linear-gradient(var(--mint), var(--mint)) 50% 50% / 8px 34px no-repeat,
    linear-gradient(90deg, var(--mint), var(--mint)) 50% 50% / 34px 8px no-repeat;
  transform: rotate(18deg);
}

.service-icon {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 8px;
  background: var(--pink-light);
  color: var(--pink-dark);
  font-weight: 800;
}

.services h3 {
  margin: 56px 0 10px;
  font-size: 1.25rem;
}

.services p,
.contact-copy p,
.modern-card p,
.modern-hero p,
.audience-grid p,
.case-grid p,
.process span {
  color: var(--muted);
}

.audience-section {
  position: relative;
  z-index: 2;
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.audience-grid article,
.case-grid article {
  position: relative;
  overflow: hidden;
  min-height: 260px;
  padding: 24px;
  border: 1px solid rgba(198, 80, 114, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 46px rgba(198, 80, 114, 0.08);
}

.audience-grid article::after,
.case-grid article::after {
  position: absolute;
  right: -34px;
  bottom: -34px;
  width: 110px;
  height: 110px;
  border: 16px solid rgba(245, 188, 203, 0.46);
  border-left-color: transparent;
  border-radius: 50%;
  content: "";
}

.audience-grid span,
.case-time {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  border: 1px solid rgba(198, 80, 114, 0.18);
  border-radius: 8px;
  background: var(--pink-light);
  color: var(--plum);
  font-size: 0.76rem;
  font-weight: 900;
  padding: 7px 10px;
  text-transform: uppercase;
}

.audience-grid h3,
.case-grid h3 {
  margin: 52px 0 10px;
  font-size: 1.24rem;
}

.modern-section {
  position: relative;
  z-index: 2;
  overflow: hidden;
  border-block: 1px solid rgba(198, 80, 114, 0.14);
  background:
    radial-gradient(circle at 12% 18%, rgba(139, 217, 199, 0.24), transparent 30%),
    radial-gradient(circle at 88% 12%, rgba(245, 188, 203, 0.58), transparent 28%),
    linear-gradient(135deg, #fff9fb, #fde3ea);
}

.modern-section::before {
  position: absolute;
  top: 42px;
  right: clamp(20px, 6vw, 80px);
  width: clamp(96px, 12vw, 156px);
  aspect-ratio: 1;
  border: 22px solid rgba(90, 38, 60, 0.1);
  border-left-color: transparent;
  border-radius: 50%;
  content: "";
  transform: rotate(-22deg);
}

.modern-hero {
  max-width: 1040px;
  margin-bottom: 34px;
}

.modern-hero h2 {
  max-width: 950px;
  margin: 0;
  font-size: clamp(2.5rem, 6vw, 6.4rem);
  line-height: 0.92;
}

.modern-hero p {
  max-width: 760px;
  margin: 24px 0 0;
  font-size: clamp(1.05rem, 2vw, 1.24rem);
}

.modern-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.modern-card {
  position: relative;
  overflow: hidden;
  min-height: 280px;
  padding: 24px;
  border: 1px solid rgba(198, 80, 114, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 46px rgba(198, 80, 114, 0.1);
}

.modern-card::after {
  position: absolute;
  right: -46px;
  bottom: -48px;
  width: 128px;
  height: 128px;
  border: 18px solid rgba(245, 188, 203, 0.48);
  border-left-color: transparent;
  border-radius: 50%;
  content: "";
}

.modern-card-wide {
  grid-column: span 2;
}

.modern-card h3 {
  margin: 44px 0 12px;
  font-size: clamp(1.55rem, 2.8vw, 2.45rem);
  line-height: 1.02;
}

.modern-card p {
  margin: 0;
}

.tech-kicker {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  border: 1px solid rgba(198, 80, 114, 0.18);
  border-radius: 8px;
  background: var(--pink-light);
  color: var(--plum);
  font-size: 0.76rem;
  font-weight: 900;
  padding: 7px 10px;
  text-transform: uppercase;
}

.tech-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.tech-pills span {
  border: 1px solid rgba(90, 38, 60, 0.12);
  border-radius: 8px;
  background: #ffffff;
  color: var(--plum);
  font-size: 0.82rem;
  font-weight: 800;
  padding: 8px 10px;
}

.modern-card-accent {
  background: var(--plum);
  color: #ffffff;
}

.modern-card-accent p {
  color: rgba(255, 255, 255, 0.78);
}

.modern-card-accent .tech-kicker {
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.modern-card-accent a {
  position: relative;
  z-index: 1;
  display: inline-flex;
  margin-top: 24px;
  color: #ffffff;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.ai-card {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(253, 227, 234, 0.78)),
    repeating-linear-gradient(90deg, rgba(198, 80, 114, 0.1) 0 1px, transparent 1px 18px);
}

.ai-signal {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-top: 26px;
}

.ai-signal span {
  height: 54px;
  border: 1px solid rgba(198, 80, 114, 0.14);
  border-radius: 8px;
  background: var(--pink);
  animation: signalPulse 1400ms ease-in-out infinite;
}

.ai-signal span:nth-child(2) {
  animation-delay: 120ms;
  background: var(--mint);
}

.ai-signal span:nth-child(3) {
  animation-delay: 240ms;
  background: var(--pink-light);
}

.ai-signal span:nth-child(4) {
  animation-delay: 360ms;
  background: var(--plum);
}

.ai-signal span:nth-child(5) {
  animation-delay: 480ms;
}

.process-band {
  background: var(--pink-light);
}

.playground-section {
  position: relative;
  z-index: 2;
  background: var(--plum);
  color: #ffffff;
}

.playground-section .eyebrow {
  color: var(--pink);
}

.playground-section .section-heading {
  max-width: 900px;
}

.playground-section h2 {
  margin: 0;
  font-size: clamp(2.1rem, 5vw, 5.2rem);
  line-height: 0.95;
}

.playground {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}

.playground span {
  display: grid;
  min-height: 112px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(245, 188, 203, 0.18)),
    rgba(255, 255, 255, 0.06);
  color: #ffffff;
  font-size: clamp(1.1rem, 2vw, 1.55rem);
  font-weight: 900;
  transform: rotate(-1deg);
  animation: tileWave 6s ease-in-out infinite;
}

.playground span:nth-child(2n) {
  transform: rotate(1deg);
  animation-delay: -1.2s;
}

.playground span:nth-child(3n) {
  background:
    linear-gradient(135deg, rgba(139, 217, 199, 0.24), rgba(255, 255, 255, 0.08)),
    rgba(255, 255, 255, 0.06);
  animation-delay: -2.4s;
}

.process {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
  overflow: hidden;
  border: 1px solid rgba(198, 80, 114, 0.14);
  border-radius: 8px;
  background: rgba(198, 80, 114, 0.16);
}

.process li {
  position: relative;
  min-height: 180px;
  padding: 24px;
  background: #ffffff;
}

.process li::after {
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: 44px;
  height: 44px;
  border: 9px solid rgba(198, 80, 114, 0.18);
  border-left-color: transparent;
  border-radius: 50%;
  content: "";
}

.process strong,
.process span {
  display: block;
}

.process strong {
  margin-bottom: 48px;
  font-size: 1.2rem;
}

.contact-section {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(320px, 1.14fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: start;
}

.cases-section {
  position: relative;
  z-index: 2;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.case-grid article {
  min-height: 300px;
}

.final-cta {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-block: 1px solid rgba(198, 80, 114, 0.14);
  background:
    radial-gradient(circle at 86% 12%, rgba(139, 217, 199, 0.32), transparent 28%),
    linear-gradient(135deg, var(--pink), var(--pink-light));
}

.final-cta h2 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(2.1rem, 5vw, 5.2rem);
  line-height: 0.94;
}

.final-cta .button {
  flex: 0 0 auto;
}

.contact-copy {
  position: sticky;
  top: 112px;
}

.contact-copy p {
  max-width: 520px;
  font-size: 1.06rem;
}

.mail-link {
  display: inline-flex;
  margin-top: 12px;
  color: var(--pink-dark);
  font-weight: 800;
}

.contact-form {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 16px;
  padding: clamp(18px, 4vw, 28px);
  border: 1px solid rgba(198, 80, 114, 0.14);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 50px rgba(198, 80, 114, 0.1);
}

.contact-form::before {
  position: absolute;
  top: -48px;
  right: -48px;
  width: 128px;
  height: 128px;
  border-radius: 36px;
  background: rgba(245, 188, 203, 0.26);
  content: "";
  transform: rotate(16deg);
}

label {
  display: grid;
  gap: 8px;
  color: var(--plum);
  font-size: 0.92rem;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #efc2cf;
  border-radius: 8px;
  background: #fff9fb;
  color: var(--ink);
  font: inherit;
  padding: 13px 14px;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--pink-dark);
  box-shadow: 0 0 0 4px rgba(245, 188, 203, 0.34);
  outline: none;
}

.submit-button {
  width: 100%;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--pink-dark);
  font-weight: 700;
}

.site-footer {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 24px clamp(18px, 5vw, 64px);
  border-top: 1px solid rgba(198, 80, 114, 0.14);
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.site-footer a {
  color: var(--pink-dark);
  font-weight: 800;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--plum);
  outline: none;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.cookie-banner {
  position: fixed;
  right: clamp(14px, 3vw, 34px);
  bottom: clamp(14px, 3vw, 34px);
  z-index: 25;
  display: none;
  width: min(430px, calc(100vw - 28px));
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  padding: 18px;
  border: 1px solid rgba(198, 80, 114, 0.2);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(253, 227, 234, 0.94)),
    var(--pink-light);
  box-shadow: 0 22px 60px rgba(90, 38, 60, 0.2);
}

.cookie-banner.is-visible {
  display: flex;
}

.cookie-banner strong {
  display: block;
  color: var(--plum);
  font-size: 1.05rem;
}

.cookie-banner p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.cookie-button {
  min-width: 150px;
  white-space: nowrap;
}

@keyframes pigDrift {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(-5deg);
  }

  50% {
    transform: translate3d(18px, -26px, 0) rotate(8deg);
  }
}

@keyframes bob {
  0%,
  100% {
    transform: translateY(0) rotate(18deg);
  }

  50% {
    transform: translateY(-18px) rotate(28deg);
  }
}

@keyframes spinSlow {
  to {
    transform: rotate(382deg);
  }
}

@keyframes signalPulse {
  0%,
  100% {
    transform: scaleY(0.62);
  }

  50% {
    transform: scaleY(1);
  }
}

@keyframes tileWave {
  0%,
  100% {
    transform: translateY(0) rotate(-1deg);
  }

  50% {
    transform: translateY(-10px) rotate(1deg);
  }
}

@media (pointer: fine) and (prefers-reduced-motion: no-preference) {
  body.tail-cursor .pig-cursor {
    display: block;
  }
}

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

  .pig-floater,
  .hero::before,
  .hero::after,
  .hero-visual::before,
  .ai-signal span,
  .playground span {
    animation: none;
  }
}

@media (max-width: 900px) {
  .hero,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual {
    min-height: 400px;
  }

  .identity-panel {
    inset: 0 0 auto auto;
    min-height: 360px;
  }

  .spark-badges {
    top: -8px;
  }

  .services,
  .audience-grid,
  .process,
  .modern-grid,
  .playground,
  .case-grid {
    grid-template-columns: 1fr;
  }

  .modern-card-wide {
    grid-column: auto;
  }

  .contact-copy {
    position: static;
  }

  .final-cta {
    align-items: flex-start;
    flex-direction: column;
  }

  .cookie-banner {
    align-items: stretch;
    flex-direction: column;
  }

  .cookie-button {
    width: 100%;
  }
}

@media (max-width: 640px) {
  [id] {
    scroll-margin-top: 170px;
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    width: 100%;
    justify-content: space-between;
  }

  .nav-links a {
    padding-inline: 8px;
  }

  .brand small {
    white-space: normal;
  }

  .hero {
    padding-top: 34px;
    padding-bottom: 24px;
  }

  h1 {
    font-size: clamp(2.75rem, 15vw, 4.1rem);
  }

  .lead {
    margin-top: 22px;
    font-size: 1rem;
  }

  .fresh-strip {
    margin-top: 20px;
  }

  .hero-actions {
    margin-top: 24px;
  }

  .hero-actions,
  .hero-actions .button {
    width: 100%;
  }

  .hero-visual {
    display: none;
  }

  .hero::before,
  .hero::after,
  .hero-visual::before,
  .spark-badges {
    display: none;
  }

  .identity-panel {
    width: 78%;
    min-height: 218px;
    padding: 18px;
  }

  .identity-logo {
    width: 88px;
    height: 88px;
  }

  .identity-logo svg {
    width: 62px;
    height: 62px;
  }

  .identity-panel strong {
    font-size: 3.5rem;
  }

  .terminal-line {
    font-size: 0.75rem;
  }

  .signal-grid {
    grid-template-columns: repeat(4, minmax(40px, 1fr));
    gap: 8px;
    width: 58%;
  }

  .pig-floater {
    width: 54px;
    opacity: 0.74;
  }

  .pig-floater-one {
    top: 24%;
    right: 4%;
    left: auto;
  }

  .pig-floater-two {
    top: 68%;
    left: 4%;
  }

  .pig-floater-three {
    display: none;
  }

  .section {
    padding-block: 54px;
  }

  .modern-hero h2 {
    font-size: clamp(2.35rem, 12vw, 3.9rem);
  }

  .modern-card {
    min-height: auto;
  }

  .audience-grid article,
  .case-grid article {
    min-height: auto;
  }

  .playground span {
    min-height: 86px;
  }

  .services article,
  .process li {
    min-height: auto;
  }
}
