:root {
  --primary: #c77b6d;
  --primary-dark: #8e586b;
  --paper: #fff6e7;
  --paper-deep: #efe5d2;
  --card: #fffaf2;
  --ink: #3c2b3f;
  --ink-soft: #756875;
  --muted: #a39488;
  --line: #4c3850;
  --border: #e8d6b9;
  --green: #7f9f88;
  --gold: #b89a62;
  --blue: #668a95;
  --plum: #5a405f;
  --rose-wash: #f3d6cd;
  --sage-wash: #e4ecdc;
  --font-hand: "Hannotate SC", "HanziPen SC", "Xingkai SC", "STXingkai",
    "Ma Shan Zheng", "LXGW WenKai", "霞鹜文楷", "Klee One", "Kaiti SC", STKaiti,
    KaiTi, cursive;
  --font-body: "LXGW WenKai", "霞鹜文楷", "Klee One", "Kaiti SC", STKaiti,
    KaiTi, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "Microsoft YaHei", sans-serif;
  --max: 1200px;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-body);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  position: relative;
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(115deg, rgba(255, 250, 242, 0.94), rgba(245, 236, 220, 0.88)),
    repeating-linear-gradient(105deg, rgba(76, 56, 80, 0.035) 0 1px, transparent 1px 13px),
    linear-gradient(90deg, rgba(76, 56, 80, 0.03) 1px, transparent 1px),
    linear-gradient(rgba(76, 56, 80, 0.024) 1px, transparent 1px),
    var(--paper);
  background-size: auto, auto, 54px 54px, 54px 54px, auto;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent 0 49%, rgba(76, 56, 80, 0.022) 50%, transparent 51%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.11) 0 1px, transparent 1px 7px);
  opacity: 0.72;
}

body,
button {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

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

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3,
.brand,
.nav-links,
.eyebrow,
.section-kicker,
.primary-action,
.secondary-action,
.feature-card span,
.tag-row span {
  font-family: var(--font-hand);
}

.site-footer strong {
  font-family: var(--font-hand);
}

main {
  position: relative;
  overflow: hidden;
}

main section[id] {
  scroll-margin-top: 112px;
}

.site-header {
  position: fixed;
  top: 16px;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100% - 48px, 1120px);
  margin: 0 auto;
  gap: 24px;
  border: 1.5px solid rgba(76, 56, 80, 0.48);
  border-radius: 15px 11px 16px 12px;
  background:
    linear-gradient(145deg, rgba(255, 250, 242, 0.88), rgba(255, 246, 231, 0.72));
  box-shadow: 4px 5px rgba(76, 56, 80, 0.1), 0 18px 50px rgba(76, 56, 80, 0.09);
  padding: 10px 14px 10px 12px;
  backdrop-filter: blur(18px);
  transition: background 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

.site-header.is-scrolled {
  background:
    linear-gradient(145deg, rgba(255, 250, 242, 0.94), rgba(255, 246, 231, 0.82));
  box-shadow: 5px 7px rgba(76, 56, 80, 0.12), 0 22px 58px rgba(76, 56, 80, 0.12);
  transform: translateY(-2px);
}

.site-header::before {
  position: absolute;
  top: -10px;
  left: 48%;
  display: block;
  width: 92px;
  height: 18px;
  content: "";
  border: 1px solid rgba(76, 56, 80, 0.12);
  background:
    repeating-linear-gradient(
      90deg,
      rgba(184, 154, 98, 0.18) 0 1px,
      transparent 1px 7px
    ),
    rgba(246, 224, 173, 0.68);
  transform: rotate(2deg);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  line-height: 1.1;
}

.brand-mark {
  position: relative;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1.5px solid var(--line);
  border-radius: 10px 8px 12px 7px;
  background: linear-gradient(145deg, var(--plum), #7a5367);
  box-shadow: 3px 4px rgba(76, 56, 80, 0.16);
  color: var(--card);
  font-size: 22px;
  transform: rotate(-2deg);
}

.brand-mark::after {
  position: absolute;
  inset: 7px auto auto 7px;
  width: 10px;
  height: 10px;
  content: "";
  border-radius: 999px;
  background: rgba(255, 250, 242, 0.38);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 17px;
}

.brand small {
  margin-top: 2px;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 800;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
  color: var(--ink-soft);
  font-size: 15px;
  font-weight: 900;
  white-space: nowrap;
}

.nav-links a {
  position: relative;
  transition: color 180ms ease, transform 180ms ease;
}

.nav-links a::after {
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 2px;
  content: "";
  background: currentColor;
  border-radius: 999px;
  opacity: 0;
  transform: scaleX(0.6);
  transition: opacity 180ms ease, transform 180ms ease;
}

.nav-links a:hover {
  color: var(--primary-dark);
  transform: translateY(-1px);
}

.nav-links a:hover::after,
.nav-links a.is-active::after {
  opacity: 0.55;
  transform: scaleX(1);
}

.nav-links a.is-active {
  color: var(--primary-dark);
}

.hero-section {
  position: relative;
  min-height: 100dvh;
  padding: 150px clamp(18px, 4vw, 64px) 58px;
  background:
    linear-gradient(135deg, rgba(255, 250, 242, 0.96), rgba(239, 229, 210, 0.72)),
    repeating-linear-gradient(118deg, rgba(142, 88, 107, 0.055) 0 1px, transparent 1px 16px);
}

.hero-section::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(76, 56, 80, 0.03) 1px, transparent 1px),
    linear-gradient(rgba(76, 56, 80, 0.024) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), transparent 82%);
}

