:root {
  --ground: #E7E4DA;
  --surface: #FFFFFF;
  --line: #C8C0AE;
  --line-deep: color-mix(in srgb, var(--line) 62%, var(--emph));
  --ink: #26261F;
  --emph: #4A3524;
  --accent: #56622A;
  --accent-deep: #3F4A1C;
  --accent-tint: color-mix(in srgb, var(--accent) 24%, transparent);
  --on-accent: #FFFFFF;
  --foot: #2A2B20;
  --on-foot: #EEECE3;

  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --fs-display: clamp(30px, 1.6vw + 22px, 46px);
  --fs-h2: clamp(23px, 0.8vw + 18px, 30px);
  --fs-h3: 18px;
  --fs-lead: clamp(17px, 0.3vw + 16px, 19px);
  --fs-body: 16px;
  --fs-small: 14px;
  --fs-brand: 21px;
  --zoom-micro: 0.857;
  --zoom-tag: 0.786;
  --zoom-list: 0.929;

  --page: 1200px;
  --gutter: clamp(16px, 3vw, 32px);
  --top-h: 64px;
  --radius: 14px;
  --radius-sm: 10px;
  --gap: 18px;
  --sec-gap: clamp(36px, 4vw, 56px);

  --shadow: 0 1px 2px rgba(38, 32, 18, 0.06), 0 4px 14px rgba(38, 32, 18, 0.05);
  --shadow-hover: 0 2px 4px rgba(38, 32, 18, 0.08), 0 18px 40px rgba(38, 32, 18, 0.14);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  overflow-y: scroll;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font: 400 var(--fs-body)/1.6 var(--font-sans);
  font-synthesis: none;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--accent); color: var(--on-accent); }

a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap {
  width: min(var(--page), calc(100% - 2 * var(--gutter)));
  margin-inline: auto;
}

.top {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--ground) 86%, transparent);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  backdrop-filter: blur(14px) saturate(1.3);
  border-bottom: 1px solid var(--line);
  transition: transform 0.32s var(--ease);
}

.chrome-hide .top { transform: translateY(calc(-100% - 3px)); }

.top-in {
  display: grid;
  grid-template-columns: auto auto;
  justify-content: space-between;
  align-items: center;
  column-gap: 24px;
  min-height: var(--top-h);
}

.brand {
  display: inline-grid;
  grid-auto-flow: column;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  white-space: nowrap;
}

.mark { width: 30px; height: 30px; display: block; transition: transform 0.6s var(--ease); }
.mark-leaf { fill: var(--accent); }
.mark-vein { fill: none; stroke: var(--surface); stroke-width: 1.2; stroke-linecap: round; }
.mark-fruit { fill: var(--emph); }
.brand:hover .mark { transform: rotate(-12deg) scale(1.06); }

.brand-name {
  font-size: var(--fs-brand);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--emph);
}

.brand-tld { color: var(--accent); font-weight: 600; }

.brand-text { display: grid; gap: 1px; }

.brand-name { line-height: 1.15; }

.brand-tag {
  font-size: 14px;
  zoom: var(--zoom-tag);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

.nav {
  position: relative;
  display: grid;
  grid-auto-flow: column;
  gap: 2px;
  align-items: center;
}

.nav a {
  position: relative;
  padding: 9px 11px;
  border-radius: 8px;
  font-size: var(--fs-small);
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s, background-color 0.25s;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 11px;
  right: 11px;
  bottom: 4px;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform 0.35s var(--ease);
}

.nav a:hover { color: var(--accent-deep); background: var(--accent-tint); }
.nav a:hover::after { transform: scaleX(1); }
.nav a[aria-current] { color: var(--accent-deep); }

.nav-ind {
  position: absolute;
  left: 0;
  bottom: calc((100% - var(--top-h)) / 2);
  width: 0;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: var(--accent);
  opacity: 0;
  transition: transform 0.45s var(--ease), width 0.45s var(--ease), opacity 0.3s;
  pointer-events: none;
}

.nav-ind.on { opacity: 1; }

.progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  pointer-events: none;
}

.progress span {
  display: block;
  height: 100%;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
}

.btn {
  display: inline-grid;
  grid-auto-flow: column;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  padding: 0 16px;
  border: 0;
  border-radius: var(--radius-sm);
  background: var(--accent);
  color: var(--on-accent);
  font: 600 var(--fs-small)/1 var(--font-sans);
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background-color 0.2s, box-shadow 0.25s, transform 0.15s;
}

