:root {
  color-scheme: light;
  --bg: #f6f3ed;
  --bg-deep: #eee8de;
  --surface: rgba(255, 255, 255, 0.84);
  --surface-solid: #fff;
  --surface-soft: #fbf9f5;
  --text: #171714;
  --text-soft: #666861;
  --text-faint: #92948d;
  --line: rgba(23, 23, 20, 0.1);
  --line-strong: rgba(23, 23, 20, 0.18);
  --accent: #ed6d36;
  --accent-dark: #ba4518;
  --accent-soft: rgba(237, 109, 54, 0.12);
  --green: #416b56;
  --shadow-sm: 0 12px 34px rgba(32, 29, 24, 0.06);
  --shadow-md: 0 22px 64px rgba(32, 29, 24, 0.1);
  --shadow-lg: 0 38px 100px rgba(32, 29, 24, 0.14);
  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 32px;
  --shell: 1180px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --font-sans: "Segoe UI Variable Text", "Aptos", Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Iowan Old Style", "Baskerville", "Times New Roman", ui-serif, Georgia, serif;
}

html[data-theme="dark"] {
  color-scheme: dark;
  --bg: #11120f;
  --bg-deep: #0b0c0a;
  --surface: rgba(27, 28, 24, 0.84);
  --surface-solid: #1b1c18;
  --surface-soft: #20211d;
  --text: #f5f2e9;
  --text-soft: #b3b5ad;
  --text-faint: #83857e;
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.2);
  --accent: #ff7b42;
  --accent-dark: #ff9b73;
  --accent-soft: rgba(255, 123, 66, 0.14);
  --green: #8cb59c;
  --shadow-sm: 0 12px 34px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 22px 64px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 38px 100px rgba(0, 0, 0, 0.42);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 5%, var(--accent-soft), transparent 28rem),
    radial-gradient(circle at 90% 18%, rgba(65, 107, 86, 0.08), transparent 25rem),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-deep) 100%);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  opacity: 0.19;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.055'/%3E%3C/svg%3E");
}

body.is-locked { overflow: hidden; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
svg { display: block; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.shell { width: min(calc(100% - 32px), var(--shell)); margin-inline: auto; }
.is-hidden { display: none !important; }

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 1000;
  transform: translateY(-160%);
  border-radius: 999px;
  padding: 10px 15px;
  color: white;
  background: var(--text);
  transition: transform 0.2s ease;
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 13px 0;
  backdrop-filter: blur(18px) saturate(150%);
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  border-bottom: 1px solid transparent;
  transition: 0.28s var(--ease);
}
.site-header.is-scrolled {
  border-color: var(--line);
  box-shadow: 0 8px 30px rgba(24, 22, 18, 0.04);
}

.header-inner { min-height: 54px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: -0.035em; }
.brand-name { font-family: var(--font-display); font-size: 24px; line-height: 1; }
.brand-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 7px var(--accent-soft); }
.desktop-nav { display: flex; align-items: center; gap: 8px; }
.desktop-nav a {
  position: relative;
  border-radius: 999px;
  padding: 10px 14px;
  color: var(--text-soft);
  font-size: 14px;
  font-weight: 650;
  transition: 0.24s var(--ease);
}
.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 5px;
  height: 2px;
  border-radius: 999px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s var(--ease);
}
.desktop-nav a:hover { color: var(--text); background: color-mix(in srgb, var(--surface) 70%, transparent); }
.desktop-nav a:hover::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.icon-button {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--text);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: 0.24s var(--ease);
}
.icon-button svg { width: 19px; height: 19px; }
.icon-button:hover { transform: translateY(-2px); border-color: var(--line-strong); box-shadow: var(--shadow-md); }
html[data-theme="light"] .moon-icon,
html[data-theme="dark"] .sun-icon { display: none; }
.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  cursor: pointer;
}
.menu-button span { display: block; width: 17px; height: 2px; margin: 4px auto; border-radius: 999px; background: currentColor; transition: 0.25s var(--ease); }
.menu-button[aria-expanded="true"] span:first-child { transform: translateY(3px) rotate(45deg); }
.menu-button[aria-expanded="true"] span:last-child { transform: translateY(-3px) rotate(-45deg); }
.mobile-menu { display: none; }