.hero-section::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 92px;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(178deg, transparent 0 38%, rgba(255, 246, 231, 0.82) 39% 61%, var(--paper) 62%),
    linear-gradient(90deg, rgba(199, 123, 109, 0.08), rgba(127, 159, 136, 0.08));
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(100%, var(--max));
  margin: 0 auto;
  padding-right: 560px;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  margin-bottom: 18px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  background: var(--card);
  box-shadow: 2px 3px rgba(76, 56, 80, 0.1);
  color: var(--primary-dark);
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 900;
}

h1 {
  max-width: 540px;
  margin-bottom: 24px;
  color: var(--ink);
  font-size: 66px;
  line-height: 1.06;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 520px;
  margin-bottom: 18px;
  color: var(--ink-soft);
  font-size: 20px;
  line-height: 1.78;
}

.hero-signals {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 520px;
  margin: 0 0 28px;
}

.hero-signals span {
  display: inline-flex;
  align-items: center;
  min-height: 31px;
  border: 1px solid rgba(76, 56, 80, 0.28);
  border-radius: 999px;
  background: rgba(255, 250, 242, 0.72);
  box-shadow: 2px 3px rgba(76, 56, 80, 0.07);
  color: var(--primary-dark);
  padding: 4px 12px;
  font-family: var(--font-hand);
  font-size: 13px;
  font-weight: 900;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.primary-action,
.secondary-action {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--line);
  border-radius: 10px 8px 12px 9px;
  box-shadow: 3px 4px rgba(76, 56, 80, 0.17);
  padding: 0 22px;
  font-weight: 900;
  transition: transform 180ms cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 180ms cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.primary-action {
  background: var(--primary);
  color: var(--card);
  animation: actionBreath 5.4s ease-in-out infinite;
}

.secondary-action {
  background: rgba(255, 252, 245, 0.82);
  color: var(--ink);
}

.primary-action:hover,
.secondary-action:hover {
  box-shadow: 4px 6px rgba(76, 56, 80, 0.19);
  transform: translateY(-2px) rotate(-0.2deg);
}

.hero-device-showcase {
  position: absolute;
  right: max(18px, calc((100vw - var(--max)) / 2 - 20px));
  top: 112px;
  z-index: 3;
  width: min(54vw, 680px);
  height: 630px;
  pointer-events: none;
  transform: translate3d(var(--pointer-x, 0px), var(--pointer-y, 0px), 0);
  transition: transform 300ms ease-out;
}

.art-card {
  position: relative;
  overflow: visible;
  margin: 0;
  border-radius: 18px 14px 22px 16px;
  background:
    linear-gradient(145deg, rgba(255, 250, 242, 0.94), rgba(239, 229, 210, 0.74)),
    var(--card);
  box-shadow: 6px 8px rgba(76, 56, 80, 0.1), 0 28px 70px rgba(76, 56, 80, 0.13);
  transform: translate3d(var(--art-x, 0px), var(--drift-y, 0px), 0)
    rotate(var(--tilt, 0deg));
  transition: transform 650ms cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 650ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.art-card::before {
  position: absolute;
  top: -16px;
  left: 11%;
  z-index: 3;
  width: 112px;
  height: 30px;
  content: "";
  border: 1px solid rgba(76, 56, 80, 0.16);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0)),
    repeating-linear-gradient(
      90deg,
      rgba(184, 154, 98, 0.18) 0 1px,
      transparent 1px 8px
    ),
    rgba(246, 224, 173, 0.78);
  box-shadow: 0 8px 24px rgba(76, 56, 80, 0.12);
  transform: rotate(-5deg);
}

.art-card::after {
  position: absolute;
  inset: 0;
  z-index: 2;
  content: "";
  pointer-events: none;
  border: 1.5px solid rgba(76, 56, 80, 0.58);
  border-radius: inherit;
  background:
    linear-gradient(110deg, rgba(255, 250, 242, 0.18), transparent 38%),
    linear-gradient(to bottom, transparent 0 70%, rgba(60, 43, 63, 0.1));
  mix-blend-mode: multiply;
}

.art-card img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.9) contrast(0.98) brightness(1.02);
}

.hero-art {
  position: absolute;
  inset: 0 0 auto auto;
  --tilt: 0.9deg;
  width: 100%;
  height: 560px;
  animation: heroArtFloat 8.2s ease-in-out infinite;
}