.btn:hover { background: var(--accent-deep); box-shadow: 0 0 0 4px var(--accent-tint); }
.btn:active { transform: translateY(1px); }

.menu-btn { display: none; }

.menu-icon { display: grid; gap: 4px; width: 16px; }
.menu-icon i { display: block; height: 2px; border-radius: 2px; background: currentColor; transition: transform 0.3s var(--ease), opacity 0.2s; }
.menu-btn[aria-expanded="true"] .menu-icon i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-icon i:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] .menu-icon i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.menu {
  position: absolute;
  top: calc(100% + 1px);
  left: 0;
  right: 0;
  padding-top: 8px;
}

.menu-in {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 4px;
  padding: 8px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-hover);
  animation: drop 0.28s var(--ease);
}

.menu-in a {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: var(--fs-small);
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  transition: background-color 0.2s, color 0.2s;
}

.menu-in a:hover, .menu-in a[aria-current] { background: var(--accent-tint); color: var(--accent-deep); }
.menu-n { font-size: 14px; zoom: var(--zoom-micro); font-weight: 600; color: var(--accent); font-variant-numeric: tabular-nums; letter-spacing: 0.08em; }
.menu-t { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

@keyframes drop { from { opacity: 0; transform: translateY(-6px); } }

@media (max-width: 1239px) {
  .nav { display: none; }
  .menu-btn { display: inline-grid; }
}

@media (max-width: 560px) {
  .menu-btn { padding: 0; width: 40px; justify-content: center; }
  .menu-label { display: none; }
}

@media (max-width: 899px) {
  .menu-in { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1240px) {
  .menu { display: none; }
}

h1, h2, h3 { color: var(--emph); margin: 0; }

h1 {
  font-size: var(--fs-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  max-width: 18ch;
}

h2 {
  font-size: var(--fs-h2);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

h3 {
  font-size: var(--fs-h3);
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 12px;
}

h1::after, .sec h2::after {
  content: "";
  display: block;
  width: 56px;
  height: 3px;
  margin-top: 14px;
  border-radius: 2px;
  background: var(--accent);
  transform-origin: left;
}

.kicker {
  display: inline-grid;
  grid-auto-flow: column;
  justify-content: start;
  align-items: center;
  gap: 12px;
  margin: 0;
  font-size: 14px;
  zoom: var(--zoom-micro);
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}

.kicker::after { content: ""; width: 32px; height: 1px; background: var(--accent); }

main { display: block; }

.intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  padding-top: 28px;
}

.intro-art { display: none; }

@media (min-width: 1000px) {
  .intro {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    column-gap: 48px;
    align-items: start;
  }
  .intro-art { display: block; padding-top: 8px; }
}

.intro .sec { padding-top: 28px; }

.sec {
  padding-top: var(--sec-gap);
  scroll-margin-top: calc(var(--top-h) + 4px);
}

.sec-head {
  display: grid;
  gap: 8px;
  margin-bottom: 22px;
}

.sec-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  margin-bottom: 22px;
}

.sec-top .sec-head { margin-bottom: 0; }

@media (min-width: 1000px) {
  .sec-top {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    column-gap: 40px;
    align-items: end;
  }
}

.photo { margin: 0; min-width: 0; }

.photo-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
  box-shadow: var(--shadow);
}

@media (min-width: 640px) {
  .photo-frame { aspect-ratio: 5 / 2; }
}

@media (min-width: 1000px) {
  .photo-frame { aspect-ratio: 21 / 9; }
}

.photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--pos, 50% 50%);
  transition: transform 1.6s var(--ease);
}

@media (hover: hover) {
  .photo:hover img { transform: scale(1.05); }
}

.rv .photo.in img { animation: settle 1.8s var(--ease) backwards; }

@keyframes settle { from { transform: scale(1.14); filter: saturate(0.5); } }

.photo figcaption {
  margin-top: 8px;
  font-size: var(--fs-small);
  zoom: var(--zoom-list);
  line-height: 1.4;
  color: var(--ink);
}

.lead {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
  max-width: 70ch;
  font-size: var(--fs-lead);
  line-height: 1.55;
}

.lines {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 9px;
}

