/* Thynk — high-end custom
   Palette: black #000 · evergreen #063126 · seaweed #47AB88 · wisteria #BEA6D6 */

:root {
  --black: #000000;
  --black-soft: #0a0a0a;
  --evergreen: #063126;
  --evergreen-l: #0a4a3a;
  --seaweed: #47ab88;
  --seaweed-d: #2d7a5e;
  --seaweed-l: #6dcca6;
  --wisteria: #bea6d6;
  --white: #f5f5f5;
  --mute: #9a9a9a;
  --line: rgba(245, 245, 245, 0.12);

  --display: "Bricolage Grotesque", Georgia, sans-serif;
  --body: "Source Sans 3", "Segoe UI", sans-serif;

  --wrap: min(1140px, calc(100% - 2.5rem));
  --head: 4.5rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --r: 12px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--white);
  background: var(--black);
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
ul, ol { list-style: none; }

::selection {
  background: var(--seaweed);
  color: var(--black);
}

:focus-visible {
  outline: 2px solid var(--seaweed);
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.wrap {
  width: var(--wrap);
  margin-inline: auto;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--head);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline: max(1.25rem, calc((100vw - 1140px) / 2));
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  background: rgba(0, 0, 0, 0.86);
  backdrop-filter: blur(16px);
  border-bottom-color: var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
  z-index: 60;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  object-fit: cover;
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 1.6rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(245, 245, 245, 0.7);
}

.nav-desktop a:not(.nav-talk) {
  position: relative;
}

.nav-desktop a:not(.nav-talk)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.2rem;
  width: 100%;
  height: 2px;
  background: var(--seaweed);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s var(--ease);
}

.nav-desktop a:not(.nav-talk):hover {
  color: var(--white);
}

.nav-desktop a:not(.nav-talk):hover::after {
  transform: scaleX(1);
}

.nav-talk {
  padding: 0.55rem 1.05rem;
  background: var(--seaweed);
  color: var(--black) !important;
  border-radius: var(--r);
  font-weight: 600;
}

.nav-talk:hover {
  background: var(--seaweed-l);
}

.menu-btn {
  width: 44px;
  height: 44px;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 7px;
  border: 0;
  background: none;
  cursor: pointer;
  z-index: 60;
}

.menu-btn span {
  width: 22px;
  height: 2px;
  background: var(--white);
  transition: transform 0.3s var(--ease);
}

.menu-btn.is-open span:first-child {
  transform: translateY(4.5px) rotate(45deg);
}

.menu-btn.is-open span:last-child {
  transform: translateY(-4.5px) rotate(-45deg);
}

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: var(--black);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.15rem;
  padding: 2rem 1.5rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s var(--ease), visibility 0.3s;
}

.mobile-nav.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mobile-nav a {
  font-family: var(--display);
  font-size: clamp(2rem, 9vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.03em;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.1rem;
  padding: 0.75rem 1.4rem;
  font-weight: 600;
  border-radius: var(--r);
  border: 1.5px solid transparent;
  transition: transform 0.22s var(--ease), background 0.22s var(--ease), border-color 0.22s var(--ease), color 0.22s var(--ease);
}

.btn:hover { transform: translateY(-2px); }

.btn-main {
  background: var(--seaweed);
  color: var(--black);
}

.btn-main:hover { background: var(--seaweed-l); }

.btn-line {
  border-color: rgba(245, 245, 245, 0.32);
  color: var(--white);
  background: transparent;
}

.btn-line:hover {
  border-color: var(--white);
  background: rgba(245, 245, 245, 0.05);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  padding: calc(var(--head) + 2rem) 0 4rem;
  overflow: hidden;
  background: var(--black);
}

.hero-wash {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 65% 50% at 88% 8%, rgba(6, 49, 38, 1), transparent 58%),
    radial-gradient(ellipse 40% 35% at 8% 85%, rgba(71, 171, 136, 0.16), transparent 55%),
    radial-gradient(ellipse 30% 28% at 55% 40%, rgba(190, 166, 214, 0.08), transparent 60%),
    linear-gradient(168deg, #000 0%, #040404 50%, #031710 100%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: var(--wrap);
  margin-inline: auto;
  display: grid;
  gap: 2.75rem;
  align-items: center;
}

.hero-brand {
  font-family: var(--display);
  font-size: clamp(3.6rem, 14vw, 8.2rem);
  font-weight: 800;
  letter-spacing: -0.07em;
  line-height: 0.86;
  margin-bottom: 1.1rem;
}

.hero-title {
  font-family: var(--display);
  font-size: clamp(1.85rem, 4.2vw, 2.9rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.08;
  max-width: 16ch;
  margin-bottom: 1rem;
  color: var(--seaweed-l);
}

.hero-lead {
  max-width: 34ch;
  color: var(--mute);
  font-size: 1.12rem;
  margin-bottom: 1.7rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-visual {
  width: min(100%, 400px);
  margin-inline: auto;
}

.auto-panel {
  background: linear-gradient(165deg, rgba(6, 49, 38, 0.72), rgba(8, 8, 8, 0.94));
  border: 1px solid rgba(71, 171, 136, 0.32);
  border-radius: 20px;
  padding: 1.25rem 1.2rem 1.35rem;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

.auto-top {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(245, 245, 245, 0.62);
  margin-bottom: 1.15rem;
}

.auto-live {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--seaweed);
  animation: live-ping 1.8s ease-out infinite;
}

.auto-flow { display: grid; }

.auto-step {
  opacity: 0.4;
  transform: translateX(8px);
  animation: step-on 4.8s ease-in-out infinite;
}

.auto-step[data-step="1"] { animation-delay: 0s; }
.auto-step[data-step="2"] { animation-delay: 1.45s; }
.auto-step[data-step="3"] { animation-delay: 2.9s; }

.auto-step .auto-card {
  animation: card-on 4.8s ease-in-out infinite;
}

.auto-step[data-step="1"] .auto-card { animation-delay: 0s; }
.auto-step[data-step="2"] .auto-card { animation-delay: 1.45s; }
.auto-step[data-step="3"] .auto-card { animation-delay: 2.9s; }

.auto-arrow {
  display: flex;
  justify-content: center;
  height: 16px;
  opacity: 0.45;
}

.auto-arrow span {
  width: 2px;
  height: 100%;
  background: rgba(71, 171, 136, 0.5);
  position: relative;
}

.auto-arrow span::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -1px;
  width: 6px;
  height: 6px;
  border-right: 2px solid rgba(71, 171, 136, 0.75);
  border-bottom: 2px solid rgba(71, 171, 136, 0.75);
  transform: translateX(-50%) rotate(45deg);
}

.auto-card {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 0.75rem;
  align-items: center;
  padding: 0.72rem 0.85rem;
  border-radius: 14px;
  border: 1px solid rgba(245, 245, 245, 0.1);
  background: rgba(0, 0, 0, 0.38);
}

.auto-num {
  font-family: var(--display);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--wisteria);
}

.auto-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  border: 1px solid rgba(71, 171, 136, 0.28);
  background: rgba(0, 0, 0, 0.35);
  color: var(--white);
}