.hero-art img {
  object-position: 66% center;
  mask-image: linear-gradient(to right, transparent 0, #000 8%, #000 100%);
}

.hero-art::before {
  left: 58%;
  transform: rotate(4deg);
}

.paper-note,
.floating-note {
  position: absolute;
  z-index: 4;
  display: grid;
  gap: 5px;
  border: 1.5px solid var(--line);
  border-radius: 11px 8px 13px 9px;
  background:
    linear-gradient(145deg, rgba(255, 252, 245, 0.94), rgba(255, 246, 231, 0.82));
  box-shadow: 3px 4px rgba(76, 56, 80, 0.12), 0 16px 36px rgba(76, 56, 80, 0.1);
  padding: 15px 17px;
  backdrop-filter: blur(14px);
}

.paper-note {
  left: -18px;
  top: 150px;
  max-width: 205px;
  transform: rotate(-5deg);
  animation: paperBob 7.2s ease-in-out infinite;
}

.paper-note span,
.floating-note span {
  color: var(--ink-soft);
  line-height: 1.55;
}

.floating-note {
  animation: floatNote 5.8s ease-in-out infinite;
}

.note-cellar {
  left: 28px;
  bottom: 92px;
  transform: rotate(-6deg);
}

.note-flavor {
  right: 20px;
  bottom: 54px;
  background:
    linear-gradient(145deg, rgba(228, 236, 220, 0.94), rgba(255, 250, 242, 0.82));
  transform: rotate(4deg);
  animation-delay: -1.8s;
}

.signal-strip {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(calc(100% - 40px), 1080px);
  margin: -18px auto 0;
  padding: 26px 0 4px;
  gap: 16px;
  z-index: 4;
}

.signal-strip div {
  position: relative;
  overflow: hidden;
  border: 1.5px solid var(--line);
  border-radius: 11px 8px 12px 9px;
  background: var(--card);
  box-shadow: 3px 4px rgba(76, 56, 80, 0.11);
  padding: 20px;
  transform: rotate(var(--tilt, -0.5deg));
  transition: transform 260ms ease, box-shadow 260ms ease, background-color 260ms ease;
}

.signal-strip div::before {
  display: block;
  width: 32px;
  height: 5px;
  margin-bottom: 14px;
  content: "";
  border-radius: 999px;
  background: var(--primary);
  box-shadow: 40px 0 var(--sage-wash), 80px 0 var(--gold);
  opacity: 0.9;
}

.signal-strip div::after {
  position: absolute;
  right: -18px;
  bottom: -20px;
  width: 74px;
  height: 74px;
  content: "";
  border: 1px solid rgba(76, 56, 80, 0.12);
  border-radius: 22px;
  background: rgba(243, 214, 205, 0.36);
  transform: rotate(18deg);
}

.signal-strip div:hover {
  background: rgba(255, 252, 245, 0.94);
  box-shadow: 4px 6px rgba(76, 56, 80, 0.13);
  transform: translateY(-3px) rotate(var(--tilt, -0.5deg));
}

.signal-strip div:nth-child(2) {
  --tilt: 0.7deg;
}

.signal-strip div:nth-child(3) {
  --tilt: -0.9deg;
}

.signal-strip strong,
.signal-strip span {
  display: block;
}

.signal-strip strong {
  margin-bottom: 8px;
  font-size: 20px;
}

.signal-strip span {
  color: var(--ink-soft);
  line-height: 1.62;
}

.intro-section,
.section {
  position: relative;
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 78px clamp(20px, 5vw, 72px);
}

.section[data-section]::before {
  position: absolute;
  top: 44px;
  left: max(20px, calc((100% - var(--max)) / 2 + 20px));
  z-index: 1;
  content: attr(data-section);
  color: rgba(142, 88, 107, 0.28);
  font-family: var(--font-hand);
  font-size: 82px;
  font-weight: 900;
  line-height: 1;
  pointer-events: none;
}

.intro-section {
  padding-top: 92px;
  padding-bottom: 92px;
}

.intro-section::before {
  position: absolute;
  top: 54px;
  right: clamp(20px, 8vw, 116px);
  width: 138px;
  height: 30px;
  content: "";
  border: 1px solid rgba(76, 56, 80, 0.12);
  background:
    repeating-linear-gradient(
      90deg,
      rgba(199, 123, 109, 0.14) 0 1px,
      transparent 1px 8px
    ),
    rgba(255, 246, 231, 0.68);
  transform: rotate(4deg);
}

.intro-section p {
  max-width: 960px;
  margin-bottom: 0;
  border-left: 3px solid rgba(142, 88, 107, 0.32);
  padding-left: 28px;
  font-family: var(--font-hand);
  font-size: 36px;
  line-height: 1.55;
}

.split-section,
.archive-section {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(380px, 1.02fr);
  align-items: center;
  gap: clamp(32px, 6vw, 86px);
}

.section-art {
  aspect-ratio: 16 / 11;
  --tilt: 0.7deg;
}

.section-art::before {
  left: 18%;
  background-color: rgba(228, 236, 220, 0.84);
  transform: rotate(-7deg);
}

.section-copy {
  position: relative;
  max-width: 720px;
}

.section-copy:not(.light-copy)::after {
  display: block;
  width: 124px;
  height: 8px;
  margin-top: 28px;
  content: "";
  border-radius: 999px;
  background:
    linear-gradient(90deg, var(--primary) 0 32%, var(--gold) 32% 60%, var(--green) 60% 100%);
  opacity: 0.52;
}

.section-copy h2,
.section-heading h2,
.mini-copy h2 {
  margin-bottom: 16px;
  font-size: 48px;
  line-height: 1.12;
  letter-spacing: 0;
}

.section-copy p,
.mini-copy p {
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 1.8;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.tag-row span,
.feature-card span {
  display: inline-flex;
  width: fit-content;
  border: 1px solid rgba(76, 56, 80, 0.3);
  border-radius: 999px;
  background: rgba(255, 252, 245, 0.76);
  color: var(--primary-dark);
  padding: 5px 11px;
  font-size: 13px;
  font-weight: 900;
  transition: transform 190ms ease, background-color 190ms ease;
}

.tag-row span:hover {
  background: rgba(255, 250, 242, 0.94);
  transform: translateY(-2px) rotate(-1deg);
}

.feature-section {
  display: grid;
  gap: 36px;
}

.section-heading {
  max-width: 780px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-card {
  position: relative;
  overflow: hidden;
  min-height: 270px;
  border: 1.5px solid var(--line);
  border-radius: 12px 8px 14px 9px;
  background:
    linear-gradient(140deg, rgba(255, 252, 245, 0.96), rgba(245, 240, 230, 0.78)),
    var(--card);
  box-shadow: 3px 4px rgba(76, 56, 80, 0.12);
  padding: 24px;
  transform: translateY(var(--lift, 0)) rotate(var(--tilt, -1deg));
  transition: transform 260ms ease, box-shadow 260ms ease, background 260ms ease;
}

.feature-card::before {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 52px;
  height: 52px;
  content: "";
  border: 1px solid rgba(76, 56, 80, 0.22);
  border-radius: 16px 11px 18px 12px;
  background:
    linear-gradient(135deg, rgba(255, 250, 242, 0.86), rgba(255, 250, 242, 0.42)),
    var(--feature-accent, var(--rose-wash));
  box-shadow: 2px 3px rgba(76, 56, 80, 0.08);
  transform: rotate(7deg);
}

.feature-card::after {
  position: absolute;
  right: 34px;
  top: 37px;
  width: 28px;
  height: 18px;
  content: "";
  border-top: 2px solid rgba(76, 56, 80, 0.5);
  border-bottom: 2px solid rgba(76, 56, 80, 0.28);
  transform: rotate(7deg);
}

.feature-card:nth-child(2) {
  --lift: 30px;
  --tilt: 1deg;
  --feature-accent: var(--sage-wash);
  background-color: var(--sage-wash);
}

.feature-card:nth-child(3) {
  --lift: -14px;
  --tilt: -0.5deg;
  --feature-accent: var(--rose-wash);
  background-color: var(--rose-wash);
}

.feature-card:nth-child(1) {
  --feature-accent: #f0dfb9;
}

.feature-card:hover {
  box-shadow: 5px 7px rgba(76, 56, 80, 0.14), 0 20px 42px rgba(76, 56, 80, 0.1);
  transform: translateY(calc(var(--lift, 0px) - 6px)) rotate(calc(var(--tilt, -1deg) - 0.25deg));
}

.feature-card h3 {
  margin: 28px 0 10px;
  font-size: 24px;
  line-height: 1.18;
}

.feature-card p {
  color: var(--ink-soft);
  line-height: 1.75;
}

.tool-entry-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(420px, 1.4fr);
  align-items: start;
  gap: 32px;
}

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

.tool-entry-grid a {
  display: grid;
  min-height: 178px;
  align-content: start;
  gap: 10px;
  border: 1.5px solid var(--line);
  border-radius: 12px 8px 14px 9px;
  background:
    linear-gradient(145deg, rgba(255, 252, 245, 0.96), rgba(243, 236, 224, 0.72)),
    var(--card);
  box-shadow: 3px 4px rgba(76, 56, 80, 0.11);
  color: inherit;
  padding: 22px;
  text-decoration: none;
  transform: rotate(-0.3deg);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.tool-entry-grid a:nth-child(2),
.tool-entry-grid a:nth-child(4) {
  transform: rotate(0.45deg);
}

.tool-entry-grid a:hover {
  box-shadow: 5px 7px rgba(76, 56, 80, 0.14), 0 18px 38px rgba(76, 56, 80, 0.1);
  transform: translateY(-4px) rotate(0deg);
}

.tool-entry-grid span {
  color: var(--blue);
  font-weight: 950;
}

.tool-entry-grid strong {
  font-size: 24px;
  line-height: 1.18;
}

.tool-entry-grid small {
  color: var(--ink-soft);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.7;
}

.wide-art {
  aspect-ratio: 16 / 9;
  --tilt: -0.45deg;
}

.wide-art::before {
  left: 72%;
  background-color: rgba(243, 214, 205, 0.82);
  transform: rotate(6deg);
}

.inspiration-section {
  position: relative;
  margin-top: 24px;
  padding: 96px clamp(20px, 5vw, 72px);
  background:
    linear-gradient(128deg, rgba(60, 43, 63, 0.98), rgba(90, 64, 95, 0.93)),
    repeating-linear-gradient(112deg, rgba(255, 250, 242, 0.045) 0 1px, transparent 1px 15px);
  color: var(--card);
}

.inspiration-section::before,
.inspiration-section::after {
  position: absolute;
  left: 0;
  right: 0;
  height: 54px;
  content: "";
  pointer-events: none;
  background: linear-gradient(178deg, var(--paper) 0 48%, transparent 49%);
}

.inspiration-section::before {
  top: -1px;
}

.inspiration-section::after {
  bottom: -1px;
  transform: rotate(180deg);
}

.inspiration-bg {
  display: none;
}

.inspiration-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(360px, 1.12fr);
  align-items: center;
  width: min(calc(100% - 56px), var(--max));
  margin: 0 auto;
  gap: clamp(30px, 5vw, 72px);
}

.inspiration-inner::before {
  position: absolute;
  top: -24px;
  left: -12px;
  z-index: -1;
  content: "03";
  color: rgba(255, 250, 242, 0.1);
  font-family: var(--font-hand);
  font-size: 86px;
  font-weight: 900;
  line-height: 1;
  pointer-events: none;
}

.light-copy p {
  color: rgba(255, 252, 245, 0.74);
}

.light-copy .section-kicker {
  color: var(--primary-dark);
}

.recipe-stack {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  min-width: 0;
  gap: 14px;
}

.inspiration-art {
  grid-column: 1 / -1;
  aspect-ratio: 16 / 9;
  --tilt: -0.55deg;
}

.inspiration-art::before {
  left: 14%;
  background-color: rgba(255, 246, 231, 0.84);
  transform: rotate(-4deg);
}

.recipe-stack article {
  min-width: 0;
  min-height: 252px;
  border: 1.5px solid rgba(255, 252, 245, 0.46);
  border-radius: 12px 9px 14px 8px;
  background:
    linear-gradient(140deg, rgba(255, 252, 245, 0.14), rgba(255, 252, 245, 0.075));
  box-shadow: inset 0 1px rgba(255, 252, 245, 0.26), 0 24px 55px rgba(0, 0, 0, 0.22);
  padding: 21px;
  backdrop-filter: blur(18px);
  transition: transform 280ms ease, background 280ms ease, border-color 280ms ease;
}

.recipe-stack article:hover {
  border-color: rgba(255, 252, 245, 0.62);
  background:
    linear-gradient(140deg, rgba(255, 252, 245, 0.19), rgba(255, 252, 245, 0.095));
}

.recipe-stack article:nth-of-type(1) {
  transform: rotate(-2deg) translateY(14px);
}

.recipe-stack article:nth-of-type(2) {
  transform: translateY(-18px);
}

.recipe-stack article:nth-of-type(3) {
  transform: rotate(1.2deg) translate(-4px, 18px);
}

.recipe-stack small,
.recipe-stack strong {
  display: block;
}

.recipe-stack small {
  margin-bottom: 14px;
  color: rgba(255, 252, 245, 0.66);
}

.recipe-stack strong {
  margin-bottom: 12px;
  font-size: 23px;
  line-height: 1.25;
}

.recipe-stack p {
  color: rgba(255, 252, 245, 0.72);
  line-height: 1.72;
}

.archive-section {
  grid-template-columns: minmax(420px, 1fr) minmax(0, 0.86fr);
}

.archive-section::after {
  position: absolute;
  right: clamp(20px, 5vw, 76px);
  bottom: 44px;
  width: 190px;
  height: 56px;
  content: "";
  border: 1px solid rgba(76, 56, 80, 0.1);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.18), transparent),
    repeating-linear-gradient(
      90deg,
      rgba(127, 159, 136, 0.14) 0 1px,
      transparent 1px 10px
    ),
    rgba(228, 236, 220, 0.45);
  transform: rotate(-3deg);
  pointer-events: none;
}