.profile-intro {
  min-height: 650px;
  padding: 42px 0 60px;
  display: grid;
  place-items: center;
  align-content: center;
  text-align: center;
}
.profile-stage {
  --rx: 0deg;
  --ry: 0deg;
  position: relative;
  width: min(500px, 90vw);
  height: 500px;
  display: grid;
  place-items: end center;
  transform-style: preserve-3d;
  perspective: 1100px;
  transform: rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform 0.16s ease-out;
}
.portrait-grid {
  position: absolute;
  inset: 46px 24px 24px;
  border-radius: 48% 48% 42% 42%;
  opacity: 0.18;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: radial-gradient(circle at center, black 24%, transparent 72%);
}
.portrait-halo {
  position: absolute;
  width: 390px;
  height: 390px;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  border-radius: 50%;
  background:
    radial-gradient(circle at 40% 34%, rgba(255,255,255,0.88), rgba(255,255,255,0.08) 54%, transparent 68%),
    linear-gradient(135deg, var(--accent-soft), rgba(65,107,86,0.1));
  box-shadow: inset 0 0 0 1px var(--line), 0 32px 80px rgba(35, 30, 24, 0.1);
  transition: 0.55s var(--ease);
}
.profile-stage:hover .portrait-halo { transform: translateX(-50%) scale(1.04); box-shadow: inset 0 0 0 1px var(--line-strong), 0 42px 110px rgba(35, 30, 24, 0.16); }
.portrait-orbit {
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent);
  pointer-events: none;
}
.portrait-orbit-one { width: 450px; height: 450px; animation: orbitPulse 6s ease-in-out infinite; }
.portrait-orbit-two { width: 500px; height: 500px; border-style: dashed; opacity: 0.5; animation: spinOrbit 28s linear infinite; }
.portrait-accent { position: absolute; width: 62px; height: 5px; border-radius: 999px; background: var(--accent); box-shadow: 0 8px 24px var(--accent-soft); }
.portrait-accent-left { left: 12px; top: 46%; transform: rotate(55deg); }
.portrait-accent-right { right: 12px; top: 26%; transform: rotate(-55deg); }
.profile-photo {
  position: relative;
  z-index: 3;
  width: 415px;
  max-height: 500px;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 34px 28px rgba(18, 17, 14, 0.22));
  transform: translateZ(38px) translateY(6px);
  transition: 0.52s var(--ease);
}
.profile-stage:hover .profile-photo { transform: translateZ(64px) translateY(-9px) scale(1.015); filter: drop-shadow(0 44px 34px rgba(18, 17, 14, 0.26)); }
.floating-note {
  position: absolute;
  z-index: 5;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 14px;
  color: var(--text-soft);
  background: color-mix(in srgb, var(--surface) 86%, transparent);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.03em;
  transition: 0.38s var(--ease);
}
.note-right {
  right: -66px;
  top: 116px;
  max-width: 210px;
  text-align: left;
  line-height: 1.35;
}
.profile-stage:hover .note-right { transform: translate(8px, -7px) rotate(-1deg); }
.profile-copy { max-width: 900px; margin-top: 14px; }
.profile-kicker, .section-kicker {
  margin: 0 0 12px;
  color: var(--accent-dark);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.profile-copy h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(58px, 8vw, 94px);
  line-height: 0.93;
  letter-spacing: -0.058em;
  font-weight: 650;
}
.profile-copy h1::after { content: ""; display: block; width: 78px; height: 5px; margin: 20px auto 0; border-radius: 999px; background: var(--accent); }
.profile-summary { max-width: 660px; margin: 24px auto 0; color: var(--text-soft); font-size: 15px; line-height: 1.8; }
.profile-socials {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px auto 0;
}
.social-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 15px;
  color: var(--text-soft);
  background: color-mix(in srgb, var(--surface) 84%, transparent);
  box-shadow: var(--shadow-sm);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.01em;
  overflow: hidden;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
}
.social-link::before {
  content: "";
  position: absolute;
  inset: auto 12px 0;
  height: 2px;
  border-radius: 999px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.26s var(--ease);
}
.social-link svg {
  width: 17px;
  height: 17px;
  stroke-width: 1.9;
  transition: transform 0.25s var(--ease);
}
.social-link:hover {
  color: var(--text);
  border-color: var(--line-strong);
  background: var(--surface-solid);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.social-link:hover::before { transform: scaleX(1); }
.social-link:hover svg { transform: scale(1.08) rotate(-3deg); }
.social-link:focus-visible {
  outline: 3px solid var(--accent-soft);
  outline-offset: 3px;
}
.profile-kicker-bottom {
  width: fit-content;
  margin: 28px auto 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 14px;
  color: var(--text-soft);
  background: color-mix(in srgb, var(--surface) 78%, transparent);
  box-shadow: var(--shadow-sm);
  letter-spacing: 0.13em;
}
.profile-kicker-bottom::before,
.profile-kicker-bottom::after {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  margin: 0 9px 1px;
  border-radius: 50%;
  background: var(--accent);
}

.article-section { padding: 84px 0 96px; border-top: 1px solid var(--line); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 26px; margin-bottom: 28px; }
.section-heading h2 { max-width: 760px; margin: 0; font-family: var(--font-display); font-size: clamp(38px, 5vw, 58px); line-height: 1.02; letter-spacing: -0.045em; font-weight: 650; }
.section-count { flex: none; margin: 0 0 4px; color: var(--text-soft); font-size: 13px; font-weight: 750; }
.article-tools { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 30px; }
.filter-row { display: flex; gap: 9px; overflow-x: auto; padding: 4px 0 8px; scrollbar-width: none; }
.filter-row::-webkit-scrollbar { display: none; }
.filter-chip {
  flex: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 15px;
  color: var(--text-soft);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  transition: 0.24s var(--ease);
}
.filter-chip:hover { color: var(--text); transform: translateY(-2px); border-color: var(--line-strong); }
.filter-chip.is-active {
  color: var(--bg);
  background: var(--text);
  border-color: var(--text);
  box-shadow: 0 14px 28px color-mix(in srgb, var(--text) 18%, transparent);
}
html[data-theme="dark"] .filter-chip {
  color: #c9cbc3;
  background: color-mix(in srgb, var(--surface-solid) 86%, transparent);
  border-color: rgba(255, 255, 255, 0.13);
}
html[data-theme="dark"] .filter-chip:hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.24);
  background: #23241f;
}
html[data-theme="dark"] .filter-chip.is-active {
  color: #12130f;
  background: #f4f1e8;
  border-color: #f4f1e8;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.34);
}
.inline-search {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 15px;
  color: var(--text-soft);
  background: var(--surface);
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  transition: 0.24s var(--ease);
}
.inline-search svg { width: 17px; height: 17px; }
.inline-search:hover { color: var(--text); transform: translateY(-2px); box-shadow: var(--shadow-sm); }

