/* =====================================================================
   ClinicOS — Chapter 06「未來」

   Page-scoped under .fu, plus the Website V2 navigation scoped to

/* ---------------------------------------------------------------------
   Type
   --------------------------------------------------------------------- */
.fu .fu-h1 {
  font-family: var(--ff-display);
  font-weight: 400;
  font-size: clamp(3rem, 1.8rem + 5.4vw, 6.5rem);
  line-height: 1.16;
  letter-spacing: 0.16em;
  color: var(--fu-ink);
}
.fu .fu-h2 {
  font-family: var(--ff-display);
  font-weight: 400;
  font-size: clamp(1.875rem, 1.35rem + 2.35vw, 3rem);
  line-height: 1.4;
  color: var(--fu-ink);
  text-wrap: balance;
}
.fu .fu-lead {
  font-size: clamp(1.0625rem, 0.98rem + 0.42vw, 1.1875rem);
  line-height: 1.95;
  color: var(--fu-ink-soft);
  text-wrap: pretty;
}
.fu .fu-body {
  font-size: clamp(0.9375rem, 0.9rem + 0.24vw, 1.0625rem);
  line-height: 1.9;
  color: var(--fu-body);
  text-wrap: pretty;
}
.fu .eyebrow { color: var(--fu-mute); }

/* ---------------------------------------------------------------------
   Navigation — Website V2 (fourth copy; see file header)
   --------------------------------------------------------------------- */

/* ---------------------------------------------------------------------
   Hero — words left, the devices filling the right of the screen
   --------------------------------------------------------------------- */
.fu-hero {
  padding-top: calc(var(--header-h) + clamp(2rem, 1.2rem + 3.2vw, 4rem));
  padding-bottom: clamp(3rem, 2rem + 4vw, 6rem);
}
.fu-hero__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--grid-gap);
  row-gap: clamp(2rem, 1.4rem + 3vw, 3.5rem);
  align-items: center;
}
.fu-hero__copy { grid-column: 1 / -1; }
.fu-hero__figure { grid-column: 1 / -1; }
.fu-hero__title { margin-top: clamp(1rem, 0.8rem + 1vw, 1.75rem); }
.fu-hero__claim {
  margin-top: clamp(1.25rem, 1rem + 1.4vw, 2rem);
  font-family: var(--ff-display);
  font-weight: 500;
  font-size: clamp(1.375rem, 1.1rem + 1.4vw, 2rem);
  line-height: 1.5;
  color: var(--fu-ink);
}
.fu-hero__rule {
  width: clamp(72px, 8vw, 120px);
  height: 1px;
  background: var(--fu-line);
  margin: clamp(1.5rem, 1.1rem + 1.6vw, 2.5rem) 0;
}
.fu-hero__lead { max-width: 17em; }
@media (min-width: 1000px) {
  .fu-hero__copy { grid-column: 1 / 6; }
  .fu-hero__figure { grid-column: 6 / 13; margin-right: calc(var(--grid-gutter) * -1); }
}

/* ---------------------------------------------------------------------
   三張 Feature Card — equal height, equal spacing, one row on desktop
   --------------------------------------------------------------------- */