.auto-icon svg { width: 34px; height: 34px; }

.auto-meta { display: grid; gap: 0.12rem; min-width: 0; }

.auto-meta strong {
  font-family: var(--display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.auto-meta span {
  font-size: 0.84rem;
  color: var(--mute);
}

.auto-step[data-step="1"] .auto-icon {
  animation: mail-pop 4.8s ease-in-out infinite;
}

.auto-step[data-step="1"] .mail-badge {
  transform-origin: center;
  animation: badge-pop 4.8s ease-in-out infinite;
}

.auto-step[data-step="2"] .ai-arc {
  transform-origin: 24px 24px;
  animation: ai-spin 4.8s linear infinite;
  animation-delay: 1.45s;
}

.auto-step[data-step="2"] .ai-bar-1,
.auto-step[data-step="2"] .ai-bar-2,
.auto-step[data-step="2"] .ai-bar-3 {
  transform-box: fill-box;
  transform-origin: left center;
  animation: bar-scan 4.8s ease-in-out infinite;
  animation-delay: 1.45s;
}

.auto-step[data-step="2"] .ai-bar-2 { animation-delay: 1.55s; }
.auto-step[data-step="2"] .ai-bar-3 { animation-delay: 1.65s; }

.auto-step[data-step="3"] .plane-group {
  transform-origin: 24px 24px;
  animation: confirm-pop 4.8s ease-in-out infinite;
  animation-delay: 2.9s;
  animation-fill-mode: both;
}

html.motion [data-in] {
  opacity: 0;
  transform: translateY(24px);
}

/* Statement */
.statement {
  position: relative;
  padding: 5.5rem 0;
  background: var(--evergreen);
  border-block: 1px solid rgba(71, 171, 136, 0.25);
  overflow: hidden;
}

.statement-glow {
  position: absolute;
  right: -8%;
  top: 50%;
  width: min(48vw, 420px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(71, 171, 136, 0.22), transparent 68%);
  transform: translateY(-50%);
  animation: statement-pulse 7s ease-in-out infinite;
  pointer-events: none;
}

.statement-inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.statement-line {
  font-family: var(--display);
  font-size: clamp(1.85rem, 4.8vw, 3.4rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.15;
  max-width: 14ch;
}

.statement-line span {
  display: block;
  color: var(--seaweed-l);
  margin-top: 0.25em;
}

/* Boring stack -> real work stack */
.statement-visual {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  width: min(100%, 340px);
}

.sv-col {
  flex: 1;
  display: grid;
  gap: 0.75rem;
}

.sv-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(245, 245, 245, 0.45);
}

.sv-label-live {
  color: var(--seaweed-l);
}

.sv-stack {
  display: grid;
  gap: 0.55rem;
}

.sv-bar {
  display: block;
  height: 12px;
  border-radius: 999px;
}

.sv-bar-dull {
  background: rgba(245, 245, 245, 0.14);
  transform-origin: left center;
  animation: dull-fade 3.6s ease-in-out infinite;
}

.sv-bar-dull:nth-child(1) { width: 100%; animation-delay: 0s; }
.sv-bar-dull:nth-child(2) { width: 78%; animation-delay: 0.15s; }
.sv-bar-dull:nth-child(3) { width: 90%; animation-delay: 0.3s; }

.sv-bar-live {
  background: linear-gradient(90deg, var(--seaweed), var(--seaweed-l));
  box-shadow: 0 0 18px rgba(71, 171, 136, 0.35);
  transform-origin: left center;
  animation: live-rise 3.6s ease-in-out infinite;
}

.sv-bar-live:nth-child(1) { width: 100%; animation-delay: 0.45s; }
.sv-bar-live:nth-child(2) { width: 72%; animation-delay: 0.6s; }
.sv-bar-live:nth-child(3) { width: 88%; animation-delay: 0.75s; }

.sv-arrow {
  width: 36px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sv-arrow span {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--wisteria);
  position: relative;
  animation: arrow-nudge 2.4s ease-in-out infinite;
}

.sv-arrow span::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--wisteria);
  border-top: 2px solid var(--wisteria);
  transform: translateY(-50%) rotate(45deg);
}

/* About */
.about {
  padding: 6.5rem 0;
  background: var(--black);
}

.about-layout {
  display: grid;
  gap: 3rem;
  align-items: center;
}

.eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--seaweed);
  margin-bottom: 0.85rem;
}

.about-title {
  font-family: var(--display);
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.02;
  margin-bottom: 1.4rem;
}

.about-title em {
  font-style: normal;
  color: var(--wisteria);
}

.about-copy {
  display: grid;
  gap: 1rem;
  color: var(--mute);
  max-width: 40ch;
  font-size: 1.12rem;
}

.about-art {
  justify-self: center;
  width: min(100%, 320px);
}

/*
 * Orbit visual: glowing agent core, satellite task nodes,
 * and a packet that loops forever with a soft trail.
 */
.orbit {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
}

.orbit-glow {
  position: absolute;
  inset: 18%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(71, 171, 136, 0.22), transparent 70%);
  filter: blur(8px);
  animation: core-breathe 3.4s ease-in-out infinite;
}

.orbit-ring {
  position: absolute;
  inset: 10%;
  border-radius: 50%;
  border: 1.5px dashed rgba(71, 171, 136, 0.32);
  animation: orbit-spin 28s linear infinite;
}

