:root {
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --paper: #f5f5f7;
  --line: rgba(0, 0, 0, 0.12);
  --olive: #0071e3;
  --amber: #bf4800;
  --rose: #86868b;
  --cyan: #0066cc;
  --cream: #fbfbfd;
  --white: #ffffff;
  --blue: #0071e3;
  --blue-dark: #0066cc;
  --shadow: 0 18px 46px rgba(0, 0, 0, 0.08);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 2.6vw, 34px);
  min-height: 44px;
  padding: 0 clamp(16px, 4vw, 48px);
  background: rgba(251, 251, 253, 0.82);
  border-bottom: 1px solid transparent;
  backdrop-filter: saturate(180%) blur(20px);
  transition: border-color 180ms ease, background 180ms ease;
}

.site-header.is-scrolled {
  border-color: rgba(0, 0, 0, 0.08);
  background: rgba(251, 251, 253, 0.92);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 700;
  white-space: nowrap;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  min-width: 78px;
  height: 32px;
  color: var(--ink);
  background: transparent;
  border-radius: 0;
  font-size: 0.9rem;
  letter-spacing: 0;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.4vw, 30px);
  color: rgba(29, 29, 31, 0.78);
  font-size: 0.76rem;
  line-height: 1;
}

.site-nav a,
.site-nav button,
.site-nav summary {
  text-decoration: none;
}

.site-nav a:hover,
.site-nav button:hover,
.site-nav summary:hover {
  color: #000;
}

.site-nav a.is-active,
.site-nav summary.is-active {
  color: var(--ink);
  font-weight: 700;
}

.site-nav a.auth-login-button,
.site-nav button.auth-logout-button {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  padding: 0 13px;
  border: 0;
  border-radius: 999px;
  color: var(--white);
  background: var(--blue);
  font-weight: 780;
}

.site-nav a.auth-login-button:hover,
.site-nav button.auth-logout-button:hover {
  color: var(--white);
  background: #0067d1;
}

.auth-nav {
  display: inline-flex;
  align-items: center;
  gap: clamp(16px, 2.4vw, 30px);
}

.role-chip {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  border-radius: 999px;
  cursor: help;
}

.role-chip > span {
  display: inline-grid;
  width: 24px;
  aspect-ratio: 1;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  font-size: 0.74rem;
  font-weight: 900;
}

.role-admin > span {
  background: var(--blue);
}

.role-friend > span {
  background: #1f9d55;
}

.role-normal > span {
  background: #6e6e73;
}

.role-chip::after {
  position: absolute;
  top: calc(100% + 9px);
  left: 50%;
  z-index: 30;
  min-width: max-content;
  padding: 7px 9px;
  border-radius: 8px;
  color: #fff;
  background: rgba(29, 29, 31, 0.94);
  font-size: 0.72rem;
  font-weight: 760;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -3px);
  transition: opacity 160ms ease, transform 160ms ease;
  content: attr(title);
}

.role-chip:hover::after,
.role-chip:focus-visible::after {
  opacity: 1;
  transform: translate(-50%, 0);
}

.site-nav button {
  border: 0;
  padding: 0;
  color: inherit;
  background: transparent;
  font: inherit;
  cursor: pointer;
}

.site-nav .view-mode-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  min-height: 30px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #f5f5f7;
}

.site-nav .view-mode-switch button {
  display: inline-grid;
  width: 24px;
  height: 24px;
  padding: 0;
  place-items: center;
  border-radius: 50%;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 900;
  line-height: 1;
  transition: color 160ms ease, background 160ms ease, transform 160ms ease;
}

.site-nav .view-mode-switch button:hover {
  color: var(--ink);
  background: rgba(0, 0, 0, 0.06);
}

.site-nav .view-mode-switch button.is-active {
  color: #fff;
  transform: scale(1.03);
}

.site-nav .view-mode-switch button[data-view-mode="admin"].is-active {
  background: var(--blue);
}

.site-nav .view-mode-switch button[data-view-mode="friend"].is-active {
  background: #1f9d55;
}

.site-nav .view-mode-switch button[data-view-mode="normal"].is-active {
  background: #6e6e73;
}

.nav-menu {
  position: relative;
}

.nav-menu summary {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  list-style: none;
  cursor: pointer;
}

.nav-menu summary::-webkit-details-marker {
  display: none;
}

.nav-menu summary::after {
  content: "";
  width: 5px;
  height: 5px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-1px) rotate(45deg);
  opacity: 0.7;
}

.nav-submenu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  min-width: 168px;
  display: grid;
  gap: 2px;
  padding: 8px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 14px;
  background: rgba(251, 251, 253, 0.96);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.12);
  transform: translateX(-50%) translateY(-4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 160ms ease, transform 160ms ease;
}

.nav-menu[open] .nav-submenu,
.nav-menu:hover .nav-submenu,
.nav-menu:focus-within .nav-submenu {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-submenu a {
  min-height: 34px;
  display: flex;
  align-items: center;
  border-radius: 9px;
  padding: 0 10px;
  white-space: nowrap;
}

.nav-submenu a:hover,
.nav-submenu a.is-active {
  background: #f5f5f7;
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-right: 8px;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
}

.language-switch select {
  min-height: 36px;
  padding: 0 42px 0 13px;
  border: 0;
  border-radius: 999px;
  color: var(--ink);
  appearance: none;
  background-color: rgba(0, 0, 0, 0.05);
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  font: inherit;
  text-transform: none;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: transparent;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: 760px;
  display: grid;
  align-items: start;
  justify-items: center;
  isolation: isolate;
  overflow: hidden;
  margin-bottom: 12px;
  padding: 92px clamp(18px, 5vw, 64px) 52px;
  text-align: center;
  background: var(--white);
}

.hero-media {
  position: absolute;
  inset: auto 0 0;
  height: 54%;
  z-index: -2;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, #fbfbfd 0%, #fbfbfd 42%, rgba(251, 251, 253, 0.2) 72%);
}

.hero-content {
  max-width: 860px;
}

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

.location-eyebrow {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 760;
  letter-spacing: 0;
  text-transform: lowercase;
}

.location-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
  min-height: 30px;
  margin: 0 0 14px;
  padding: 0 11px;
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  font-size: 0.82rem;
  font-weight: 800;
  backdrop-filter: blur(18px);
}

.location-chip[hidden] {
  display: none;
}

.location-chip svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 940px;
  margin-inline: auto;
  margin-bottom: 10px;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(3.5rem, 8vw, 7.4rem);
  font-weight: 700;
  line-height: 0.96;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 700px;
  margin-inline: auto;
  margin-bottom: 20px;
  color: var(--ink);
  font-size: clamp(1.22rem, 2.2vw, 1.75rem);
  font-weight: 500;
  line-height: 1.2;
}

.hero-actions,
.site-footer div {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
}

.button,
.product button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid var(--blue);
  border-radius: 999px;
  color: var(--blue);
  background: transparent;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
}

.button.primary,
.product button {
  color: var(--white);
  background: var(--blue);
}

.button.ghost {
  color: var(--blue);
  background: transparent;
}

.inline-button {
  width: fit-content;
  margin-top: 8px;
}

.feature-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 0 12px 12px;
  background: var(--paper);
  border: 0;
}

.feature-item {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  padding: clamp(28px, 4vw, 54px);
  background: var(--white);
  border-radius: 0;
  text-align: center;
}

.feature-song {
  display: grid;
  align-content: end;
  padding: 0;
  text-align: left;
}

.feature-song img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-song::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.78));
  content: "";
}

.feature-song > div {
  position: relative;
  z-index: 1;
  padding: clamp(28px, 4vw, 54px);
}

.feature-song span,
.feature-song h2,
.feature-song p {
  color: #fff;
}

.feature-song p {
  color: rgba(255, 255, 255, 0.76);
}

.feature-song a {
  color: #8ec5ff;
}

.feature-activity {
  background: radial-gradient(circle at 20% 0%, rgba(104, 204, 152, 0.2), transparent 34%), #fbfbfd;
}

.feature-poem {
  background: radial-gradient(circle at 50% 0%, rgba(191, 72, 0, 0.14), transparent 40%), #fffaf5;
}

.latest-activity-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 20px 0 18px;
  text-align: left;
}

.latest-activity-grid p {
  grid-column: 1 / -1;
  margin: 0;
  text-align: center;
}

.latest-activity-grid div {
  min-width: 0;
  padding: 12px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 8px;
}

.latest-activity-grid .is-wide {
  grid-column: 1 / -1;
}

.latest-activity-grid strong,
.latest-activity-grid span {
  display: block;
  margin: 0;
}

.latest-activity-grid strong {
  color: var(--ink);
  font-size: 1.02rem;
  line-height: 1.1;
}

.latest-activity-grid span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 760;
  text-transform: uppercase;
}

.feature-item span,
.metric span,
.product-status {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.feature-item h2,
.section-heading h2,
.about h2,
.contact-band h2 {
  margin-bottom: 14px;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: 0;
}

.feature-item h2 {
  font-size: clamp(2rem, 3.5vw, 3.4rem);
}

.feature-item p,
.section-heading p,
.metric p,
.project-row p,
.product p,
.about p,
.contact-band p {
  color: var(--muted);
  line-height: 1.35;
}

.feature-item a,
.project-row a {
  font-weight: 800;
  color: var(--blue);
  text-decoration: none;
}

.accent-amber {
  border-top: 0;
}

.accent-green {
  border-top: 0;
}

.accent-pink {
  border-top: 0;
}

.section {
  margin: 0 12px 12px;
  padding: clamp(68px, 9vw, 112px) clamp(18px, 5vw, 64px);
  background: var(--white);
  text-align: center;
}

.band {
  background: #fbfbfd;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 38px;
}

.section-heading.compact {
  align-self: start;
  margin-bottom: 0;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 30px;
}

.filter {
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: var(--white);
  cursor: pointer;
}

.filter.active {
  color: var(--white);
  background: var(--blue);
  border-color: var(--blue);
}

.timeline {
  max-width: 980px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
  text-align: left;
}

.blog-entry {
  display: grid;
  grid-template-columns: minmax(130px, 0.25fr) 1fr;
  gap: clamp(20px, 4vw, 60px);
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.blog-entry[hidden] {
  display: none;
}

.blog-entry time {
  color: var(--muted);
  font-weight: 760;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  margin-bottom: 10px;
  padding: 0 9px;
  border-radius: 999px;
  color: var(--cyan);
  background: rgba(47, 127, 143, 0.1);
  font-size: 0.78rem;
  font-weight: 780;
}

.blog-entry h3,
.project-row h3,
.product h3,
.creative-grid h3 {
  margin-bottom: 8px;
  font-size: clamp(1.25rem, 2.4vw, 1.8rem);
  letter-spacing: 0;
}

.blog-entry p {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.65;
}

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

.home-movement-layout {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(240px, 0.46fr) minmax(0, 1fr);
  gap: 12px;
  align-items: stretch;
}

.home-movement-kpis {
  display: grid;
  gap: 12px;
}

.home-movement-kpi,
.home-movement-chart {
  background: var(--white);
  text-align: left;
}

.home-movement-kpi {
  min-height: 112px;
  padding: 22px;
  display: grid;
  align-content: center;
}

.home-movement-kpi span,
.chart-heading span {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.home-movement-kpi strong {
  display: block;
  margin-top: 8px;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  line-height: 1;
  letter-spacing: 0;
}

.home-movement-chart {
  min-height: 360px;
  padding: 26px;
  background: #f5f5f7;
}

.chart-heading {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: baseline;
  margin-bottom: 24px;
}

.chart-heading h3 {
  margin: 0;
  font-size: clamp(1.4rem, 2.8vw, 2.4rem);
}

.monthly-chart {
  display: grid;
  grid-template-columns: repeat(12, minmax(24px, 1fr));
  gap: 8px;
  align-items: end;
  min-height: 248px;
}

.month-bar {
  position: relative;
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 8px;
  min-width: 0;
  height: 248px;
  text-align: center;
}

.bar-track {
  position: relative;
  align-self: stretch;
  overflow: visible;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.08);
}

.bar-fill {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 999px;
  background: var(--blue);
}

.bar-tooltip {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 9px);
  z-index: 2;
  min-width: max-content;
  padding: 6px 8px;
  border-radius: 7px;
  color: var(--white);
  background: rgba(29, 29, 31, 0.92);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
  font-size: 0.72rem;
  font-weight: 780;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 5px);
  transition: opacity 150ms ease, transform 150ms ease;
}