.fu-cards { padding-block: clamp(2rem, 1.4rem + 2.4vw, 3.5rem) clamp(4rem, 2.6rem + 5vw, 7rem); }
.fu-cards__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.25rem, 0.9rem + 1.6vw, 2rem);
  align-items: stretch;
}
@media (min-width: 900px) { .fu-cards__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.fu-card {
  display: flex;
  flex-direction: column;
  padding: clamp(1.5rem, 1.1rem + 1.8vw, 2.5rem);
  border-radius: 10px;
  background: var(--c-paper-raised);
  box-shadow: inset 0 0 0 1px var(--fu-line-soft), 0 18px 44px -34px rgba(26, 59, 50, 0.28);
}
.fu-card__mark {
  width: clamp(48px, 4vw, 60px);
  height: clamp(48px, 4vw, 60px);
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--fu-ink);
  color: #F7F5F2;
}
.fu-card__mark svg { width: 55%; height: 55%; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.fu-card__head { display: flex; align-items: center; gap: clamp(0.875rem, 0.7rem + 0.8vw, 1.25rem); }
.fu-card__name {
  font-family: var(--ff-display);
  font-weight: 500;
  font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2rem);
  line-height: 1.25;
  color: var(--fu-ink);
}
.fu-card__role { margin-top: 0.25rem; font-size: var(--fs-small, 0.9375rem); color: var(--fu-mute); }
.fu-card__claim {
  margin-top: clamp(1.25rem, 1rem + 1.2vw, 2rem);
  font-family: var(--ff-display);
  font-weight: 500;
  font-size: clamp(1.125rem, 1rem + 0.7vw, 1.4375rem);
  line-height: 1.6;
  color: var(--fu-ink);
}
.fu-card__list { margin-top: clamp(1rem, 0.8rem + 0.9vw, 1.5rem); }
.fu-card__list li {
  position: relative;
  padding-left: 1.1em;
  font-size: clamp(0.9375rem, 0.9rem + 0.2vw, 1rem);
  line-height: 1.95;
  color: var(--fu-body);
}
.fu-card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.85em;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--fu-mute);
}

/* The preview at the foot of each card. Schematic on purpose — see the
   note at the top of this file. */
.fu-prev {
  margin-top: auto;
  padding-top: clamp(1.5rem, 1.1rem + 1.6vw, 2.25rem);
}
.fu-prev__frame {
  border-radius: 8px;
  background: var(--c-paper);
  box-shadow: inset 0 0 0 1px var(--fu-line-soft);
  padding: clamp(0.875rem, 0.7rem + 0.8vw, 1.25rem);
}
.fu-prev__title {
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  color: var(--fu-mute);
  padding-bottom: 0.7rem;
  border-bottom: 1px solid var(--fu-line-soft);
}

/* AI — one asked question, one answered list */
.fu-ai__ask {
  margin-top: 0.9rem;
  padding: 0.6rem 0.85rem;
  border-radius: 999px;
  background: var(--c-accent-wash, #E7EDE9);
  color: var(--fu-ink);
  font-size: 0.8125rem;
  line-height: 1.6;
}
.fu-ai__rows { margin-top: 0.85rem; }
.fu-ai__rows li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.4rem;
  font-size: 0.8125rem;
  color: var(--fu-body);
  border-bottom: 1px solid var(--fu-line-soft);
}
.fu-ai__rows li span:last-child { font-family: var(--ff-mono); color: var(--fu-ink); white-space: nowrap; }

/* HR — a month, nothing more */
.fu-cal { margin-top: 0.9rem; }
.fu-cal__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
  text-align: center;
  font-family: var(--ff-mono);
  font-size: 0.6875rem;
}
.fu-cal__grid span { padding-block: 0.34rem; color: var(--fu-body); border-radius: 4px; }
.fu-cal__grid .is-head { color: var(--fu-mute); }
.fu-cal__grid .is-out { color: rgba(124, 135, 131, 0.5); }
.fu-cal__grid .is-on { background: var(--c-accent-wash, #E7EDE9); color: var(--fu-ink); }

/* 財會 — three figures on hairlines, then what is still owed */
.fu-fin { margin-top: 0.9rem; }
.fu-fin__rows li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.5rem;
  font-size: 0.8125rem;
  color: var(--fu-body);
  border-bottom: 1px solid var(--fu-line-soft);
}
.fu-fin__rows li span:last-child { font-family: var(--ff-mono); color: var(--fu-ink); }
.fu-fin__bar { display: flex; height: 6px; border-radius: 3px; overflow: hidden; margin-top: 0.9rem; }
.fu-fin__bar i { display: block; height: 100%; }
.fu-fin__key { display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; margin-top: 0.6rem; font-size: 0.6875rem; color: var(--fu-mute); }
.fu-fin__key span { display: inline-flex; align-items: center; gap: 0.35rem; }
.fu-fin__key i { width: 8px; height: 8px; border-radius: 2px; }

/* ---------------------------------------------------------------------
   更多可能 — the deep green band, full width
   --------------------------------------------------------------------- */
.fu-more { background: var(--fu-ink); padding-block: clamp(3.5rem, 2.4rem + 4.4vw, 6.5rem); }
.fu-more__head {
  display: flex;
  align-items: flex-start;
  gap: clamp(1.25rem, 1rem + 1.6vw, 2.25rem);
  max-width: 34em;
}
.fu-more__star { width: clamp(52px, 4.6vw, 72px); height: clamp(52px, 4.6vw, 72px); flex: none; color: var(--fu-gold); }
.fu-more__star svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.2; }
.fu-more__title {
  font-family: var(--ff-display);
  font-weight: 400;
  font-size: clamp(2rem, 1.5rem + 2.2vw, 3.25rem);
  line-height: 1.3;
  color: var(--c-text-invert);
}
.fu-more__note { margin-top: clamp(0.875rem, 0.7rem + 0.8vw, 1.25rem); color: var(--c-text-invert-soft); }