.orbit-ring-b {
  inset: 24%;
  border-style: solid;
  border-color: rgba(190, 166, 214, 0.22);
  animation: orbit-spin 16s linear infinite reverse;
}

.orbit-spokes {
  position: absolute;
  inset: 18%;
  border-radius: 50%;
  background:
    conic-gradient(
      from 0deg,
      transparent 0 55deg,
      rgba(71, 171, 136, 0.12) 55deg 58deg,
      transparent 58deg 175deg,
      rgba(190, 166, 214, 0.12) 175deg 178deg,
      transparent 178deg 295deg,
      rgba(71, 171, 136, 0.1) 295deg 298deg,
      transparent 298deg 360deg
    );
  mask: radial-gradient(circle, transparent 42%, #000 43%, #000 98%, transparent 99%);
  animation: orbit-spin 22s linear infinite;
}

.orbit-core {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 26%;
  aspect-ratio: 1;
  translate: -50% -50%;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 35% 30%, var(--seaweed-l), var(--seaweed) 55%, var(--evergreen));
  box-shadow:
    0 0 0 10px rgba(71, 171, 136, 0.1),
    0 0 48px rgba(71, 171, 136, 0.4);
  animation: core-breathe 3.2s ease-in-out infinite;
}

.orbit-core-inner {
  width: 38%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(245, 245, 245, 0.9);
  box-shadow: 0 0 18px rgba(245, 245, 245, 0.45);
}

/*
 * Slots share the packet arm's inset (10%), so nodes land
 * on the exact same circle. --a is the angle around the ring.
 */
.orbit-slot {
  position: absolute;
  inset: 10%;
  border-radius: 50%;
  transform: rotate(var(--a));
  pointer-events: none;
}

.orbit-node {
  position: absolute;
  left: 50%;
  top: 0;
  width: 16px;
  height: 16px;
  translate: -50% -50%;
  border-radius: 50%;
  background: var(--wisteria);
  box-shadow: 0 0 0 6px rgba(190, 166, 214, 0.12);
  animation: node-hit 4.2s ease-in-out infinite;
  animation-delay: var(--d, 0s);
}

.orbit-node-b {
  background: var(--seaweed);
  box-shadow: 0 0 0 6px rgba(71, 171, 136, 0.12);
}

.orbit-node-c {
  background: var(--seaweed-l);
  box-shadow: 0 0 0 6px rgba(71, 171, 136, 0.1);
}

.orbit-arm {
  position: absolute;
  inset: 10%;
  border-radius: 50%;
  animation: orbit-spin 4.2s linear infinite;
}

.orbit-packet {
  position: absolute;
  left: 50%;
  top: 0;
  width: 13px;
  height: 13px;
  translate: -50% -50%;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 0 20px rgba(245, 245, 245, 0.7);
}

.orbit-trail {
  position: absolute;
  left: 50%;
  top: 0;
  width: 34px;
  height: 10px;
  translate: -80% -50%;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(245, 245, 245, 0.55));
  filter: blur(2px);
  opacity: 0.8;
}

/* Work grid */
.work {
  background: var(--black);
  padding: 5rem 0 5.5rem;
}

.work-intro {
  margin-bottom: 2.25rem;
}

.section-title {
  font-family: var(--display);
  font-size: clamp(2.1rem, 4.8vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.work-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

.work-panel {
  display: grid;
  gap: 1.25rem;
  align-content: start;
  min-height: 100%;
  padding: 1.75rem 1.5rem 2rem;
  border: 1px solid rgba(71, 171, 136, 0.22);
  border-radius: 18px;
  background:
    linear-gradient(155deg, rgba(6, 49, 38, 0.55), transparent 60%),
    rgba(6, 49, 38, 0.22);
}

.work-panel-b {
  border-color: rgba(190, 166, 214, 0.22);
  background:
    linear-gradient(155deg, rgba(190, 166, 214, 0.14), transparent 60%),
    rgba(245, 245, 245, 0.03);
}

.work-num {
  font-family: var(--display);
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 0.9;
  color: var(--seaweed);
  opacity: 0.9;
}

.work-num-alt { color: var(--wisteria); }

.work-panel-copy h3 {
  font-family: var(--display);
  font-size: clamp(1.55rem, 2.8vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
}

.work-panel-copy p {
  color: rgba(245, 245, 245, 0.72);
  max-width: 36ch;
  font-size: 1.05rem;
  margin-bottom: 0.85rem;
}

.work-example {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(245, 245, 245, 0.1);
}

.work-example-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--seaweed-l);
}

.work-example-text {
  margin: 0 !important;
  color: rgba(245, 245, 245, 0.72) !important;
  font-size: 0.95rem !important;
  line-height: 1.45;
  max-width: none;
}

/*
 * Mini example scenes: tiny story UIs that show the pain,
 * not abstract icon bars.
 */
.work-scene {
  display: grid;
  gap: 0.55rem;
  padding: 0.85rem 0.9rem;
  border-radius: 14px;
  border: 1px solid rgba(245, 245, 245, 0.1);
  background: rgba(0, 0, 0, 0.45);
  font-size: 0.82rem;
  line-height: 1.35;
}

.ws-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 600;
  color: rgba(245, 245, 245, 0.7);
}

.ws-badge {
  min-width: 1.6rem;
  padding: 0.1rem 0.4rem;
  border-radius: 999px;
  text-align: center;
  font-size: 0.72rem;
  font-weight: 700;
  color: #000;
  background: var(--wisteria);
}

.ws-list {
  display: grid;
  gap: 0.35rem;
}

.ws-list li {
  padding: 0.4rem 0.55rem;
  border-radius: 8px;
  background: rgba(245, 245, 245, 0.05);
  color: rgba(245, 245, 245, 0.55);
}

.ws-list .ws-hot,
.ws-tl-row.ws-hot {
  color: var(--white);
  background: rgba(71, 171, 136, 0.22);
  border: 1px solid rgba(71, 171, 136, 0.4);
  animation: ws-glow 2.6s ease-in-out infinite;
}

.ws-dim { opacity: 0.55; }

.ws-chat {
  display: grid;
  gap: 0.35rem;
}