.article-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.article-card {
  --mx: 50%;
  --my: 50%;
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transform: translateY(0);
  transition: transform 0.38s var(--ease), box-shadow 0.38s var(--ease), border-color 0.38s var(--ease);
}
.article-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: 0;
  opacity: 0;
  pointer-events: none;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(237,109,54,0.15), transparent 44%);
  transition: opacity 0.28s ease;
}
.article-card:hover { transform: translateY(-9px); border-color: color-mix(in srgb, var(--accent) 35%, var(--line)); box-shadow: var(--shadow-lg); }
.article-card:hover::before { opacity: 1; }
.article-card button {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 0;
  padding: 0;
  color: inherit;
  background: transparent;
  text-align: left;
  cursor: pointer;
}
.article-image { position: relative; overflow: hidden; aspect-ratio: 16 / 10; background: var(--surface-soft); }
.article-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(15,15,14,0.2), transparent 45%); opacity: 0.55; transition: 0.35s var(--ease); }
.article-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.72s var(--ease), filter 0.5s var(--ease); }
.article-card:hover .article-image img { transform: scale(1.065); filter: saturate(1.05) contrast(1.02); }
.article-card:hover .article-image::after { opacity: 0.25; }
.article-badge {
  position: absolute;
  z-index: 2;
  left: 14px;
  top: 14px;
  border: 1px solid rgba(255,255,255,0.58);
  border-radius: 999px;
  padding: 8px 10px;
  color: #201d18;
  background: rgba(255,255,255,0.84);
  backdrop-filter: blur(12px);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.article-copy { display: flex; flex: 1; flex-direction: column; padding: 19px 19px 18px; }
.article-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; margin-bottom: 10px; color: var(--text-faint); font-size: 11px; font-weight: 700; }
.article-copy h3 { margin: 0; font-family: var(--font-display); font-size: 25px; line-height: 1.08; letter-spacing: -0.035em; font-weight: 650; }
.article-copy p { margin: 11px 0 0; color: var(--text-soft); font-size: 13px; line-height: 1.68; }
.article-footer { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: auto; padding-top: 18px; }
.article-footer span { color: var(--text-soft); font-size: 12px; font-weight: 700; }
.article-arrow {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface-solid);
  box-shadow: var(--shadow-sm);
  transition: 0.3s var(--ease);
}
.article-arrow svg { width: 17px; height: 17px; }
.article-card:hover .article-arrow { color: white; background: var(--accent); border-color: var(--accent); transform: translate(3px, -3px) rotate(-5deg); }
.empty-state { border: 1px dashed var(--line-strong); border-radius: 24px; padding: 48px 24px; text-align: center; background: var(--surface); }
.empty-state strong, .empty-state span { display: block; }
.empty-state span { margin-top: 6px; color: var(--text-soft); }


