@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:wght@400;500;600;700&display=swap');

:root {
  --mint: #b4fde1;
  --blue: #add8e6;
  --ink: #172620;
  --ink-2: #132019;
  --paper: #eafaf2;
  --line: rgba(180, 253, 225, .45);
  --dim: #8fb7a6;
  --serif: 'Playfair Display', 'Songti SC', 'Noto Serif SC', Georgia, serif;
  --sans: 'Inter', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', system-ui, sans-serif;
  --press: transform .2s cubic-bezier(.34, 1.56, .64, 1);
}

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

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

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  color: var(--paper);
  background-color: var(--ink);
  background-image:
    radial-gradient(62vw 62vw at 88% -8%, rgba(180, 253, 225, .20), transparent 62%),
    radial-gradient(54vw 54vw at -6% 34%, rgba(173, 216, 230, .18), transparent 66%);
  background-attachment: fixed;
  padding-bottom: 160px;
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.24;
  margin: 0 0 .5em;
  letter-spacing: .01em;
}

p { margin: 0 0 1em; }

a { color: inherit; }

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

:focus-visible {
  outline: 3px dashed var(--blue);
  outline-offset: 3px;
}

.mast {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px clamp(14px, 4vw, 40px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 8px 20px 8px 8px;
  text-decoration: none;
  border: 3px solid rgba(180, 253, 225, .5);
  border-radius: 999px;
  background: rgba(180, 253, 225, .10);
  box-shadow: inset -2px -2px 8px rgba(0, 0, 0, .28), 5px 5px 0 rgba(0, 0, 0, .32);
  transition: var(--press);
}

.brand:hover { transform: translateY(-3px); }

.brand-name {
  font-weight: 600;
  letter-spacing: .12em;
  font-size: .98rem;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 15px;
  object-fit: cover;
  background: var(--mint);
}

.brand-mark--txt {
  display: grid;
  place-items: center;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 700;
  box-shadow: inset -3px -3px 8px rgba(23, 38, 32, .25);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: clamp(20px, 4vw, 56px);
  align-items: center;
  min-height: 70vh;
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(18px, 3vw, 40px) clamp(14px, 4vw, 40px) clamp(40px, 6vw, 76px);
}

.hero-art {
  margin: 0;
  aspect-ratio: 4 / 5;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 4px solid rgba(180, 253, 225, .55);
  border-radius: 28px;
  background: linear-gradient(160deg, var(--mint), var(--blue));
  box-shadow: inset -7px -7px 20px rgba(23, 38, 32, .26), 11px 13px 0 rgba(0, 0, 0, .32);
  will-change: transform;
  transition: transform .1s linear;
}

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

.blob {
  width: 60%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 28%, #f2fffa, var(--mint) 46%, var(--blue) 100%);
  box-shadow: inset -10px -12px 26px rgba(23, 38, 32, .24);
  animation: fluff 7s ease-in-out infinite;
}

@keyframes fluff {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-14px) scale(1.04); }
}

.hero-copy { text-align: right; }

.hero-copy h1 {
  font-size: clamp(2rem, 4.8vw, 3.5rem);
  margin-bottom: .35em;
  text-shadow: 3px 4px 0 rgba(0, 0, 0, .35);
}

.lede {
  margin: 0 0 0 auto;
  max-width: 34ch;
  font-size: 1.05rem;
  color: #cfe9dd;
}

.spread {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 258px;
  gap: clamp(18px, 3vw, 34px);
  align-items: start;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 clamp(14px, 4vw, 40px) 48px;
}

.prose {
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
}