.ws-bubble {
  justify-self: start;
  max-width: 90%;
  padding: 0.35rem 0.6rem;
  border-radius: 10px 10px 10px 4px;
  background: rgba(245, 245, 245, 0.08);
  color: rgba(245, 245, 245, 0.7);
}

.ws-bubble-r {
  justify-self: end;
  border-radius: 10px 10px 4px 10px;
  background: rgba(190, 166, 214, 0.18);
}

.ws-result {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.4rem 0.65rem;
  padding: 0.45rem 0.6rem;
  border-radius: 8px;
  background: rgba(71, 171, 136, 0.18);
  border: 1px solid rgba(71, 171, 136, 0.35);
  color: var(--seaweed-l);
  animation: ws-glow 2.6s ease-in-out infinite;
}

.ws-result strong {
  color: var(--white);
  font-weight: 700;
}

.ws-timeline {
  display: grid;
  gap: 0.4rem;
}

.ws-tl-row {
  display: grid;
  grid-template-columns: 2.4rem 1fr;
  gap: 0.55rem;
  align-items: center;
  padding: 0.35rem 0.5rem;
  border-radius: 8px;
  background: rgba(245, 245, 245, 0.05);
  color: rgba(245, 245, 245, 0.75);
}

.ws-day {
  font-weight: 700;
  color: rgba(245, 245, 245, 0.45);
}

.ws-tl-row.ws-hot .ws-day {
  color: var(--seaweed-l);
}

.ws-custom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
}

.ws-chip {
  padding: 0.3rem 0.55rem;
  border-radius: 8px;
  background: rgba(245, 245, 245, 0.08);
  color: rgba(245, 245, 245, 0.7);
  font-weight: 500;
}

.ws-chip-hot {
  color: var(--white);
  background: rgba(190, 166, 214, 0.28);
  border: 1px solid rgba(190, 166, 214, 0.4);
}

.ws-arrow {
  color: rgba(245, 245, 245, 0.35);
  font-size: 0.9rem;
}

@keyframes ws-glow {
  0%, 100% { box-shadow: 0 0 0 rgba(71, 171, 136, 0); }
  50% { box-shadow: 0 0 16px rgba(71, 171, 136, 0.18); }
}

/* Portfolio — project demos */
.portfolio {
  padding: 6rem 0 4.5rem;
  background:
    radial-gradient(ellipse 70% 50% at 100% 0%, rgba(6, 49, 38, 0.45), transparent 60%),
    var(--black);
}

.portfolio-stack {
  display: grid;
  gap: 5rem;
}

.portfolio-layout {
  display: grid;
  gap: 2.75rem;
  align-items: center;
}

.portfolio .section-title {
  margin-bottom: 1rem;
}

.portfolio-lead {
  max-width: 34ch;
  color: rgba(245, 245, 245, 0.68);
  font-size: 1.08rem;
  line-height: 1.55;
}

.portfolio-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.35rem;
  max-width: 36rem;
}

.portfolio-tags li {
  padding: 0.4rem 0.7rem;
  border: 1px solid rgba(71, 171, 136, 0.35);
  border-radius: 8px;
  background: rgba(6, 49, 38, 0.4);
  color: rgba(245, 245, 245, 0.82);
  font-size: 0.86rem;
  font-weight: 500;
  line-height: 1.2;
}

.wa-phone {
  justify-self: center;
  width: min(100%, 292px);
}

.wa-shell {
  border-radius: 28px;
  border: 1px solid rgba(245, 245, 245, 0.14);
  background: #0b141a;
  box-shadow:
    0 0 0 8px #111,
    0 24px 48px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}

.wa-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.55rem 1rem 0.2rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(245, 245, 245, 0.85);
  background: #1f2c34;
}

.wa-status-dots {
  width: 1.1rem;
  height: 0.55rem;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(245, 245, 245, 0.75), rgba(245, 245, 245, 0.35));
}

.wa-head {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.55rem 0.85rem 0.7rem;
  background: #1f2c34;
  border-bottom: 1px solid rgba(0, 0, 0, 0.25);
}

.wa-avatar {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.68rem;
  font-weight: 700;
  color: #0b141a;
  background: var(--seaweed);
}

.wa-head-text {
  display: grid;
  gap: 0.1rem;
  line-height: 1.15;
}

.wa-head-text strong {
  font-size: 0.92rem;
  font-weight: 600;
  color: #e9edef;
}

.wa-head-text span {
  font-size: 0.72rem;
  color: rgba(233, 237, 239, 0.55);
}

.wa-screen {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  min-height: 22rem;
  padding: 0.85rem 0.7rem 1rem;
  background:
    radial-gradient(circle at 20% 10%, rgba(71, 171, 136, 0.08), transparent 40%),
    #0b141a;
}

.wa-msg {
  position: relative;
  max-width: 88%;
  padding: 0.4rem 0.55rem 0.3rem 0.65rem;
  opacity: 0;
  transform: translateY(10px) scale(0.97);
}

.wa-msg p {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.35;
  color: #e9edef;
}

.wa-msg time {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.62rem;
  color: rgba(233, 237, 239, 0.4);
  text-align: right;
}

.wa-out {
  align-self: flex-end;
  border-radius: 10px 10px 4px 10px;
  background: #005c4b;
}

.wa-in {
  align-self: flex-start;
  border-radius: 10px 10px 10px 4px;
  background: #202c33;
}

.wa-msg[data-step="1"] { animation: wa-msg-1 14s ease-in-out infinite; }
.wa-msg[data-step="2"] { animation: wa-msg-2 14s ease-in-out infinite; }
.wa-msg[data-step="3"] { animation: wa-msg-3 14s ease-in-out infinite; }
.wa-msg[data-step="4"] { animation: wa-msg-4 14s ease-in-out infinite; }

.wa-confirm {
  border: 1px solid rgba(71, 171, 136, 0.45);
  box-shadow: 0 0 0 1px rgba(71, 171, 136, 0.08);
}

.wa-confirm strong {
  color: var(--seaweed-l);
  font-weight: 700;
}

.wa-typing {
  align-self: flex-start;
  display: inline-flex;
  gap: 0.28rem;
  padding: 0.55rem 0.75rem;
  border-radius: 10px 10px 10px 4px;
  background: #202c33;
  opacity: 0;
  animation: wa-typing 14s ease-in-out infinite;
}