.article-view { padding: 36px 0 100px; }
.article-progress-line {
  position: fixed;
  z-index: 220;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  pointer-events: none;
  background: transparent;
}
.article-progress-line span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--accent), #ff9b6d);
  box-shadow: 0 2px 14px rgba(237,109,54,0.34);
  transition: width 0.15s linear;
}
.back-button {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 28px;
  border: 0;
  padding: 0;
  color: var(--text-soft);
  background: transparent;
  cursor: pointer;
  font-weight: 750;
  transition: 0.22s var(--ease);
}
.back-button svg { width: 19px; height: 19px; }
.back-button:hover { color: var(--text); transform: translateX(-3px); }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 350px; gap: 30px; align-items: start; }
.article-main { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 30px; background: var(--surface); box-shadow: var(--shadow-md); }
.article-header { padding: 36px 40px 28px; }
.article-header .article-meta { margin-bottom: 15px; }
.article-header h1 { margin: 0; font-family: var(--font-display); font-size: clamp(42px, 6vw, 68px); line-height: 0.98; letter-spacing: -0.052em; font-weight: 650; }
.article-deck { max-width: 820px; margin: 18px 0 0; color: var(--text-soft); font-size: 17px; line-height: 1.76; }
.article-actions { display: flex; gap: 9px; margin-top: 22px; }
.small-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 13px;
  color: var(--text-soft);
  background: var(--surface-soft);
  cursor: pointer;
  font-size: 12px;
  font-weight: 750;
  transition: 0.22s var(--ease);
}
.small-action svg { width: 16px; height: 16px; }
.small-action:hover, .small-action.is-saved { color: var(--text); border-color: var(--line-strong); background: var(--surface-solid); transform: translateY(-2px); }
.article-cover { aspect-ratio: 16 / 8.7; overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
.article-body { padding: 40px; }
.article-body h2 { margin: 38px 0 14px; font-family: var(--font-display); font-size: 36px; line-height: 1.05; letter-spacing: -0.035em; font-weight: 650; }
.article-body h2:first-child { margin-top: 0; }
.article-body h3 { margin: 28px 0 10px; font-size: 19px; }
.article-body p, .article-body li { color: color-mix(in srgb, var(--text) 82%, var(--text-soft)); font-size: 16px; line-height: 1.88; }
.article-body p { margin: 0 0 18px; }
.article-body ul, .article-body ol { margin: 0 0 22px; padding-left: 22px; }
.article-callout { margin: 24px 0; border-left: 4px solid var(--accent); border-radius: 0 18px 18px 0; padding: 18px 20px; color: var(--text); background: linear-gradient(90deg, var(--accent-soft), transparent); line-height: 1.72; }
.article-disclaimer { margin-top: 34px; border: 1px solid var(--line); border-radius: 18px; padding: 16px 18px; color: var(--text-soft); background: var(--surface-soft); font-size: 12px; line-height: 1.7; }

.product-section { margin-top: 42px; border-top: 1px solid var(--line); padding-top: 34px; }
.product-section > p { color: var(--text-soft); line-height: 1.72; }
.product-card {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 18px;
  background: var(--surface-soft);
  transition: 0.3s var(--ease);
}
.product-card:hover { transform: translateY(-4px); border-color: var(--line-strong); background: var(--surface-solid); box-shadow: var(--shadow-md); }
.product-image { overflow: hidden; aspect-ratio: 1 / 1; border-radius: 18px; background: var(--surface-solid); }
.product-image img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s var(--ease); }
.product-card:hover .product-image img { transform: scale(1.045); }
.product-copy h3 { margin: 0; font-size: 22px; letter-spacing: -0.025em; }
.product-copy p { margin: 8px 0 12px; color: var(--text-soft); font-size: 13px; line-height: 1.68; }
.product-tags { display: flex; flex-wrap: wrap; gap: 7px; }
.product-tags span { border: 1px solid var(--line); border-radius: 999px; padding: 7px 9px; color: var(--text-soft); background: var(--surface-solid); font-size: 11px; font-weight: 750; }
.product-action { min-width: 180px; text-align: right; }
.product-action strong { display: block; margin-bottom: 12px; color: var(--accent-dark); font-size: 17px; }
.product-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 47px;
  border: 0;
  border-radius: 14px;
  padding: 0 17px;
  color: white;
  background: linear-gradient(135deg, var(--accent), #ff8a58);
  box-shadow: 0 14px 30px rgba(237,109,54,0.25);
  font-size: 13px;
  font-weight: 800;
  transition: 0.25s var(--ease);
}
.product-button:hover { transform: translateY(-3px); box-shadow: 0 20px 38px rgba(237,109,54,0.3); }
.product-button.is-placeholder { color: var(--text-soft); background: var(--surface-solid); border: 1px solid var(--line); box-shadow: none; cursor: pointer; }
.product-button svg { width: 17px; height: 17px; }

