:root {
  --ink: #172623;
  --ink-soft: rgba(23, 38, 35, 0.66);
  --ink-line: rgba(23, 38, 35, 0.18);
  --sand: #f0e7d6;
  --sand-2: #e6d9c2;
  --taupe: #d4c4a8;
  --mint: #5cc6b0;
  --clay: #c67b5c;
  --olive: #6b7b3c;
  --r: 18px;
  --sans: "Lexend Mega", "Public Sans", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
}

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

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

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink);
  background-color: var(--sand);
  background-image:
    radial-gradient(circle at 92% 2%, rgba(92, 198, 176, 0.34), transparent 42%),
    radial-gradient(circle at 4% 26%, rgba(198, 123, 92, 0.22), transparent 38%),
    radial-gradient(rgba(23, 38, 35, 0.11) 1px, transparent 1px);
  background-size: auto, auto, 14px 14px;
  background-attachment: fixed, fixed, scroll;
  overflow-x: clip;
  max-width: 100%;
}

img {
  max-width: 100%;
}

a {
  color: var(--ink);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

h1,
h2,
h3 {
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.08;
  margin: 0;
  overflow-wrap: anywhere;
}

.jump {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 90;
  padding: 12px 18px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  background: var(--ink);
  color: var(--sand);
  border-radius: 0 0 var(--r) var(--r);
  font-size: 16px;
  text-decoration: none;
}

.jump:focus {
  top: 0;
}

.whisper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 44px;
  padding: 10px 16px;
  font-size: 16px;
  letter-spacing: 0.22em;
  color: var(--ink);
  background: linear-gradient(90deg, var(--taupe), var(--sand-2) 45%, var(--taupe));
  border-bottom: 1px solid var(--ink-line);
  max-width: 100%;
}

.bead {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--clay);
  flex: none;
}

.mast {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 24px;
  padding: 20px clamp(16px, 4vw, 56px) 16px;
  max-width: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  min-width: 0;
  text-decoration: none;
}

.brand-name {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.mark {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  object-fit: cover;
  flex: none;
}

.mark-glyph {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 15px 6px 15px 6px;
  background: var(--ink);
  color: var(--mint);
  font-size: 22px;
  font-weight: 800;
  flex: none;
}

.lead-nav {
  min-width: 0;
  max-width: 100%;
}

.lead-nav ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
  max-width: 100%;
}

.navlink {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 13px;
  font-size: 16px;
  text-decoration: none;
  border-radius: 999px;
  white-space: nowrap;
}

.pip {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 2px rgba(92, 198, 176, 0.28);
  flex: none;
}

.navlink:hover,
.navlink:focus-visible {
  background: var(--taupe);
}

.anchor-bar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(240, 231, 214, 0.95);
  border-top: 2px solid var(--ink);
  border-bottom: 1px solid var(--ink-line);
  max-width: 100%;
}

.anchor-bar ol {
  display: flex;
  align-items: stretch;
  gap: 2px;
  margin: 0;
  padding: 0 clamp(12px, 4vw, 48px);
  list-style: none;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  max-width: 100%;
  scrollbar-width: none;
}

.anchor-bar ol::-webkit-scrollbar {
  display: none;
}

.anchor {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 11px 12px;
  font-size: 16px;
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 3px solid transparent;
}

.anchor:hover,
.anchor:focus-visible,
.anchor.is-here {
  border-bottom-color: var(--clay);
  color: var(--ink);
}

main > div[id] {
  scroll-margin-top: 68px;
}

.stage {
  display: grid;
  grid-template-columns: 152px minmax(0, 1.05fr) minmax(0, 0.85fr);
  align-items: center;
  gap: 28px clamp(20px, 3vw, 44px);
  min-height: 92vh;
  min-height: 100svh;
  padding: 36px clamp(16px, 4vw, 56px) 64px;
  border-bottom: 1px solid var(--ink-line);
  max-width: 100%;
  overflow: clip;
}

.rail {
  align-self: stretch;
  padding: 20px 0 0;
  border-right: 1px dashed var(--ink-line);
  padding-right: 16px;
  min-width: 0;
}

.rail h2 {
  font-size: 16px;
  letter-spacing: 0.26em;
}

.rail hr {
  width: 42px;
  height: 3px;
  margin: 12px 0 14px;
  border: 0;
  background: var(--clay);
}

.rail ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.rail a {
  display: block;
  min-height: 42px;
  padding: 9px 0;
  font-size: 16px;
  text-decoration: none;
  border-bottom: 1px dotted var(--ink-line);
  color: var(--ink-soft);
}

.rail a:hover,
.rail a:focus-visible {
  color: var(--ink);
  border-bottom-color: var(--clay);
}

.stage-copy {
  min-width: 0;
}

.stage-copy h1 {
  font-size: clamp(38px, 8.2vw, 92px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  margin: 0 0 28px;
  animation: rise 0.8s cubic-bezier(0.2, 0.8, 0.25, 1) both;
}

.cta {
  display: inline-flex;
  align-items: center;
  min-height: 52px;
  padding: 13px 28px;
  font-size: 17px;
  font-weight: 800;
  text-decoration: none;
  background: var(--mint);
  color: var(--ink);
  border: 2px solid var(--ink);
  border-radius: 999px;
  box-shadow: 5px 5px 0 var(--ink);
  transition: transform 0.2s ease-out, box-shadow 0.2s ease-out;
}

.cta:hover,
.cta:focus-visible {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--ink);
}