.fu-more__grid {
  margin-top: clamp(2.5rem, 1.8rem + 3.4vw, 4.5rem);
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.75rem, 1.3rem + 2vw, 2.75rem);
}
@media (min-width: 760px) { .fu-more__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1080px) { .fu-more__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.fu-more__item { padding-left: clamp(1.25rem, 1rem + 1.2vw, 2rem); border-left: 1px solid rgba(247, 245, 242, 0.16); }
@media (max-width: 759px) { .fu-more__item { padding-left: 0; border-left: 0; padding-top: 1.25rem; border-top: 1px solid rgba(247, 245, 242, 0.16); } }
/* display:block matters — as an inline span the width/height below would be
   ignored and the svg would fall back to its intrinsic size. */
.fu-more__icon { display: block; width: 34px; height: 34px; color: var(--fu-gold); }
.fu-more__icon svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.fu-more__name {
  margin-top: clamp(0.875rem, 0.7rem + 0.8vw, 1.25rem);
  font-family: var(--ff-display);
  font-weight: 500;
  font-size: clamp(1.0625rem, 0.98rem + 0.42vw, 1.25rem);
  color: var(--fu-gold);
}
.fu-more__text { margin-top: 0.6rem; font-size: 0.9375rem; line-height: 1.9; color: var(--c-text-invert-soft); }

.fu-more__quote {
  margin-top: clamp(3rem, 2.2rem + 3.4vw, 5rem);
  padding-top: clamp(2rem, 1.5rem + 2.4vw, 3.5rem);
  border-top: 1px solid rgba(247, 245, 242, 0.16);
  text-align: center;
  font-family: var(--ff-display);
  font-weight: 400;
  font-size: clamp(1.5rem, 1.1rem + 2vw, 2.625rem);
  line-height: 1.5;
  color: var(--c-text-invert);
}
.fu-more__quote em { font-style: normal; color: var(--fu-gold); }

/* Roadmap disclosure — plain words, on the page, not in a tooltip */
.fu-note { padding-block: clamp(2.5rem, 1.8rem + 2.6vw, 4rem); }
.fu-note__text {
  max-width: 36em;
  font-size: var(--fs-meta);
  line-height: 1.9;
  color: var(--fu-mute);
  padding-top: clamp(1rem, 0.8rem + 0.8vw, 1.5rem);
  border-top: 1px solid var(--fu-line-soft);
}

/* ---------------------------------------------------------------------
   CTA — same bar as chapter 04, pointing at the next chapter
   --------------------------------------------------------------------- */
.fu-cta { padding-block: clamp(2rem, 1.5rem + 2vw, 3rem); border-top: 1px solid var(--fu-line-soft); }
.fu-cta__grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: clamp(1.25rem, 1rem + 1.6vw, 2rem);
}
.fu-cta__word { display: flex; align-items: center; gap: clamp(0.875rem, 0.7rem + 0.8vw, 1.25rem); }
.fu-cta__logo { height: 26px; width: auto; }
.fu-cta__bar { width: 1px; height: 26px; background: var(--fu-line); }
.fu-cta__text { font-family: var(--ff-display); font-size: clamp(0.9375rem, 0.9rem + 0.3vw, 1.125rem); color: var(--fu-ink); }
@media (max-width: 599px) {
  .fu-cta__grid { flex-direction: column; align-items: stretch; }
  .fu-cta__grid .btn { width: 100%; }
  .fu-cta__bar { display: none; }
}