.article-aside { position: sticky; top: 96px; min-width: 0; }
.aside-panel {
  max-height: calc(100vh - 118px);
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 18px;
  background:
    radial-gradient(circle at 90% 4%, var(--accent-soft), transparent 11rem),
    color-mix(in srgb, var(--surface) 94%, transparent);
  box-shadow: var(--shadow-md);
  scrollbar-width: thin;
  scrollbar-color: var(--line-strong) transparent;
}
.aside-panel::-webkit-scrollbar { width: 7px; }
.aside-panel::-webkit-scrollbar-thumb { border-radius: 999px; background: var(--line-strong); }
.aside-section { min-width: 0; }
.aside-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.aside-eyebrow {
  margin: 0 0 5px;
  color: var(--accent-dark);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.aside-heading h3 { margin: 0; font-family: var(--font-display); font-size: 28px; letter-spacing: -0.04em; line-height: 1.05; }
.aside-count {
  flex: none;
  min-width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--text-soft);
  background: var(--surface-solid);
  font-size: 11px;
  font-weight: 850;
  box-shadow: var(--shadow-sm);
}
.reading-status { margin: 18px 0 16px; border: 1px solid var(--line); border-radius: 16px; padding: 12px 13px; background: var(--surface-soft); }
.reading-status-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--text-soft); font-size: 11px; font-weight: 750; }
.reading-status-row strong { color: var(--text); font-size: 12px; }
.reading-progress-track { height: 5px; margin-top: 10px; overflow: hidden; border-radius: 999px; background: color-mix(in srgb, var(--line) 80%, transparent); }
.reading-progress-track span { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--accent), #ff9b6d); box-shadow: 0 0 16px var(--accent-soft); transition: width 0.18s ease-out; }
.toc-list { display: grid; gap: 7px; }
.toc-list a {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) 24px;
  gap: 10px;
  align-items: center;
  border: 1px solid transparent;
  border-radius: 15px;
  padding: 10px;
  color: var(--text-soft);
  background: transparent;
  transition: 0.24s var(--ease);
}
.toc-number { color: var(--text-faint); font-size: 10px; font-weight: 850; letter-spacing: 0.08em; }
.toc-title { min-width: 0; font-size: 12px; line-height: 1.42; font-weight: 750; }
.toc-indicator { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 8px; color: var(--text-faint); transition: 0.24s var(--ease); }
.toc-indicator svg { width: 14px; height: 14px; }
.toc-list a:hover { color: var(--text); border-color: var(--line); background: var(--surface-solid); transform: translateX(2px); }
.toc-list a:hover .toc-indicator { color: var(--accent-dark); transform: translateX(2px); }
.toc-list a.is-active { color: var(--text); border-color: color-mix(in srgb, var(--accent) 28%, var(--line)); background: linear-gradient(135deg, var(--accent-soft), var(--surface-solid)); box-shadow: var(--shadow-sm); }
.toc-list a.is-active .toc-number { color: var(--accent-dark); }
.toc-list a.is-active .toc-indicator { color: white; background: var(--accent); transform: rotate(-8deg); }
.aside-divider { height: 1px; margin: 22px 0; background: linear-gradient(90deg, transparent, var(--line-strong), transparent); }
.popular-list { display: grid; gap: 7px; margin-top: 16px; }
.popular-product {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) 28px;
  gap: 10px;
  align-items: center;
  border: 1px solid transparent;
  border-radius: 15px;
  padding: 9px;
  transition: 0.24s var(--ease);
}
.popular-rank {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: var(--accent-dark);
  background: var(--accent-soft);
  font-size: 10px;
  font-weight: 900;
}
.popular-copy { min-width: 0; }
.popular-copy strong, .popular-copy small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.popular-copy strong { font-size: 12px; line-height: 1.35; }
.popular-copy small { margin-top: 3px; color: var(--text-faint); font-size: 10px; font-weight: 650; }
.popular-arrow { width: 28px; height: 28px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 9px; color: var(--text-faint); background: var(--surface-solid); transition: 0.24s var(--ease); }
.popular-arrow svg { width: 14px; height: 14px; transform: rotate(-35deg); }
.popular-product:hover { border-color: var(--line); background: var(--surface-solid); transform: translateX(3px); box-shadow: var(--shadow-sm); }
.popular-product:hover .popular-arrow { color: white; border-color: var(--accent); background: var(--accent); transform: translate(2px, -2px); }

