:root {
  --bg: #f8faf7;
  --surface: #ffffff;
  --surface-soft: #eef4f0;
  --text: #17201b;
  --muted: #5d6a62;
  --line: #dce5df;
  --primary: #2f6f58;
  --primary-dark: #245644;
  --accent: #b46a3c;
  --shadow: 0 20px 45px rgba(26, 45, 36, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.6;
}

@supports (content-visibility: auto) {
  .section:not(.hero) {
    content-visibility: auto;
    contain-intrinsic-size: auto 720px;
  }
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 0 6vw;
  background: rgba(248, 250, 247, 0.9);
  border-bottom: 1px solid rgba(220, 229, 223, 0.8);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.brand-mark,
.avatar,
.support-icon {
  display: inline-grid;
  place-items: center;
  color: #fff;
  background: var(--primary);
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: 0.85rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav a {
  border-radius: 999px;
  padding: 10px 14px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
  transition: background 180ms ease, color 180ms ease;
}

.site-nav a:hover {
  background: var(--surface-soft);
  color: var(--text);
}

.site-nav a.is-active {
  background: var(--surface-soft);
  color: var(--primary-dark);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  cursor: pointer;
  color: var(--text);
  font-size: 1.1rem;
  transition: transform 180ms ease, background 180ms ease;
}

.nav-toggle:hover {
  background: var(--surface-soft);
  transform: rotate(-4deg);
}

.section {
  padding: 92px 6vw;
}

.reveal-item {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 650ms ease, transform 650ms ease;
  transition-delay: var(--reveal-delay, 0ms);
}

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

.reveal-item:nth-child(2) {
  --reveal-delay: 90ms;
}

.reveal-item:nth-child(3) {
  --reveal-delay: 160ms;
}

.reveal-item:nth-child(4) {
  --reveal-delay: 230ms;
}

.reveal-item:nth-child(5) {
  --reveal-delay: 300ms;
}

.reveal-item:nth-child(6) {
  --reveal-delay: 370ms;
}

.section-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.hero {
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
}

.hero-grid,
.two-column,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 56px;
  align-items: center;
}

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

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

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.1;
}

h1 {
  max-width: 740px;
  font-size: clamp(3.1rem, 8vw, 6.6rem);
  letter-spacing: 0;
}

.hero-title {
  position: relative;
  display: inline-block;
}

.name-letter {
  display: inline-block;
  opacity: 0;
  filter: blur(7px);
  transform: translateY(18px) rotate(2deg) scale(0.96);
  animation: name-letter-in 520ms cubic-bezier(0.7, 0, 0.3, 1) forwards;
  will-change: opacity, transform, filter;
}

.name-letter:nth-child(2) {
  animation-delay: 70ms;
}

.name-letter:nth-child(3) {
  animation-delay: 140ms;
}

.name-letter:nth-child(4) {
  animation-delay: 210ms;
}

.name-letter:nth-child(5) {
  animation-delay: 280ms;
}

.name-letter:nth-child(6) {
  animation-delay: 350ms;
}

.hero-title::after {
  content: "";
  position: absolute;
  left: 0.04em;
  right: 0.02em;
  bottom: -0.08em;
  height: 0.1em;
  background: var(--accent);
  border-radius: 999px 60% 999px 45%;
  opacity: 0.82;
  transform: scaleX(0) rotate(-1.4deg);
  transform-origin: left center;
  animation: signature-draw 950ms cubic-bezier(0.7, 0, 0.3, 1) 780ms forwards;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
}

h3 {
  font-size: 1.15rem;
}

.hero-text,
.section-heading p,
.content-block,
.contact-copy {
  color: var(--muted);
  font-size: 1.05rem;
}

.hero-text {
  max-width: 620px;
  margin: 24px 0 0;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.pinned-update {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  max-width: 620px;
  margin-top: 26px;
  padding: 16px;
  background: #fffaf3;
  border: 1px solid rgba(180, 106, 60, 0.24);
  border-radius: 8px;
  box-shadow: 0 12px 24px rgba(26, 45, 36, 0.06);
}

.pin-icon,
.mini-feed span {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  color: #fff;
  background: var(--accent);
}

.pin-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  font-size: 0.9rem;
}

.pinned-update p {
  margin: 0;
  color: var(--muted);
}

.pinned-update .pin-label {
  margin-bottom: 4px;
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

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

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 12px 24px rgba(47, 111, 88, 0.2);
}

.button.primary:hover {
  background: var(--primary-dark);
}

.button.secondary {
  background: var(--surface);
  border-color: var(--line);
  color: var(--text);
}

.profile-panel {
  position: relative;
  justify-self: end;
  width: min(360px, 100%);
  padding: 34px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  animation: profile-card-place 860ms cubic-bezier(0.7, 0, 0.3, 1) 160ms both,
    hero-card-float 7s ease-in-out 1100ms infinite;
}

.profile-panel::before,
.profile-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border: 1px solid var(--line);
  border-radius: inherit;
  box-shadow: 0 14px 30px rgba(26, 45, 36, 0.06);
}