.archive-visual {
  position: relative;
  overflow: visible;
  border: 1.5px solid rgba(76, 56, 80, 0.58);
  border-radius: 18px 12px 20px 14px;
  box-shadow: 6px 8px rgba(76, 56, 80, 0.1), 0 26px 70px rgba(76, 56, 80, 0.1);
  transform: translate3d(0, var(--drift-y, 0px), 0) rotate(-0.75deg);
  transition: transform 650ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.archive-visual::after {
  position: absolute;
  top: -18px;
  left: 18%;
  z-index: 3;
  width: 118px;
  height: 30px;
  content: "";
  border: 1px solid rgba(76, 56, 80, 0.16);
  background:
    repeating-linear-gradient(
      90deg,
      rgba(199, 123, 109, 0.14) 0 1px,
      transparent 1px 8px
    ),
    rgba(243, 214, 205, 0.72);
  box-shadow: 0 8px 24px rgba(76, 56, 80, 0.12);
  transform: rotate(-5deg);
}

.archive-visual::before {
  position: absolute;
  inset: 0;
  z-index: 2;
  content: "";
  pointer-events: none;
  border-radius: inherit;
  background:
    linear-gradient(110deg, rgba(255, 250, 242, 0.16), transparent 38%),
    linear-gradient(to bottom, transparent 62%, rgba(60, 43, 63, 0.11));
  mix-blend-mode: multiply;
}

.archive-visual img {
  width: 100%;
  min-height: 380px;
  border-radius: inherit;
  object-fit: cover;
  filter: saturate(0.9) contrast(0.98) brightness(1.02);
}

.article-teaser-section {
  display: grid;
  gap: 28px;
}

.section-heading p:not(.section-kicker) {
  max-width: 700px;
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 1.8;
}

.article-teaser-grid,
.article-index-grid,
.article-related-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.article-teaser-card,
.article-index-card,
.article-related-card {
  position: relative;
  display: grid;
  min-width: 0;
  border: 1.5px solid var(--line);
  border-radius: 14px 10px 16px 11px;
  background:
    linear-gradient(145deg, rgba(255, 250, 242, 0.94), rgba(245, 235, 222, 0.78)),
    var(--card);
  box-shadow: 3px 4px rgba(76, 56, 80, 0.11);
  color: var(--ink);
  transition: transform 260ms ease, box-shadow 260ms ease;
}

.article-teaser-card:hover,
.article-index-card:hover,
.article-related-card:hover {
  box-shadow: 5px 7px rgba(76, 56, 80, 0.13), 0 22px 46px rgba(76, 56, 80, 0.1);
  transform: translateY(-5px) rotate(-0.25deg);
}

.article-teaser-card img,
.article-index-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-bottom: 1.5px solid rgba(76, 56, 80, 0.42);
  border-radius: 13px 9px 0 0;
  object-fit: cover;
  filter: saturate(0.9) contrast(0.98) brightness(1.02);
}