.prose article {
  position: relative;
  margin: 0 0 30px;
  padding: clamp(20px, 3vw, 34px);
  color: var(--ink);
  border: 3px solid rgba(23, 38, 32, .88);
  border-bottom: 7px solid var(--ink);
  border-radius: 28px;
  background: linear-gradient(168deg, #f3fffa, #cdf7e6);
  box-shadow: inset -3px -3px 11px rgba(23, 38, 32, .17), 9px 9px 0 rgba(0, 0, 0, .34);
  transition: transform .25s cubic-bezier(.34, 1.56, .64, 1), box-shadow .25s ease-out;
}

.prose article:nth-of-type(even) {
  background: linear-gradient(168deg, #f0fbff, #c8e6f1);
  border-bottom-color: #2a4c3d;
}

.prose article:hover {
  transform: translateY(-4px);
  box-shadow: inset -3px -3px 11px rgba(23, 38, 32, .17), 12px 14px 0 rgba(0, 0, 0, .34);
}

.prose article[id] { scroll-margin-top: 26px; }

.prose h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }

.prose h3 { font-size: 1.18rem; }

.prose small {
  display: block;
  margin: 0 0 .15em;
  font-size: .78rem;
  letter-spacing: .2em;
  font-weight: 600;
  color: #2c5243;
}

.prose ul, .prose ol { padding-left: 1.35em; margin: 0 0 1em; }

.prose li { margin-bottom: .45em; }

.prose a {
  color: #10362a;
  text-decoration: none;
  border-bottom: 2px solid rgba(23, 38, 32, .35);
}

.prose a:hover { border-bottom-color: var(--ink); }

.prose blockquote {
  margin: 1.2em 0;
  padding: 14px 18px;
  border: 3px solid rgba(23, 38, 32, .55);
  border-left-width: 9px;
  border-radius: 18px;
  background: rgba(255, 255, 255, .58);
}

.prose blockquote p:last-child { margin-bottom: 0; }

.prose figure { margin: 1.2em 0; }

.prose figcaption {
  margin-top: .5em;
  font-size: .86rem;
  color: #335446;
}

.prose img {
  border-radius: 20px;
  border: 3px solid rgba(23, 38, 32, .6);
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: .95rem;
  margin: 0 0 1em;
}

.prose th, .prose td {
  border: 2px solid rgba(23, 38, 32, .45);
  padding: 8px 10px;
  text-align: left;
  vertical-align: top;
}

.prose th { background: rgba(23, 38, 32, .10); }

.prose code {
  font-family: ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;
  font-size: .9em;
  padding: 1px 6px;
  border-radius: 7px;
  background: rgba(23, 38, 32, .12);
}

.rail {
  grid-column: 2;
  grid-row: 1;
  position: sticky;
  top: 20px;
  padding: 18px;
  border: 3px solid var(--line);
  border-radius: 24px;
  background: rgba(173, 216, 230, .12);
  box-shadow: inset -2px -2px 10px rgba(0, 0, 0, .3), 6px 6px 0 rgba(0, 0, 0, .3);
}

.rail small {
  display: block;
  margin-bottom: .15em;
  font-size: .74rem;
  letter-spacing: .24em;
  color: var(--mint);
}

.rail h2 {
  font-size: 1.12rem;
  margin-bottom: .7em;
}

.rail ul {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rail a {
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 6px 12px;
  font-size: .95rem;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: 14px;
  transition: var(--press);
}

.rail a:hover {
  background: rgba(180, 253, 225, .16);
  border-color: var(--line);
  transform: translateX(-3px);
}

.rail a.is-active {
  background: var(--mint);
  color: var(--ink);
  border-color: var(--ink);
}

.dock {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 60;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 8px clamp(12px, 2vw, 26px);
  align-items: center;
  padding: 10px clamp(12px, 3vw, 26px) 8px;
  background: var(--ink-2);
  border-top: 3px solid var(--line);
  box-shadow: 0 -10px 26px rgba(0, 0, 0, .5);
}

.dock address {
  font-style: normal;
  font-weight: 600;
  font-size: .92rem;
  letter-spacing: .08em;
  color: var(--mint);
  white-space: nowrap;
}

.dock nav { min-width: 0; }

.dock dl {
  display: grid;
  grid-auto-flow: column;
  grid-template-rows: auto auto;
  gap: 2px 2px;
  margin: 0;
  padding-bottom: 2px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.dock dt {
  padding-left: 11px;
  font-size: .64rem;
  letter-spacing: .16em;
  color: var(--dim);
}

.dock dd { margin: 0; }

.dock dd a {
  display: flex;
  align-items: center;
  min-height: 40px;
  padding: 0 11px;
  font-size: .93rem;
  white-space: nowrap;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: 12px;
  transition: var(--press);
}

.dock dd a:hover,
.dock dd a.is-active {
  background: var(--mint);
  color: var(--ink);
  border-color: var(--ink);
}

.dock .quick {
  display: flex;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.dock .quick a {
  display: flex;
  align-items: center;
  min-height: 40px;
  padding: 0 12px;
  font-size: .88rem;
  white-space: nowrap;
  text-decoration: none;
  border: 2px solid var(--line);
  border-radius: 12px;
  transition: var(--press);
}

.dock .quick a:hover {
  background: rgba(180, 253, 225, .18);
  transform: translateY(-2px);
}

.copy {
  grid-column: 1 / -1;
  margin: 0;
  padding-top: 6px;
  font-size: .74rem;
  letter-spacing: .1em;
  color: var(--dim);
  border-top: 1px solid rgba(180, 253, 225, .16);
}

@media (max-width: 920px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
    gap: 22px;
  }

  .hero-art { aspect-ratio: 16 / 11; }

  .hero-copy { text-align: left; }

  .lede { margin-left: 0; max-width: none; }

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

  .rail {
    grid-column: 1;
    grid-row: 2;
    position: static;
  }
}

@media (max-width: 760px) {
  body { font-size: 16px; padding-bottom: 180px; }

  .dock {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 4px 8px;
    padding: 8px 12px;
  }

  .dock address { font-size: .8rem; }

  .dock nav { grid-column: 1 / -1; grid-row: 2; }

  .dock dt { font-size: .6rem; padding-left: 9px; }

  .dock dd a { font-size: .9rem; padding: 0 9px; }

  .dock .quick { gap: 4px; }

  .dock .quick a { font-size: .78rem; padding: 0 8px; }

  .copy { grid-row: 3; font-size: .68rem; }
}

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

  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }

  .blob { animation: none; }
}
</｜DSML｜ parameter>
</｜DSML｜ invoke>
</｜DSML｜ calls>

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