.profile-panel::before {
  background: #f2f6f1;
  transform: translate(14px, 13px) rotate(2.4deg);
  animation: paper-card-one 8s ease-in-out infinite;
}

.profile-panel::after {
  background: #fff7ef;
  transform: translate(-12px, 19px) rotate(-2deg);
  animation: paper-card-two 8.6s ease-in-out infinite;
}

.avatar {
  width: 112px;
  height: 112px;
  border-radius: 50%;
  font-size: 2rem;
  font-weight: 800;
}

.profile-name {
  margin: 28px 0 4px;
  font-size: 1.4rem;
  font-weight: 800;
}

.profile-note {
  margin: 0;
  color: var(--muted);
}

.current-card {
  position: relative;
  display: grid;
  gap: 8px;
  min-height: 96px;
  margin-top: 26px;
  padding: 16px;
  background: #fbfdfb;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  overflow: hidden;
}

.current-card::before {
  content: "";
  position: absolute;
  top: 15px;
  right: 15px;
  width: 9px;
  height: 9px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(180, 106, 60, 0.12);
}

.current-label {
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.current-rotator {
  position: relative;
  height: 28px;
  color: var(--text);
  font-size: 1rem;
  font-weight: 800;
}

.current-rotator span {
  position: absolute;
  inset: 0;
  opacity: 0;
  filter: blur(8px);
  transform: translateY(16px) rotate(2deg);
  animation: current-cycle 9s cubic-bezier(0.7, 0, 0.3, 1) infinite;
  will-change: opacity, transform, filter;
}

.current-rotator span:nth-child(2) {
  animation-delay: 3s;
}

.current-rotator span:nth-child(3) {
  animation-delay: 6s;
}

.current-fallback {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

@keyframes hero-card-float {
  0%,
  100% {
    transform: translateY(0) rotate(-0.6deg);
  }

  50% {
    transform: translateY(-8px) rotate(0.8deg);
  }
}

@keyframes profile-card-place {
  from {
    opacity: 0;
    filter: blur(10px);
    transform: translateX(44px) translateY(16px) rotate(7deg) scale(0.92);
  }

  to {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0) rotate(-0.6deg) scale(1);
  }
}

@keyframes name-letter-in {
  to {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0) rotate(0) scale(1);
  }
}

@keyframes paper-card-one {
  0%,
  100% {
    transform: translate(14px, 13px) rotate(2.4deg);
  }

  50% {
    transform: translate(11px, 17px) rotate(1.4deg);
  }
}

@keyframes paper-card-two {
  0%,
  100% {
    transform: translate(-12px, 19px) rotate(-2deg);
  }

  50% {
    transform: translate(-15px, 15px) rotate(-3deg);
  }
}

@keyframes signature-draw {
  to {
    transform: scaleX(1) rotate(-1.4deg);
  }
}

@keyframes current-cycle {
  0%,
  100% {
    opacity: 0;
    filter: blur(8px);
    transform: translateY(16px) rotate(2deg);
  }

  10%,
  28% {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0) rotate(0);
  }

  38% {
    opacity: 0;
    filter: blur(8px);
    transform: translateY(-14px) rotate(-2deg);
  }
}

@keyframes support-bounce {
  0%,
  100% {
    transform: translateY(0) rotate(-4deg) scale(1);
  }

  45% {
    transform: translateY(-9px) rotate(3deg) scale(1.04);
  }

  70% {
    transform: translateY(2px) rotate(-2deg) scale(0.98);
  }
}

@keyframes coin-float {
  0%,
  100% {
    opacity: 0.6;
    transform: translateY(0) rotate(0deg) scale(0.9);
  }

  50% {
    opacity: 1;
    transform: translateY(-14px) rotate(16deg) scale(1.08);
  }
}