.article-teaser-card span,
.article-index-card span,
.article-related-card span {
  width: fit-content;
  margin: 18px 18px 10px;
  border: 1px solid rgba(76, 56, 80, 0.28);
  border-radius: 999px;
  background: rgba(255, 252, 245, 0.82);
  color: var(--primary-dark);
  padding: 4px 10px;
  font-family: var(--font-hand);
  font-size: 13px;
  font-weight: 900;
}

.article-teaser-card strong,
.article-index-card strong,
.article-related-card strong {
  margin: 0 18px 20px;
  font-family: var(--font-hand);
  font-size: 20px;
  line-height: 1.35;
}

.article-index-card p {
  margin: 0 18px 16px;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.7;
}

.article-index-card small,
.article-related-card small {
  margin: auto 18px 18px;
  color: var(--muted);
  font-weight: 900;
}

.article-index-link {
  justify-self: start;
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  border: 1.5px solid var(--line);
  border-radius: 10px 8px 12px 9px;
  background: var(--plum);
  box-shadow: 3px 4px rgba(76, 56, 80, 0.17);
  color: var(--card);
  padding: 0 20px;
  font-family: var(--font-hand);
  font-weight: 900;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.article-index-link:hover {
  box-shadow: 4px 6px rgba(76, 56, 80, 0.2);
  transform: translateY(-2px);
}

.mini-section {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  align-items: center;
  gap: 34px;
  width: min(calc(100% - 40px), 930px);
  margin: 18px auto 78px;
  border: 1.5px solid var(--line);
  border-radius: 15px 11px 17px 12px;
  background:
    linear-gradient(180deg, rgba(255, 250, 242, 0.98), rgba(245, 235, 222, 0.82)),
    repeating-linear-gradient(105deg, rgba(127, 159, 136, 0.075) 0 1px, transparent 1px 14px);
  box-shadow: 5px 6px rgba(76, 56, 80, 0.12);
  padding: clamp(34px, 6vw, 62px);
  text-align: left;
}

.mini-section::before {
  position: absolute;
  inset: 16px;
  content: "";
  border: 1px dashed rgba(76, 56, 80, 0.22);
  border-radius: 12px 9px 14px 10px;
  pointer-events: none;
}

.mini-section::after {
  position: absolute;
  right: -36px;
  top: -42px;
  width: 170px;
  height: 170px;
  content: "";
  border: 1.5px solid rgba(76, 56, 80, 0.12);
  border-radius: 36px;
  background: rgba(243, 214, 205, 0.28);
  transform: rotate(18deg);
  pointer-events: none;
}

.mini-copy,
.qr-panel {
  position: relative;
  z-index: 1;
}

.mini-copy p {
  margin-bottom: 0;
}

.qr-panel {
  display: grid;
  justify-items: center;
  gap: 12px;
  margin: 0;
  transform: rotate(1.2deg);
}

.qr-panel img {
  width: 210px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: var(--card);
  box-shadow: 3px 4px rgba(76, 56, 80, 0.12);
  padding: 10px;
  transition: transform 240ms ease, box-shadow 240ms ease;
}

.qr-panel:hover img {
  box-shadow: 5px 7px rgba(76, 56, 80, 0.13), 0 20px 44px rgba(76, 56, 80, 0.1);
  transform: translateY(-4px);
}

.qr-panel figcaption {
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 900;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(calc(100% - 40px), var(--max));
  margin: -32px auto 36px;
  gap: 24px;
  border-top: 1px solid rgba(76, 56, 80, 0.16);
  color: var(--ink-soft);
  padding-top: 22px;
}

.site-footer div {
  display: grid;
  gap: 4px;
}

.site-footer strong {
  color: var(--ink);
  font-size: 24px;
  line-height: 1;
}

.site-footer span,
.site-footer p {
  margin: 0;
  line-height: 1.6;
}

.article-page main {
  overflow: hidden;
}

.article-hero,
.articles-index-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(390px, 1.08fr);
  align-items: center;
  width: min(100% - 80px, var(--max));
  margin: 0 auto;
  padding: 142px 0 76px;
  gap: clamp(34px, 6vw, 84px);
}