.wa-typing span {
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 50%;
  background: rgba(233, 237, 239, 0.45);
  animation: wa-dot 1s ease-in-out infinite;
}

.wa-typing span:nth-child(2) { animation-delay: 0.15s; }
.wa-typing span:nth-child(3) { animation-delay: 0.3s; }

.wa-compose {
  padding: 0.55rem 0.85rem 0.85rem;
  background: #1f2c34;
}

.wa-compose span {
  display: block;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  background: #2a3942;
  color: rgba(233, 237, 239, 0.4);
  font-size: 0.82rem;
}

/*
 * Chat loop (14s):
 * 1 human ask → typing → AI offer → human book → AI confirm → reset
 */
@keyframes wa-msg-1 {
  0%, 4% { opacity: 0; transform: translateY(10px) scale(0.97); }
  8%, 88% { opacity: 1; transform: translateY(0) scale(1); }
  94%, 100% { opacity: 0; transform: translateY(-4px) scale(0.98); }
}

@keyframes wa-typing {
  0%, 12%, 28%, 100% { opacity: 0; transform: translateY(6px); }
  15%, 24% { opacity: 1; transform: translateY(0); }
}

@keyframes wa-msg-2 {
  0%, 24% { opacity: 0; transform: translateY(10px) scale(0.97); }
  28%, 88% { opacity: 1; transform: translateY(0) scale(1); }
  94%, 100% { opacity: 0; transform: translateY(-4px) scale(0.98); }
}

@keyframes wa-msg-3 {
  0%, 42% { opacity: 0; transform: translateY(10px) scale(0.97); }
  46%, 88% { opacity: 1; transform: translateY(0) scale(1); }
  94%, 100% { opacity: 0; transform: translateY(-4px) scale(0.98); }
}

@keyframes wa-msg-4 {
  0%, 56% { opacity: 0; transform: translateY(10px) scale(0.97); }
  60%, 88% { opacity: 1; transform: translateY(0) scale(1); }
  94%, 100% { opacity: 0; transform: translateY(-4px) scale(0.98); }
}

@keyframes wa-dot {
  0%, 100% { transform: translateY(0); opacity: 0.45; }
  50% { transform: translateY(-2px); opacity: 0.9; }
}

/* PG complaint sorter board
 * Loop: chaos pile → sort flash → Urgent / Today / Later lanes
 */
.pg-board {
  justify-self: center;
  width: min(100%, 360px);
  padding: 1rem 1rem 1.15rem;
  border-radius: 18px;
  border: 1px solid rgba(245, 245, 245, 0.12);
  background:
    linear-gradient(160deg, rgba(6, 49, 38, 0.45), transparent 55%),
    rgba(10, 10, 10, 0.9);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}

.pg-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.9rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(245, 245, 245, 0.7);
}

.pg-badge {
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #0b141a;
  background: var(--seaweed);
  animation: pg-badge-pulse 12s ease-in-out infinite;
}

.pg-chaos {
  position: relative;
  min-height: 9.5rem;
  margin-bottom: 0.85rem;
  animation: pg-chaos-phase 12s ease-in-out infinite;
}

.pg-chip {
  position: absolute;
  left: 50%;
  padding: 0.45rem 0.65rem;
  border-radius: 10px;
  border: 1px solid rgba(245, 245, 245, 0.12);
  background: rgba(245, 245, 245, 0.08);
  color: rgba(245, 245, 245, 0.82);
  font-size: 0.78rem;
  font-weight: 500;
  white-space: nowrap;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

.pg-chip[data-c="1"] {
  top: 0.2rem;
  transform: translateX(-58%) rotate(-6deg);
  animation: pg-jitter-a 12s ease-in-out infinite;
}

.pg-chip[data-c="2"] {
  top: 1.7rem;
  transform: translateX(-22%) rotate(4deg);
  animation: pg-jitter-b 12s ease-in-out infinite;
}

.pg-chip[data-c="3"] {
  top: 3.3rem;
  transform: translateX(-70%) rotate(-3deg);
  animation: pg-jitter-c 12s ease-in-out infinite;
  border-color: rgba(190, 166, 214, 0.35);
}

.pg-chip[data-c="4"] {
  top: 4.9rem;
  transform: translateX(-30%) rotate(5deg);
  animation: pg-jitter-a 12s ease-in-out infinite;
}

.pg-chip[data-c="5"] {
  top: 6.5rem;
  transform: translateX(-62%) rotate(-4deg);
  animation: pg-jitter-b 12s ease-in-out infinite;
}

.pg-lanes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.45rem;
  opacity: 0;
  transform: translateY(10px);
  animation: pg-lanes-phase 12s ease-in-out infinite;
}

.pg-lane {
  min-height: 8.5rem;
  padding: 0.45rem;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(245, 245, 245, 0.08);
}