.lines li {
  position: relative;
  padding-left: 20px;
}

.lines li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: calc(0.8em - 3px);
  width: 6px;
  height: 6px;
  background: var(--accent);
  transform: rotate(45deg);
}

.link {
  color: var(--accent-deep);
  font-weight: 600;
  text-decoration: none;
  background-image: linear-gradient(var(--accent-tint), var(--accent-tint)), linear-gradient(var(--accent), var(--accent));
  background-repeat: no-repeat;
  background-position: 0 100%, 0 100%;
  background-size: 0% 100%, 100% 1px;
  padding: 0 2px;
  margin: 0 -2px;
  border-radius: 3px;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  transition: background-size 0.4s var(--ease), color 0.2s;
}

.link:hover { background-size: 100% 100%, 100% 2px; color: var(--accent-deep); }

.nowrap { white-space: nowrap; }

.lead-link { margin: 0; font-size: var(--fs-lead); }

.ref {
  font-size: 14px;
  zoom: var(--zoom-tag);
  font-weight: 700;
  line-height: 0;
  vertical-align: super;
  margin-left: 3px;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  color: var(--accent-deep);
}

.ref a {
  display: inline-block;
  min-width: 1.3em;
  padding: 0 2px;
  border-radius: 4px;
  text-align: center;
  color: var(--accent-deep);
  text-decoration: none;
  transition: background-color 0.2s, color 0.2s;
}

.ref a:hover { background: var(--accent); color: var(--on-accent); }

.series {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--fs-small);
  zoom: var(--zoom-list);
  font-variant-numeric: tabular-nums;
}

.series th, .series td {
  padding: 8px 12px;
  text-align: left;
  vertical-align: middle;
  border-bottom: 1px solid var(--line);
  transition: background-color 0.25s;
}

.series thead th {
  color: var(--emph);
  font-weight: 600;
  border-bottom: 2px solid var(--accent);
}

.series tbody th { font-weight: 600; color: var(--ink); white-space: nowrap; }
.series tbody tr:last-child > * { border-bottom: 0; }
.series .status { white-space: nowrap; }
.series thead th:first-child, .series thead th:last-child, .series tbody th, .series .status { width: 1%; white-space: nowrap; }

@media (hover: hover) {
  .series tbody tr:hover > * { background: var(--accent-tint); }
}

.num-bar {
  display: grid;
  grid-template-columns: 7ch minmax(0, 1fr);
  align-items: center;
  gap: 14px;
}

.val { text-align: right; white-space: nowrap; color: var(--emph); font-weight: 600; }

.bar { display: block; height: 10px; }

.bar i {
  display: block;
  width: var(--w);
  height: 100%;
  border-radius: 5px;
  background: var(--accent);
  transform-origin: left;
}

.st-provisional .bar i, .st-estimate .bar i {
  background: repeating-linear-gradient(135deg, var(--accent) 0 4px, color-mix(in srgb, var(--accent) 40%, var(--surface)) 4px 7px);
}

.rv .in .bar i { animation: grow 1s var(--ease) backwards; animation-delay: calc(var(--n, 0) * 80ms + 0.3s); }

@media (max-width: 560px) {
  .series, .series thead, .series tbody { display: block; }
  .series tr {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "year status" "prod prod";
    align-items: center;
    border-bottom: 1px solid var(--line);
  }
  .series thead tr { border-bottom: 2px solid var(--accent); }
  .series tbody tr:last-child { border-bottom: 0; }
  .series th, .series td, .series thead th { width: auto; padding: 6px 8px; border-bottom: 0; }
  .series tr > :nth-child(1) { grid-area: year; }
  .series tr > :nth-child(2) { grid-area: prod; padding-top: 0; }
  .series tr > :nth-child(3) { grid-area: status; text-align: right; }
  .series thead tr > :nth-child(2) { padding-top: 0; }
}

.src-list {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: var(--fs-small);
  zoom: var(--zoom-list);
  line-height: 1.45;
}

.src-list li {
  display: grid;
  grid-template-columns: 2em minmax(0, 1fr);
  gap: 8px;
  padding: 7px 10px;
  border-radius: var(--radius-sm);
  break-inside: avoid;
  scroll-margin-top: calc(var(--top-h) + 24px);
  transition: background-color 0.6s;
}

.src-list li:target { background: var(--accent-tint); }