.site-footer { padding: 34px 0 112px; border-top: 1px solid var(--line); }
.footer-inner { display: grid; grid-template-columns: 1fr auto auto; gap: 32px; align-items: end; }
.footer-brand { font-family: var(--font-display); font-size: 27px; font-weight: 650; }
.footer-inner p { margin: 7px 0 0; color: var(--text-soft); font-size: 13px; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px 18px; }
.footer-links a { color: var(--text-soft); font-size: 13px; font-weight: 700; transition: 0.2s ease; }
.footer-links a:hover { color: var(--text); }
.copyright { white-space: nowrap; }

.bottom-nav { display: none; }
.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: start center;
  padding: 70px 16px;
  opacity: 0;
  visibility: hidden;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: blur(18px);
  transition: 0.28s var(--ease);
}
.search-overlay.is-open { opacity: 1; visibility: visible; }
.search-dialog { width: min(760px, 100%); max-height: calc(100vh - 110px); overflow: auto; border: 1px solid var(--line); border-radius: 28px; padding: 26px; background: var(--surface-solid); box-shadow: var(--shadow-lg); transform: translateY(18px) scale(0.98); transition: 0.3s var(--ease); }
.search-overlay.is-open .search-dialog { transform: translateY(0) scale(1); }
.search-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.search-header h2 { margin: 0; font-family: var(--font-display); font-size: 42px; letter-spacing: -0.04em; }
.search-field { margin-top: 22px; display: flex; align-items: center; gap: 11px; border: 1px solid var(--line); border-radius: 16px; padding: 0 16px; background: var(--surface-soft); }
.search-field svg { width: 19px; height: 19px; color: var(--text-soft); }
.search-field input { width: 100%; height: 54px; border: 0; outline: 0; color: var(--text); background: transparent; }
.search-results { display: grid; gap: 9px; margin-top: 18px; }
.search-result {
  display: grid;
  grid-template-columns: 68px 1fr auto;
  gap: 14px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 10px;
  background: var(--surface-soft);
  cursor: pointer;
  transition: 0.22s var(--ease);
}
.search-result:hover { transform: translateY(-2px); border-color: var(--line-strong); background: var(--surface-solid); }
.search-result img { width: 68px; height: 54px; object-fit: cover; border-radius: 11px; }
.search-result strong { display: block; line-height: 1.3; }
.search-result span { display: block; margin-top: 4px; color: var(--text-soft); font-size: 11px; }
.search-result b { font-size: 18px; }
.search-empty { padding: 28px 12px; color: var(--text-soft); text-align: center; }
.toast { position: fixed; z-index: 500; left: 50%; bottom: 30px; transform: translate(-50%, 18px); opacity: 0; pointer-events: none; border: 1px solid rgba(255,255,255,0.15); border-radius: 999px; padding: 11px 16px; color: white; background: #1d1e1a; box-shadow: var(--shadow-lg); font-size: 13px; font-weight: 750; transition: 0.28s var(--ease); }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.75s var(--ease), transform 0.75s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@keyframes orbitPulse { 0%,100% { transform: translateX(-50%) scale(1); opacity: 0.65; } 50% { transform: translateX(-50%) scale(1.035); opacity: 1; } }
@keyframes spinOrbit { to { transform: translateX(-50%) rotate(360deg); } }

@media (max-width: 980px) {
  .article-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .article-layout { grid-template-columns: 1fr; }
  .article-aside { position: static; }
  .aside-panel { max-height: none; overflow: visible; }
  .footer-inner { grid-template-columns: 1fr; align-items: start; }
  .footer-links { justify-content: flex-start; }
}

@media (max-width: 760px) {
  .shell { width: min(calc(100% - 22px), var(--shell)); }
  .desktop-nav { display: none; }
  .menu-button { display: block; }
  .mobile-menu {
    position: absolute;
    left: 11px;
    right: 11px;
    top: calc(100% - 1px);
    display: grid;
    gap: 4px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    border: 1px solid transparent;
    border-radius: 20px;
    padding: 0 10px;
    background: var(--surface-solid);
    box-shadow: var(--shadow-lg);
    transition: 0.3s var(--ease);
  }
  .mobile-menu.is-open { max-height: 280px; opacity: 1; border-color: var(--line); padding: 10px; }
  .mobile-menu a { border-radius: 13px; padding: 13px 14px; color: var(--text-soft); font-size: 14px; font-weight: 750; }
  .mobile-menu a:hover { color: var(--text); background: var(--surface-soft); }
  .profile-intro { min-height: auto; padding: 36px 0 64px; }
  .profile-stage { width: min(360px, 94vw); height: 405px; }
  .portrait-halo { width: 310px; height: 310px; }
  .portrait-orbit-one { width: 350px; height: 350px; }
  .portrait-orbit-two { width: 385px; height: 385px; }
  .profile-photo { width: 335px; max-height: 405px; }
  .floating-note { font-size: 10px; padding: 8px 10px; }
  .note-right { right: -5px; top: 92px; max-width: 165px; }
  .profile-copy h1 { font-size: clamp(53px, 17vw, 72px); }
  .profile-summary { font-size: 14px; }
  .profile-socials { gap: 8px; margin-top: 18px; }
  .social-link { min-height: 42px; padding-inline: 14px; }
  .profile-kicker-bottom { margin-top: 22px; font-size: 9px; letter-spacing: 0.11em; }
  .article-section { padding: 68px 0 78px; }
  .section-heading { align-items: flex-start; flex-direction: column; }
  .section-heading h2 { font-size: 42px; }
  .article-tools { align-items: stretch; flex-direction: column; }
  .inline-search { justify-content: center; }
  .article-grid { grid-template-columns: 1fr; gap: 18px; }
  .article-copy h3 { font-size: 27px; }
  .article-image { aspect-ratio: 16 / 9.4; }
  .article-view { padding-top: 20px; }
  .article-main { border-radius: 24px; }
  .article-header, .article-body { padding: 24px 20px; }
  .article-header h1 { font-size: 42px; }
  .article-deck { font-size: 15px; }
  .article-cover { aspect-ratio: 16 / 10.5; }
  .article-body h2 { font-size: 30px; }
  .article-body p, .article-body li { font-size: 15px; }
  .product-card { grid-template-columns: 100px 1fr; gap: 14px; }
  .product-action { grid-column: 1 / -1; min-width: 0; text-align: left; }
  .product-button { width: 100%; }
  .article-aside { margin-top: 4px; }
  .aside-panel { border-radius: 24px; padding: 16px; }
  .popular-list { grid-template-columns: 1fr; }
  .site-footer { padding-bottom: 118px; }
  .bottom-nav {
    position: fixed;
    z-index: 160;
    left: 11px;
    right: 11px;
    bottom: 11px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 5px;
    border: 1px solid color-mix(in srgb, var(--line) 80%, transparent);
    border-radius: 21px;
    padding: 7px;
    background: color-mix(in srgb, var(--surface-solid) 88%, transparent);
    backdrop-filter: blur(18px) saturate(160%);
    box-shadow: 0 18px 48px rgba(22,20,17,0.16);
  }
  .bottom-nav-item { min-height: 53px; display: grid; place-items: center; align-content: center; gap: 3px; border: 0; border-radius: 15px; color: var(--text-soft); background: transparent; cursor: pointer; font-size: 10px; font-weight: 750; }
  .bottom-nav-item svg { width: 19px; height: 19px; }
  .bottom-nav-item.is-active { color: var(--text); background: var(--surface-solid); box-shadow: var(--shadow-sm); }
  .search-overlay { padding: 16px 10px 92px; align-items: end; }
  .search-dialog { max-height: min(80vh, 720px); border-radius: 24px; padding: 21px 16px; }
  .search-header h2 { font-size: 34px; }
  .toast { bottom: 88px; max-width: calc(100% - 28px); text-align: center; }
}

@media (max-width: 420px) {
  .brand-name { font-size: 21px; }
  .header-actions .icon-button:first-child { display: none; }
  .profile-stage { height: 375px; }
  .profile-photo { width: 312px; max-height: 375px; }
  .portrait-halo { width: 285px; height: 285px; }
  .portrait-orbit-one { width: 324px; height: 324px; }
  .portrait-orbit-two { width: 352px; height: 352px; }
  .floating-note { display: block; font-size: 9px; padding: 7px 9px; }
  .note-right { right: 0; top: 78px; max-width: 146px; }
  .section-heading h2 { font-size: 37px; }
  .article-copy { padding: 17px; }
  .article-copy h3 { font-size: 25px; }
  .product-card { grid-template-columns: 1fr; }
  .product-image { aspect-ratio: 16 / 9; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}
