/* Each brand has its own palette, rhythm and tools. */
:root {
  --glow: #ebe5ff;
  --highlight: #f0be80;
  --studio: #27275a;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}
body[data-site="academy"] {
  --paper: #f8f7fc;
  --accent: #5145ca;
  --dark: #282051;
  --soft: #efebff;
  --ink: #24223c;
  --line: #dfdce9;
  --muted: #625e78;
  --serif: "Gowun Batang", Georgia, serif;
}
body[data-site="health"] {
  --paper: #f6f8f2;
  --accent: #24634d;
  --dark: #183e33;
  --soft: #e7efdf;
  --ink: #233d31;
  --line: #d8e2d2;
  --muted: #5b7062;
  --glow: #dfeec3;
  --highlight: #e7aa78;
  --studio: #193e33;
}
html {
  scroll-padding-top: 110px;
}
body {
  background: var(--paper);
}
.site-header {
  background: color-mix(in srgb, var(--paper) 93%, transparent);
  box-shadow: 0 3px 22px #17222005;
}
.header-inner {
  height: 86px;
  gap: 24px;
}
.header-inner nav {
  gap: 24px;
  margin-right: 0;
}
.header-inner nav a {
  font-size: 14px;
  white-space: nowrap;
  position: relative;
}
.header-inner nav a[aria-current]::after {
  content: "";
  position: absolute;
  bottom: 4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
}
.brand b {
  font-family: var(--sans);
  font-weight: 600;
  letter-spacing: -0.05em;
}
.header-start {
  font-size: 14px;
  padding-inline: 18px;
}
.site-menu-toggle {
  display: none;
}
.hero {
  position: relative;
  padding-block: 90px 100px;
  gap: 64px;
  min-height: 710px;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0 -5%;
  background: radial-gradient(ellipse at 85% 25%, var(--glow), transparent 58%);
  pointer-events: none;
  z-index: -1;
}
.hero h1 {
  font-family: var(--sans);
  font-size: clamp(2.6rem, 3.7vw, 3.7rem);
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: -0.065em;
}
.hero h1 span:last-child {
  color: var(--accent);
}
.hero-copy > p {
  font-size: 17px;
  line-height: 1.95;
}
.hero .eyebrow {
  color: var(--accent);
}
.hero-visual {
  isolation: isolate;
}
.hero-visual > img {
  border-radius: 30px 30px 90px 30px;
  filter: drop-shadow(0 22px 30px #3333590b);
}
.hero-visual::before {
  content: "";
  position: absolute;
  inset: -20px 20px 30px -18px;
  border: 1px solid var(--line);
  border-radius: 50%;
  z-index: -1;
  animation: orbit-turn 40s linear infinite;
}
.hero-visual::after {
  content: "✳";
  position: absolute;
  right: -12px;
  top: 24px;
  display: grid;
  place-items: center;
  color: var(--accent);
  width: 82px;
  height: 82px;
  font-size: 58px;
  animation: orbit-turn 30s linear infinite;
}
.hero-note {
  border: 1px solid #ffffffb3;
  box-shadow: 0 18px 40px #27244215;
  animation: gentle-float 6s ease-in-out infinite;
}
.visual-caption {
  font-size: 19px;
}
.manifesto-strip {
  background: var(--studio);
  color: #fff;
  border: 0;
}
.manifesto-strip p {
  color: #f0eef8;
}
.manifesto-strip .wrap > span {
  color: #d1c9f4;
}
body[data-site="health"] .hero {
  min-height: 680px;
}
body[data-site="health"] .hero-visual > img {
  border-radius: 180px 180px 24px 24px;
}
body[data-site="health"] .hero-visual::after {
  color: #be7641;
  content: "☀";
}
body[data-site="health"] .manifesto-strip .wrap > span {
  color: #d6e8bc;
}
.button {
  transition:
    transform 0.2s var(--ease),
    box-shadow 0.2s,
    background 0.2s;
  border-radius: 12px;
  min-height: 48px;
}
.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px #20243b12;
}
.button:active {
  transform: translateY(0);
}
.button:disabled {
  transform: none;
  box-shadow: none;
}
.button.primary {
  background: var(--accent);
  border-color: var(--accent);
}
.experience-section {
  background: linear-gradient(150deg, var(--paper), var(--soft));
  position: relative;
  overflow: hidden;
}
.experience-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.experience-card {
  display: flex;
  flex-direction: column;
  min-height: 310px;
  background: #ffffffd9;
  border: 1px solid #ffffff;
  border-radius: 22px;
  padding: 28px;
  box-shadow: 0 12px 28px #27244205;
  transition:
    transform 0.25s var(--ease),
    box-shadow 0.25s,
    border-color 0.25s;
}
.experience-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 36px #27244212;
  border-color: var(--accent);
}
.experience-card h3 {
  font-size: 21px;
  letter-spacing: -0.04em;
  margin: 20px 0 12px;
}
.experience-card p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.9;
}
.feature-icon {
  display: grid;
  place-items: center;
  background: var(--soft);
  width: 58px;
  height: 58px;
  border-radius: 18px;
  font-size: 30px;
  color: var(--accent);
}
.card-action {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  margin-top: auto;
  padding-top: 24px;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
}
.journey-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 55px 20px 0;
  list-style: none;
  margin: 0;
}
.journey-flow li {
  position: relative;
  text-align: center;
  padding: 0 15px;
}
.journey-flow li::before {
  content: "";
  height: 1px;
  background: var(--line);
  position: absolute;
  top: 12px;
  left: 0;
  right: 0;
}
.journey-flow li:first-child::before {
  left: 50%;
}
.journey-flow li:last-child::before {
  right: 50%;
}
.flow-dot {
  display: block;
  position: relative;
  border: 6px solid var(--soft);
  background: var(--accent);
  width: 25px;
  height: 25px;
  border-radius: 50%;
  margin: 0 auto 20px;
  box-shadow: 0 0 0 1px var(--line);
}
.journey-flow h3 {
  font-size: 18px;
}
.journey-flow p {
  font-size: 14px;
  color: var(--muted);
  margin-top: 6px;
}
.section-more {
  text-align: center;
  margin-top: 40px;
}
.program-card {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: white;
  transition:
    transform 0.25s,
    box-shadow 0.25s;
}
.program-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 32px #22223b10;
}
.program-cover {
  transition: filter 0.25s;
}
.program-card:hover .program-cover {
  filter: saturate(1.2);
}
.cross-section {
  background: var(--soft);
}
.page-heading {
  padding: 54px 0 36px;
}
.page-heading h1 {
  font-family: var(--sans);
  font-weight: 750;
  line-height: 1.45;
  font-size: clamp(2rem, 3.2vw, 3rem);
}
.page-heading p {
  max-width: 720px;
  font-size: 17px;
}
.lesson {
  scroll-margin-top: 0;
}
.about-block {
  scroll-margin-top: 0;
}
.tool-page {
  padding-bottom: 100px;
}
.tool-fields {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}
.tool-fields:disabled {
  opacity: 0.65;
}
.tool-feedback {
  padding: 0;
  margin: 0 0 20px;
  color: var(--accent);
  font-size: 15px;
}
.tool-feedback:empty {
  display: none;
}
.tool-feedback.is-error {
  color: #a33830;
}
.studio-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}
.tool-card {
  min-width: 0;
  background: #fff;
  border: 1px solid var(--line);
  padding: 34px;
  border-radius: 22px;
}
.tool-card h2 {
  font-size: 25px;
  margin-bottom: 15px;
}
.tool-card > p {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.9;
}
.tool-card .eyebrow {
  margin-bottom: 14px;
}
.tool-card label,
.plan-toolbar label,
.day-plan label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  margin: 22px 0;
}
.tool-card :is(input, textarea, select),
.plan-toolbar :is(input, select),
.day-plan :is(input, select),
.activity-filters :is(input, select) {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 16px;
  line-height: 1.6;
  max-width: 100%;
}
.tool-card textarea {
  resize: vertical;
}
.tool-card .fineprint {
  font-size: 13px;
}
.tool-card .actions {
  gap: 10px;
  flex-wrap: wrap;
}
.tool-page > .gentle-note {
  margin-bottom: 25px;
}
.gentle-note a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.recommender {
  background: linear-gradient(150deg, #fff, var(--soft));
  min-height: 550px;
}
.recommend-result:empty {
  display: none;
}
.recommend-result {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.recommend-result h3 {
  font-size: 21px;
}
.recommend-result p {
  margin: 14px 0;
  color: var(--muted);
}
.recommend-steps {
  padding-left: 22px;
  margin: 20px 0;
  font-size: 14px;
}
.recommend-steps li {
  padding-bottom: 10px;
}
.recommend-result.is-ready {
  animation: card-enter 0.35s var(--ease);
}
.timer-card {
  grid-row: span 2;
  background: var(--studio);
  color: #fff;
  border: 0;
}
.timer-card :is(p, .eyebrow, label) {
  color: #ddddeb;
}
.timer-card select {
  background: #ffffff12;
  color: #fff;
  border-color: #ffffff30;
}
.timer-card option {
  background: var(--studio);
  color: #fff;
}
.timer-visual {
  position: relative;
  width: 260px;
  height: 260px;
  margin: 30px auto;
  display: grid;
  place-items: center;
}
.timer-visual > div {
  position: absolute;
  display: grid;
  text-align: center;
  gap: 6px;
}
.timer-visual strong {
  font-family: var(--sans);
  font-size: 52px;
  font-weight: 500;
  letter-spacing: -0.05em;
  font-variant-numeric: tabular-nums;
}
.timer-visual span {
  font-size: 13px;
  color: #e1dfed;
}
.timer-ring {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
  fill: none;
  stroke: #ffffff16;
  stroke-width: 3;
}
.timer-ring circle + circle {
  stroke: var(--highlight);
  stroke-linecap: round;
  stroke-dasharray: 100;
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 0.2s linear;
}
.timer-instruction {
  min-height: 85px;
  text-align: center;
}
.timer-controls {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0;
}
.timer-card .button.primary {
  background: #f4dfae;
  color: #302b25;
  border-color: #f4dfae;
}
.timer-card .button.outline {
  background: transparent;
  color: #fff;
  border-color: #ffffff50;
}
.timer-result {
  padding-top: 25px;
  margin-top: 25px;
  border-top: 1px solid #ffffff30;
}
.timer-result h3 {
  font-size: 21px;
}
.timer-result p {
  margin: 15px 0;
}
.timer-card .fineprint {
  font-size: 12px;
  opacity: 0.8;
}
.timer-card label {
  margin-top: 24px;
}
.quiz-progress {
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--accent);
  margin: 20px 0;
}
.quiz-answers {
  display: grid;
  gap: 10px;
  margin: 22px 0;
}
.quiz-answer {
  text-align: left;
  min-height: 52px;
  padding: 14px 18px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  font-size: 15px;
}
.quiz-answer:hover:not(:disabled) {
  border-color: var(--accent);
}
.quiz-answer.correct {
  background: #e8f2df;
  border-color: #7e9b64;
  color: #274524;
  opacity: 1;
}
.quiz-answer:disabled {
  cursor: default;
  opacity: 0.6;
}
.tool-card .gentle-note {
  font-size: 15px;
  margin: 20px 0;
}
.studio-path {
  background: var(--soft);
}
.studio-path .text-link {
  margin-top: 24px;
}
.path-orbit {
  height: 210px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  position: relative;
}
.path-orbit::before {
  content: "";
  position: absolute;
  width: 250px;
  height: 145px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  opacity: 0.35;
  transform: rotate(-15deg);
}
.path-orbit b {
  position: relative;
  z-index: 1;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  width: 100px;
  height: 100px;
  display: grid;
  place-content: center;
  text-align: center;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.4;
}
.path-orbit span {
  font-size: 14px;
  position: relative;
  z-index: 1;
  background: var(--soft);
  padding: 8px;
}
.breathing-card {
  text-align: center;
}
.breathing-card small {
  display: block;
  margin-top: 20px;
  color: var(--muted);
  font-size: 12px;
}
.breathing-card .button {
  margin-top: 25px;
}
.breathing-orb {
  height: 220px;
  position: relative;
  display: grid;
  place-items: center;
  isolation: isolate;
}
.breathing-orb i {
  position: absolute;
  width: 150px;
  height: 150px;
  border-radius: 48%;
  background: linear-gradient(120deg, #d9e9ba, #85bfa3);
  opacity: 0.45;
  animation: breathe-orbit 12s ease-in-out infinite;
}
.breathing-orb i:nth-child(2) {
  animation-delay: -4s;
  transform: rotate(60deg);
  background: linear-gradient(120deg, #e6bd85, #d4e6c6);
}
.breathing-orb i:nth-child(3) {
  animation-delay: -8s;
  width: 100px;
  height: 100px;
  background: #fafdf0;
}
.plan-toolbar {
  display: flex;
  align-items: end;
  gap: 20px;
  margin-bottom: 30px;
}
.plan-toolbar label {
  flex: 1;
  max-width: 280px;
  margin: 0;
}
.week-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 12px;
}
.day-plan {
  min-width: 0;
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
}
.day-label {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--soft);
  color: var(--accent);
  font-size: 17px;
  font-weight: 700;
}
.day-plan label {
  font-size: 12px;
  margin: 20px 0 0;
}
.day-plan select {
  padding-inline: 7px;
  font-size: 16px;
}
.day-plan input {
  padding: 8px;
}
.week-grid + .actions {
  margin: 25px 0;
  gap: 12px;
  flex-wrap: wrap;
}
.plan-overview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 35px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 35px;
  margin: 45px 0;
  background: var(--soft);
}
.plan-overview h2 {
  font-size: 25px;
  margin-bottom: 15px;
}
.plan-overview p {
  color: var(--muted);
}
.plan-chart {
  display: flex;
  height: 190px;
  gap: 14px;
  align-items: end;
  padding-top: 12px;
}
.plan-column {
  flex: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: end;
  gap: 12px;
  align-items: center;
}
.plan-bar {
  width: 100%;
  max-width: 38px;
  background: var(--accent);
  border-radius: 8px 8px 3px 3px;
  min-height: 12px;
  transition: height 0.35s;
}
.plan-bar.is-rest {
  background: var(--highlight);
}
.plan-column > span {
  font-size: 11px;
  white-space: nowrap;
}
.backup-tools details {
  margin-top: 25px;
}
.backup-tools p {
  margin-bottom: 20px;
}
.project-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 35px;
  align-items: start;
}
.project-editor label:first-of-type {
  margin-bottom: 32px;
}
.project-preview {
  position: sticky;
  top: 115px;
  padding: 44px;
  background: linear-gradient(135deg, #fffefb, #f4efe4);
  border: 1px solid #e4ded1;
  box-shadow:
    14px 14px 0 var(--soft),
    0 20px 40px #27244208;
  min-height: 700px;
}
.project-preview h2 {
  font-family: var(--serif);
  font-size: 30px;
  word-break: break-word;
  border-bottom: 1px solid #ded7c8;
  padding-bottom: 25px;
  margin-bottom: 30px;
}
.project-preview h3 {
  font-size: 15px;
  color: var(--accent);
  margin: 25px 0 10px;
}
.project-preview p {
  font-size: 15px;
  overflow-wrap: anywhere;
}
.project-preview .eyebrow {
  font-size: 11px;
}
.gathering-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.gathering-card {
  display: flex;
  flex-direction: column;
  background: linear-gradient(145deg, #fff, var(--soft));
}
.gathering-card h2 {
  font-size: 24px;
}
.gathering-card ol {
  font-size: 14px;
  line-height: 2.2;
  padding-left: 22px;
  margin: 24px 0 30px;
}
.gathering-card .button {
  margin-top: auto;
}
.invitation-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
  margin-top: 60px;
  scroll-margin-top: 0;
}
.invitation-preview {
  background: var(--studio);
  color: #fff;
  padding: 42px;
  border-radius: 100px 20px 20px 20px;
  position: sticky;
  top: 115px;
  min-height: 600px;
}
.invitation-preview .eyebrow {
  color: #ccc9e4;
  text-align: right;
}
.invite-symbol {
  font-size: 80px;
  color: var(--highlight);
  line-height: 1.5;
}
.invitation-preview pre {
  font: inherit;
  font-size: 18px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  line-height: 2;
}
.invitation-preview > p {
  font-family: var(--serif);
  font-size: 20px;
  margin-top: 35px;
  color: #e4dfd2;
}
.activity-filters {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 20px;
  padding: 25px;
  background: var(--soft);
  border-radius: 18px;
  margin-bottom: 25px;
}
.activity-filters label {
  font-size: 14px;
  display: grid;
  gap: 10px;
}
.activity-grid-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin: 28px 0 50px;
}
.activity-card {
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  transition:
    transform 0.25s,
    box-shadow 0.25s;
}
.activity-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 36px #20332912;
}
.activity-art {
  height: 230px;
  background: linear-gradient(145deg, #dae4bd, #b6d8bd);
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
}
.activity-art > span {
  font-family: Georgia, serif;
  font-size: 140px;
  z-index: 1;
  color: #2f6447;
  line-height: 1;
}
.activity-art i {
  position: absolute;
  width: 200px;
  height: 200px;
  border: 30px solid #ffffff50;
  border-radius: 50%;
  right: -50px;
  top: -40px;
}
.activity-art > b {
  position: absolute;
  bottom: 16px;
  left: 22px;
  font-size: 12px;
  letter-spacing: 0.15em;
  color: #2f5339;
}
.activity-cycle,
.activity-dance,
.activity-family-play {
  background: linear-gradient(145deg, #f4d6af, #d8aa92);
}
.activity-chair,
.activity-stretch {
  background: linear-gradient(145deg, #dddcc9, #c5d7dd);
}
.activity-copy {
  padding: 28px;
}
.activity-copy h2 {
  font-size: 24px;
  margin: 12px 0;
}
.activity-copy p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.9;
}
.audience-tag {
  display: inline-block;
  border: 1px solid var(--line);
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 12px;
  color: var(--muted);
  margin-top: 20px;
}
.activity-detail {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 32px;
  padding-bottom: 90px;
  align-items: start;
}
.activity-detail .tool-card {
  margin-bottom: 25px;
}
.activity-detail .sticky-note {
  position: sticky;
  top: 110px;
}
.activity-detail aside {
  height: 100%;
}
.sticky-note .button {
  margin-top: 28px;
}
.sticky-note .text-link {
  display: flex;
  margin-top: 18px;
}
.source-link {
  display: block;
  font-size: 13px;
  text-decoration: underline;
  margin-top: 30px;
}
.activity-steps {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 25px;
  margin-top: 25px;
}
.activity-steps li {
  display: flex;
  gap: 18px;
  align-items: start;
  border-bottom: 1px solid var(--line);
  padding-bottom: 25px;
}
.activity-steps li:last-child {
  border: 0;
  padding-bottom: 0;
}
.step-num {
  font-size: 14px;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--soft);
  color: var(--accent);
}
.activity-steps p {
  color: var(--muted);
  font-size: 16px;
}
.site-footer #motion-toggle {
  background: none;
  border: 1px solid var(--line);
  color: inherit;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 13px;
  min-height: 44px;
}
.reveal.in-view {
  animation: card-enter 0.55s var(--ease) both;
}
.tool-page :is(h2, h3) {
  word-break: keep-all;
}
.activity-grid-cards .eyebrow {
  font-size: 11px;
}
.site-footer .footer-bottom {
  flex-wrap: wrap;
}
@keyframes orbit-turn {
  to {
    transform: rotate(360deg);
  }
}
@keyframes gentle-float {
  0%,
  100% {
    transform: translateY(0) rotate(-3deg);
  }
  50% {
    transform: translateY(-10px) rotate(-2deg);
  }
}
@keyframes breathe-orbit {
  0%,
  100% {
    transform: scale(0.85) rotate(0);
  }
  50% {
    transform: scale(1.2) rotate(90deg);
  }
}
@keyframes card-enter {
  from {
    opacity: 0.25;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (min-width: 901px) {
  @view-transition {
    navigation: auto;
  }
}
@media (max-width: 1200px) {
  .header-inner {
    gap: 18px;
  }
  .header-inner nav {
    gap: 16px;
  }
  .header-start {
    display: none;
  }
  .experience-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero {
    gap: 40px;
  }
  .week-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .gathering-grid {
    gap: 16px;
  }
  .gathering-card {
    padding: 24px;
  }
}
@media (max-width: 900px) {
  html {
    scroll-padding-top: 95px;
  }
  .header-inner {
    height: 76px;
  }
  .brand {
    font-size: 22px;
  }
  .brand b {
    font-size: 22px;
  }
  .site-menu-toggle {
    display: block;
    margin-left: auto;
    border: 1px solid var(--line);
    background: white;
    color: var(--ink);
    padding: 10px 16px;
    border-radius: 10px;
    min-height: 44px;
    font-size: 14px;
  }
  .header-inner nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin: 0;
    padding: 16px 24px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 25px #2033290d;
    max-height: calc(100dvh - 76px);
    overflow: auto;
  }
  .header-inner nav.is-open {
    display: flex;
    flex-direction: column;
    gap: 4px;
  }
  .header-inner nav a {
    padding: 10px 14px;
    min-height: 48px;
    font-size: 16px;
  }
  .header-inner nav a[aria-current] {
    background: var(--soft);
    border-radius: 8px;
  }
  .header-inner nav a[aria-current]::after {
    display: none;
  }
  .hero,
  .hero[data-site="health"] {
    min-height: 0;
    padding-block: 65px;
  }
  .hero h1 {
    font-size: clamp(2.3rem, 4vw, 3rem);
  }
  .hero-visual::after {
    width: 55px;
    height: 55px;
    font-size: 42px;
  }
  .hero-visual::before {
    inset: 0;
  }
  .studio-grid {
    gap: 20px;
  }
  .tool-card {
    padding: 26px;
  }
  .timer-visual {
    width: 220px;
    height: 220px;
  }
  .gathering-grid {
    grid-template-columns: 1fr;
  }
  .gathering-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 25px;
  }
  .gathering-card .eyebrow,
  .gathering-card h2,
  .gathering-card p {
    grid-column: 1;
  }
  .gathering-card ol {
    grid-column: 2;
    grid-row: 1/4;
    margin: 0;
  }
  .gathering-card .button {
    margin-top: 20px;
    grid-column: 1/3;
  }
  .activity-grid-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .project-preview {
    padding: 30px;
    top: 96px;
  }
  .invitation-preview {
    padding: 32px;
    top: 96px;
  }
  .activity-detail {
    grid-template-columns: 1fr;
  }
  .activity-detail aside {
    height: auto;
  }
  .activity-detail .sticky-note {
    position: static;
  }
  .plan-chart {
    gap: 8px;
  }
}
@media (max-width: 600px) {
  html {
    scroll-padding-top: 96px;
  }
  .header-inner {
    height: 74px;
    flex-wrap: nowrap;
    padding-block: 0;
    gap: 15px;
  }
  .brand,
  .brand b {
    font-size: 21px;
  }
  .brand svg {
    width: 32px;
    height: 32px;
  }
  .site-menu-toggle {
    margin-left: auto;
  }
  .hero {
    grid-template-columns: 1fr;
    padding-block: 46px 70px;
    gap: 45px;
  }
  .hero h1 {
    font-size: clamp(2.1rem, 7.7vw, 2.8rem);
  }
  .hero-copy > p {
    font-size: 16px;
    margin-top: 22px;
  }
  .hero .actions {
    flex-wrap: wrap;
  }
  .hero .hero-footnote {
    font-size: 12px;
  }
  .hero-visual {
    max-width: 420px;
    width: 100%;
    margin: 0 auto;
  }
  .hero-visual > img {
    border-radius: 25px 25px 65px 25px;
  }
  .hero-note {
    width: calc(100% - 12px);
    left: 0;
    bottom: -14px;
    padding: 17px;
  }
  .visual-caption {
    font-size: 15px;
  }
  .manifesto-strip p {
    font-size: 16px;
  }
  .manifesto-strip .wrap > span:first-child {
    display: none;
  }
  .manifesto-strip .wrap {
    padding-block: 17px;
  }
  .experience-section {
    padding-block: 65px;
  }
  .experience-grid {
    gap: 14px;
  }
  .experience-card {
    padding: 20px;
    min-height: 270px;
    border-radius: 18px;
  }
  .experience-card h3 {
    font-size: 19px;
    margin-top: 18px;
  }
  .experience-card p {
    font-size: 14px;
  }
  .experience-card .feature-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    font-size: 25px;
  }
  .card-action {
    font-size: 12px;
    gap: 4px;
    padding-top: 20px;
  }
  .journey-flow {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 28px;
    padding: 35px 0 0;
  }
  .journey-flow li:nth-child(2)::before {
    right: 50%;
  }
  .journey-flow li:nth-child(3)::before {
    left: 50%;
  }
  .journey-flow h3 {
    font-size: 16px;
  }
  .journey-flow p {
    font-size: 12px;
  }
  .flow-dot {
    margin-bottom: 10px;
  }
  .page-heading {
    padding: 38px 0 28px;
  }
  .page-heading h1 {
    font-size: 2rem;
  }
  .page-heading p {
    font-size: 16px;
  }
  .tool-page {
    padding-bottom: 65px;
  }
  .studio-grid {
    grid-template-columns: 1fr;
  }
  .timer-card {
    grid-row: auto;
  }
  .tool-card {
    padding: 25px 22px;
    border-radius: 18px;
  }
  .tool-card h2 {
    font-size: 23px;
  }
  .tool-card .eyebrow {
    font-size: 11px;
  }
  .tool-card label {
    font-size: 14px;
  }
  .recommender {
    min-height: 0;
  }
  .timer-visual {
    width: 235px;
    height: 235px;
  }
  .timer-instruction {
    min-height: 0;
  }
  .timer-controls .button {
    padding: 12px 17px;
    font-size: 14px;
  }
  .plan-toolbar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }
  .plan-toolbar .button {
    grid-column: 1/3;
  }
  .week-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .day-plan:last-child {
    grid-column: 1/3;
  }
  .day-plan {
    padding: 16px;
  }
  .day-plan select {
    font-size: 16px;
  }
  .day-plan label {
    font-size: 13px;
  }
  .plan-overview {
    grid-template-columns: 1fr;
    padding: 25px;
    gap: 25px;
  }
  .plan-chart {
    height: 170px;
    gap: 8px;
  }
  .plan-column > span {
    font-size: 10px;
  }
  .project-layout,
  .invitation-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .project-preview {
    position: static;
    min-height: 500px;
    padding: 30px 24px;
    box-shadow: 8px 8px 0 var(--soft);
  }
  .project-preview h2 {
    font-size: 27px;
  }
  .project-editor .actions .button {
    flex: 1;
    white-space: nowrap;
    padding-inline: 12px;
    font-size: 14px;
  }
  .gathering-card {
    display: flex;
  }
  .gathering-card ol {
    margin: 20px 0;
  }
  .gathering-card .button {
    margin-top: auto;
  }
  .invitation-layout {
    margin-top: 35px;
  }
  .invitation-preview {
    position: static;
    min-height: 500px;
    border-radius: 70px 20px 20px 20px;
    padding: 32px 25px;
  }
  .invitation-preview pre {
    font-size: 16px;
  }
  .activity-filters {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    padding: 20px;
  }
  .activity-filters > label:first-child {
    grid-column: 1/3;
  }
  .activity-grid-cards {
    gap: 20px;
    grid-template-columns: 1fr;
  }
  .activity-art {
    height: 200px;
  }
  .activity-copy {
    padding: 24px;
  }
  .activity-copy h2 {
    font-size: 24px;
  }
  .activity-copy p {
    font-size: 16px;
  }
  .activity-detail {
    padding-bottom: 60px;
    gap: 10px;
  }
  .activity-steps li {
    gap: 12px;
  }
  .activity-steps p {
    font-size: 15px;
  }
  .studio-path .path-orbit {
    height: 180px;
  }
  .footer-bottom {
    gap: 14px;
  }
  .section-more {
    margin-top: 28px;
  }
}
@media (max-width: 360px) {
  .experience-grid {
    grid-template-columns: 1fr;
  }
  .experience-card {
    min-height: 240px;
  }
  .tool-card {
    padding: 22px 18px;
  }
  .timer-visual {
    width: 210px;
    height: 210px;
  }
  .brand,
  .brand b {
    font-size: 19px;
  }
  .header-inner {
    gap: 10px;
  }
  .site-menu-toggle {
    padding-inline: 12px;
  }
  .plan-overview {
    padding: 20px;
  }
  .plan-chart {
    gap: 5px;
  }
}
html[data-motion="off"] {
  scroll-behavior: auto;
}
html[data-motion="off"] *,
html[data-motion="off"] *::before,
html[data-motion="off"] *::after {
  animation: none !important;
  transition: none !important;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
@media print {
  .site-header,
  .site-footer,
  .site-menu-toggle,
  .tool-feedback,
  .project-editor,
  .tool-page > .tool-fields > .actions,
  .backup-tools {
    display: none !important;
  }
  .project-layout {
    display: block;
  }
  .project-preview {
    position: static;
    box-shadow: none;
    border: 0;
    padding: 0;
    min-height: 0;
  }
  .project-preview p {
    font-size: 11pt;
  }
  .project-preview h2 {
    font-size: 24pt;
  }
  .project-preview section {
    break-inside: avoid;
  }
  .tool-page {
    padding: 0;
  }
  .experience-heading {
    padding: 10px 0;
  }
  .experience-heading p {
    font-size: 11pt;
  }
  .week-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .timer-card {
    color: black;
    background: white;
  }
}

.activity-scene {
  width: 100%;
  height: auto;
  border-radius: 22px;
  margin-bottom: 25px;
}
.record-trend {
  background: var(--soft);
  padding: 25px;
  border-radius: 16px;
  margin: 25px 0;
}
.record-trend h3 {
  font-size: 19px;
}
.record-bars {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 10px;
  margin-top: 25px;
  align-items: end;
}
.record-bars > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: end;
  height: 160px;
  gap: 8px;
}
.record-bars i {
  width: 70%;
  max-width: 36px;
  background: var(--accent);
  border-radius: 6px 6px 2px 2px;
  transition: height 0.4s;
}
.record-bars strong,
.record-bars span {
  font-size: 11px;
  font-weight: 400;
}
.record-trend .fineprint {
  font-size: 12px;
}
.hero::before {
  inset: 0;
}
.hero-visual::before {
  animation: none;
}
.plan-toolbar label,
.plan-toolbar input,
.plan-overview > *,
.plan-column {
  min-width: 0;
}
.plan-column > span {
  white-space: normal;
  text-align: center;
  line-height: 1.5;
}
@media (max-width: 600px) {
  .plan-toolbar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .plan-overview {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Keep frequently used timer controls stationary under the pointer. */
.timer-controls .button:hover {
  transform: none;
}