.article-hero::before,
.articles-index-hero::before {
  position: absolute;
  top: 118px;
  left: -28px;
  z-index: -1;
  content: "Note";
  color: rgba(142, 88, 107, 0.14);
  font-family: var(--font-hand);
  font-size: 98px;
  font-weight: 900;
  line-height: 1;
  transform: rotate(-4deg);
}

.article-hero-copy h1,
.articles-index-hero h1 {
  max-width: 760px;
  margin-bottom: 20px;
  color: var(--ink);
  font-family: var(--font-hand);
  font-size: 58px;
  line-height: 1.12;
}

.article-hero-copy p,
.articles-index-hero p {
  max-width: 620px;
  color: var(--ink-soft);
  font-size: 19px;
  line-height: 1.85;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.article-meta span {
  border: 1px solid rgba(76, 56, 80, 0.28);
  border-radius: 999px;
  background: rgba(255, 252, 245, 0.78);
  color: var(--primary-dark);
  padding: 5px 12px;
  font-family: var(--font-hand);
  font-size: 13px;
  font-weight: 900;
}

.article-art {
  aspect-ratio: 16 / 11;
  --tilt: 0.65deg;
}

.article-art::before {
  left: 62%;
  transform: rotate(5deg);
}

.article-shell {
  display: grid;
  grid-template-columns: 240px minmax(0, 760px);
  align-items: start;
  width: min(100% - 80px, 1060px);
  margin: 0 auto;
  gap: 52px;
}

.article-toc {
  position: sticky;
  top: 104px;
  display: grid;
  gap: 12px;
  border-left: 3px solid rgba(142, 88, 107, 0.26);
  padding: 8px 0 8px 18px;
}

.article-toc strong {
  color: var(--ink);
  font-family: var(--font-hand);
  font-size: 20px;
}

.article-toc a {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.45;
  transition: color 160ms ease, transform 160ms ease;
}

.article-toc a:hover {
  color: var(--primary-dark);
  transform: translateX(3px);
}

.article-content {
  position: relative;
  padding-bottom: 36px;
}

.article-content::before {
  position: absolute;
  top: -22px;
  left: -28px;
  width: 120px;
  height: 26px;
  content: "";
  border: 1px solid rgba(76, 56, 80, 0.13);
  background:
    repeating-linear-gradient(
      90deg,
      rgba(184, 154, 98, 0.16) 0 1px,
      transparent 1px 8px
    ),
    rgba(246, 224, 173, 0.58);
  transform: rotate(-4deg);
}

.article-content h2 {
  margin: 56px 0 18px;
  color: var(--ink);
  font-family: var(--font-hand);
  font-size: 36px;
  line-height: 1.22;
  scroll-margin-top: 118px;
}

.article-content h3 {
  margin: 34px 0 12px;
  color: var(--plum);
  font-family: var(--font-hand);
  font-size: 24px;
  line-height: 1.35;
}

.article-content p,
.article-content li,
.article-content blockquote {
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 1.9;
}

.article-content p {
  margin: 0 0 20px;
}

.article-content a {
  color: var(--primary-dark);
  box-shadow: inset 0 -0.38em rgba(243, 214, 205, 0.7);
  font-weight: 900;
}

.article-content ul,
.article-content ol {
  display: grid;
  gap: 8px;
  margin: 0 0 24px;
  padding-left: 1.3em;
}

.article-content blockquote {
  margin: 26px 0;
  border-left: 4px solid rgba(142, 88, 107, 0.36);
  background:
    linear-gradient(135deg, rgba(255, 250, 242, 0.84), rgba(243, 214, 205, 0.34));
  padding: 18px 22px;
  font-family: var(--font-hand);
  font-size: 24px;
  line-height: 1.55;
}

.article-related-section {
  display: grid;
  width: min(100% - 80px, var(--max));
  margin: 42px auto 88px;
  gap: 24px;
}

.article-related-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.article-related-card {
  min-height: 210px;
  padding-top: 2px;
}

.articles-index-hero {
  padding-bottom: 58px;
}

.article-index-grid {
  width: min(100% - 80px, var(--max));
  margin: 0 auto 90px;
}

.reveal {
  opacity: 0;
  transform: translateY(22px) rotate(0.35deg);
  transition: opacity 760ms ease, transform 820ms cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes heroArtFloat {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -8px;
  }
}

@keyframes floatNote {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -10px;
  }
}