.src-n {
  font-weight: 700;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.src-body { display: grid; gap: 1px; align-content: start; min-width: 0; overflow-wrap: anywhere; }

.src-title .link { background-size: 0% 100%, 100% 1.2px; }

.src-title .link:hover { background-size: 100% 100%, 100% 2.2px; }

.src-meta { color: var(--ink); }

@media (min-width: 1000px) {
  .src-list { display: grid; grid-auto-flow: column; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(var(--rows), auto); column-gap: 32px; }
}

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

@media (min-width: 640px) {
  .g3, .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .g3 > .tile:nth-child(3) { grid-column: 1 / -1; }
}

@media (min-width: 700px) {
  .g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1000px) {
  .g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .g3 > .tile:nth-child(3) { grid-column: auto; }
}

.tile.wide { grid-column: 1 / -1; }

.tile {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin: 0;
  padding: 22px 22px 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.3s;
}

.tile::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 0%), var(--accent-tint), transparent 70%);
  opacity: 0;
  transition: opacity 0.35s;
}

.tile::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.55s var(--ease);
}

@media (hover: hover) {
  .tile:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: var(--accent);
  }
  .tile:hover::before { opacity: 1; }
  .tile:hover::after { transform: scaleX(1); }
}

.traj {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: stretch;
}

.traj-link {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 64px;
}

.traj-link::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 10px;
  width: 2px;
  margin-left: -1px;
  background: repeating-linear-gradient(180deg, var(--accent) 0 7px, transparent 7px 13px);
  background-size: 2px 13px;
  animation: flow-y 1.1s linear infinite;
}

.traj-link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  margin-left: -6px;
  border: 6px solid transparent;
  border-top: 9px solid var(--accent);
  border-bottom: 0;
}

.traj-link span {
  position: relative;
  padding: 2px 8px;
  background: var(--ground);
  font-size: var(--fs-small);
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent-deep);
  font-variant-numeric: tabular-nums;
}

@media (min-width: 760px) {
  .traj { grid-template-columns: minmax(0, 1fr) 96px minmax(0, 1fr); }
  .traj-link { min-height: 0; }
  .traj-link::before {
    left: 8px;
    right: 18px;
    top: 50%;
    bottom: auto;
    width: auto;
    height: 2px;
    margin: -1px 0 0;
    background: repeating-linear-gradient(90deg, var(--accent) 0 7px, transparent 7px 13px);
    background-size: 13px 2px;
    animation-name: flow-x;
  }
  .traj-link::after {
    left: auto;
    right: 8px;
    bottom: auto;
    top: 50%;
    margin: -6px 0 0;
    border: 6px solid transparent;
    border-left: 9px solid var(--accent);
    border-right: 0;
  }
}

@keyframes flow-x { to { background-position: 13px 0; } }
@keyframes flow-y { to { background-position: 0 13px; } }

.steps {
  position: relative;
  isolation: isolate;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(0, 1fr);
}

.steps::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 40px;
  top: 20px;
  bottom: 20px;
  width: 2px;
  background: var(--accent);
  transform-origin: top;
}

.step {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
}

.step-n {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  background: var(--surface);
  color: var(--accent-deep);
  font-size: var(--fs-small);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  transition: background-color 0.3s, color 0.3s, box-shadow 0.3s;
}

.step-t {
  font-size: var(--fs-h3);
  font-weight: 600;
  line-height: 1.3;
  color: var(--emph);
}

@media (hover: hover) {
  .step:hover .step-n { background: var(--accent); color: var(--on-accent); box-shadow: 0 0 0 6px var(--accent-tint); }
}

@media (min-width: 1000px) {
  .steps { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--gap); }
  .steps::before {
    left: 41px;
    right: calc((100% - 4 * var(--gap)) / 5 - 41px);
    top: 40px;
    bottom: auto;
    width: auto;
    height: 2px;
    transform-origin: left;
  }
  .step {
    grid-template-columns: minmax(0, 1fr);
    align-content: start;
    justify-items: start;
    gap: 14px;
    padding: 20px;
  }
}

.after { margin: 18px 0 0; }