.collage {
  position: relative;
  display: grid;
  gap: 16px;
  margin: 0;
  min-width: 0;
  max-width: 100%;
  will-change: transform;
}

.pane {
  overflow: hidden;
  border: 2px solid var(--ink);
  border-radius: var(--r);
  box-shadow: 0 22px 44px -30px rgba(23, 38, 35, 0.8);
  background: var(--taupe);
  aspect-ratio: 4 / 5;
  min-width: 0;
}

.pane-a {
  transform: rotate(-1.6deg);
}

.pane-b {
  transform: translate(-10%, 14%) rotate(2.2deg);
  border-radius: 6px var(--r) 6px var(--r);
}

.shot {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.weave {
  background-color: var(--taupe);
  background-image:
    repeating-linear-gradient(45deg, rgba(23, 38, 35, 0.16) 0 1px, transparent 1px 9px),
    repeating-linear-gradient(-45deg, rgba(92, 198, 176, 0.3) 0 1px, transparent 1px 11px);
}

main > div:not(.stage) {
  padding-top: 60px;
  padding-bottom: 60px;
  padding-inline: clamp(18px, 5vw, 72px);
  border-top: 1px solid var(--ink-line);
  max-width: 100%;
  overflow: clip;
}

main > div:not(.stage):nth-of-type(even) {
  background: rgba(212, 196, 168, 0.32);
}

main > div:not(.stage) > * {
  max-width: 68ch;
  margin-inline: auto;
}

main > div:not(.stage) > * + * {
  margin-top: 18px;
}

main > div:not(.stage) h2 {
  font-size: clamp(25px, 3.6vw, 40px);
  margin-top: 0;
}

main > div:not(.stage) h2 + hr {
  width: 78px;
  height: 5px;
  border: 0;
  border-radius: 3px;
  background: var(--clay);
  margin: 16px auto 26px;
}

main > div:not(.stage) h3 {
  font-size: 22px;
  margin-top: 34px;
}

main > div:not(.stage) p {
  font-size: 18px;
  line-height: 1.85;
  margin: 0;
}

main > div:not(.stage) ul,
main > div:not(.stage) ol {
  padding-left: 22px;
}

main > div:not(.stage) li {
  margin: 8px 0;
}

main > div:not(.stage) figure {
  margin: 24px auto;
  border-radius: var(--r);
  overflow: hidden;
  max-width: 100%;
}

main > div:not(.stage) img {
  border-radius: var(--r);
  height: auto;
  max-width: 100%;
}

main > div:not(.stage) blockquote {
  margin: 24px auto;
  padding: 16px 20px;
  border-left: 5px solid var(--mint);
  background: rgba(92, 198, 176, 0.14);
  border-radius: 0 var(--r) var(--r) 0;
}

main > div:not(.stage) blockquote p {
  font-size: 17px;
}

.foot {
  padding: 60px clamp(18px, 5vw, 64px) 30px;
  border-top: 3px solid var(--ink);
  background: var(--sand-2);
  max-width: 100%;
  overflow: clip;
}

.giant {
  margin: 0 0 34px;
  font-size: clamp(42px, 14vw, 148px);
  line-height: 0.86;
  font-weight: 800;
  letter-spacing: -0.045em;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--ink-line);
}

.cols dl {
  margin: 0;
  min-width: 0;
}

.cols dt {
  font-size: 16px;
  letter-spacing: 0.2em;
  color: var(--ink-soft);
}

.cols dd {
  margin: 10px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
}

.cols dd a,
.plain {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 16px;
  text-decoration: none;
  border-bottom: 2px solid transparent;
}

.cols dd a:hover,
.cols dd a:focus-visible {
  border-bottom-color: var(--clay);
}

.copy {
  margin: 26px 0 0;
  text-align: center;
  font-size: 16px;
  color: var(--ink-soft);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(26px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: no-preference) {
  main > div:not(.stage) {
    animation: rise linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 65%;
  }
}

@media (max-width: 900px) {
  .stage {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    min-height: 0;
    padding-top: 28px;
  }

  .stage-copy {
    order: 1;
  }

  .rail {
    order: 2;
    align-self: auto;
    border-right: 0;
    border-top: 1px dashed var(--ink-line);
    padding: 16px 0 0;
  }

  .rail h2,
  .rail hr {
    display: none;
  }

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

  .collage {
    order: 3;
    width: min(100%, 420px);
  }

  .pane-b {
    transform: translate(0, 0) rotate(1.6deg);
  }

  .pane-a {
    transform: rotate(-1.4deg);
  }

  .cols {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }
}

@media (max-width: 680px) {
  .mast {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding-bottom: 8px;
  }

  .lead-nav {
    width: 100%;
    min-width: 0;
  }

  .lead-nav ol {
    flex-wrap: nowrap;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    padding-bottom: 2px;
  }

  .lead-nav ol::-webkit-scrollbar {
    display: none;
  }

  .whisper {
    letter-spacing: 0.14em;
  }

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

@media (max-width: 420px) {
  .whisper {
    letter-spacing: 0.1em;
    font-size: 16px;
  }

  .stage-copy h1 {
    font-size: clamp(32px, 11vw, 52px);
  }

  .cta {
    min-height: 48px;
    padding: 12px 22px;
  }
}

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

  .stage-copy h1,
  main > div:not(.stage) {
    animation: none;
  }

  .cta {
    transition: none;
  }
}

button[aria-expanded]{min-width:44px;min-height:44px}