@keyframes sparkle-pulse {
  0%,
  100% {
    opacity: 0.35;
    transform: scale(0.78) rotate(0deg);
  }

  50% {
    opacity: 1;
    transform: scale(1.16) rotate(18deg);
  }
}

@keyframes gift-drift {
  0%,
  100% {
    transform: translateY(0) rotate(8deg);
  }

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

@keyframes gift-dot-pop {
  0%,
  100% {
    opacity: 0.28;
    transform: scale(0.72);
  }

  45% {
    opacity: 1;
    transform: scale(1.1);
  }
}

.marquee-strip {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.marquee-strip::before,
.marquee-strip::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 2;
  width: min(16vw, 130px);
  pointer-events: none;
}

.marquee-strip::before {
  left: 0;
  background: linear-gradient(to right, var(--surface), rgba(255, 255, 255, 0));
}

.marquee-strip::after {
  right: 0;
  background: linear-gradient(to left, var(--surface), rgba(255, 255, 255, 0));
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: 14px;
  padding: 18px 0;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
  animation: marquee-scroll 36s linear infinite;
  will-change: transform;
}

.marquee-strip:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-track span {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 18px;
  background: #fbfdfb;
  box-shadow: 0 8px 18px rgba(26, 45, 36, 0.04);
  white-space: nowrap;
  transition: transform 180ms ease, border-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.marquee-track span:hover {
  border-color: rgba(47, 111, 88, 0.32);
  color: var(--text);
  box-shadow: 0 12px 24px rgba(26, 45, 36, 0.08);
  transform: translateY(-2px);
}

.marquee-track i {
  color: var(--primary);
  font-size: 0.95rem;
  transition: color 180ms ease, transform 180ms ease;
}

.marquee-track span:hover i {
  color: var(--accent);
  transform: scale(1.08);
}

.marquee-track span::after {
  content: none;
}

@keyframes marquee-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.about-section,
.links-section {
  background: var(--surface);
}

.content-block p {
  margin: 0 0 18px;
}

.mini-feed {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.mini-feed article {
  display: flex;
  gap: 14px;
  padding: 16px;
  background: #fbfdfb;
  border: 1px solid var(--line);
  border-radius: 8px;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.mini-feed article:hover {
  border-color: rgba(47, 111, 88, 0.26);
  box-shadow: 0 12px 24px rgba(26, 45, 36, 0.07);
  transform: translateY(-2px);
}

.mini-feed span {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: var(--primary);
}

.mini-feed h3 {
  margin-bottom: 4px;
  font-size: 1rem;
}

.mini-feed p {
  margin: 0;
  color: var(--muted);
}

.section-heading {
  max-width: 680px;
  margin-bottom: 34px;
}

.section-heading p {
  margin: 14px 0 0;
}

.support-grid,
.social-grid {
  display: grid;
  gap: 18px;
}

.support-grid {
  grid-template-columns: repeat(3, 1fr);
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
  transform: translateY(18px);
  transition: max-height 520ms cubic-bezier(0.7, 0, 0.3, 1), opacity 260ms ease,
    transform 420ms cubic-bezier(0.7, 0, 0.3, 1);
}

.support-section.is-ready .support-grid {
  max-height: 560px;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.support-moment {
  position: relative;
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  margin-bottom: 24px;
  padding: 28px;
  background: #fffaf3;
  border: 1px solid rgba(180, 106, 60, 0.22);
  border-radius: 8px;
  box-shadow: 0 18px 38px rgba(26, 45, 36, 0.08);
  overflow: hidden;
}

.support-moment::after {
  content: "";
  position: absolute;
  inset: auto -36px -58px auto;
  width: 180px;
  height: 180px;
  background: rgba(47, 111, 88, 0.08);
  border-radius: 50%;
}

.support-sticker {
  position: relative;
  display: grid;
  place-items: center;
  width: 142px;
  height: 142px;
}

.support-gift-sticker {
  position: absolute;
  right: 28px;
  top: 24px;
  z-index: 1;
  width: 88px;
  height: 88px;
  pointer-events: none;
  transform: rotate(8deg);
  animation: gift-drift 5.2s ease-in-out infinite;
  will-change: transform;
}

.gift-card {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  margin: 10px;
  background: var(--surface);
  border: 1px solid rgba(180, 106, 60, 0.26);
  border-radius: 18px 14px 20px 15px;
  box-shadow: 0 14px 26px rgba(26, 45, 36, 0.12);
  color: var(--accent);
  font-size: 1.55rem;
}

.gift-dot {
  position: absolute;
  width: 9px;
  height: 9px;
  background: var(--primary);
  border-radius: 50%;
  opacity: 0.78;
  animation: gift-dot-pop 2.6s ease-in-out infinite;
  will-change: opacity, transform;
}

.dot-one {
  left: 2px;
  top: 15px;
}

.dot-two {
  right: 3px;
  bottom: 14px;
  background: var(--accent);
  animation-delay: 0.8s;
}

.sticker-badge {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 92px;
  height: 92px;
  background: #243f35;
  color: #fff;
  border: 7px solid #fff;
  border-radius: 18px 14px 20px 15px;
  box-shadow: 0 18px 32px rgba(26, 45, 36, 0.16);
  font-size: 2rem;
  animation: support-bounce 3.8s ease-in-out infinite;
  will-change: transform;
}

.sticker-coin,
.sticker-spark {
  position: absolute;
  display: grid;
  place-items: center;
  color: var(--accent);
}

.sticker-coin {
  font-size: 1.35rem;
  opacity: 0.78;
  animation: coin-float 4.6s ease-in-out infinite;
  will-change: opacity, transform;
}

.coin-one {
  top: 12px;
  right: 2px;
}

.coin-two {
  bottom: 12px;
  left: 2px;
  animation-delay: 1.1s;
}

.sticker-spark {
  font-size: 0.95rem;
  animation: sparkle-pulse 2.8s ease-in-out infinite;
  will-change: opacity, transform;
}

.spark-one {
  top: 12px;
  left: 28px;
}

.spark-two {
  right: 30px;
  bottom: 12px;
  animation-delay: 0.9s;
}

.support-copy {
  position: relative;
  z-index: 1;
}

.support-line {
  max-width: 680px;
  margin: 0 0 22px;
  color: var(--text);
  font-size: clamp(1.45rem, 3.2vw, 2.35rem);
  font-weight: 800;
  line-height: 1.14;
}

.support-card,
.social-grid a,
.contact-form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.support-card {
  position: relative;
  padding: 26px;
  overflow: hidden;
  transform: rotate(0);
  transition: transform 260ms cubic-bezier(0.7, 0, 0.3, 1), box-shadow 260ms ease,
    border-color 260ms ease;
}

.support-card::after {
  content: "";
  position: absolute;
  top: -44px;
  right: -44px;
  width: 96px;
  height: 96px;
  background: rgba(47, 111, 88, 0.08);
  border-radius: 50%;
  opacity: 0;
  transform: scale(0.7);
  transition: opacity 260ms ease, transform 260ms cubic-bezier(0.7, 0, 0.3, 1);
}

.support-card:hover,
.social-grid a:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.support-card:hover {
  border-color: rgba(47, 111, 88, 0.24);
  transform: translateY(-6px) rotate(-0.8deg);
}

.support-card:hover::after {
  opacity: 1;
  transform: scale(1);
}

.support-icon {
  position: relative;
  z-index: 1;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  margin-bottom: 18px;
  font-size: 1.2rem;
  font-weight: 800;
  transition: background 260ms ease, transform 260ms cubic-bezier(0.7, 0, 0.3, 1);
}

.support-card:hover .support-icon {
  background: var(--accent);
  transform: rotate(-7deg) scale(1.06);
}

.support-card p {
  position: relative;
  z-index: 1;
  color: var(--muted);
}

.support-placeholder {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  border: 0;
  margin-top: 8px;
  border-radius: 999px;
  padding: 6px 10px;
  background: var(--surface-soft);
  color: var(--primary-dark);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
  transition: background 180ms ease, transform 180ms ease;
}

.support-placeholder:hover {
  background: #dfece4;
  transform: translateY(-1px);
}

.support-card:hover .support-placeholder {
  background: #e8f2ec;
}

.support-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity 220ms ease, visibility 220ms ease;
}

.support-modal.is-open {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(23, 32, 27, 0.32);
  backdrop-filter: blur(7px);
  cursor: pointer;
}

.modal-sheet {
  position: relative;
  z-index: 1;
  width: min(430px, 100%);
  padding: 30px;
  background: #fbfdfb;
  border: 1px solid rgba(47, 111, 88, 0.2);
  border-radius: 18px 15px 20px 14px;
  box-shadow: 0 28px 70px rgba(23, 32, 27, 0.24);
  opacity: 0;
  filter: blur(10px);
  transform: rotate(3deg) scale(0.86);
}

.support-modal.is-open .modal-sheet {
  animation: modal-in 760ms cubic-bezier(0.7, 0, 0.3, 1) forwards;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease;
}

.modal-close:hover {
  background: var(--surface-soft);
  transform: rotate(8deg) scale(1.04);
}

.modal-icon {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  background: var(--primary);
  color: #fff;
  border-radius: 12px;
  font-size: 1.25rem;
}

.modal-sheet h3 {
  font-size: 1.7rem;
}

.modal-sheet p {
  margin: 10px 0 18px;
  color: var(--muted);
}

.modal-details {
  display: grid;
  gap: 10px;
  margin-bottom: 20px;
}

.modal-detail-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.modal-detail-row span:first-child {
  color: var(--muted);
  font-weight: 800;
}

.modal-detail-row span:last-child {
  color: var(--text);
  font-weight: 800;
  text-align: right;
}

.modal-action {
  width: 100%;
}

.modal-action:disabled {
  opacity: 0.68;
  cursor: not-allowed;
}

.social-grid {
  grid-template-columns: repeat(3, 1fr);
}

.social-grid a {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 72px;
  padding: 18px;
  color: var(--text);
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.social-grid a:hover {
  border-color: #c7d5cc;
}

.github-link:hover {
  color: #181717;
}

.instagram-link:hover {
  color: #e4405f;
}

.x-link:hover {
  color: #000000;
}

.linkedin-link:hover {
  color: #0a66c2;
}

.youtube-link:hover {
  color: #ff0000;
}

.whatsapp-link:hover {
  color: #25d366;
}

.social-icon {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  font-size: 1.7rem;
  line-height: 1;
}

.contact-grid {
  align-items: start;
}

.contact-stage {
  display: grid;
  min-height: 470px;
  perspective: 900px;
}

.contact-stage > * {
  grid-area: 1 / 1;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 26px;
  box-shadow: var(--shadow);
  transform-origin: center;
  will-change: opacity, transform, filter;
}

.contact-form.is-sending {
  animation: form-disappear 720ms cubic-bezier(0.7, 0, 0.3, 1) forwards;
  pointer-events: none;
}

.contact-form.is-returning {
  animation: form-return 680ms cubic-bezier(0.7, 0, 0.3, 1) forwards;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  background: #fbfdfb;
  color: var(--text);
  font: inherit;
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.contact-form .botcheck {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(47, 111, 88, 0.12);
}

.form-status {
  min-height: 24px;
  margin: -4px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.form-status.is-error {
  color: #9d3f30;
}

.form-status.is-success {
  color: var(--primary-dark);
}

.success-note {
  position: relative;
  align-self: center;
  justify-self: center;
  width: min(360px, 100%);
  min-height: 190px;
  padding: 34px 30px 30px;
  background: #eff8ef;
  border: 1px solid rgba(47, 111, 88, 0.22);
  border-radius: 18px 15px 20px 14px;
  box-shadow: 0 22px 40px rgba(26, 45, 36, 0.13);
  opacity: 0;
  filter: blur(12px);
  pointer-events: none;
  transform: rotate(6deg) scale(0.72);
  transform-origin: center;
  visibility: hidden;
  will-change: opacity, transform, filter;
}

.success-note.is-visible {
  animation: note-appear 900ms cubic-bezier(0.7, 0, 0.3, 1) forwards;
  visibility: visible;
}

.success-note.is-leaving {
  animation: note-leave 620ms cubic-bezier(0.7, 0, 0.3, 1) forwards;
}

.note-sticker {
  position: absolute;
  top: -34px;
  left: 22px;
  width: 86px;
  height: auto;
  filter: drop-shadow(0 8px 12px rgba(26, 45, 36, 0.12));
  transform: rotate(-7deg);
}

.note-pin {
  position: absolute;
  top: 16px;
  right: 18px;
  width: 9px;
  height: 9px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(180, 106, 60, 0.12);
}

.note-message {
  min-height: 78px;
  margin: 12px 0 18px;
  color: var(--text);
  font-size: clamp(1.65rem, 4vw, 2.25rem);
  font-weight: 800;
  line-height: 1.12;
}

.note-message .typed-word {
  display: inline-block;
  margin-right: 0.28em;
  opacity: 0;
  transform: translateY(8px) rotate(-1deg);
  animation: word-pop 260ms ease forwards;
}

.note-signature {
  min-height: 24px;
  margin: 0;
  color: var(--primary-dark);
  font-size: 1rem;
  font-weight: 800;
  opacity: 0;
  transform: translateY(6px);
}

.note-signature.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 260ms ease, transform 260ms ease;
}

@keyframes form-disappear {
  to {
    opacity: 0;
    filter: blur(11px);
    transform: rotate(-4deg) scale(0.74);
  }
}

@keyframes form-return {
  from {
    opacity: 0;
    filter: blur(10px);
    transform: rotate(3deg) scale(0.82);
  }

  to {
    opacity: 1;
    filter: blur(0);
    transform: rotate(0) scale(1);
  }
}

@keyframes note-appear {
  to {
    opacity: 1;
    filter: blur(0);
    transform: rotate(-1.5deg) scale(1);
  }
}

@keyframes note-leave {
  to {
    opacity: 0;
    filter: blur(9px);
    transform: rotate(5deg) scale(0.82);
  }
}

@keyframes modal-in {
  to {
    opacity: 1;
    filter: blur(0);
    transform: rotate(-1deg) scale(1);
  }
}

@keyframes modal-sheet-up {
  to {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0) scale(1);
  }
}

@keyframes word-pop {
  to {
    opacity: 1;
    transform: translateY(0) rotate(0);
  }
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 30px 6vw;
  background: #17201b;
  color: #fff;
}

.site-footer p {
  margin: 0;
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-socials a {
  color: #fff;
  opacity: 0.82;
  transition: opacity 180ms ease, transform 180ms ease;
}

.footer-socials a:hover {
  opacity: 1;
  transform: translateY(-2px);
}

.footer-socials .social-icon {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  font-size: 1.25rem;
}

.ask-ai {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 40;
  display: grid;
  justify-items: end;
  gap: 12px;
  pointer-events: none;
}

.ask-ai-toggle,
.ask-ai-panel {
  pointer-events: auto;
}

.ask-ai-toggle {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 48px;
  border: 1px solid rgba(47, 111, 88, 0.18);
  border-radius: 8px;
  padding: 0 16px;
  background: var(--primary);
  color: #fff;
  font: inherit;
  font-weight: 800;
  box-shadow: 0 14px 30px rgba(26, 45, 36, 0.18);
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease;
}

.ask-ai-toggle:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

.ask-ai-panel {
  display: none;
  width: min(360px, calc(100vw - 32px));
  max-height: min(620px, calc(100vh - 112px));
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 24px 60px rgba(23, 32, 27, 0.18);
}

.ask-ai.is-open .ask-ai-panel {
  display: grid;
  grid-template-rows: auto minmax(170px, 1fr) auto auto;
  animation: ask-ai-in 220ms ease both;
}

.ask-ai-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px;
  border-bottom: 1px solid var(--line);
}

.ask-ai-title,
.ask-ai-note {
  margin: 0;
}

.ask-ai-title {
  font-weight: 800;
}

.ask-ai-note {
  color: var(--muted);
  font-size: 0.84rem;
}

.ask-ai-close {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
}

.ask-ai-messages {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 16px;
  overflow-y: auto;
}

.ai-message {
  max-width: 86%;
  margin: 0;
  border-radius: 8px;
  padding: 10px 12px;
  color: var(--text);
  font-size: 0.92rem;
}

.ai-message.bot {
  justify-self: start;
  background: var(--surface-soft);
}

.ai-message.user {
  justify-self: end;
  background: var(--primary);
  color: #fff;
}

.ask-ai-starters {
  display: flex;
  gap: 8px;
  padding: 0 16px 14px;
  overflow-x: auto;
}

.ask-ai-starters button {
  flex: 0 0 auto;
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 11px;
  background: #fbfdfb;
  color: var(--muted);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
}

.ask-ai-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 42px;
  gap: 8px;
  padding: 14px 16px 16px;
  border-top: 1px solid var(--line);
}

.ask-ai-form input {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px 12px;
  background: #fbfdfb;
  color: var(--text);
  font: inherit;
  outline: none;
}

.ask-ai-form input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(47, 111, 88, 0.12);
}

.ask-ai-form button {
  display: inline-grid;
  place-items: center;
  border: 0;
  border-radius: 8px;
  background: var(--primary);
  color: #fff;
  cursor: pointer;
}

.ask-ai-form button:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

@keyframes ask-ai-in {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 860px) {
  .nav-toggle {
    display: inline-block;
  }

  .site-nav {
    position: absolute;
    top: 72px;
    right: 6vw;
    left: 6vw;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    max-height: 0;
    padding: 10px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
    transform: translateY(-10px);
    visibility: hidden;
    transition: max-height 240ms ease, opacity 180ms ease, transform 220ms ease,
      visibility 180ms ease;
  }

  .site-nav.is-open {
    max-height: 340px;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    visibility: visible;
  }

  .site-nav a {
    border-radius: 8px;
  }

  .section {
    padding: 72px 6vw;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid,
  .two-column,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .profile-panel {
    justify-self: stretch;
  }

  .support-grid,
  .social-grid {
    grid-template-columns: 1fr;
  }

  .support-section.is-ready .support-grid {
    max-height: 960px;
  }

  .support-moment {
    grid-template-columns: 1fr;
    justify-items: start;
    padding-right: 130px;
  }

  .support-modal {
    align-items: end;
    padding: 14px;
  }

  .modal-sheet {
    width: 100%;
    max-width: none;
    border-radius: 22px 22px 14px 14px;
    transform: translateY(100%) scale(0.98);
  }

  .support-modal.is-open .modal-sheet {
    animation: modal-sheet-up 760ms cubic-bezier(0.7, 0, 0.3, 1) forwards;
  }
}

@media (max-width: 520px) {
  .site-header {
    min-height: 64px;
  }

  .site-nav {
    top: 64px;
  }

  .hero-actions,
  .site-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .profile-panel,
  .contact-form,
  .success-note,
  .support-card,
  .support-moment {
    padding: 22px;
  }

  .support-sticker {
    width: 112px;
    height: 112px;
  }

  .support-gift-sticker {
    right: 16px;
    top: 18px;
    width: 72px;
    height: 72px;
  }

  .gift-card {
    width: 56px;
    height: 56px;
    font-size: 1.25rem;
  }

  .sticker-badge {
    width: 78px;
    height: 78px;
    font-size: 1.7rem;
  }

  .pinned-update,
  .mini-feed article {
    align-items: flex-start;
  }

  .support-moment {
    padding-right: 22px;
  }

  .support-gift-sticker {
    position: relative;
    top: auto;
    right: auto;
    order: 2;
    margin-top: -22px;
    margin-left: auto;
  }

  .footer-socials {
    flex-wrap: wrap;
  }

  .ask-ai {
    right: 14px;
    bottom: 14px;
    left: 14px;
  }

  .ask-ai-toggle {
    width: 100%;
    justify-content: center;
  }

  .ask-ai-panel {
    width: 100%;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal-item {
    opacity: 1;
    transform: none;
  }

  .profile-panel,
  .profile-panel::before,
  .profile-panel::after,
  .current-rotator span,
  .name-letter,
  .hero-title::after {
    animation: none;
  }

  .name-letter {
    opacity: 1;
    filter: none;
    transform: none;
  }

  .hero-title::after {
    transform: scaleX(1) rotate(-1.4deg);
  }

  .current-rotator span {
    display: none;
  }

  .current-rotator span:first-child {
    display: block;
    opacity: 1;
    filter: none;
    transform: none;
  }

  .marquee-track {
    animation: none;
    transform: none;
  }

  .support-modal.is-open .modal-sheet {
    animation: none;
    opacity: 1;
    filter: none;
    transform: none;
  }

  .contact-form.is-sending {
    animation: none;
    opacity: 0;
    transform: scale(0.96);
  }

  .contact-form.is-returning {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .success-note,
  .success-note.is-visible {
    animation: none;
    filter: none;
    transform: none;
  }

  .success-note.is-leaving {
    opacity: 0;
  }

  .support-card,
  .support-card::after,
  .support-icon {
    transform: none !important;
  }

  .success-note.is-visible {
    opacity: 1;
    visibility: visible;
  }

  .note-message .typed-word {
    animation: none;
    opacity: 1;
    transform: none;
  }
}