@keyframes paperBob {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 7px;
  }
}

@keyframes actionBreath {
  0%,
  100% {
    filter: saturate(1);
  }
  50% {
    filter: saturate(1.08) brightness(1.03);
  }
}

@media (max-width: 1040px) {
  .site-header {
    width: calc(100% - 36px);
  }

  h1 {
    font-size: 58px;
  }

  .intro-section p {
    font-size: 32px;
  }

  .section-copy h2,
  .section-heading h2,
  .mini-copy h2 {
    font-size: 42px;
  }

  .hero-content {
    padding-right: 0;
  }

  .hero-device-showcase {
    position: relative;
    right: auto;
    top: auto;
    width: min(100%, 600px);
    height: 500px;
    margin: 32px auto 0;
  }

  .hero-art {
    height: 470px;
  }

  .signal-strip,
  .split-section,
  .tool-entry-section,
  .inspiration-inner,
  .archive-section {
    grid-template-columns: 1fr;
  }

  .inspiration-inner {
    width: min(100%, var(--max));
  }

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

  .article-teaser-grid,
  .article-index-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-card:nth-child(3) {
    grid-column: 1 / -1;
    min-height: 220px;
  }

  .feature-card:nth-child(n) {
    transform: rotate(var(--tilt, 0deg));
  }

  .recipe-stack {
    grid-template-columns: 1fr;
  }

  .recipe-stack article:nth-of-type(n) {
    transform: none;
  }

  .article-hero,
  .articles-index-hero,
  .article-shell {
    grid-template-columns: 1fr;
  }

  .article-hero,
  .articles-index-hero,
  .article-shell,
  .article-related-section,
  .article-index-grid {
    width: min(100% - 40px, var(--max));
  }

  .article-toc {
    position: relative;
    top: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-left: 0;
    border-top: 1px solid rgba(76, 56, 80, 0.18);
    padding: 20px 0 0;
  }

  .article-toc strong {
    grid-column: 1 / -1;
  }

  .article-related-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  main section[id] {
    scroll-margin-top: 94px;
  }

  .site-header {
    top: 12px;
    width: calc(100% - 32px);
    align-items: flex-start;
    padding: 9px 11px;
  }

  .nav-links {
    display: grid;
    grid-template-columns: repeat(2, auto);
    gap: 8px 14px;
    justify-content: end;
    font-size: 13px;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
  }

  .hero-section {
    padding: 124px 18px 36px;
  }

  h1 {
    font-size: 39px;
  }

  .hero-lead,
  .section-copy p,
  .mini-copy p {
    font-size: 16px;
    line-height: 1.72;
  }

  .hero-signals {
    margin-bottom: 22px;
  }

  .primary-action,
  .secondary-action {
    width: 100%;
  }

  .hero-device-showcase {
    height: 360px;
    margin-inline: -18px;
  }

  .hero-art {
    left: 50%;
    right: auto;
    width: min(92vw, 520px);
    height: 330px;
    --art-x: -50%;
    --tilt: 0.8deg;
    transform: translate3d(var(--art-x), var(--drift-y, 0px), 0) rotate(var(--tilt));
  }

  .paper-note {
    left: 20px;
    top: 24px;
    max-width: 166px;
    padding: 12px;
    font-size: 13px;
  }

  .floating-note {
    max-width: 180px;
    padding: 12px;
    font-size: 13px;
  }

  .note-cellar {
    left: 20px;
    bottom: 38px;
  }

  .note-flavor {
    right: 16px;
    bottom: 86px;
  }

  .signal-strip,
  .feature-grid,
  .tool-entry-grid,
  .article-teaser-grid,
  .article-index-grid,
  .mini-section {
    grid-template-columns: 1fr;
  }

  .signal-strip {
    margin-top: -6px;
  }

  .intro-section,
  .section,
  .inspiration-section {
    padding-top: 62px;
    padding-bottom: 62px;
  }

  .intro-section p {
    padding-left: 16px;
    font-size: 25px;
  }

  .section[data-section]::before {
    top: 38px;
    font-size: 58px;
  }

  .section-copy h2,
  .section-heading h2,
  .mini-copy h2 {
    font-size: 34px;
  }

  .section-art,
  .wide-art,
  .inspiration-art {
    transform: none;
  }

  .archive-visual {
    order: 2;
    transform: none;
  }

  .archive-visual img {
    min-height: 240px;
  }

  .qr-panel {
    justify-items: start;
    transform: none;
  }

  .site-footer {
    display: grid;
    margin-top: -34px;
    gap: 10px;
  }

  .article-hero,
  .articles-index-hero {
    width: min(100% - 36px, var(--max));
    padding-top: 132px;
    padding-bottom: 54px;
    gap: 30px;
  }

  .article-hero-copy h1,
  .articles-index-hero h1 {
    font-size: 38px;
  }

  .article-hero-copy p,
  .articles-index-hero p,
  .article-content p,
  .article-content li {
    font-size: 16px;
    line-height: 1.82;
  }

  .article-shell,
  .article-related-section,
  .article-index-grid {
    width: min(100% - 36px, var(--max));
  }

  .article-content h2 {
    font-size: 29px;
  }

  .article-content h3 {
    font-size: 22px;
  }

  .article-content blockquote {
    font-size: 20px;
  }

  .article-toc {
    grid-template-columns: 1fr;
    gap: 9px;
  }
}

@media (max-width: 480px) {
  .brand small {
    display: none;
  }

  .nav-links {
    display: none;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