.pg-lane h3 {
  margin: 0 0 0.4rem;
  font-family: var(--display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.pg-lane-urgent h3 { color: #f0a0a0; }
.pg-lane-today h3 { color: var(--seaweed-l); }
.pg-lane-later h3 { color: var(--wisteria); }

.pg-lane-urgent { border-color: rgba(240, 160, 160, 0.25); }
.pg-lane-today { border-color: rgba(71, 171, 136, 0.3); }
.pg-lane-later { border-color: rgba(190, 166, 214, 0.28); }

.pg-card {
  margin-bottom: 0.35rem;
  padding: 0.4rem 0.45rem;
  border-radius: 7px;
  background: rgba(245, 245, 245, 0.07);
  color: rgba(245, 245, 245, 0.88);
  font-size: 0.68rem;
  line-height: 1.25;
  font-weight: 500;
  opacity: 0;
  transform: translateY(6px) scale(0.96);
}

.pg-card:last-child { margin-bottom: 0; }

.pg-card[data-s="1"] { animation: pg-card-in 12s ease-in-out infinite; }
.pg-card[data-s="2"] { animation: pg-card-in 12s ease-in-out infinite 0.12s; }
.pg-card[data-s="3"] { animation: pg-card-in 12s ease-in-out infinite 0.2s; }
.pg-card[data-s="4"] { animation: pg-card-in 12s ease-in-out infinite 0.28s; }
.pg-card[data-s="5"] { animation: pg-card-in 12s ease-in-out infinite 0.36s; }

@keyframes pg-chaos-phase {
  0%, 38% { opacity: 1; }
  46%, 100% { opacity: 0; }
}

@keyframes pg-lanes-phase {
  0%, 44% { opacity: 0; transform: translateY(10px); }
  52%, 88% { opacity: 1; transform: translateY(0); }
  94%, 100% { opacity: 0; transform: translateY(-4px); }
}

@keyframes pg-card-in {
  0%, 50% { opacity: 0; transform: translateY(6px) scale(0.96); }
  56%, 88% { opacity: 1; transform: translateY(0) scale(1); }
  94%, 100% { opacity: 0; transform: translateY(-3px) scale(0.98); }
}

@keyframes pg-badge-pulse {
  0%, 38% { background: var(--wisteria); }
  46%, 88% { background: var(--seaweed); }
  94%, 100% { background: var(--wisteria); }
}

@keyframes pg-jitter-a {
  0%, 38% { translate: 0 0; }
  10% { translate: -2px 1px; }
  20% { translate: 2px -1px; }
  46%, 100% { translate: 0 0; opacity: 0; }
}

@keyframes pg-jitter-b {
  0%, 38% { translate: 0 0; }
  12% { translate: 2px 2px; }
  22% { translate: -1px -2px; }
  46%, 100% { translate: 0 0; opacity: 0; }
}

@keyframes pg-jitter-c {
  0%, 38% { translate: 0 0; }
  14% { translate: -2px -1px; }
  24% { translate: 1px 2px; }
  46%, 100% { translate: 0 0; opacity: 0; }
}

/* Water sports slot board
 * Loop: sunny booked slots → rain overlay → bookings shift later
 */
.sea-board {
  position: relative;
  justify-self: center;
  width: min(100%, 360px);
  padding: 1rem 1rem 1.15rem;
  border-radius: 18px;
  border: 1px solid rgba(245, 245, 245, 0.12);
  background:
    linear-gradient(165deg, rgba(6, 49, 38, 0.5), transparent 50%),
    rgba(10, 10, 10, 0.92);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}

.sea-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(245, 245, 245, 0.7);
}

.sea-weather {
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  font-size: 0.68rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #0b141a;
  background: var(--seaweed);
  animation: sea-weather-sun 13s ease-in-out infinite;
}

.sea-weather-rain {
  position: absolute;
  right: 1rem;
  top: 1rem;
  background: var(--wisteria);
  opacity: 0;
  animation: sea-weather-rain 13s ease-in-out infinite;
}

.sea-activities {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.85rem;
}

.sea-activities span {
  padding: 0.28rem 0.5rem;
  border-radius: 6px;
  border: 1px solid rgba(71, 171, 136, 0.3);
  background: rgba(6, 49, 38, 0.45);
  color: rgba(245, 245, 245, 0.8);
  font-size: 0.72rem;
  font-weight: 500;
}

.sea-slots {
  display: grid;
  gap: 0.4rem;
  position: relative;
  z-index: 1;
}

.sea-slot {
  display: grid;
  grid-template-columns: 3.2rem 1fr;
  gap: 0.55rem;
  align-items: center;
  padding: 0.5rem 0.6rem;
  border-radius: 10px;
  border: 1px solid rgba(71, 171, 136, 0.28);
  background: rgba(6, 49, 38, 0.35);
}

.sea-slot strong {
  font-family: var(--display);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--seaweed-l);
}

.sea-book {
  font-size: 0.78rem;
  color: rgba(245, 245, 245, 0.82);
}

.sea-slot[data-t="1"],
.sea-slot[data-t="2"],
.sea-slot[data-t="3"] {
  animation: sea-morning 13s ease-in-out infinite;
}

.sea-slot-later {
  border-color: rgba(245, 245, 245, 0.08);
  background: rgba(245, 245, 245, 0.04);
  opacity: 0.35;
}

.sea-slot-later .sea-book {
  color: rgba(245, 245, 245, 0.45);
}

.sea-slot[data-t="4"],
.sea-slot[data-t="5"] {
  animation: sea-later-fill 13s ease-in-out infinite;
}

.sea-rain {
  pointer-events: none;
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0;
  background:
    linear-gradient(180deg, rgba(80, 100, 140, 0.2), rgba(20, 30, 50, 0.45)),
    repeating-linear-gradient(
      -20deg,
      transparent,
      transparent 6px,
      rgba(190, 166, 214, 0.08) 6px,
      rgba(190, 166, 214, 0.08) 8px
    );
  animation: sea-rain-fade 13s ease-in-out infinite;
}

.sea-note {
  position: relative;
  z-index: 1;
  margin-top: 0.75rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--wisteria);
  opacity: 0;
  animation: sea-note-in 13s ease-in-out infinite;
}

@keyframes sea-weather-sun {
  0%, 36% { opacity: 1; }
  44%, 100% { opacity: 0; }
}

@keyframes sea-weather-rain {
  0%, 40% { opacity: 0; }
  48%, 88% { opacity: 1; }
  94%, 100% { opacity: 0; }
}

@keyframes sea-rain-fade {
  0%, 38% { opacity: 0; }
  46%, 88% { opacity: 1; }
  94%, 100% { opacity: 0; }
}

@keyframes sea-morning {
  0%, 42% {
    opacity: 1;
    border-color: rgba(71, 171, 136, 0.28);
    background: rgba(6, 49, 38, 0.35);
  }
  50%, 88% {
    opacity: 0.35;
    border-color: rgba(240, 160, 160, 0.3);
    background: rgba(80, 30, 30, 0.25);
  }
  94%, 100% {
    opacity: 1;
    border-color: rgba(71, 171, 136, 0.28);
    background: rgba(6, 49, 38, 0.35);
  }
}

@keyframes sea-later-fill {
  0%, 48% {
    opacity: 0.35;
    border-color: rgba(245, 245, 245, 0.08);
    background: rgba(245, 245, 245, 0.04);
  }
  56%, 88% {
    opacity: 1;
    border-color: rgba(190, 166, 214, 0.4);
    background: rgba(190, 166, 214, 0.14);
  }
  94%, 100% {
    opacity: 0.35;
    border-color: rgba(245, 245, 245, 0.08);
    background: rgba(245, 245, 245, 0.04);
  }
}