.bar-tooltip::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  border: 5px solid transparent;
  border-top-color: rgba(29, 29, 31, 0.92);
  transform: translateX(-50%);
}

.month-bar:hover .bar-tooltip,
.month-bar:focus-visible .bar-tooltip {
  opacity: 1;
  transform: translate(-50%, 0);
}

.bar-label {
  color: var(--muted);
  font-size: 0.72rem;
  white-space: nowrap;
}

.metric,
.product {
  min-height: 210px;
  padding: 32px;
  border: 0;
  border-radius: 0;
  background: var(--white);
  box-shadow: none;
}

.metric strong {
  display: block;
  margin-bottom: 10px;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(2rem, 5vw, 4.5rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
}

.split {
  display: grid;
  grid-template-columns: minmax(240px, 0.75fr) minmax(0, 1.45fr);
  gap: clamp(32px, 6vw, 72px);
  text-align: left;
}

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

.creative-grid article {
  position: relative;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: #f5f5f7;
}

.creative-card {
  transition: transform 240ms ease, background 240ms ease;
}

.creative-card:hover {
  transform: translateY(-4px);
}

.creative-anim {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: linear-gradient(135deg, #f5f5f7, #ffffff);
}

.creative-anim::before {
  content: "";
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  background: rgba(0, 113, 227, 0.08);
  animation: creative-pulse 4s ease-in-out infinite;
}

.paper {
  position: absolute;
  width: 38%;
  height: 54%;
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.12);
}

.page-one {
  transform: translateX(-18%) rotate(-7deg);
  animation: page-float 4.6s ease-in-out infinite;
}

.page-two {
  transform: translateX(18%) rotate(8deg);
  animation: page-float 4.6s ease-in-out infinite reverse;
}

.pen-line {
  position: absolute;
  z-index: 2;
  left: 34%;
  height: 4px;
  border-radius: 999px;
  background: var(--blue);
  animation: write-line 2.6s ease-in-out infinite;
}

.line-one {
  top: 43%;
  width: 24%;
}

.line-two {
  top: 51%;
  width: 18%;
  animation-delay: 400ms;
}

.pen-dot {
  position: absolute;
  z-index: 2;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ff375f;
  animation: dot-write 2.6s ease-in-out infinite;
}

.mini-record {
  position: absolute;
  width: 42%;
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle, #1db954 0 14%, #f5f5f7 15% 20%, #1d1d1f 21% 100%);
  box-shadow: 0 24px 58px rgba(0, 0, 0, 0.18);
  animation: record-spin 10s linear infinite;
}

.mini-note {
  position: absolute;
  z-index: 2;
  color: #1db954;
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 900;
  animation: float-note 3.8s ease-in-out infinite;
}

.note-a {
  top: 22%;
  left: 22%;
}

.note-b {
  right: 20%;
  bottom: 18%;
  animation-delay: -1.2s;
}

.mini-wave {
  position: absolute;
  inset: 50%;
  width: 54%;
  aspect-ratio: 1;
  border: 2px solid rgba(29, 185, 84, 0.3);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: ripple-wave 2.4s ease-out infinite;
}

.wave-b {
  animation-delay: 900ms;
}

.paint-blob {
  position: absolute;
  border-radius: 50%;
  filter: saturate(1.15);
  animation: blob-float 5s ease-in-out infinite;
}

.blob-one {
  width: 34%;
  aspect-ratio: 1;
  background: #ff375f;
  left: 20%;
  top: 22%;
}

.blob-two {
  width: 28%;
  aspect-ratio: 1;
  background: #ff9f0a;
  right: 21%;
  top: 30%;
  animation-delay: -1.4s;
}

.blob-three {
  width: 24%;
  aspect-ratio: 1;
  background: #5ac8fa;
  left: 38%;
  bottom: 20%;
  animation-delay: -2.2s;
}

.brush-stroke {
  position: absolute;
  z-index: 2;
  width: 58%;
  height: 18px;
  border-radius: 999px;
  background: #1d1d1f;
  transform: rotate(-12deg);
  animation: brush-swipe 3.4s ease-in-out infinite;
}

.creative-grid h3,
.creative-grid p {
  padding-inline: 18px;
}

.creative-grid h3 {
  padding-top: 18px;
}

.creative-grid p {
  padding-bottom: 10px;
  color: var(--muted);
  line-height: 1.55;
}

.creative-grid a {
  display: inline-flex;
  margin: 0 18px 20px;
  color: var(--blue);
  font-weight: 780;
  text-decoration: none;
}

.compact-hero {
  min-height: auto;
  padding-bottom: 40px;
}

.creative-landing-grid,
.detail-grid {
  width: min(100%, 1080px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0 auto 70px;
  padding-inline: 18px;
}

.creative-link-card,
.detail-grid article {
  min-height: 210px;
  padding: 26px;
  border-radius: 8px;
  background: #f5f5f7;
  color: var(--ink);
  text-decoration: none;
}

.creative-link-card span,
.detail-grid span,
.music-feature span {
  display: block;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.creative-link-card strong {
  display: block;
  margin-bottom: 10px;
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  line-height: 1.05;
}

.creative-link-card p,
.detail-grid p,
.music-feature p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.creative-detail-page {
  padding-inline: clamp(14px, 4vw, 52px);
}

.creative-overview {
  min-height: 100vh;
  align-items: center;
}

.creative-overview h1 {
  margin-bottom: 14px;
  font-size: clamp(3rem, 8vw, 7.5rem);
  line-height: 0.94;
}

.writing-page {
  padding-inline: clamp(14px, 4vw, 52px);
}

.music-page {
  padding-inline: clamp(14px, 4vw, 52px);
  background:
    radial-gradient(circle at 82% 18%, rgba(29, 185, 84, 0.18), transparent 26%),
    radial-gradient(circle at 18% 64%, rgba(0, 113, 227, 0.1), transparent 28%),
    var(--white);
}

.detail-hero {
  min-height: 56vh;
  display: grid;
  align-content: end;
  max-width: 1120px;
  margin: 0 auto;
  padding: clamp(90px, 13vw, 150px) 18px clamp(44px, 7vw, 76px);
}

.detail-hero h1 {
  max-width: 780px;
  margin-bottom: 14px;
  font-size: clamp(3rem, 8vw, 7.5rem);
  line-height: 0.94;
}

.detail-hero p:not(.eyebrow) {
  max-width: 650px;
  color: var(--muted);
  font-size: clamp(1.18rem, 2vw, 1.55rem);
  font-weight: 500;
  line-height: 1.35;
}

.detail-grid {
  padding-inline: 0;
}

.detail-grid article {
  background: var(--white);
  box-shadow: inset 0 0 0 1px var(--line);
}

.detail-grid article span {
  color: var(--blue);
}

.writing-library,
.poem-feature,
.content-shelves {
  width: min(100%, 1080px);
  margin: 0 auto 70px;
}

.library-heading {
  max-width: 760px;
  margin-bottom: 22px;
}

.library-heading h2 {
  margin-bottom: 10px;
  font-size: clamp(2rem, 5vw, 4.6rem);
  line-height: 0.98;
}

.library-heading p {
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.45;
}

.poem-feature {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.7fr);
  gap: 12px;
  align-items: stretch;
}

.poem-card,
.eclipse-phone-illustration,
.content-shelves article {
  border-radius: 8px;
  background: #f5f5f7;
}

.poem-card {
  min-height: 620px;
  padding: clamp(24px, 5vw, 54px);
}

.poem-meta span,
.content-shelves span {
  display: block;
  margin-bottom: 12px;
  color: var(--blue);
  font-size: 0.74rem;
  font-weight: 850;
  text-transform: uppercase;
}

.poem-meta h2 {
  margin-bottom: clamp(28px, 5vw, 52px);
  font-size: clamp(2.8rem, 7vw, 6.2rem);
  line-height: 0.92;
}

.poem-body {
  max-width: 620px;
  color: #2f2f33;
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  line-height: 1.72;
}

.poem-body p {
  margin-bottom: 1.4rem;
}

.eclipse-phone-illustration {
  position: relative;
  min-height: 620px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 28%, rgba(255, 204, 0, 0.2), transparent 22%),
    linear-gradient(180deg, #f5f5f7, #eaf5ff);
}

.phone-frame {
  position: relative;
  width: min(72%, 280px);
  aspect-ratio: 0.56;
  padding: 16px;
  border-radius: 34px;
  background: #1d1d1f;
  box-shadow: 0 36px 90px rgba(0, 0, 0, 0.24);
  transform: rotate(-5deg);
  animation: phone-float 5s ease-in-out infinite;
}

.phone-speaker,
.phone-button {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.22);
}

.phone-speaker {
  top: 9px;
  width: 48px;
  height: 5px;
  border-radius: 999px;
}

.phone-button {
  bottom: 7px;
  width: 38px;
  height: 4px;
  border-radius: 999px;
}

.phone-screen {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: 24px;
  background:
    radial-gradient(circle at 48% 28%, #ffcc00 0 18%, rgba(255, 204, 0, 0.18) 19% 28%, transparent 29%),
    linear-gradient(180deg, #101827, #1f2937 58%, #0f172a);
}

.sun,
.moon {
  position: absolute;
  width: 96px;
  aspect-ratio: 1;
  border-radius: 50%;
  top: 18%;
}

.sun {
  left: 50%;
  background: #ffcc00;
  box-shadow: 0 0 45px rgba(255, 204, 0, 0.68);
  transform: translateX(-50%);
}

.moon {
  left: 34%;
  background: #111827;
  box-shadow: inset -10px 0 18px rgba(255, 255, 255, 0.08);
  animation: eclipse-cross 5.2s ease-in-out infinite;
}

.camera-focus {
  position: absolute;
  inset: 22% 25% auto;
  height: 120px;
  border: 1px solid rgba(255, 255, 255, 0.54);
  border-radius: 16px;
}

.focus-two {
  inset: auto 18% 18%;
  height: 74px;
  border-style: dashed;
  opacity: 0.5;
}

.shutter-flash {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.0);
  animation: shutter-flash 5.2s ease-in-out infinite;
}

.photo-click {
  position: absolute;
  right: 12%;
  bottom: 18%;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.82);
  font-weight: 850;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.14);
  animation: click-pop 5.2s ease-in-out infinite;
}

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

.content-shelves article {
  min-height: 170px;
  padding: 24px;
}

.content-shelves p {
  color: var(--muted);
}

.music-hero-final {
  min-height: 72vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr);
  gap: clamp(22px, 5vw, 70px);
  align-items: center;
  width: min(100%, 1120px);
  margin: 0 auto;
  padding: clamp(96px, 13vw, 158px) 0 clamp(42px, 8vw, 84px);
}

.music-hero-final h1 {
  max-width: 760px;
  margin-bottom: 16px;
  font-size: clamp(3.4rem, 9vw, 8.5rem);
  line-height: 0.9;
}

.music-hero-final p:not(.eyebrow) {
  max-width: 640px;
  color: var(--muted);
  font-size: clamp(1.18rem, 2vw, 1.55rem);
  font-weight: 540;
  line-height: 1.36;
}