.motif { display: block; width: 100%; height: auto; overflow: visible; }
.motif-dot { fill: var(--line); }
.motif-rings { transform-origin: 330px 205px; animation: drift 18s ease-in-out infinite alternate; }
.ring { fill: none; stroke: var(--line-deep); stroke-width: 1; stroke-dasharray: 1; stroke-dashoffset: 0; vector-effect: non-scaling-stroke; }
.ring-index { stroke: var(--accent); stroke-width: 1.6; }
.motif-link { fill: none; stroke: var(--accent); stroke-width: 1.2; stroke-dasharray: 4 5; animation: dash 1.4s linear infinite; vector-effect: non-scaling-stroke; }
.motif-node { fill: var(--accent); stroke: var(--surface); stroke-width: 2; }
.motif-pulse { fill: none; stroke: var(--accent); stroke-width: 1.5; transform-box: fill-box; transform-origin: center; animation: pulse 2.8s var(--ease) infinite; animation-delay: var(--d); }
.motif-cross { fill: none; stroke: var(--emph); stroke-width: 1.4; }

.js .ring { stroke-dashoffset: 1; animation: draw 2.4s var(--ease) forwards; animation-delay: var(--d); }

@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes dash { to { stroke-dashoffset: -18; } }
@keyframes drift { to { transform: rotate(2deg) scale(1.03); } }
@keyframes pulse { 0% { transform: scale(0.8); opacity: 0.9; } 100% { transform: scale(3.2); opacity: 0; } }

.rv [data-reveal]:not(.in) { opacity: 0; }
.rv [data-reveal].in { animation: rise 0.8s var(--ease) backwards; animation-delay: calc(var(--i, 0) * 90ms); }
.rv .in h2::after, .rv h1.in::after { animation: grow 0.9s var(--ease) 0.25s backwards; }
.rv .in > .step-n { animation: pop 0.5s var(--ease) backwards; animation-delay: calc(var(--i, 0) * 90ms + 0.3s); }

@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
@keyframes grow { from { transform: scaleX(0); } }
@keyframes pop { from { transform: scale(0.4); opacity: 0; } }

.foot {
  margin-top: calc(var(--sec-gap) + 16px);
  background: var(--foot);
  color: var(--on-foot);
}

.foot-in {
  display: grid;
  grid-template-columns: auto auto;
  justify-content: space-between;
  align-items: center;
  min-height: 72px;
}

.foot .mark-leaf { fill: var(--on-foot); }
.foot .mark-vein { stroke: var(--foot); }
.foot .mark-fruit { fill: color-mix(in srgb, var(--accent) 55%, var(--on-foot)); }

.foot-top {
  color: var(--on-foot);
  font-size: var(--fs-small);
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.04em;
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 100% 1px;
  padding-bottom: 2px;
  transition: background-size 0.35s var(--ease);
}

.foot-top:hover { background-size: 100% 2px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .rv [data-reveal]:not(.in) { opacity: 1; }
  .js .ring { stroke-dashoffset: 0; }
}

@media print {
  @page { margin: 16mm 14mm; }
  :root { --ground: #FFFFFF; --shadow: none; }
  body { background: #FFFFFF; color: #000000; font-size: 11pt; }
  .top, .intro-art, .foot, .traj-link { display: none !important; }
  .intro { display: block; padding-top: 0; }
  .rv [data-reveal] { opacity: 1 !important; animation: none !important; transform: none !important; }
  .js .ring { stroke-dashoffset: 0; }
  .sec { padding-top: 18pt; break-inside: auto; }
  .sec-head { break-after: avoid; }
  .tile { box-shadow: none; border-color: #777777; break-inside: avoid; }
  .tile::before, .tile::after, .steps::before { display: none; }
  .grid, .g2, .g3, .g4, .traj { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10pt; }
  .g3 > .tile:nth-child(3) { grid-column: auto; }
  .steps { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8pt; }
  .step { grid-template-columns: minmax(0, 1fr); padding: 10pt; }
  .link { background: none; color: #000000; text-decoration: underline; }
  .ref, .ref a, .src-n { color: #000000; }
  .src-list { display: block; }
  .src-list a::after { content: " " attr(href); font-weight: 400; text-decoration: none; }
  .bar i { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .sec-top { grid-template-columns: minmax(0, 1fr); }
  .photo { break-inside: avoid; }
  .photo-frame { aspect-ratio: 3 / 1; box-shadow: none; }
  .series .val { color: #000000; }
  h1, h2, h3, .step-t { color: #000000; }
}