@keyframes sea-note-in {
  0%, 52% { opacity: 0; transform: translateY(4px); }
  58%, 88% { opacity: 1; transform: translateY(0); }
  94%, 100% { opacity: 0; }
}

/* Clients grid */
.clients {
  padding: 1.5rem 0 5.5rem;
  background: var(--black);
}

.clients-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mute);
  margin-bottom: 1.5rem;
}

.clients-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

.client-item {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(245, 245, 245, 0.1);
  border-radius: 14px;
  background: rgba(245, 245, 245, 0.03);
}

.client-icon {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  flex-shrink: 0;
  border-radius: 10px;
  color: var(--seaweed-l);
  background: rgba(6, 49, 38, 0.55);
  border: 1px solid rgba(71, 171, 136, 0.3);
}

.client-item:nth-child(even) .client-icon {
  color: var(--wisteria);
  background: rgba(190, 166, 214, 0.12);
  border-color: rgba(190, 166, 214, 0.3);
}

.client-icon svg {
  width: 1.45rem;
  height: 1.45rem;
}

.client-text {
  display: grid;
  gap: 0.15rem;
  min-width: 0;
}

.client-text strong {
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--white);
}

.client-text span {
  font-size: 0.88rem;
  color: rgba(245, 245, 245, 0.5);
}

/* Steps */
.steps {
  padding: 6.5rem 0;
  background: var(--black);
}

.steps .section-title {
  margin-bottom: 2.75rem;
}

.step-list {
  display: grid;
  gap: 2.5rem;
}

.step {
  display: grid;
  gap: 1rem;
}

.step-index {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.step-num {
  font-family: var(--display);
  font-size: clamp(2.6rem, 6vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
  color: var(--seaweed);
}

.step:nth-child(2) .step-num { color: var(--wisteria); }

.step-rule {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(71, 171, 136, 0.55), transparent);
}

.step:nth-child(2) .step-rule {
  background: linear-gradient(90deg, rgba(190, 166, 214, 0.55), transparent);
}

.step-body h3 {
  font-family: var(--display);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.4rem;
}

.step-body p {
  color: var(--mute);
  max-width: 36ch;
}

/* Talk */
.talk {
  position: relative;
  padding: 7rem 0;
  background: var(--evergreen);
  overflow: hidden;
}

.talk-glow {
  position: absolute;
  right: -10%;
  top: -20%;
  width: min(60vw, 520px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(71, 171, 136, 0.28), transparent 68%);
  pointer-events: none;
}

.talk-layout {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2.5rem;
}

.talk-title {
  font-family: var(--display);
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.02;
  margin-bottom: 1rem;
}

.talk-lead {
  color: rgba(245, 245, 245, 0.7);
  font-size: 1.12rem;
  max-width: 34ch;
}

.talk-panel {
  padding: 1.5rem;
  border-radius: 18px;
  border: 1px solid rgba(71, 171, 136, 0.35);
  background: rgba(0, 0, 0, 0.28);
}

.talk-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.talk-form input {
  width: 100%;
  min-height: 3.15rem;
  padding: 0.85rem 1.05rem;
  border: 1.5px solid rgba(245, 245, 245, 0.18);
  border-radius: var(--r);
  background: rgba(0, 0, 0, 0.3);
  color: var(--white);
}

.talk-form input::placeholder {
  color: rgba(245, 245, 245, 0.35);
}

.talk-form input:focus {
  outline: none;
  border-color: var(--seaweed);
}

.talk-note {
  margin-top: 0.9rem;
  font-size: 0.9rem;
  color: rgba(245, 245, 245, 0.45);
}

.talk-note.is-ok {
  color: var(--seaweed-l);
}

/* Footer */
.site-footer {
  padding: 2rem 0 2.5rem;
  background: var(--black);
  color: rgba(245, 245, 245, 0.45);
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.footer-top,
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem 1.5rem;
  justify-content: space-between;
}

.brand-footer { color: var(--white); }

.brand-footer img {
  width: 32px;
  height: 32px;
  border-radius: 7px;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.15rem;
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: rgba(245, 245, 245, 0.55);
  font-size: 0.95rem;
  transition: color 0.2s var(--ease);
}

.footer-social-link svg {
  width: 1.1rem;
  height: 1.1rem;
  flex-shrink: 0;
}

.footer-social-link:hover {
  color: var(--seaweed-l);
}

.footer-tag {
  font-family: var(--display);
  font-weight: 600;
  color: rgba(245, 245, 245, 0.72);
}

.footer-copy { font-size: 0.9rem; }

html.motion [data-rise] {
  opacity: 0;
  transform: translateY(32px);
}

@keyframes live-ping {
  0% { box-shadow: 0 0 0 0 rgba(71, 171, 136, 0.45); }
  70% { box-shadow: 0 0 0 8px rgba(71, 171, 136, 0); }
  100% { box-shadow: 0 0 0 0 rgba(71, 171, 136, 0); }
}

@keyframes step-on {
  0%, 8% { opacity: 0.35; transform: translateX(8px); }
  14%, 30% { opacity: 1; transform: translateX(0); }
  42%, 100% { opacity: 0.55; transform: translateX(0); }
}

@keyframes card-on {
  0%, 8% {
    border-color: rgba(245, 245, 245, 0.1);
    background: rgba(0, 0, 0, 0.38);
  }
  14%, 30% {
    border-color: rgba(71, 171, 136, 0.55);
    background: rgba(6, 49, 38, 0.55);
  }
  42%, 100% {
    border-color: rgba(245, 245, 245, 0.1);
    background: rgba(0, 0, 0, 0.38);
  }
}

@keyframes mail-pop {
  0%, 8% { transform: translateY(6px) scale(0.92); }
  16%, 30% { transform: translateY(0) scale(1); }
  100% { transform: translateY(0) scale(1); }
}

@keyframes badge-pop {
  0%, 10% { transform: scale(0); opacity: 0; }
  18%, 100% { transform: scale(1); opacity: 1; }
}

@keyframes ai-spin {
  0%, 8% { opacity: 0.3; transform: rotate(0deg); }
  14%, 90% { opacity: 1; transform: rotate(360deg); }
  100% { opacity: 0.3; transform: rotate(360deg); }
}

@keyframes bar-scan {
  0%, 10% { transform: scaleX(0.35); opacity: 0.35; }
  20%, 35% { transform: scaleX(1); opacity: 1; }
  50%, 100% { transform: scaleX(0.7); opacity: 0.7; }
}

@keyframes confirm-pop {
  0%, 10% { transform: scale(0.7); opacity: 0.4; }
  22%, 70% { transform: scale(1); opacity: 1; }
  90%, 100% { transform: scale(0.85); opacity: 0.5; }
}

@keyframes statement-pulse {
  0%, 100% { opacity: 0.7; transform: translateY(-50%) scale(1); }
  50% { opacity: 1; transform: translateY(-50%) scale(1.08); }
}

@keyframes dull-fade {
  0%, 100% {
    opacity: 0.55;
    transform: scaleX(1);
  }
  50% {
    opacity: 0.25;
    transform: scaleX(0.55);
  }
}

@keyframes live-rise {
  0%, 100% { transform: scaleX(0.92); opacity: 0.75; }
  50% { transform: scaleX(1); opacity: 1; }
}

@keyframes arrow-nudge {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(5px); }
}