.music-illustration {
  position: relative;
  min-height: clamp(310px, 42vw, 520px);
  display: grid;
  place-items: center;
}

.record-disc,
.song-disc {
  position: relative;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background:
    radial-gradient(circle, #f5f5f7 0 10%, #1d1d1f 11% 24%, #2d2d30 25% 32%, #111 33% 100%);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.22);
  animation: record-spin 12s linear infinite;
}

.record-disc {
  width: min(76vw, 380px);
  aspect-ratio: 1;
}

.record-disc span,
.song-disc span {
  width: 24%;
  aspect-ratio: 1;
  border-radius: inherit;
  background: #1db954;
  box-shadow: inset 0 0 0 10px rgba(255, 255, 255, 0.72);
}

.music-note {
  position: absolute;
  z-index: 2;
  color: #1db954;
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 900;
  animation: float-note 4s ease-in-out infinite;
}

.note-one {
  top: 14%;
  left: 8%;
}

.note-two {
  right: 8%;
  bottom: 18%;
  animation-delay: -1.4s;
}

.wave-bars {
  position: absolute;
  left: 50%;
  bottom: 6%;
  display: flex;
  align-items: end;
  gap: 7px;
  padding: 12px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.12);
  transform: translateX(-50%);
  backdrop-filter: blur(18px);
}

.wave-bars i {
  width: 6px;
  height: 18px;
  border-radius: 999px;
  background: #1db954;
  animation: wave-bounce 900ms ease-in-out infinite alternate;
}

.wave-bars i:nth-child(2) { animation-delay: 80ms; }
.wave-bars i:nth-child(3) { animation-delay: 160ms; }
.wave-bars i:nth-child(4) { animation-delay: 240ms; }
.wave-bars i:nth-child(5) { animation-delay: 320ms; }
.wave-bars i:nth-child(6) { animation-delay: 400ms; }
.wave-bars i:nth-child(7) { animation-delay: 480ms; }

.music-feature {
  width: min(100%, 1080px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.55fr);
  gap: 12px;
  align-items: stretch;
  margin: 0 auto 12px;
}

.music-feature.final {
  grid-template-columns: minmax(0, 0.86fr) minmax(300px, 1.14fr);
}

.music-feature > div {
  min-height: 260px;
  padding: clamp(24px, 4vw, 38px);
  border-radius: 8px;
  background: #f5f5f7;
}

.music-feature h2 {
  max-width: 640px;
  margin-bottom: 12px;
  font-size: clamp(2rem, 5vw, 4.6rem);
  line-height: 0.98;
}

.spotify-embed {
  overflow: hidden;
  padding: 0 !important;
  background: #121212 !important;
}

.spotify-embed iframe {
  display: block;
  width: 100%;
  min-height: 352px;
  border: 0;
}

.spotify-embed.large iframe {
  min-height: 520px;
}

.spotify-embed.artist-compact iframe {
  min-height: 352px;
}

.spotify-songs-section {
  width: min(100%, 1080px);
  margin: 0 auto 80px;
}

.spotify-songs-section .section-heading {
  margin-bottom: 18px;
}

.spotify-songs-section.final {
  padding-top: 26px;
}

.spotify-song-list {
  display: grid;
  gap: 18px;
}

.song-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(180px, 0.42fr) minmax(220px, 0.58fr) minmax(300px, 0.9fr);
  gap: 18px;
  align-items: center;
  min-height: 300px;
  padding: clamp(18px, 3vw, 30px);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(29, 185, 84, 0.14), transparent 34%),
    #f5f5f7;
}

.song-card::after {
  content: "";
  position: absolute;
  inset: auto -12% -44% 42%;
  height: 78%;
  border-radius: 50%;
  background: rgba(29, 185, 84, 0.12);
  pointer-events: none;
}

.song-card-visual {
  position: relative;
  min-height: 220px;
  display: grid;
  place-items: center;
}

.song-orbit {
  position: absolute;
  width: min(100%, 220px);
  aspect-ratio: 1;
  border: 1px solid rgba(29, 185, 84, 0.35);
  border-radius: 50%;
  animation: orbit-pulse 2.8s ease-in-out infinite;
}

.song-disc {
  width: min(72%, 160px);
  aspect-ratio: 1;
}

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

.song-card-copy span {
  display: block;
  margin-bottom: 10px;
  color: #1db954;
  font-size: 0.74rem;
  font-weight: 850;
  text-transform: uppercase;
}

.song-card-copy h3 {
  margin-bottom: 10px;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 0.96;
}

.song-card-copy p {
  color: var(--muted);
}

.song-card-copy a {
  display: inline-flex;
  margin-top: 12px;
  color: var(--blue);
  font-weight: 780;
  text-decoration: none;
}

.song-player {
  position: relative;
  z-index: 1;
  border-radius: 8px;
}

.song-player iframe {
  min-height: 152px;
}

.spotify-profile-card {
  display: grid;
  place-content: center;
  text-align: center;
  color: var(--white);
  background: #1db954 !important;
}

.spotify-profile-card span {
  color: rgba(255, 255, 255, 0.72);
}

.spotify-profile-card strong {
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  line-height: 1;
}

.spotify-profile-card p {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.8rem;
  word-break: break-all;
}

.spotify-placeholder {
  display: grid;
  place-content: center;
  text-align: center;
  color: var(--white);
  background: #1db954 !important;
}

.spotify-placeholder span {
  color: rgba(255, 255, 255, 0.72);
}

.spotify-placeholder strong {
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  line-height: 1;
}

@keyframes record-spin {
  to {
    transform: rotate(360deg);
  }
}

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

@keyframes wave-bounce {
  from {
    height: 12px;
  }
  to {
    height: 42px;
  }
}

@keyframes orbit-pulse {
  0%, 100% {
    opacity: 0.5;
    transform: scale(0.9);
  }
  50% {
    opacity: 1;
    transform: scale(1.06);
  }
}

@keyframes creative-pulse {
  0%, 100% {
    opacity: 0.7;
    transform: scale(0.92);
  }
  50% {
    opacity: 1;
    transform: scale(1.04);
  }
}

@keyframes page-float {
  0%, 100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -10px;
  }
}

@keyframes write-line {
  0%, 100% {
    transform: scaleX(0.35);
    transform-origin: left;
  }
  50% {
    transform: scaleX(1);
    transform-origin: left;
  }
}

@keyframes dot-write {
  0%, 100% {
    transform: translate(42px, -2px);
  }
  50% {
    transform: translate(112px, 16px);
  }
}

@keyframes ripple-wave {
  from {
    opacity: 0.55;
    transform: translate(-50%, -50%) scale(0.52);
  }
  to {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.35);
  }
}

@keyframes blob-float {
  0%, 100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-12px) scale(1.06);
  }
}

@keyframes brush-swipe {
  0%, 100% {
    transform: translateX(-18px) rotate(-12deg);
  }
  50% {
    transform: translateX(18px) rotate(-8deg);
  }
}

@keyframes movement-card-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes donut-arrive {
  from {
    opacity: 0;
    transform: scale(0.84) rotate(-18deg);
  }
  to {
    opacity: 1;
    transform: scale(1) rotate(0);
  }
}

@keyframes trend-grow {
  from {
    transform: scaleY(0);
  }
  to {
    transform: scaleY(1);
  }
}

@keyframes reach-map-pulse {
  0%, 100% {
    transform: scale(0.92);
  }
  50% {
    transform: scale(1.08);
  }
}

@keyframes progress-shimmer {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 200% 0;
  }
}

@keyframes phone-float {
  0%, 100% {
    transform: translateY(0) rotate(-5deg);
  }
  50% {
    transform: translateY(-12px) rotate(-3deg);
  }
}

@keyframes eclipse-cross {
  0%, 100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(46px);
  }
}

@keyframes shutter-flash {
  0%, 44%, 58%, 100% {
    background: rgba(255, 255, 255, 0);
  }
  50% {
    background: rgba(255, 255, 255, 0.55);
  }
}

@keyframes click-pop {
  0%, 40%, 65%, 100% {
    opacity: 0;
    transform: scale(0.86);
  }
  50% {
    opacity: 1;
    transform: scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}

.project-list {
  max-width: 1080px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
  text-align: left;
}

.project-row {
  display: grid;
  grid-template-columns: minmax(220px, 0.6fr) minmax(260px, 1fr) auto;
  align-items: center;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.project-row p {
  margin-bottom: 0;
}

.product {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.product p {
  flex: 1;
}

.product button {
  width: 100%;
}

.about {
  display: grid;
  grid-template-columns: minmax(240px, 0.85fr) minmax(0, 1fr);
  gap: clamp(24px, 7vw, 90px);
  align-items: start;
}

.about p {
  font-size: 1.12rem;
}

.contact-band {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
  color: var(--white);
  background: var(--ink);
  text-align: left;
}

.contact-band .button {
  border-color: var(--white);
  color: var(--ink);
  background: var(--white);
}

.contact-band p {
  max-width: 680px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.74);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 24px clamp(18px, 5vw, 64px);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer p {
  margin: 0;
  color: var(--ink);
  font-weight: 800;
}

.site-footer a {
  text-decoration: none;
}

.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  max-width: min(360px, calc(100vw - 36px));
  padding: 14px 16px;
  border-radius: 8px;
  color: var(--white);
  background: var(--ink);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

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

.page-shell {
  padding: 64px 12px 12px;
}

.page-intro {
  display: grid;
  place-items: center;
  min-height: 360px;
  margin-bottom: 12px;
  padding: clamp(60px, 10vw, 110px) 18px;
  background: var(--white);
  text-align: center;
}

.page-intro h1 {
  margin-bottom: 10px;
  font-size: clamp(3.6rem, 8vw, 7rem);
}

.page-intro p {
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(1.25rem, 2vw, 1.8rem);
  font-weight: 500;
  line-height: 1.2;
}

.panel {
  padding: clamp(18px, 3vw, 32px);
  border: 0;
  border-radius: 0;
  background: var(--white);
  box-shadow: none;
}

.movement-dashboard-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.42fr);
  gap: 12px;
  align-items: stretch;
  margin-bottom: 12px;
}

.movement-controls {
  display: grid;
  grid-template-columns: repeat(5, minmax(120px, 1fr));
  gap: 10px;
  align-items: end;
  margin-bottom: 0;
  padding: 18px;
  background: #f5f5f7;
}

.field label {
  display: block;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.field select,
.field input {
  width: 100%;
  min-height: 44px;
  padding: 0 12px;
  border: 0;
  border-radius: 12px;
  color: var(--ink);
  background: var(--white);
  font: inherit;
}

.movement-controls .button {
  width: 100%;
}

.movement-kpis {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 0;
}

.movement-kpi {
  min-height: 78px;
  padding: 12px;
  border: 0;
  border-radius: 0;
  background: #f5f5f7;
  text-align: center;
  animation: movement-card-in 520ms ease both;
}

.movement-kpi:nth-child(2) { animation-delay: 70ms; }
.movement-kpi:nth-child(3) { animation-delay: 140ms; }
.movement-kpi:nth-child(4) { animation-delay: 210ms; }

.movement-kpi span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.movement-kpi strong {
  display: block;
  margin-bottom: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(1.35rem, 2.2vw, 2.1rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
}

.movement-kpi small {
  color: var(--muted);
  line-height: 1.45;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.44fr) minmax(0, 1fr);
  gap: 12px;
  margin-bottom: 12px;
}

.analysis-card {
  min-height: 330px;
  padding: 26px;
  background: #f5f5f7;
  text-align: left;
}

.simple-page {
  min-height: 100vh;
  padding: 64px 12px 12px;
}

.simple-hero {
  min-height: calc(100vh - 76px);
  display: grid;
  place-content: center;
  gap: 12px;
  padding: clamp(60px, 10vw, 120px) 18px;
  background: var(--white);
  text-align: center;
}

.simple-hero h1 {
  margin-bottom: 0;
}

.simple-hero p {
  max-width: 680px;
  margin: 0 auto;
  color: var(--muted);
  font-size: clamp(1.25rem, 2vw, 1.8rem);
  font-weight: 500;
  line-height: 1.25;
}

.auth-page,
.private-page {
  background: var(--white);
}

.auth-panel {
  width: min(100%, 430px);
  margin: clamp(84px, 15vh, 150px) auto 0;
  padding: 0 18px;
}

.auth-panel h1,
.private-hero h1 {
  margin: 8px 0 10px;
  font-size: clamp(2.6rem, 8vw, 5.5rem);
  line-height: 0.95;
}

.auth-panel > p:not(.eyebrow),
.private-hero p,
.private-card p {
  color: var(--muted);
}

.auth-form {
  display: grid;
  gap: 14px;
  margin-top: 30px;
}

.auth-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.auth-form input {
  width: 100%;
  border: 1px solid rgba(0, 0, 0, 0.14);
  border-radius: 8px;
  padding: 13px 14px;
  background: #f5f5f7;
  color: var(--ink);
  font: inherit;
}

.auth-form input:focus {
  outline: 2px solid rgba(0, 113, 227, 0.28);
  border-color: rgba(0, 113, 227, 0.5);
  background: var(--white);
}

.form-status {
  min-height: 1.25rem;
  color: #b42318;
  font-size: 0.9rem;
}

.private-page {
  padding-inline: clamp(18px, 5vw, 76px);
}

.private-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: end;
  max-width: 1180px;
  margin: clamp(74px, 13vh, 130px) auto 38px;
}

.private-hero p {
  max-width: 620px;
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  font-weight: 500;
  line-height: 1.3;
}

.private-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 1180px;
  margin: 0 auto 60px;
}