/* ---------------------------------------------------------------------
   Motion — fade up and scroll reveal only. No parallax, no carousel.
   --------------------------------------------------------------------- */
.fu [data-reveal] .media > picture > img {
  transform: scale(1.012);
  transition: transform 1400ms var(--ease-editorial);
}
.fu [data-reveal].is-in .media > picture > img { transform: scale(1); }
.no-js .fu [data-reveal] .media > picture > img { transform: none; transition: none; }

@media (prefers-reduced-motion: reduce) {
  .fu [data-reveal] .media > picture > img,
  .fu [data-reveal].is-in .media > picture > img { transform: none; transition: none; }
}

/* =====================================================================
   PACK 2-D — hero

   No photograph and no runtime. Ink, one chapter name, and the three
   directions set as editorial marks rather than cards. The quietest and
   darkest of the three heroes, so it can never be mistaken for the home
   page or for chapter 05.
   ===================================================================== */
.fu-hero {
  background: #1A3B32;
  color: var(--c-text-invert);
  padding-block: calc(var(--header-h) + clamp(4rem, 2.6rem + 6vw, 8.5rem)) clamp(4.5rem, 3rem + 6vw, 9rem);
  min-height: 0;
  display: block;
}
.fu-hero__inner { max-width: 62em; }
.fu-hero__label {
  font-family: var(--ff-mono);
  font-size: var(--fs-chapter-label);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(247, 245, 242, 0.55);
}
.fu .fu-hero__title {
  margin-top: clamp(1.25rem, 1rem + 1.6vw, 2.25rem);
  color: var(--c-text-invert);
}
.fu-hero__claim {
  margin-top: clamp(1.5rem, 1.1rem + 1.8vw, 2.5rem);
  font-family: var(--ff-brand-slogan);
  font-weight: 400;
  font-size: clamp(1.5rem, 1.15rem + 1.6vw, 2.25rem);
  line-height: 1.6;
  color: var(--c-text-invert);
}
.fu-hero__rule {
  width: clamp(96px, 12vw, 180px);
  height: 1px;
  background: rgba(247, 245, 242, 0.28);
  margin: clamp(2rem, 1.5rem + 2.4vw, 3.5rem) 0;
}
.fu-hero__lead {
  font-size: var(--fs-lead);
  line-height: 1.95;
  color: rgba(247, 245, 242, 0.82);
  max-width: 26em;
}
/* three marks, read down on a phone and across on a desk. Not cards. */
.fu-hero__marks {
  margin-top: clamp(3rem, 2rem + 4vw, 5.5rem);
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
.fu-hero__marks li {
  display: grid;
  grid-template-columns: 3.5em 1fr;
  align-items: baseline;
  gap: 0.2rem 1rem;
  padding-block: clamp(1rem, 0.8rem + 0.9vw, 1.6rem);
  border-top: 1px solid rgba(247, 245, 242, 0.16);
}
.fu-hero__marks li:last-child { border-bottom: 1px solid rgba(247, 245, 242, 0.16); }
.fu-hero__idx {
  font-family: var(--ff-mono);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: rgba(247, 245, 242, 0.45);
}
.fu-hero__mark {
  font-family: var(--ff-brand-heading);
  font-weight: 400;
  font-size: clamp(1.75rem, 1.3rem + 2vw, 2.75rem);
  letter-spacing: 0.14em;
  line-height: 1.2;
  color: var(--fu-gold);
}
.fu-hero__role {
  grid-column: 2;
  font-size: var(--fs-body);
  line-height: 1.8;
  color: rgba(247, 245, 242, 0.72);
}
@media (min-width: 860px) {
  .fu-hero__marks { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(1.5rem, 1.1rem + 2vw, 3rem); }
  .fu-hero__marks li:last-child { border-bottom: 0; }
}