@keyframes orbit-spin {
  to { transform: rotate(360deg); }
}

@keyframes core-breathe {
  0%, 100% { transform: scale(1); opacity: 0.9; }
  50% { transform: scale(1.06); opacity: 1; }
}

/*
 * Node flares when the orbiting packet passes.
 * Cycle: dim -> bright hit -> settle.
 */
@keyframes node-hit {
  0%, 12%, 100% {
    transform: scale(1);
    opacity: 0.55;
    box-shadow: 0 0 0 6px rgba(190, 166, 214, 0.08);
  }
  4%, 8% {
    transform: scale(1.35);
    opacity: 1;
    box-shadow: 0 0 0 12px rgba(71, 171, 136, 0.18), 0 0 22px rgba(71, 171, 136, 0.45);
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .auto-live,
  .auto-step,
  .auto-step .auto-card,
  .auto-step[data-step="1"] .auto-icon,
  .auto-step[data-step="1"] .mail-badge,
  .auto-step[data-step="2"] .ai-arc,
  .auto-step[data-step="2"] .ai-bar-1,
  .auto-step[data-step="2"] .ai-bar-2,
  .auto-step[data-step="2"] .ai-bar-3,
  .auto-step[data-step="3"] .plane-group,
  .statement-glow,
  .sv-bar-dull,
  .sv-bar-live,
  .sv-arrow span,
  .orbit-glow,
  .orbit-ring,
  .orbit-spokes,
  .orbit-core,
  .orbit-node,
  .orbit-arm,
  .ws-list .ws-hot,
  .ws-tl-row.ws-hot,
  .ws-result,
  .wa-msg[data-step="1"],
  .wa-msg[data-step="2"],
  .wa-msg[data-step="3"],
  .wa-msg[data-step="4"],
  .wa-typing,
  .wa-typing span,
  .pg-chaos,
  .pg-lanes,
  .pg-card,
  .pg-badge,
  .pg-chip,
  .sea-weather,
  .sea-weather-rain,
  .sea-slot[data-t="1"],
  .sea-slot[data-t="2"],
  .sea-slot[data-t="3"],
  .sea-slot[data-t="4"],
  .sea-slot[data-t="5"],
  .sea-rain,
  .sea-note {
    animation: none !important;
  }

  .auto-step { opacity: 1 !important; }

  .wa-msg,
  .wa-typing {
    opacity: 1 !important;
    transform: none !important;
  }

  .wa-typing { display: none; }

  .pg-chaos { display: none; }

  .pg-lanes,
  .pg-card {
    opacity: 1 !important;
    transform: none !important;
  }

  .sea-weather { opacity: 1 !important; }
  .sea-weather-rain { display: none; }
  .sea-rain { display: none; }
  .sea-note { opacity: 1 !important; transform: none !important; }

  .sea-slot[data-t="1"],
  .sea-slot[data-t="2"],
  .sea-slot[data-t="3"],
  .sea-slot[data-t="4"],
  .sea-slot[data-t="5"] {
    opacity: 1 !important;
  }

  .sea-slot-later {
    border-color: rgba(190, 166, 214, 0.4);
    background: rgba(190, 166, 214, 0.14);
  }

  .sv-bar-dull,
  .sv-bar-live {
    opacity: 1 !important;
  }

  html.motion [data-in],
  html.motion [data-rise] {
    opacity: 1 !important;
    transform: none !important;
  }

}

@media (min-width: 720px) {
  :root {
    --wrap: min(1140px, calc(100% - 4rem));
  }

  .menu-btn { display: none; }
  .nav-desktop { display: flex; }
  .mobile-nav { display: none; }

  .hero {
    align-items: center;
    padding-bottom: 3.5rem;
  }

  .hero-inner {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3.5rem;
  }

  .hero-visual { justify-self: end; }

  .statement-inner {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
  }

  .statement-visual {
    justify-self: end;
  }

  .about-layout {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3rem;
  }

  .work-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .step-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }

  .portfolio-stack {
    gap: 6.5rem;
  }

  .portfolio-layout {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3rem;
  }

  .wa-phone,
  .pg-board,
  .sea-board {
    justify-self: end;
  }

  .pg-board,
  .sea-board {
    width: min(100%, 400px);
  }

  .clients-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.9rem;
  }

  .talk-layout {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: end;
    gap: 3rem;
  }

  .talk-form {
    flex-direction: row;
  }

  .talk-form input { flex: 1; }
  .talk-form .btn-main { min-width: 7.5rem; }
}

@media (min-width: 1024px) {
  .statement { padding: 6.5rem 0; }
  .about,
  .steps,
  .talk { padding-top: 7.5rem; padding-bottom: 7.5rem; }
  .work { padding: 6.5rem 0 7rem; }
  .portfolio { padding: 7.5rem 0 5rem; }
  .clients { padding: 2rem 0 7rem; }

  .clients-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 380px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn { width: 100%; }
}