.private-card {
  min-height: 230px;
  padding: clamp(22px, 4vw, 34px);
  border-radius: 8px;
  background: #f5f5f7;
}

.private-card span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.private-card strong {
  display: block;
  margin: 16px 0 10px;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
}

.analysis-card .chart-heading h2 {
  margin: 0;
  font-size: clamp(1.3rem, 2.4vw, 2.1rem);
}

.sport-donut-wrap {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 26px;
  align-items: center;
}

.sport-donut {
  width: 180px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.08);
  position: relative;
  transform-origin: center;
  animation: donut-arrive 700ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.sport-donut::after {
  content: "";
  position: absolute;
  inset: 32px;
  border-radius: 50%;
  background: #f5f5f7;
}

.sport-legend {
  display: grid;
  gap: 10px;
}

.legend-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 9px;
  align-items: center;
  color: var(--muted);
  font-size: 0.9rem;
}

.legend-swatch {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.legend-item strong {
  color: var(--ink);
}

.trend-chart {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(72px, 1fr);
  gap: 12px;
  align-items: end;
  min-height: 260px;
  overflow-x: auto;
  padding: 10px 2px 4px;
  background:
    linear-gradient(to top, rgba(0, 0, 0, 0.08) 1px, transparent 1px) 0 37px / 100% 56px;
}

.trend-item {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 8px;
  height: 250px;
  text-align: center;
}

.trend-plot {
  position: relative;
  display: flex;
  align-items: end;
  justify-content: center;
  min-height: 178px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.18);
}

.trend-fill {
  display: block;
  width: min(42px, 72%);
  border-radius: 6px 6px 0 0;
  background: linear-gradient(180deg, #0071e3, #0057b8);
  transform-origin: bottom;
  animation: trend-grow 700ms ease both;
}

.trend-value {
  min-height: 18px;
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 800;
  white-space: nowrap;
}

.trend-label {
  color: var(--muted);
  font-size: 0.68rem;
  white-space: nowrap;
}

.chart-empty {
  margin: 0;
  color: var(--muted);
}

.table-wrap {
  overflow-x: auto;
  border: 0;
  border-radius: 0;
  background: var(--white);
}

.activities-table {
  width: 100%;
  min-width: 820px;
  border-collapse: collapse;
}

.activities-table th,
.activities-table td {
  padding: 15px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
}

.activities-table th {
  color: var(--muted);
  background: #f5f5f7;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.activities-table tbody tr:last-child td {
  border-bottom: 0;
}

.activity-name {
  font-weight: 820;
  color: var(--blue);
  text-decoration: none;
}

.activity-type {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 9px;
  border-radius: 999px;
  color: var(--sport-color, var(--blue));
  background: rgba(0, 113, 227, 0.1);
  background: color-mix(in srgb, var(--sport-color, var(--blue)) 14%, transparent);
  font-size: 0.78rem;
  font-weight: 780;
  transition: transform 180ms ease;
}

.activities-table tr:hover .activity-type {
  transform: scale(1.04);
}

.reach-map-card {
  display: grid;
  gap: 22px;
  margin-top: 30px;
  padding: clamp(24px, 4vw, 38px);
  border-radius: 8px;
  background: linear-gradient(180deg, #fbfbfd 0%, #f5f5f7 100%);
  border: 1px solid rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

.reach-map-heading {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: start;
}

.reach-map-eyebrow {
  margin: 0 0 8px;
  color: #ff375f;
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.reach-map-heading h2 {
  margin: 0 0 8px;
  font-size: clamp(1.8rem, 3.6vw, 3.4rem);
  line-height: 1;
}

.reach-map-heading p {
  margin: 0;
  max-width: 620px;
  color: var(--muted);
  font-weight: 500;
  line-height: 1.5;
}

.reach-map-kpi-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.reach-map-kpi-row article {
  min-height: 76px;
  display: grid;
  align-content: center;
  padding: 14px;
  border-radius: 8px;
  background: var(--white);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.04);
}

.reach-map-kpi-row span {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.reach-map-kpi-row strong {
  margin-top: 6px;
  font-size: clamp(1rem, 1.7vw, 1.42rem);
  line-height: 1;
}

.reach-map-primary-kpi strong {
  color: #ff375f;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  line-height: 0.95;
}

.reach-map-content {
  display: block;
}

.world-map-shell {
  position: relative;
  min-height: clamp(420px, 52vw, 620px);
  overflow: hidden;
  border-radius: 8px;
  background: #eaf5ff;
  box-shadow:
    inset 0 0 0 1px rgba(0, 113, 227, 0.08),
    0 28px 70px rgba(0, 0, 0, 0.08);
}

.world-map {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 8px;
  background: #eaf5ff;
}

.world-map::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 450;
  pointer-events: none;
  opacity: 0;
  background:
    radial-gradient(circle at 47% 38%, rgba(255, 55, 95, 0.28), transparent 16%),
    radial-gradient(circle at 47% 38%, rgba(255, 55, 95, 0.12), transparent 28%);
  transform: scale(0.92);
  transition: opacity 300ms ease;
  animation: reach-map-pulse 3.8s ease-in-out infinite;
}

.world-map.has-reach::after {
  opacity: 1;
}

.world-map .leaflet-control-zoom {
  border: 0;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.14);
}

.world-map .leaflet-control-zoom a {
  color: var(--ink);
  border: 0;
}

.world-map .leaflet-popup-content-wrapper {
  border-radius: 8px;
}

.world-map .leaflet-tooltip {
  border: 0;
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.14);
  font-weight: 780;
}

.map-loading {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-weight: 760;
  background: linear-gradient(135deg, #eaf5ff, #f5f5f7);
}

.map-loading[hidden] {
  display: none;
}

.reach-earth-progress {
  height: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(29, 29, 31, 0.08);
}

.reach-earth-progress span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #ff375f, #ff9f0a);
  transition: width 260ms ease;
  animation: progress-shimmer 2.2s linear infinite;
  background-size: 200% 100%;
}

.empty-state {
  padding: 28px;
  border: 1px dashed var(--line);
  border-radius: 0;
  color: var(--muted);
  text-align: center;
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  padding: 18px 0 0;
  color: var(--muted);
}

.pagination .button {
  min-height: 38px;
}

.pagination button:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.store-page {
  min-height: 100vh;
  padding-top: 44px;
  background: #f5f5f7;
}

.store-hero {
  min-height: 56vh;
  padding: clamp(72px, 12vw, 132px) clamp(20px, 6vw, 72px) clamp(48px, 8vw, 88px);
  background: linear-gradient(180deg, #fbfbfd 0%, #f5f5f7 100%);
}

.store-hero h1 {
  max-width: 900px;
  margin: 0 0 16px;
  font-size: clamp(3.8rem, 8vw, 8.8rem);
  line-height: 0.94;
  letter-spacing: 0;
}

.store-hero p:not(.eyebrow) {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.12rem, 2vw, 1.7rem);
  line-height: 1.38;
}

.store-status {
  max-width: 1120px;
  margin: 22px auto 0;
  padding: 14px 18px;
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  font-weight: 650;
}

.store-status[data-tone="error"] {
  color: #b42318;
  background: #fff3f0;
}

.store-status[data-tone="success"] {
  color: #087443;
  background: #edfdf5;
}

.store-status[data-tone="warning"] {
  color: #8a4b00;
  background: #fff8e8;
}

.store-products-section {
  padding-top: clamp(44px, 7vw, 76px);
}

.compact-heading {
  max-width: 820px;
  margin-inline: auto;
}

.commerce-grid {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.commerce-card {
  overflow: hidden;
  display: grid;
  grid-template-rows: minmax(260px, 0.88fr) auto;
  min-height: 620px;
  background: var(--white);
}

.product-art {
  position: relative;
  min-height: 280px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #f5f5f7;
}

.product-art::before {
  content: "";
  position: absolute;
  inset: 14%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 113, 227, 0.2), transparent 62%);
  animation: creative-pulse 4.5s ease-in-out infinite;
}

.product-art-book span:first-child {
  position: absolute;
  width: 150px;
  height: 198px;
  border-radius: 8px;
  background: linear-gradient(135deg, #101114, #343840);
  box-shadow: 18px 24px 40px rgba(0, 0, 0, 0.22);
  transform: rotate(-8deg);
}

.product-art-book span:nth-child(2) {
  position: absolute;
  width: 118px;
  height: 5px;
  background: rgba(255, 255, 255, 0.72);
  transform: translateY(-36px) rotate(-8deg);
}

.product-art-book span:nth-child(3) {
  position: absolute;
  width: 82px;
  height: 5px;
  background: rgba(255, 255, 255, 0.42);
  transform: translateY(-16px) rotate(-8deg);
}

.product-art-towel span:first-child {
  position: absolute;
  width: 220px;
  height: 138px;
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.22) 0 12%, transparent 12% 24%, rgba(255, 255, 255, 0.22) 24% 36%, transparent 36%),
    linear-gradient(135deg, #0066cc, #36a3ff);
  box-shadow: 18px 24px 42px rgba(0, 102, 204, 0.24);
  transform: rotate(4deg);
}

.product-art-towel span:nth-child(2),
.product-art-towel span:nth-child(3) {
  position: absolute;
  width: 172px;
  height: 16px;
  border-radius: 999px;
  background: rgba(29, 29, 31, 0.12);
}

.product-art-towel span:nth-child(2) {
  transform: translateY(98px) rotate(4deg);
}

.product-art-towel span:nth-child(3) {
  width: 118px;
  transform: translateY(124px) rotate(4deg);
}

.commerce-card-body {
  padding: clamp(26px, 4vw, 42px);
  display: grid;
  gap: 16px;
}

.commerce-card h3 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 3rem);
  letter-spacing: 0;
}

.commerce-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.commerce-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  color: var(--muted);
}

.commerce-meta strong {
  color: var(--ink);
  font-size: 1.35rem;
}

.store-flow {
  max-width: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  padding-inline: clamp(16px, 5vw, 72px);
}

.store-flow-step {
  min-height: 240px;
  padding: clamp(24px, 4vw, 42px);
  background: var(--white);
}

.store-flow-step span {
  display: inline-grid;
  place-items: center;
  min-width: 34px;
  height: 34px;
  padding: 0 12px;
  margin-bottom: 24px;
  border-radius: 999px;
  color: var(--white);
  background: var(--blue);
  font-size: 0.86rem;
  font-weight: 800;
}

.store-flow-step h3 {
  margin: 0 0 10px;
  font-size: clamp(1.25rem, 2vw, 1.7rem);
}

.store-flow-step p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.orders-toolbar {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 14px;
}

.orders-table-wrap {
  overflow-x: auto;
  background: var(--white);
}

.orders-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 860px;
}

.orders-table th,
.orders-table td {
  padding: 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.orders-table th {
  color: var(--muted);
  font-size: 0.72rem;
  text-transform: uppercase;
}

.orders-table td span {
  color: var(--muted);
  font-size: 0.82rem;
}

.order-chip {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  background: #f5f5f7;
  color: var(--ink);
  font-weight: 750;
}

.checkout-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 18px;
}

.checkout-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(10px);
}

.checkout-panel {
  position: relative;
  width: min(520px, 100%);
  display: grid;
  gap: 16px;
  padding: clamp(24px, 5vw, 42px);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
}

.checkout-panel h2 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 3rem);
}

.checkout-panel p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.checkout-panel label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 760;
}

.checkout-panel input {
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfbfd;
  color: var(--ink);
  font: inherit;
}

.checkout-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  background: #f5f5f7;
  color: var(--ink);
  font-size: 1.3rem;
  cursor: pointer;
}

.variant-picker {
  display: grid;
  gap: 8px;
}

.variant-picker button {
  min-height: 44px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfbfd;
  color: var(--ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.variant-picker button.is-selected {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.14);
}

.variant-picker button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.variant-swatch {
  width: 18px;
  height: 18px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 999px;
  background: var(--swatch);
}

.variant-picker small {
  color: var(--muted);
  font-size: 0.74rem;
}

.admin-page {
  min-height: 100vh;
  padding-top: 44px;
  background: #f5f5f7;
}

.admin-hero {
  padding: clamp(74px, 10vw, 118px) clamp(20px, 6vw, 72px) clamp(34px, 6vw, 64px);
  background: #fbfbfd;
}

.admin-hero h1 {
  margin: 0 0 12px;
  font-size: clamp(3.4rem, 8vw, 7rem);
  line-height: 0.95;
}

.admin-hero p:not(.eyebrow) {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.06rem, 2vw, 1.45rem);
  line-height: 1.45;
}

.admin-shell {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(24px, 5vw, 54px) 18px 80px;
}

.admin-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.admin-tabs button {
  min-height: 38px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: var(--white);
  color: var(--muted);
  font: inherit;
  font-weight: 750;
  cursor: pointer;
}

.admin-tabs button.is-active {
  color: var(--white);
  background: var(--blue);
}

.admin-status {
  margin-bottom: 16px;
  padding: 12px 14px;
  border-radius: 8px;
  background: #edfdf5;
  color: #087443;
  font-weight: 700;
}

.admin-status[data-tone="error"] {
  color: #b42318;
  background: #fff3f0;
}

.admin-panel {
  display: none;
}

.admin-panel.is-active {
  display: block;
}

.admin-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.admin-card,
.admin-row {
  background: var(--white);
}

.admin-card:not(.admin-form) {
  padding: clamp(16px, 2.5vw, 24px);
}

.admin-form {
  display: grid;
  gap: 13px;
  padding: clamp(20px, 3vw, 30px);
}

.admin-form h2 {
  margin: 0 0 4px;
  font-size: 1.45rem;
}

.admin-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 760;
}

.admin-form input,
.admin-form select,
.admin-form textarea {
  width: 100%;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfbfd;
  color: var(--ink);
  font: inherit;
}

.admin-form textarea {
  padding-top: 11px;
  resize: vertical;
}

.admin-form .check-row {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
}

.admin-form .check-row input {
  width: 18px;
  min-height: 18px;
}

.permission-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.compact-admin-form {
  margin-bottom: 18px;
}

.wide-admin-form {
  margin-bottom: 18px;
}

.admin-list {
  display: grid;
  gap: 10px;
}

.admin-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
  padding: 16px;
}

.admin-row div {
  display: grid;
  gap: 5px;
}

.admin-row span,
.admin-row small {
  color: var(--muted);
}

.admin-row button {
  min-height: 34px;
  padding: 0 12px;
  border: 0;
  border-radius: 999px;
  color: var(--white);
  background: var(--blue);
  font-weight: 750;
  cursor: pointer;
}

.admin-row small button {
  min-height: 24px;
  margin-left: 8px;
  padding: 0 8px;
  font-size: 0.72rem;
}

.calendar-page {
  min-height: 100vh;
  padding-top: 44px;
  background: #f5f5f7;
}

.calendar-hero {
  padding: clamp(60px, 8vw, 86px) clamp(20px, 6vw, 72px) clamp(18px, 3vw, 34px);
  background: #fbfbfd;
}

.calendar-hero h1 {
  margin: 0;
  font-size: clamp(3rem, 7vw, 5.8rem);
  line-height: 0.95;
}

.calendar-hero p:not(.eyebrow) {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.06rem, 2vw, 1.45rem);
  line-height: 1.45;
}

.calendar-shell {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(16px, 4vw, 36px) 18px 80px;
}

.calendar-top,
.day-grid {
  display: grid;
  grid-template-columns: minmax(250px, 320px) minmax(160px, 200px) minmax(260px, 1fr);
  gap: 14px;
  justify-content: start;
  align-items: start;
}

.day-grid {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
}

.calendar-card {
  background: var(--white);
  padding: clamp(14px, 2vw, 22px);
}

.calendar-toolbar,
.day-heading,
.pomodoro-controls,
.pomodoro-settings {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.calendar-toolbar h2,
.day-heading h2,
.calendar-card h3,
.pomodoro-card h2 {
  margin: 0;
}

.calendar-toolbar button,
.pomodoro-settings button,
.icon-button {
  min-width: 38px;
  min-height: 38px;
  border: 0;
  border-radius: 999px;
  background: #f5f5f7;
  color: var(--ink);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.icon-button {
  display: inline-grid;
  place-items: center;
  text-decoration: none;
}

.icon-button.dark {
  background: var(--ink);
  color: var(--white);
}

.icon-button:disabled {
  opacity: 0.38;
  cursor: default;
}

.calendar-weekdays,
.calendar-grid-days {
  display: grid;
  grid-template-columns: repeat(7, 32px);
  gap: 4px;
  justify-content: center;
}

.calendar-weekdays {
  margin: 12px 0 6px;
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 760;
  text-align: center;
}

.calendar-grid-days button {
  width: 32px;
  height: 32px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: #f5f5f7;
  color: var(--ink);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 760;
  cursor: pointer;
}

.calendar-grid-days button.is-muted {
  color: rgba(110, 110, 115, 0.45);
}

.calendar-grid-days button.is-today {
  border-color: var(--blue);
}

.calendar-grid-days button.is-selected {
  color: var(--white);
  background: var(--blue);
}

.pomodoro-card {
  display: grid;
  align-content: space-between;
  gap: 10px;
  padding: 16px;
  background: #fff1f1;
  transition: background 220ms ease;
}

.pomodoro-card.is-resting {
  background: #eef9f0;
}

.pomodoro-face {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 2px 0;
}

.pomodoro-card strong {
  display: block;
  font-size: clamp(1.9rem, 3.2vw, 2.7rem);
  line-height: 1;
  letter-spacing: 0;
}

.hourglass {
  position: relative;
  width: 34px;
  height: 52px;
  border-top: 3px solid rgba(90, 24, 24, 0.7);
  border-bottom: 3px solid rgba(90, 24, 24, 0.7);
  border-radius: 12px;
  overflow: hidden;
  color: #d46a6a;
  clip-path: polygon(8% 0, 92% 0, 58% 50%, 92% 100%, 8% 100%, 42% 50%);
}

.pomodoro-card.is-resting .hourglass {
  border-color: rgba(24, 90, 43, 0.7);
  color: #67ad72;
}

.hourglass::before {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 4px;
  bottom: 4px;
  width: 2px;
  border-radius: 999px;
  background: currentColor;
  opacity: 0.9;
  animation: sand-stream 900ms linear infinite;
}

.hourglass-top,
.hourglass-bottom {
  position: absolute;
  left: 8px;
  right: 8px;
  height: 20px;
  border-radius: 999px;
  background: currentColor;
  transform-origin: center bottom;
  transition: transform 500ms linear;
}

.hourglass-top {
  top: 5px;
  clip-path: polygon(0 0, 100% 0, 52% 100%, 48% 100%);
}

.hourglass-bottom {
  bottom: 5px;
  transform-origin: center bottom;
  clip-path: polygon(48% 0, 52% 0, 100% 100%, 0 100%);
  opacity: 0.72;
}

@keyframes sand-stream {
  0% {
    transform: translate(-50%, -8px) scaleY(0.25);
    opacity: 0.25;
  }

  45%,
  100% {
    transform: translate(-50%, 8px) scaleY(1);
    opacity: 0.9;
  }
}

.day-dashboard {
  margin-top: 14px;
}

.day-heading {
  margin-bottom: 14px;
  padding: 16px;
  background: var(--white);
}

.day-heading input {
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfbfd;
  font: inherit;
}

.todo-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  margin: 16px 0;
}

.todo-category-actions {
  display: inline-flex;
  gap: 5px;
}

.todo-category-actions .work {
  background: #d46a6a;
}

.todo-category-actions .health {
  background: #67ad72;
}

.todo-category-actions .productivity {
  background: #6d8fd6;
}

.todo-form input,
.journal-panel textarea,
.photo-panel input {
  width: 100%;
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfbfd;
  font: inherit;
}

.journal-panel form,
.photo-panel form {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.photo-panel form {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

.journal-panel textarea {
  padding-top: 12px;
  resize: vertical;
}

.file-upload-control {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #f5f5f7;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 800;
  cursor: pointer;
}

.file-upload-control input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.file-upload-control span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.todo-list,
.calendar-activities,
.photo-grid {
  display: grid;
  gap: 8px;
}

.todo-category-group {
  display: grid;
  gap: 7px;
}

.todo-category-group h4 {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 850;
  text-transform: uppercase;
}

.todo-item {
  min-height: 42px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto auto;
  gap: 10px;
  align-items: center;
  padding: 8px 10px;
  background: #f5f5f7;
  border-left: 3px solid transparent;
  cursor: grab;
}

.todo-item button {
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font-weight: 800;
  cursor: pointer;
}

.todo-item.todo-work {
  border-left-color: #d46a6a;
}

.todo-item.todo-health {
  border-left-color: #67ad72;
}

.todo-item.todo-productivity {
  border-left-color: #6d8fd6;
}

.todo-item.status-doing {
  border-left-color: #f5c542;
  background: #fff8df;
}

.todo-item.status-done {
  border-left-color: #24a148;
  background: #edfbf2;
}

.todo-item.status-done .todo-title-button span {
  color: var(--muted);
  text-decoration: line-through;
}

.todo-item.is-dragging {
  opacity: 0.55;
}

.todo-drag {
  color: var(--muted);
  cursor: grab;
}

.todo-status-check {
  border: 1px solid var(--line) !important;
  color: transparent !important;
}

.todo-status-check.is-done {
  color: #fff !important;
  background: #24a148 !important;
}

.todo-title-button {
  width: auto !important;
  min-width: 0;
  justify-self: stretch;
  padding: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  text-align: left;
}

.todo-title-button span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.todo-detail {
  grid-column: 2 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.todo-detail[hidden] {
  display: none;
}

.todo-detail textarea {
  min-height: 72px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  font: inherit;
  resize: vertical;
}

.todo-status {
  display: inline-flex;
  gap: 4px;
  padding: 3px;
  border-radius: 999px;
  background: var(--white);
}

.todo-status button {
  width: 24px;
  height: 24px;
  background: transparent;
  color: var(--muted);
}

.todo-status button.is-active {
  background: var(--ink);
  color: var(--white);
}

.panel-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.panel-title-row h2 {
  margin: 0;
}

.admin-table-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.38fr) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.blog-admin-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(360px, 1.05fr);
  gap: 16px;
  align-items: start;
}

.blog-editor {
  position: sticky;
  top: 62px;
}

.admin-inline-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.blog-editor textarea[name="content"] {
  min-height: 320px;
  line-height: 1.65;
}

.admin-advanced {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfbfd;
}

.admin-advanced summary {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 820;
  cursor: pointer;
}

.admin-advanced textarea {
  margin-top: 10px;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.84rem;
}

.blog-editor-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.admin-preview-card,
.admin-audio-preview {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfbfd;
}

.admin-preview-card p,
.admin-audio-preview p {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 820;
}

.admin-preview-card div {
  overflow: hidden;
  border-radius: 8px;
  background: var(--white);
}

.admin-preview-card svg {
  display: block;
  width: 100%;
  max-height: 240px;
}

.admin-audio-preview audio {
  width: 100%;
}

.blog-editor-kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.blog-editor-kpis span,
.admin-mini-stat {
  min-height: 54px;
  display: grid;
  align-content: center;
  padding: 10px 12px;
  border-radius: 8px;
  background: #f5f5f7;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 780;
}

.blog-editor-kpis strong {
  color: var(--ink);
  font-size: 1.25rem;
  line-height: 1;
}

.admin-table-wrap {
  overflow-x: auto;
  margin-top: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
  font-size: 0.9rem;
}

.admin-table th {
  padding: 12px 14px;
  background: #fbfbfd;
  color: var(--muted);
  font-size: 0.72rem;
  text-align: left;
  text-transform: uppercase;
  white-space: nowrap;
}

.admin-table td {
  padding: 14px;
  border-top: 1px solid var(--line);
  vertical-align: top;
}

.admin-table td span {
  color: var(--muted);
  font-size: 0.78rem;
}

.admin-table-actions {
  display: flex;
  gap: 6px;
  white-space: nowrap;
}

.admin-table-actions button {
  min-height: 30px;
  padding: 0 9px;
  border: 0;
  border-radius: 999px;
  background: #f5f5f7;
  color: var(--ink);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
}

.admin-table-actions button[data-delete-blog] {
  color: #b42318;
  background: #fff3f0;
}

.admin-pagination {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 760;
}

.admin-pagination button {
  min-height: 32px;
  padding: 0 12px;
  border: 0;
  border-radius: 999px;
  background: #f5f5f7;
  color: var(--ink);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.admin-pagination button:disabled,
.blog-editor-actions button:disabled {
  cursor: wait;
  opacity: 0.55;
}

.strava-admin-card {
  display: grid;
  gap: 18px;
}

.strava-admin-card .panel-title-row p {
  max-width: 640px;
  margin: 6px 0 0;
  color: var(--muted);
  line-height: 1.45;
}

.strava-admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

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

.strava-status-grid article {
  display: grid;
  gap: 8px;
  min-height: 90px;
  align-content: center;
  padding: 14px;
  border-radius: 8px;
  background: #f5f5f7;
}

.strava-status-grid span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 780;
  text-transform: uppercase;
}

.strava-status-grid strong {
  overflow-wrap: anywhere;
  font-size: 0.95rem;
}

.strava-result {
  overflow: auto;
  max-height: 320px;
  margin: 0;
  padding: 14px;
  border-radius: 8px;
  background: #1d1d1f;
  color: #f5f5f7;
  font-size: 0.82rem;
}

.blog-editor-actions button[data-loading="true"]::before {
  content: "";
  width: 12px;
  height: 12px;
  margin-right: 8px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 999px;
  animation: admin-spin 700ms linear infinite;
}

@keyframes admin-spin {
  to {
    transform: rotate(360deg);
  }
}

.admin-category-chip {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  padding: 0 9px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 820;
}

.admin-category-chip.category-tech {
  color: #0066cc;
  background: rgba(0, 113, 227, 0.12);
}

.admin-category-chip.category-sports {
  color: #16833a;
  background: rgba(36, 161, 72, 0.14);
}

.admin-category-chip.category-art {
  color: #a33b00;
  background: rgba(191, 72, 0, 0.14);
}

.mini-link {
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 800;
  text-decoration: none;
}

.journal-preview {
  display: grid;
  gap: 10px;
  margin-top: 12px;
  padding: 14px;
  background: #f5f5f7;
}

.journal-preview span {
  width: fit-content;
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--white);
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 760;
}

.journal-preview p {
  max-height: 220px;
  overflow: auto;
  margin: 0;
  color: var(--ink);
  line-height: 1.55;
}

.calendar-sport-kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 16px 0;
}

.calendar-sport-kpis span,
.calendar-activities article {
  display: grid;
  gap: 5px;
  padding: 12px;
  background: #f5f5f7;
  color: var(--muted);
  font-size: 0.82rem;
}

.calendar-sport-kpis strong,
.calendar-activities strong {
  color: var(--ink);
}

.photo-grid figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: #f5f5f7;
}

.photo-grid img {
  width: 100%;
  max-height: 440px;
  object-fit: cover;
}

.photo-grid figcaption {
  padding: 10px 12px;
  color: var(--muted);
}

.photo-edit,
.photo-delete {
  position: absolute;
  top: 10px;
}

.photo-edit {
  right: 56px;
}

.photo-delete {
  right: 10px;
}

.book-page-shell {
  min-height: 100vh;
  padding: 78px 18px 60px;
  background: #f5f5f7;
}

.book-toolbar,
.journal-book,
.daily-frame-viewer {
  width: min(980px, 100%);
  margin: 0 auto;
}

.book-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}

.book-controls {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 760;
}

.book-sheet {
  min-height: min(680px, calc(100vh - 160px));
  padding: clamp(28px, 7vw, 74px);
  background: #fffefb;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.08);
}

.book-sheet.is-empty,
.frame-sheet.is-empty {
  display: grid;
  place-items: center;
  color: var(--muted);
}

.journal-mood {
  display: inline-block;
  margin-bottom: 24px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #f5f5f7;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 760;
}

.book-copy {
  color: var(--ink);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  line-height: 1.78;
}

.frame-sheet {
  min-height: min(720px, calc(100vh - 160px));
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  margin: 0;
  background: var(--white);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.08);
}

.frame-sheet img {
  width: 100%;
  height: 100%;
  max-height: calc(100vh - 220px);
  object-fit: contain;
  background: #050505;
}

.frame-sheet figcaption {
  padding: 16px 20px;
  color: var(--muted);
  font-weight: 760;
  text-align: center;
}

.daily-frame-page {
  min-height: 100vh;
  padding-top: 44px;
  background: #f5f5f7;
}

.daily-frame-hero {
  padding: clamp(72px, 10vw, 116px) clamp(20px, 6vw, 72px) clamp(28px, 5vw, 58px);
  background: #fbfbfd;
}

.daily-frame-hero h1 {
  max-width: 980px;
  margin: 0;
  font-size: clamp(3.4rem, 8vw, 7rem);
  line-height: 0.95;
}

.frame-lab,
.chronify-section {
  width: min(1120px, calc(100% - 36px));
  margin: 18px auto;
  background: var(--white);
}

.frame-lab {
  padding: clamp(16px, 3vw, 26px);
}

.frame-stage {
  display: grid;
  place-items: center;
  min-height: min(68vh, 720px);
  background: #060606;
}

.daily-frame-card {
  width: 100%;
  height: 100%;
  min-height: min(64vh, 680px);
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  margin: 0;
}

.daily-frame-card img {
  width: 100%;
  height: 100%;
  max-height: min(64vh, 680px);
  object-fit: contain;
}

.daily-frame-card figcaption {
  padding: 14px;
  background: #060606;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 760;
  text-align: center;
}

.daily-frame-card.is-empty {
  place-items: center;
}

.frame-console {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
}

.frame-console input[type="range"] {
  width: 100%;
  accent-color: var(--ink);
}

.frame-console span {
  min-width: 60px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 760;
  text-align: right;
}

.chronify-section {
  padding: clamp(18px, 4vw, 34px);
  transition: background 280ms ease, box-shadow 280ms ease;
}

.chronify-section.is-golden {
  background: linear-gradient(135deg, #fff9e8, #ffffff 55%, #ffe9ae);
  box-shadow: 0 24px 80px rgba(180, 120, 0, 0.18);
}

.chronify-heading,
.chronify-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

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

.chronify-levels {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: #f5f5f7;
}

.chronify-levels button {
  min-height: 34px;
  border: 0;
  border-radius: 999px;
  padding: 0 12px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
}

.chronify-levels button.is-active {
  background: var(--ink);
  color: var(--white);
}

.chronify-copy {
  max-width: 620px;
  margin: 12px 0 22px;
  color: var(--muted);
  font-size: 1.02rem;
}

.chronify-mission {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 16px;
}

.mystery-photos,
.timeline-slots {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  min-height: 340px;
  padding: 10px;
  background: #f5f5f7;
}

.timeline-slot {
  min-height: 158px;
  display: grid;
  place-items: center;
  border: 1px dashed rgba(0, 0, 0, 0.18);
  background: rgba(255, 255, 255, 0.58);
}

.timeline-slot > span {
  color: rgba(0, 0, 0, 0.28);
  font-size: 2rem;
  font-weight: 900;
}

.chronify-card {
  min-height: 158px;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
  cursor: grab;
}

.chronify-card.is-dragging {
  opacity: 0.48;
}

.chronify-card img {
  width: 100%;
  height: 100%;
  min-height: 126px;
  object-fit: cover;
}

.chronify-card span {
  padding: 9px 10px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.chronify-actions {
  margin-top: 16px;
}

.chronify-actions span,
.chronify-empty {
  color: var(--muted);
  font-weight: 800;
}

.cv-page,
.contact-page {
  min-height: 100vh;
  padding-top: 44px;
  background: #f5f5f7;
}

.cv-hero,
.contact-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(72px, 10vw, 124px) clamp(20px, 6vw, 72px) clamp(36px, 6vw, 72px);
  background: #fbfbfd;
}

.cv-hero h1,
.contact-hero h1 {
  max-width: 980px;
  margin: 0;
  font-size: clamp(3.6rem, 8vw, 7.2rem);
  line-height: 0.94;
}

.cv-hero p:not(.eyebrow),
.contact-hero p:not(.eyebrow) {
  max-width: 820px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.42rem);
  line-height: 1.48;
}

.cv-actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.cv-orbit {
  position: absolute;
  inset: auto 5vw 16px auto;
  width: min(360px, 42vw);
  aspect-ratio: 1;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 50%;
  animation: cv-orbit-spin 18s linear infinite;
}

.cv-orbit span {
  position: absolute;
  width: 22px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--blue);
}

.cv-orbit span:nth-child(1) {
  top: -11px;
  left: 50%;
}

.cv-orbit span:nth-child(2) {
  right: 16%;
  bottom: 11%;
  background: #f5c542;
}

.cv-orbit span:nth-child(3) {
  left: 10%;
  bottom: 28%;
  background: #24a148;
}

@keyframes cv-orbit-spin {
  to {
    transform: rotate(360deg);
  }
}

.cv-layout {
  width: min(1180px, calc(100% - 36px));
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 18px;
  margin: 18px auto 80px;
}

.cv-sidebar,
.cv-section,
.contact-form-shell {
  background: var(--white);
}

.cv-sidebar {
  position: sticky;
  top: 62px;
  align-self: start;
  display: grid;
  gap: 24px;
  padding: 22px;
}

.cv-sidebar h2,
.cv-section h2 {
  margin: 0 0 14px;
  font-size: 1.18rem;
}

.cv-sidebar a {
  display: block;
  margin-top: 8px;
  padding: 10px 12px;
  border-radius: 8px;
  background: #f5f5f7;
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 760;
  text-decoration: none;
}

.cv-chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.cv-chip-group span,
.cv-plain-list li {
  padding: 8px 10px;
  border-radius: 999px;
  background: #efe8ff;
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 760;
}

.cv-plain-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cv-main {
  display: grid;
  gap: 18px;
}

.cv-section {
  padding: clamp(22px, 4vw, 36px);
}

.cv-reveal {
  opacity: 0;
  transform: translateY(22px);
  animation: cv-reveal 700ms ease forwards;
}

.cv-reveal:nth-child(2) {
  animation-delay: 120ms;
}

.cv-reveal:nth-child(3) {
  animation-delay: 220ms;
}

.cv-reveal:nth-child(4) {
  animation-delay: 320ms;
}

@keyframes cv-reveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cv-timeline {
  display: grid;
  gap: 20px;
}

.cv-item {
  position: relative;
  padding-left: 34px;
}

.cv-item.compact {
  padding-left: 0;
}

.cv-dot {
  position: absolute;
  top: 4px;
  left: 0;
  width: 18px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--ink);
  box-shadow: 0 0 0 8px #f5f5f7;
  animation: cv-pulse 2.2s ease-in-out infinite;
}

@keyframes cv-pulse {
  50% {
    transform: scale(0.82);
    opacity: 0.72;
  }
}

.cv-item h3 {
  margin: 0;
  font-size: 1.05rem;
}

.cv-item h3 a {
  color: var(--ink);
}

.cv-item p {
  margin: 4px 0 10px;
  color: var(--muted);
}

.cv-item ul {
  margin: 0;
  padding-left: 18px;
  color: var(--ink);
  line-height: 1.5;
}

.cv-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.cv-reference-card {
  min-height: 170px;
  display: grid;
  align-content: end;
  gap: 8px;
  padding: 18px;
  background: #f5f5f7;
  color: var(--ink);
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease;
}

.cv-reference-card:hover {
  transform: translateY(-4px);
  background: #eaf2ff;
}

.cv-reference-card span,
.cv-reference-card p {
  color: var(--muted);
}

.cv-reference-card strong {
  font-size: 1.05rem;
}

.cv-reference-card p {
  margin: 0;
}

.contact-shell {
  display: grid;
  grid-template-columns: minmax(320px, 0.82fr) minmax(360px, 1.18fr);
  gap: 18px;
  width: min(1180px, calc(100% - 36px));
  margin: 18px auto 80px;
  align-items: start;
}

.contact-form-shell {
  padding: clamp(20px, 4vw, 34px);
  border-radius: 8px;
  background: var(--white);
}

.contact-panel-heading {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}

.contact-panel-heading h2 {
  margin: 0;
  font-size: clamp(1.55rem, 3vw, 2.6rem);
  line-height: 1;
}

.contact-panel-heading p:not(.eyebrow) {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.contact-form {
  display: grid;
  gap: 14px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 760;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  background: #fbfbfd;
  color: var(--ink);
  font: inherit;
}

.contact-form textarea {
  padding-top: 12px;
  resize: vertical;
}

.contact-status {
  min-height: 20px;
  margin: 0;
  color: var(--muted);
  font-weight: 760;
}

.calendly-shell {
  min-height: 860px;
}

.calendly-widget {
  min-height: 760px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfbfd;
}

.calendly-widget iframe {
  min-height: 760px !important;
  border-radius: 8px;
}

.calendly-fallback {
  display: grid;
  min-height: 760px;
  place-content: center;
  gap: 8px;
  padding: 28px;
  text-align: center;
}

.calendly-fallback[hidden] {
  display: none;
}

.calendly-fallback strong {
  color: var(--ink);
  font-size: 1.2rem;
}

.calendly-fallback span {
  max-width: 360px;
  color: var(--muted);
  line-height: 1.5;
}

.blog-page {
  min-height: 100vh;
  padding-top: 58px;
  background:
    #f5f5f7;
}

.blog-hero {
  padding: clamp(86px, 12vw, 148px) clamp(20px, 6vw, 72px) clamp(34px, 6vw, 70px);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(251, 251, 253, 0.72)),
    #fbfbfd;
}

.blog-hero h1 {
  max-width: 980px;
  margin: 0 0 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4rem, 11vw, 9.5rem);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 0.86;
}

.blog-hero p:not(.eyebrow) {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.12rem, 2.2vw, 1.55rem);
  line-height: 1.45;
}

.blog-topbar {
  width: min(1120px, calc(100% - 36px));
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.36fr);
  gap: 18px;
  align-items: end;
  margin: 18px auto;
  padding: 18px 0 8px;
}

.blog-title-block h1 {
  max-width: 720px;
  margin: 0 0 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.3rem, 5vw, 5rem);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 0.92;
}

.blog-title-block p:not(.eyebrow) {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.5;
}

.blog-posts-shell {
  width: min(1120px, calc(100% - 36px));
  margin: 18px auto 90px;
}

.newsletter-band {
  width: min(1120px, calc(100% - 36px));
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.45fr);
  gap: 18px;
  align-items: center;
  margin: 18px auto;
  padding: clamp(18px, 3vw, 30px);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.newsletter-band h2 {
  margin: 0 0 6px;
  font-size: clamp(1.5rem, 3vw, 2.4rem);
}

.newsletter-band p {
  max-width: 640px;
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.newsletter-form,
.inline-newsletter {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
}

.newsletter-form input,
.inline-newsletter input {
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fbfbfd;
  color: var(--ink);
  font: inherit;
}

.newsletter-form span,
.inline-newsletter span {
  grid-column: 1 / -1;
  color: var(--blue);
  font-size: 0.84rem;
  font-weight: 760;
}

.compact-newsletter {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.compact-newsletter .eyebrow {
  grid-column: 1 / -1;
  margin: 0;
}

.blog-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.blog-filter-row button {
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 12px;
  background: #fff;
  color: var(--muted);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 780;
  cursor: pointer;
}

.blog-filter-row button.is-active {
  border-color: var(--blue);
  color: #fff;
  background: var(--blue);
}

.blog-post-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.blog-post-list.compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.blog-post-card {
  --category-accent: var(--blue);
  --category-soft: rgba(0, 113, 227, 0.12);
  display: grid;
  grid-template-columns: minmax(220px, 0.38fr) minmax(0, 1fr);
  gap: clamp(16px, 3vw, 32px);
  overflow: hidden;
  padding: clamp(22px, 4vw, 36px);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 8px;
  background:
    linear-gradient(135deg, var(--category-soft), rgba(255, 255, 255, 0.88) 46%),
    var(--white);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.07);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.blog-post-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 58px rgba(0, 0, 0, 0.1);
}

.blog-post-card.category-sports {
  --category-accent: #24a148;
  --category-soft: rgba(36, 161, 72, 0.14);
}

.blog-post-card.category-art {
  --category-accent: #bf4800;
  --category-soft: rgba(191, 72, 0, 0.14);
}

.blog-post-card.is-compact {
  grid-template-columns: 1fr;
  gap: 14px;
  padding: 16px;
}

.blog-illustration {
  min-height: 160px;
  border-radius: 8px;
}

.blog-illustration svg {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 160px;
}

.blog-post-body {
  display: grid;
  align-content: start;
  gap: 14px;
}

.blog-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 760;
}

.blog-post-card h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 5vw, 5.5rem);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 0.9;
}

.blog-post-card.is-compact h2 {
  font-size: clamp(1.6rem, 2.6vw, 2.4rem);
  line-height: 0.96;
}

.blog-full-post {
  grid-template-columns: minmax(260px, 0.38fr) minmax(0, 1fr);
}

.blog-full-post .mini-link {
  grid-column: 1 / -1;
  width: fit-content;
}

.blog-full-post h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 7vw, 7rem);
  letter-spacing: 0;
  line-height: 0.9;
}

.blog-read-more {
  width: fit-content;
  min-height: 38px;
  padding-inline: 14px;
  font-size: 0.88rem;
}

.blog-excerpt {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.5;
}

.blog-content {
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.72;
}

.blog-audio-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--muted);
  font-size: 0.88rem;
}

.blog-audio-row audio {
  width: min(320px, 100%);
  height: 40px;
}

.small-button {
  min-height: 38px;
  padding-inline: 14px;
  font-size: 0.88rem;
}

.audio-speed-control {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 760;
}

.audio-speed-control select {
  min-height: 36px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fbfbfd;
  color: var(--ink);
  font: inherit;
}

.blog-post-card .tag {
  margin-bottom: 0;
  color: var(--category-accent);
  background: color-mix(in srgb, var(--category-accent) 12%, white);
}

.travel-section {
  background: #fbfbfd;
}

.travel-layout {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(280px, 0.44fr) minmax(0, 1fr);
  gap: 14px;
}

.travel-videos,
.travel-map-panel {
  min-width: 0;
}

.video-card {
  overflow: hidden;
  margin-bottom: 14px;
  background: var(--white);
}

.video-card iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
}

.video-card div {
  padding: 18px;
}

.video-card span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 760;
  text-transform: uppercase;
}

.video-card h3 {
  margin: 6px 0 0;
  font-size: 1.2rem;
}

.travel-map-panel {
  overflow: hidden;
  min-height: 560px;
  background: var(--white);
}

.travel-map {
  min-height: 500px;
}

.travel-kpi-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}

.travel-kpi {
  min-width: 0;
  padding: 16px;
  background: #fff;
}

.travel-kpi span,
.travel-kpi em {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 760;
  text-transform: uppercase;
}

.travel-kpi strong {
  display: block;
  margin: 7px 0 3px;
  color: var(--ink);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  line-height: 1;
}

.travel-kpi small {
  color: var(--muted);
  font-size: 0.48em;
  font-weight: 760;
}

.services-page {
  min-height: 100vh;
  padding-top: 44px;
  color: var(--ink);
  background: #f5f5f7;
  --business: #0071e3;
  --business-soft: rgba(0, 113, 227, 0.12);
  --individual: #1f9d55;
  --individual-soft: rgba(31, 157, 85, 0.13);
}

.services-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
  min-height: calc(100vh - 44px);
  padding: clamp(72px, 9vw, 122px) clamp(20px, 6vw, 72px) clamp(44px, 6vw, 80px);
  background: linear-gradient(90deg, var(--business-soft), transparent 32%, var(--individual-soft)), #fbfbfd;
}

.services-hero-copy {
  max-width: 880px;
}

.services-hero h1 {
  max-width: 980px;
  margin: 0 0 24px;
  font-size: clamp(3rem, 7vw, 6.6rem);
  line-height: 0.94;
  letter-spacing: 0;
}

.services-hero p:not(.eyebrow) {
  max-width: 790px;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.55vw, 1.24rem);
  line-height: 1.55;
}

.services-hero strong,
.services-cta strong {
  color: var(--ink);
}

.services-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 28px;
}

.audience-cards {
  display: grid;
  gap: 14px;
}

.audience-card {
  display: grid;
  gap: 14px;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.08);
}

.audience-card span,
.audience-card h2,
.audience-card p {
  margin: 0;
}

.audience-card span {
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.audience-card h2 {
  font-size: clamp(1.7rem, 3vw, 3rem);
  line-height: 1;
}

.audience-card p {
  color: var(--muted);
  line-height: 1.55;
}

.audience-business {
  border-top: 5px solid var(--business);
  background: linear-gradient(135deg, var(--business-soft), rgba(255, 255, 255, 0) 54%), #fff;
}

.audience-business span {
  color: var(--business);
}

.audience-individual {
  border-top: 5px solid var(--individual);
  background: linear-gradient(135deg, var(--individual-soft), rgba(255, 255, 255, 0) 54%), #fff;
}

.audience-individual span {
  color: var(--individual);
}

.audience-button {
  width: fit-content;
  min-height: 40px;
  border: 0;
  color: #fff;
  background: var(--business);
}

.audience-individual .audience-button {
  background: var(--individual);
}

.services-switch-section,
.services-section,
.services-cta {
  width: min(1180px, calc(100% - 36px));
  margin: 18px auto;
  padding: clamp(26px, 4vw, 52px);
  border-radius: 8px;
  background: #fff;
}

.services-switch-heading {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}

.services-switch-heading h2,
.services-section h2,
.services-cta h2 {
  max-width: 880px;
  margin: 0;
  font-size: clamp(2rem, 4vw, 4.2rem);
  line-height: 1;
  letter-spacing: 0;
}

.audience-toggle {
  display: inline-flex;
  min-width: 292px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #f5f5f7;
}

.audience-toggle button {
  flex: 1;
  min-height: 36px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-weight: 850;
  cursor: pointer;
}

.audience-toggle button.is-active {
  color: #fff;
  background: var(--business);
}

.audience-toggle button[data-audience-toggle="individual"].is-active {
  background: var(--individual);
}

.audience-panel {
  display: none;
}

.audience-panel.is-active {
  display: grid;
  gap: 18px;
}

.services-row {
  display: grid;
  gap: 14px;
}

.services-row-heading {
  display: flex;
  gap: 16px;
  align-items: end;
  justify-content: space-between;
}

.services-row-heading h3 {
  margin: 0;
  font-size: clamp(1.35rem, 2.4vw, 2.35rem);
  line-height: 1;
}

.expand-card-row {
  display: flex;
  gap: 10px;
  min-height: 360px;
}

.expand-card {
  display: grid;
  grid-template-rows: auto 1fr;
  flex: 0.8;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  background: #fbfbfd;
  transition: flex 220ms ease, background 220ms ease, border-color 220ms ease;
}

.expand-card.is-open {
  flex: 2.8;
  border-color: rgba(0, 113, 227, 0.34);
  background: linear-gradient(180deg, var(--business-soft), rgba(255, 255, 255, 0) 52%), #fff;
}

.expand-card-row.is-individual .expand-card.is-open {
  border-color: rgba(31, 157, 85, 0.36);
  background: linear-gradient(180deg, var(--individual-soft), rgba(255, 255, 255, 0) 52%), #fff;
}

.expand-card button {
  display: grid;
  gap: 8px;
  width: 100%;
  min-height: 112px;
  border: 0;
  padding: 18px;
  background: transparent;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.expand-card button span {
  font-size: clamp(1.05rem, 1.7vw, 1.55rem);
  font-weight: 900;
  line-height: 1.05;
}

.expand-card button small {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 760;
  line-height: 1.25;
}

.expand-card-body {
  display: none;
  gap: 14px;
  align-content: start;
  padding: 0 18px 20px;
}

.expand-card.is-open .expand-card-body {
  display: grid;
}

.expand-card-body p,
.expand-card-body li,
.process-grid p,
.why-services p,
.services-cta p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.58;
}

.expand-card-body ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.expand-card-body li {
  position: relative;
  padding-left: 18px;
}

.expand-card-body li::before {
  position: absolute;
  top: 0.66em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--business);
  content: "";
}

.expand-card-row.is-individual .expand-card-body li::before {
  background: var(--individual);
}

.services-section-heading {
  display: grid;
  gap: 10px;
  margin-bottom: clamp(22px, 4vw, 36px);
}

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

.process-grid article {
  padding: 22px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  background: #fbfbfd;
}

.process-grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  aspect-ratio: 1;
  margin-bottom: 22px;
  border-radius: 50%;
  color: #fff;
  background: #1d1d1f;
  font-weight: 900;
}

.why-services {
  color: #fff;
  background: #1d1d1f;
}

.why-services h2,
.why-services .eyebrow,
.why-services p {
  color: #fff;
}

.why-services p {
  max-width: 860px;
  opacity: 0.78;
}

.services-cta {
  margin-bottom: 80px;
  background: linear-gradient(90deg, var(--business-soft), transparent 42%, var(--individual-soft)), #fff;
}

.services-cta p {
  max-width: 820px;
}

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

  .services-hero {
    min-height: auto;
  }

  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .services-switch-heading,
  .services-row-heading {
    align-items: start;
    flex-direction: column;
  }

  .expand-card-row {
    min-height: 0;
    flex-direction: column;
  }

  .expand-card,
  .expand-card.is-open {
    flex: 1;
  }

  .contact-shell {
    grid-template-columns: 1fr;
  }

  .site-header {
    justify-content: flex-start;
    gap: 12px;
  }

  .site-nav {
    position: fixed;
    top: 52px;
    left: 12px;
    right: 12px;
    display: grid;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .site-nav.is-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .site-nav a,
  .site-nav button,
  .site-nav summary {
    padding: 14px;
  }

  .nav-menu {
    display: grid;
  }

  .nav-menu summary {
    justify-content: space-between;
  }

  .nav-submenu {
    position: static;
    min-width: 0;
    display: grid;
    padding: 0 0 8px 12px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .nav-submenu a {
    min-height: 34px;
    padding: 0 14px;
  }

  .nav-menu:not([open]) .nav-submenu {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .language-switch {
    margin-left: auto;
    margin-right: 4px;
  }

  .feature-strip,
  .metric-grid,
  .home-movement-layout,
  .movement-dashboard-top,
  .reach-map-kpi-row,
  .store-hero,
  .commerce-grid,
  .store-flow,
  .travel-layout,
  .newsletter-band,
  .blog-topbar,
  .blog-post-list,
  .blog-post-list.compact,
  .blog-post-card,
  .blog-full-post,
  .blog-admin-layout,
  .admin-table-layout,
  .admin-grid,
  .calendar-top,
  .day-grid,
  .chronify-mission,
  .cv-layout,
  .cv-card-grid,
  .dashboard-grid,
  .movement-kpis,
  .reach-map-content,
  .creative-landing-grid,
  .detail-grid,
  .poem-feature,
  .content-shelves,
  .music-feature,
  .music-hero-final,
  .song-card,
  .private-hero,
  .private-grid,
  .store-grid,
  .creative-grid,
  .split,
  .about,
  .contact-band,
  .page-intro,
  .movement-controls {
    grid-template-columns: 1fr;
  }

  .section-heading.compact {
    margin-bottom: 0;
  }

  .blog-editor {
    position: static;
  }

  .project-row {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .home-movement-kpis {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .movement-controls {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .movement-kpis {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .sport-donut-wrap {
    grid-template-columns: 1fr;
    justify-items: center;
  }
}

@media (max-width: 640px) {
  .blog-topbar {
    width: calc(100% - 24px);
  }

  .blog-posts-shell {
    width: calc(100% - 24px);
  }

  .compact-newsletter {
    grid-template-columns: 1fr;
  }

  .services-hero {
    padding: 78px 16px 34px;
  }

  .services-hero h1 {
    font-size: clamp(2.7rem, 15vw, 4.2rem);
  }

  .services-section,
  .services-switch-section,
  .services-cta {
    width: calc(100% - 24px);
    padding: 24px;
  }

  .process-grid {
    grid-template-columns: 1fr;
  }

  .audience-toggle {
    width: 100%;
    min-width: 0;
  }

  .reach-map-kpi-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .travel-kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-shell {
    width: calc(100% - 24px);
  }

  .calendly-shell {
    min-height: 720px;
  }

  .calendly-widget,
  .calendly-fallback {
    min-height: 640px;
  }

  .site-header {
    min-height: 48px;
    padding: 0 12px;
  }

  .brand-mark {
    min-width: 68px;
    font-size: 0.8rem;
  }

  .language-switch select {
    min-height: 34px;
    padding: 0 38px 0 10px;
    background-position: calc(100% - 16px) 50%, calc(100% - 11px) 50%;
  }

  .hero {
    min-height: 88vh;
    padding-top: 118px;
  }

  .hero::after {
    background:
      linear-gradient(90deg, rgba(251, 250, 246, 0.98) 0%, rgba(251, 250, 246, 0.82) 100%),
      linear-gradient(0deg, rgba(251, 250, 246, 0.9) 0%, rgba(251, 250, 246, 0) 34%);
  }

  .blog-entry {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .blog-hero h1 {
    font-size: clamp(3.2rem, 18vw, 5.2rem);
  }

  .newsletter-form,
  .inline-newsletter,
  .admin-inline-fields,
  .permission-grid,
  .strava-status-grid,
  .blog-editor-kpis {
    grid-template-columns: 1fr;
  }

  .blog-post-card {
    padding: 18px;
  }

  .blog-post-card h2 {
    font-size: clamp(2rem, 12vw, 3.5rem);
  }

  .blog-audio-row,
  .blog-editor-actions,
  .strava-admin-actions,
  .admin-table-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button,
  .product button {
    width: 100%;
  }

  .inline-button {
    width: 100%;
  }

  .site-footer {
    display: grid;
  }

  .home-movement-kpis {
    grid-template-columns: 1fr;
  }

  .monthly-chart {
    gap: 5px;
  }

  .bar-label {
    font-size: 0.62rem;
  }

  .movement-controls {
    grid-template-columns: 1fr;
  }

  .movement-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .movement-kpi {
    min-height: 72px;
    padding: 10px;
  }

  .movement-kpi strong {
    font-size: 1.35rem;
  }

  .movement-kpi span {
    font-size: 0.62rem;
  }

  .movement-controls {
    padding: 14px;
  }

  .sport-donut {
    width: 150px;
  }

  .sport-donut::after {
    inset: 26px;
  }

  .pagination {
    flex-wrap: wrap;
  }

  .calendar-sport-kpis,
  .todo-form {
    grid-template-columns: 1fr;
  }

  .calendar-hero {
    padding-top: 68px;
  }

  .day-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .day-heading input {
    width: 100%;
  }

  .todo-item {
    grid-template-columns: auto minmax(0, 1fr) auto auto;
  }

  .todo-status {
    grid-column: 2 / -1;
    justify-self: start;
  }

  .todo-detail {
    grid-column: 1 / -1;
    grid-template-columns: 1fr;
  }

  .book-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .book-sheet {
    min-height: calc(100vh - 180px);
  }

  .frame-console {
    grid-template-columns: auto auto 1fr;
  }

  .frame-console span {
    grid-column: 1 / -1;
    text-align: left;
  }

  .mystery-photos,
  .timeline-slots {
    grid-template-columns: 1fr;
  }

  .chronify-heading,
  .chronify-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .cv-sidebar {
    position: static;
  }

  .cv-orbit {
    opacity: 0.24;
  }

  .analysis-card {
    padding: 20px;
  }

  .world-map-shell {
    min-height: 360px;
  }

  .auth-panel {
    margin-top: 76px;
  }

  .private-page {
    padding-inline: 14px;
  }

  .private-hero {
    align-items: start;
    margin-top: 76px;
  }

  .private-card {
    min-height: 180px;
  }
}
