:root {
  --paper: #fbf9f5;
  --paper-soft: #f5f3ef;
  --vellum: #efeeea;
  --vellum-deep: #e3e2de;
  --ink: #171818;
  --ink-soft: #2c2c2c;
  --muted: #5e5f5c;
  --faint: #747878;
  --line: #c4c7c7;
  --oxblood: #5b0c08;
  --oxblood-soft: #80281f;
  --cream: #ffffff;
  --page: min(720px, calc(100vw - 48px));
  --wide: min(1200px, calc(100vw - 48px));
  --gap: 120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Microsoft YaHei", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
}

::selection {
  background: var(--oxblood);
  color: var(--paper);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.nav {
  width: var(--page);
  min-height: 64px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  font-family: "Noto Serif SC", "Songti SC", STSong, Georgia, serif;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.1;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--muted);
  font-size: 15px;
}

.nav-links a {
  padding: 4px 0;
  border-bottom: 1px solid transparent;
  transition: color 180ms ease, border-color 180ms ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--ink);
  border-color: var(--ink);
}

.stringing-app-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--ink) 96%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--paper) 18%, transparent);
  color: var(--paper);
  backdrop-filter: blur(12px);
}

.stringing-app-nav {
  width: var(--wide);
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.stringing-app-back {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  line-height: 1.15;
}

.stringing-app-back > span:first-child {
  color: #d9a33d;
  font-size: 22px;
  transition: transform 160ms ease;
}

.stringing-app-back > span:last-child {
  display: grid;
  gap: 4px;
}

.stringing-app-back strong {
  font-size: 14px;
  font-weight: 650;
}

.stringing-app-back small {
  color: color-mix(in srgb, var(--paper) 58%, transparent);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.stringing-app-back:hover > span:first-child,
.stringing-app-back:focus-visible > span:first-child {
  transform: translateX(-3px);
}

.stringing-app-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.stringing-app-links a {
  padding: 9px 13px;
  color: color-mix(in srgb, var(--paper) 68%, transparent);
  font-size: 13px;
  transition: color 160ms ease, background-color 160ms ease;
}

.stringing-app-links a:hover,
.stringing-app-links a:focus-visible {
  color: var(--paper);
  outline: none;
}

.stringing-app-links a[aria-current="page"] {
  background: color-mix(in srgb, var(--paper) 12%, transparent);
  color: var(--paper);
}

.page {
  width: var(--page);
  margin: 0 auto;
  padding: 88px 0 0;
}

.page-wide {
  width: var(--wide);
  margin: 0 auto;
  padding: 96px 0 0;
}

.section {
  margin-bottom: var(--gap);
}

.section-tight {
  margin-bottom: 72px;
}

.hairline {
  height: 1px;
  width: 100%;
  background: color-mix(in srgb, var(--line) 70%, transparent);
}

.eyebrow,
.meta,
.button,
.tag,
.footer-small,
.filter-button,
.form-label {
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.eyebrow {
  color: var(--muted);
  margin: 0 0 18px;
}

.display {
  margin: 0;
  font-family: "Noto Serif SC", "Songti SC", STSong, Georgia, serif;
  font-size: clamp(42px, 6vw, 64px);
  font-weight: 700;
  line-height: 1.08;
}

.display-small {
  font-size: clamp(38px, 5vw, 56px);
}

.headline {
  margin: 0;
  font-family: "Noto Serif SC", "Songti SC", STSong, Georgia, serif;
  font-size: 32px;
  font-weight: 600;
  line-height: 1.3;
}

.headline-sm {
  margin: 0;
  font-family: "Noto Serif SC", "Songti SC", STSong, Georgia, serif;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.4;
}

.lead {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.display,
.headline,
.headline-sm,
.article-body,
.article-entry > div,
.article-row > div {
  min-width: 0;
  overflow-wrap: anywhere;
}

.muted {
  color: var(--muted);
}

.faint {
  color: var(--faint);
}

.oxblood {
  color: var(--oxblood-soft);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 14px 22px;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.button.primary {
  background: var(--ink);
  color: var(--paper);
}

.button:hover {
  background: var(--oxblood);
  border-color: var(--oxblood);
  color: var(--paper);
}

.article-list {
  display: grid;
  gap: 44px;
}

.article-row {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 32px;
  padding-bottom: 44px;
  border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
}

.article-row:last-child {
  border-bottom: 0;
}

.article-row h3,
.article-entry h2,
.project-card h2,
.related-link h4 {
  transition: color 180ms ease;
}

.article-row:hover h3,
.article-entry:hover h2,
.project-card:hover h2,
.related-link:hover h4 {
  color: var(--oxblood-soft);
}

.read-link {
  display: inline-block;
  margin-top: 12px;
  border-bottom: 1px solid var(--ink);
  color: var(--ink);
}

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

.image-frame {
  overflow: hidden;
  background: var(--vellum);
}

.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1);
  transition: filter 420ms ease, transform 600ms ease, opacity 420ms ease;
}

.image-frame:hover img,
.article-entry:hover img,
.project-card:hover img {
  filter: grayscale(0);
  transform: scale(1.025);
  opacity: 1;
}

.aspect-video {
  aspect-ratio: 16 / 9;
}

.newsletter {
  position: relative;
  overflow: hidden;
  padding: 48px;
  background: var(--vellum);
}

.newsletter::after {
  content: "";
  position: absolute;
  right: -40px;
  bottom: -40px;
  width: 220px;
  height: 220px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  opacity: 0.45;
}

.newsletter > * {
  position: relative;
  z-index: 1;
}

.inline-form {
  display: flex;
  gap: 16px;
  align-items: end;
}

.field {
  width: 100%;
  min-height: 44px;
  padding: 8px 0;
  border: 0;
  border-bottom: 1px solid var(--ink);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  outline: none;
}

.field:focus {
  border-bottom-width: 2px;
}

.site-footer {
  margin-top: var(--gap);
  background: var(--paper-soft);
  border-top: 1px solid var(--line);
}

.footer-inner {
  width: var(--page);
  margin: 0 auto;
  padding: 48px 0;
  display: flex;
  justify-content: space-between;
  gap: 32px;
  align-items: center;
}

.footer-links {
  display: flex;
  gap: 28px;
}

.footer-links a {
  border-bottom: 1px solid currentColor;
}

.footer-legal {
  width: var(--page);
  margin: -18px auto 0;
  padding: 0 0 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--muted);
  text-align: center;
}

.footer-legal a {
  border-bottom: 1px solid currentColor;
}

.public-security-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.public-security-link img {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.stringing-app-footer {
  margin-top: var(--gap);
  background: var(--ink);
  border-top: 3px solid #d9a33d;
  color: var(--paper);
}

.stringing-app-footer-inner {
  width: var(--wide);
  margin: 0 auto;
  padding: 38px 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.stringing-app-signature {
  display: grid;
  gap: 5px;
  line-height: 1.2;
}

.stringing-app-signature strong {
  font-size: 14px;
  letter-spacing: 0.14em;
}

.stringing-app-signature span {
  color: color-mix(in srgb, var(--paper) 58%, transparent);
  font-size: 12px;
}

.stringing-app-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
}

.stringing-app-footer-links a,
.stringing-app-legal a {
  border-bottom: 1px solid currentColor;
}

.stringing-app-footer-links a {
  color: var(--paper);
}

.stringing-app-legal {
  width: var(--wide);
  margin: 0 auto;
  padding: 0 0 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  color: color-mix(in srgb, var(--paper) 52%, transparent);
  text-align: center;
}

.about-intro {
  max-width: 720px;
  margin-top: 28px;
  display: grid;
  gap: 16px;
}

.contact-section {
  padding-top: 4px;
  scroll-margin-top: 88px;
}

.contact-heading {
  padding-bottom: 32px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 320px);
  gap: 40px;
  align-items: end;
  border-bottom: 1px solid var(--line);
}

.contact-intro {
  margin: 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: 56px;
  padding-top: 40px;
}

.contact-methods {
  display: grid;
  align-content: start;
  gap: 24px;
}

.contact-card {
  padding: 28px;
  background: var(--paper-soft);
  border: 1px solid color-mix(in srgb, var(--line) 76%, transparent);
}

.contact-card .headline-sm {
  margin-top: 10px;
}

.contact-card .muted {
  margin: 12px 0 0;
}

.contact-link,
.text-button {
  display: inline-block;
  margin-top: 18px;
  padding: 0 0 4px;
  color: var(--oxblood);
  border: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  cursor: pointer;
  text-align: left;
}

.contact-link:hover,
.text-button:hover {
  color: var(--oxblood-soft);
}

.contact-link:focus-visible,
.text-button:focus-visible,
.contact-field:focus-visible,
.contact-form .button:focus-visible {
  outline: 2px solid var(--oxblood);
  outline-offset: 3px;
}

.wechat-qr {
  margin-top: 24px;
}

.wechat-qr img {
  width: min(100%, 280px);
  height: auto;
  padding: 10px;
  background: #fff;
  border: 1px solid var(--line);
}

.wechat-qr .footer-small {
  max-width: 280px;
  line-height: 1.6;
  letter-spacing: 0.04em;
  text-transform: none;
}

.contact-form {
  display: grid;
  gap: 24px;
  padding: 36px;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--cream) 60%, transparent);
}

.form-note {
  margin: 10px 0 0;
}

.form-group {
  display: grid;
  gap: 10px;
}

.contact-field {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 0;
}

.contact-field:focus {
  border-color: var(--ink);
}

.contact-textarea {
  min-height: 150px;
  resize: vertical;
}

.contact-honey {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-privacy {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.contact-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 44px;
}

.form-status {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.form-status.is-error {
  color: var(--oxblood-soft);
}

.stringing-page {
  padding-top: 80px;
}

.stringing-subnav {
  margin: 0 0 54px;
  padding: 10px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stringing-subnav > div {
  display: flex;
  align-items: center;
  gap: 8px;
}

.stringing-subnav a {
  padding: 8px 13px;
  color: var(--muted);
  font-size: 13px;
  transition: color 160ms ease, background-color 160ms ease;
}

.stringing-subnav a:hover,
.stringing-subnav a:focus-visible {
  color: var(--ink);
  outline: none;
}

.stringing-subnav a[aria-current="page"] {
  background: var(--ink);
  color: var(--paper);
}

.stringing-secondary-hero {
  max-width: 900px;
  padding: 28px 0 56px;
}

.stringing-secondary-hero .lead {
  max-width: 670px;
  margin-top: 24px;
}

.stringing-secondary-hero .service-summary {
  max-width: 820px;
}

.string-library-hero {
  max-width: 760px;
}

.stringing-hero {
  max-width: none;
}

.stringing-hero .lead {
  max-width: 680px;
  margin-top: 24px;
}

.stringing-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.75fr);
  gap: clamp(48px, 8vw, 108px);
  align-items: stretch;
}

.stringing-hero-copy {
  min-width: 0;
}

.stringing-hero-actions {
  margin-top: 36px;
}

.stringbed-panel {
  position: relative;
  min-height: 470px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  border: 1px solid #273532;
  border-radius: 3px;
  background: #18211f;
  color: #f7f3e8;
  isolation: isolate;
}

.stringbed-grid {
  position: absolute;
  inset: -12% -28% 34% 15%;
  z-index: -1;
  opacity: 0.5;
  transform: rotate(-8deg);
  background-image:
    repeating-linear-gradient(90deg, transparent 0 22px, rgba(245, 239, 219, 0.36) 22px 23px),
    repeating-linear-gradient(0deg, transparent 0 22px, rgba(245, 239, 219, 0.36) 22px 23px);
  border: 1px solid rgba(245, 239, 219, 0.35);
  border-radius: 46% 46% 42% 42%;
}

.stringbed-panel::after {
  content: "";
  position: absolute;
  inset: auto -18% -34% 35%;
  z-index: -1;
  aspect-ratio: 1;
  border: 46px solid rgba(150, 48, 36, 0.58);
  border-radius: 50%;
}

.stringbed-kicker {
  margin: 0 0 18px;
  color: #d6a38d;
}

.stringbed-panel h2 {
  max-width: 350px;
  margin: 0;
  font-family: "Noto Serif SC", "Songti SC", STSong, Georgia, serif;
  font-size: clamp(25px, 2.6vw, 36px);
  line-height: 1.25;
}

.stringbed-panel ol {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(245, 239, 219, 0.3);
}

.stringbed-panel li {
  padding: 13px 0;
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 14px;
  border-bottom: 1px solid rgba(245, 239, 219, 0.18);
}

.stringbed-panel li span {
  color: #d6a38d;
  font-size: 12px;
  letter-spacing: 0.08em;
}

.stringbed-panel li strong {
  font-size: 13px;
  font-weight: 500;
}

.stringbed-panel > p:last-child {
  margin: 18px 0 0;
  color: rgba(247, 243, 232, 0.68);
  font-size: 12px;
}

.knowledge-preview {
  padding-top: 104px;
}

.knowledge-path-grid {
  margin-top: 42px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.knowledge-path-card {
  min-height: 268px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.56);
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.knowledge-path-card.is-primary {
  border-color: #273532;
  background: #e7ece7;
}

.knowledge-path-card .meta {
  margin: 0 0 42px;
  color: var(--oxblood-soft);
}

.knowledge-path-card h3 {
  margin: 0;
  font-family: "Noto Serif SC", "Songti SC", STSong, Georgia, serif;
  font-size: 25px;
  line-height: 1.3;
}

.knowledge-path-card p:not(.meta) {
  margin: 16px 0 24px;
  color: var(--muted);
  font-size: 14px;
}

.knowledge-path-link {
  margin-top: auto;
  color: var(--oxblood);
  font-size: 13px;
  font-weight: 600;
}

.knowledge-path-card:hover,
.knowledge-path-card:focus-visible {
  transform: translateY(-3px);
  border-color: var(--ink);
  outline: none;
}

.tension-lab {
  padding: 48px;
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(260px, 1fr) minmax(260px, 0.92fr);
  gap: 40px;
  align-items: stretch;
  border: 1px solid #c6c5be;
  background: #ecebe5;
}

.tension-lab-copy {
  padding: 8px 4px;
}

.tension-lab-copy .lead {
  margin-top: 20px;
  font-size: 16px;
}

.tension-caveat {
  margin-top: 34px;
  padding-top: 20px;
  display: grid;
  gap: 7px;
  border-top: 1px solid var(--line);
}

.tension-caveat strong {
  font-size: 13px;
}

.tension-caveat span {
  color: var(--muted);
  font-size: 12px;
}

.tension-form {
  padding: 28px;
  display: grid;
  gap: 22px;
  align-content: start;
  border: 1px solid var(--line);
  background: var(--cream);
}

.tension-form label {
  display: grid;
  gap: 9px;
  color: var(--muted);
  font-size: 13px;
}

.tension-form label > span {
  color: var(--ink-soft);
  font-weight: 600;
}

.tension-form select {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid #a6aaa7;
  border-radius: 0;
  background: #fff;
  color: var(--ink);
}

.tension-form .button {
  width: 100%;
  margin-top: 4px;
}

.tension-result {
  padding: 30px;
  display: flex;
  flex-direction: column;
  background: #18211f;
  color: #f7f3e8;
}

.tension-result > .meta {
  color: #d6a38d;
}

.tension-result > strong {
  margin-top: 34px;
  font-family: "Noto Serif SC", "Songti SC", STSong, Georgia, serif;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1;
}

.tension-result > p {
  margin: 22px 0 0;
  color: rgba(247, 243, 232, 0.75);
  font-size: 14px;
}

.tension-result ul {
  margin: 24px 0;
  padding: 18px 0 0 18px;
  border-top: 1px solid rgba(247, 243, 232, 0.22);
  color: rgba(247, 243, 232, 0.67);
  font-size: 12px;
}

.tension-result li + li {
  margin-top: 8px;
}

.tension-result > a {
  margin-top: auto;
  color: #f0b69e;
  font-size: 13px;
  font-weight: 600;
}

.tension-result.is-warning {
  background: var(--oxblood);
}

.knowledge-topic-grid {
  margin-top: 42px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.knowledge-topic {
  min-width: 0;
  padding: 28px 24px;
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 18px;
  align-items: start;
  border-bottom: 1px solid var(--line);
  transition: background-color 180ms ease;
}

.knowledge-topic:nth-child(odd) {
  border-right: 1px solid var(--line);
}

.knowledge-topic:hover,
.knowledge-topic:focus-visible {
  background: var(--paper-soft);
  outline: none;
}

.knowledge-topic-number {
  color: var(--oxblood-soft);
  font-family: Georgia, serif;
  font-size: 13px;
}

.knowledge-topic h3 {
  margin: 0;
  font-family: "Noto Serif SC", "Songti SC", STSong, Georgia, serif;
  font-size: 21px;
}

.knowledge-topic p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.guide-grid {
  margin-top: 42px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.guide-filters {
  margin-top: 36px;
}

.guide-card[hidden] {
  display: none;
}

.guide-card {
  min-height: 290px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.62);
  transition: transform 180ms ease, border-color 180ms ease;
}

.guide-card-featured {
  grid-column: span 2;
  padding: 36px;
  background: #ece3d9;
}

.guide-card:hover,
.guide-card:focus-visible {
  transform: translateY(-3px);
  border-color: var(--ink);
  outline: none;
}

.guide-card-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.guide-card h3 {
  max-width: 560px;
  margin: 52px 0 0;
  font-family: "Noto Serif SC", "Songti SC", STSong, Georgia, serif;
  font-size: 25px;
  line-height: 1.3;
}

.guide-card-featured h3 {
  font-size: clamp(30px, 4vw, 44px);
}

.guide-card p {
  max-width: 620px;
  margin: 16px 0 24px;
  color: var(--muted);
  font-size: 14px;
}

.guide-card-link {
  margin-top: auto;
  color: var(--oxblood);
  font-size: 13px;
  font-weight: 600;
}

.string-catalog {
  padding-top: 12px;
}

.string-filter-panel {
  margin: 38px 0 28px;
  padding: 24px;
  display: grid;
  gap: 0;
  border: 1px solid var(--line);
  background: var(--paper-soft);
}

.string-filter-row {
  padding: 18px 0;
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 16px;
  align-items: start;
  border-bottom: 1px solid var(--line);
}

.string-filter-row:first-child {
  padding-top: 0;
}

.string-filter-row > .meta {
  padding-top: 3px;
}

.string-filter-summary {
  padding-top: 20px;
  display: flex;
  justify-content: flex-end;
}

.string-result-count {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  white-space: nowrap;
}

.service-summary {
  margin-top: 48px;
  padding: 24px 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.service-summary div {
  display: grid;
  gap: 6px;
}

.service-summary strong {
  font-family: "Noto Serif SC", "Songti SC", STSong, Georgia, serif;
  font-size: 28px;
  font-weight: 600;
}

.service-summary span {
  color: var(--muted);
  font-size: 13px;
}

.stringing-section-head {
  align-items: end;
}

.stringing-note {
  max-width: 320px;
  text-align: right;
}

.stringing-filters {
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
  gap: 12px 22px;
  overflow: visible;
  border-bottom: 0;
}

.stringing-filters .filter-button {
  padding-bottom: 8px;
}

.stringing-filters .filter-button[hidden] {
  display: none;
}

.string-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.featured-strings {
  padding-top: 96px;
}

.featured-string-heading-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.featured-string-heading-row .eyebrow {
  margin: 0;
}

.featured-string-library-button {
  min-height: 34px;
  padding: 7px 12px;
  font-size: 11px;
}

.featured-string-grid {
  margin-top: 42px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.featured-string-card {
  min-width: 0;
  padding: 13px 13px 22px;
  display: flex;
  flex-direction: column;
  border: 1px solid #9fa4a2;
  border-radius: 6px;
  background: #fff;
  color: inherit;
  box-shadow: 0 1px 0 rgba(23, 24, 24, 0.06);
  transition: transform 180ms ease, border-color 180ms ease;
}

.featured-string-card:hover,
.featured-string-card:focus-visible {
  transform: translateY(-3px);
  border-color: var(--ink);
  outline: none;
}

.featured-string-card > img {
  width: 100%;
  height: 168px;
  display: block;
  object-fit: cover;
  border-radius: 3px;
  background: var(--paper-soft);
}

.featured-string-card-top {
  margin-top: 18px;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: start;
}

.featured-string-card-top p,
.featured-string-card h3,
.featured-string-spec,
.featured-string-features {
  margin: 0;
}

.featured-string-price {
  color: var(--oxblood-soft);
  font-family: Georgia, serif;
  font-size: 23px;
  line-height: 1;
}

.featured-string-card h3 {
  margin-top: 8px;
  font-family: "Noto Serif SC", "Songti SC", STSong, Georgia, serif;
  font-size: 25px;
  font-weight: 600;
}

.featured-string-spec {
  margin-top: 9px;
  color: var(--muted);
  font-size: 12px;
}

.featured-string-features {
  margin-top: 16px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.7;
}

.featured-string-card > span {
  margin-top: auto;
  padding-top: 24px;
  color: var(--oxblood);
  font-size: 13px;
  font-weight: 600;
}

.string-card {
  min-width: 0;
  padding: 13px 13px 20px;
  scroll-margin-top: 24px;
  border: 1px solid #9fa4a2;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 1px 0 rgba(23, 24, 24, 0.06);
}

.string-card[hidden] {
  display: none;
}

.string-photo {
  position: relative;
  display: block;
  height: 150px;
  margin-bottom: 16px;
  overflow: hidden;
  border-radius: 3px;
  background: var(--paper-soft);
}

.string-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 180ms ease;
}

.string-photo span {
  position: absolute;
  right: 8px;
  bottom: 8px;
  padding: 5px 7px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink-soft);
  font-size: 11px;
  line-height: 1;
}

.string-photo:hover img,
.string-photo:focus-visible img {
  transform: scale(1.025);
}

.string-gallery {
  display: flex;
  gap: 6px;
  margin: -8px 0 14px;
  padding: 2px 0 5px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.string-gallery[hidden] {
  display: none;
}

.string-thumbnail {
  appearance: none;
  flex: 0 0 50px;
  width: 50px;
  height: 34px;
  padding: 0;
  overflow: hidden;
  border: 1px solid #8f9592;
  border-radius: 3px;
  background: var(--paper-soft);
  cursor: pointer;
}

.string-thumbnail img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.string-thumbnail:hover {
  border-color: var(--oxblood-soft);
}

.string-thumbnail.active,
.string-thumbnail[aria-pressed="true"] {
  border: 2px solid var(--oxblood);
}

.string-thumbnail:focus-visible {
  outline: 2px solid var(--oxblood-soft);
  outline-offset: 2px;
}

.string-card-top {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 16px;
}

.string-price {
  margin: -4px 0 0;
  color: var(--oxblood-soft);
  font-family: Georgia, serif;
  font-size: 30px;
  line-height: 1;
}

.string-price span {
  margin-right: 2px;
  font-size: 15px;
}

.string-gauge {
  margin: 8px 0 0;
  font-size: 14px;
}

.string-traits {
  min-height: 27px;
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.string-trait {
  padding: 5px 7px;
  border: 1px solid #b9bdbb;
  background: var(--paper-soft);
  color: var(--muted);
  font-size: 11px;
  line-height: 1;
}

.string-features {
  min-height: 52px;
  margin: 20px 0 0;
  color: var(--ink-soft);
}

.color-list {
  min-height: 64px;
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-content: start;
}

.color-chip {
  appearance: none;
  display: inline-flex;
  padding: 7px 9px;
  border: 1px solid #8f9592;
  border-radius: 3px;
  background: var(--paper-soft);
  color: var(--ink-soft);
  cursor: pointer;
  font-family: inherit;
  font-size: 12px;
  line-height: 1;
  transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease;
}

.color-chip:hover {
  border-color: var(--oxblood-soft);
}

.color-chip.active,
.color-chip[aria-pressed="true"] {
  border-color: var(--oxblood);
  background: var(--oxblood);
  color: #fff;
}

.color-chip:focus-visible {
  outline: 2px solid var(--oxblood-soft);
  outline-offset: 2px;
}

@media (min-width: 821px) and (max-width: 1080px) {
  .string-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .string-photo {
    height: 150px;
  }
}

.string-price-note {
  margin-top: 18px;
}

.split-hero {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 32px;
  align-items: end;
}

.split-hero .hero-copy {
  grid-column: 3 / span 8;
}

.split-hero .portrait {
  grid-column: 3 / span 4;
  aspect-ratio: 3 / 4;
}

.split-hero .quote {
  grid-column: span 4;
  padding-bottom: 32px;
}

.prose-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 32px;
}

.prose-column {
  grid-column: 4 / span 6;
  display: grid;
  gap: 48px;
}

.pull-quote {
  margin: 16px 0;
  padding: 36px 0 36px 28px;
  border-left: 2px solid var(--oxblood);
  color: var(--oxblood-soft);
  font-family: "Noto Serif SC", "Songti SC", STSong, Georgia, serif;
  font-size: 24px;
  font-style: italic;
  line-height: 1.45;
}

.timeline {
  border-top: 1px solid var(--line);
}

.timeline-item {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.cta-band {
  padding: 88px 24px;
  background: var(--paper-soft);
  text-align: center;
}

.cta-band .page {
  width: min(720px, 100%);
}

.filters {
  display: flex;
  gap: 24px;
  margin: 56px 0 48px;
  padding-bottom: 18px;
  overflow-x: auto;
  border-bottom: 1px solid var(--line);
}

.filter-button {
  padding: 0 0 16px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: var(--muted);
  white-space: nowrap;
  cursor: pointer;
}

.filter-button.active,
.filter-button:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.article-entry {
  display: grid;
  gap: 20px;
  padding-bottom: 44px;
  border-bottom: 1px solid var(--line);
}

.article-entry[hidden] {
  display: none;
}

.empty-state {
  padding: 36px 0;
  border-top: 1px solid var(--line);
}

.article-entry-feature {
  grid-template-columns: 1fr 128px;
  align-items: start;
  gap: 32px;
}

.article-thumb {
  width: 128px;
  height: 128px;
}

.article-wide-thumb {
  height: 260px;
  margin-top: 22px;
}

.split-entry {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 28px;
}

.entry-top {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: baseline;
}

.pagination {
  margin-top: var(--gap);
  padding: 28px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.project-card {
  padding: 8px 0 8px 28px;
  border-left: 2px solid var(--line);
  transition: border-color 180ms ease;
}

.project-card:hover {
  border-color: var(--ink);
}

.project-card + .project-card {
  margin-top: 44px;
  padding-top: 52px;
  border-top: 1px solid var(--line);
}

.project-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: baseline;
  margin-bottom: 10px;
}

.badge {
  display: inline-flex;
  padding: 6px 8px;
  background: var(--vellum-deep);
  color: var(--oxblood-soft);
}

.philosophy {
  display: grid;
  grid-template-columns: 4fr 8fr;
  gap: 48px;
  align-items: start;
}

.sticky-note {
  position: sticky;
  top: 104px;
}

.article-shell {
  width: var(--page);
  margin: 0 auto;
  padding-top: 64px;
}

.breadcrumbs {
  display: grid;
  gap: 16px;
  margin-bottom: 56px;
}

.article-hero {
  margin: 42px 0 64px;
}

.caption {
  margin: 14px 0 0;
  color: var(--muted);
  font-style: italic;
  text-align: center;
}

.article-body {
  font-size: 18px;
  line-height: 1.75;
}

.article-body p {
  margin: 0 0 28px;
}

.article-body h2 {
  margin: 48px 0 18px;
  font-family: "Noto Serif SC", "Songti SC", STSong, Georgia, serif;
  font-size: 32px;
  line-height: 1.3;
}

.article-heading {
  margin-bottom: 56px;
}

.article-deck {
  max-width: 640px;
  margin-top: 24px;
}

.article-body h3 {
  margin: 38px 0 16px;
  font-family: "Noto Serif SC", "Songti SC", STSong, Georgia, serif;
  font-size: 24px;
  line-height: 1.4;
}

.article-body ul,
.article-body ol {
  margin: 0 0 28px;
  padding-left: 1.4em;
}

.article-body li + li {
  margin-top: 10px;
}

.article-body a {
  color: var(--oxblood-soft);
  border-bottom: 1px solid currentColor;
}

.article-body code {
  padding: 0.12em 0.35em;
  background: var(--vellum);
  font-family: Consolas, "SFMono-Regular", monospace;
  font-size: 0.9em;
}

.article-body pre {
  margin: 36px 0;
  padding: 24px;
  overflow-x: auto;
  background: var(--ink);
  color: var(--paper);
}

.article-body pre code {
  padding: 0;
  background: transparent;
}

.article-body hr {
  width: 64px;
  height: 1px;
  margin: 48px auto;
  border: 0;
  background: var(--line);
}

.article-body img {
  width: 100%;
  margin: 42px 0 12px;
  background: var(--vellum);
}

.article-tags-title {
  margin: 0 0 16px !important;
  font-family: inherit !important;
}

.article-body blockquote {
  margin: 44px 0;
  padding-left: 28px;
  border-left: 3px solid var(--oxblood);
  color: var(--oxblood-soft);
  font-family: "Noto Serif SC", "Songti SC", STSong, Georgia, serif;
  font-size: 24px;
  font-style: italic;
  line-height: 1.45;
}

.article-body table {
  width: 100%;
  margin: 36px 0;
  border-collapse: collapse;
  font-size: 15px;
  line-height: 1.55;
}

.article-body th,
.article-body td {
  padding: 13px 14px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.article-body th {
  background: var(--paper-soft);
  font-size: 13px;
}

.string-guide-shell {
  width: min(860px, calc(100vw - 48px));
  margin: 0 auto;
  padding-top: 64px;
}

.string-guide-heading {
  margin-bottom: 60px;
}

.string-guide-meta {
  margin-bottom: 22px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.string-guide-body > h2:first-child {
  margin-top: 0;
}

.guide-next-step {
  padding: 32px;
  display: flex;
  justify-content: space-between;
  gap: 32px;
  align-items: center;
  background: #18211f;
  color: #f7f3e8;
}

.guide-next-step .eyebrow {
  color: #d6a38d;
}

.guide-next-step .button {
  border-color: rgba(247, 243, 232, 0.72);
  color: #f7f3e8;
}

.guide-next-step .button.primary {
  border-color: #f7f3e8;
  background: #f7f3e8;
  color: #18211f;
}

.guide-next-step .button:hover {
  border-color: #f0b69e;
  background: #f0b69e;
  color: #18211f;
}

/* STRING FIT secondary pages: light brand system */
.stringing-app-body {
  --paper: #f3f5ee;
  --paper-soft: #e9ede4;
  --vellum: #e2e8dc;
  --vellum-deep: #d6ded1;
  --ink: #0b1713;
  --ink-soft: #24322d;
  --muted: #5f6d66;
  --faint: #7d8983;
  --line: #ced7cc;
  --oxblood: #385500;
  --oxblood-soft: #4f700b;
  --cream: #ffffff;
  --sf-night: #08100e;
  --sf-panel: #111b18;
  --sf-acid: #c9ff45;
  --sf-acid-dark: #9dd51a;
  min-width: 320px;
  background:
    radial-gradient(circle at 84% -7%, rgba(201, 255, 69, 0.2), transparent 29rem),
    linear-gradient(rgba(8, 16, 14, 0.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(8, 16, 14, 0.026) 1px, transparent 1px),
    var(--paper);
  background-size: auto, 44px 44px, 44px 44px, auto;
  color: var(--ink);
  font-family: Inter, "SF Pro Display", "PingFang SC", "Microsoft YaHei", sans-serif;
}

.stringing-app-body ::selection {
  background: var(--sf-acid);
  color: var(--sf-night);
}

.stringing-app-body .stringing-app-header {
  background: rgba(8, 16, 14, 0.96);
  border-bottom: 1px solid rgba(201, 255, 69, 0.34);
  color: #f5f6ef;
}

.stringing-app-body .stringing-app-nav {
  min-height: 82px;
}

.stringing-app-body .stringing-app-back {
  gap: 12px;
}

.stringing-app-mark-grid {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  border: 1px solid rgba(201, 255, 69, 0.72);
  border-radius: 50%;
  background:
    repeating-linear-gradient(0deg, transparent 0 7px, rgba(201, 255, 69, 0.42) 7px 8px),
    repeating-linear-gradient(90deg, transparent 0 7px, rgba(201, 255, 69, 0.42) 7px 8px);
  box-shadow: inset 0 0 18px rgba(201, 255, 69, 0.08);
}

.stringing-app-body .stringing-app-back strong {
  font-size: 13px;
  letter-spacing: 0.17em;
}

.stringing-app-body .stringing-app-back small {
  color: #99a69f;
  font-size: 10px;
  letter-spacing: 0.08em;
}

.stringing-app-body .stringing-app-links a {
  border: 1px solid transparent;
  border-radius: 999px;
  color: #aab5ae;
}

.stringing-app-body .stringing-app-links a:hover,
.stringing-app-body .stringing-app-links a:focus-visible {
  color: #f5f6ef;
}

.stringing-app-body .stringing-app-links a[aria-current="page"] {
  border-color: var(--sf-acid);
  background: var(--sf-acid);
  color: var(--sf-night);
}

.stringing-app-body .stringing-secondary-page {
  padding-top: 48px;
}

.stringing-app-body .stringing-secondary-hero {
  position: relative;
  max-width: none;
  margin-bottom: 88px;
  padding: clamp(52px, 7vw, 82px) clamp(28px, 6vw, 72px);
  overflow: hidden;
  border: 1px solid #d6ded1;
  border-radius: 32px;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.96) 0 62%, rgba(235, 246, 211, 0.94) 100%);
  box-shadow: 0 24px 68px rgba(14, 31, 23, 0.08);
  isolation: isolate;
}

.stringing-app-body .stringing-secondary-hero::after {
  content: "";
  position: absolute;
  right: clamp(-94px, -4vw, -34px);
  top: 50%;
  z-index: -1;
  width: clamp(260px, 32vw, 420px);
  aspect-ratio: 1;
  border: 14px solid rgba(81, 112, 18, 0.16);
  border-radius: 50%;
  transform: translateY(-50%) rotate(-8deg);
  background:
    repeating-linear-gradient(0deg, transparent 0 29px, rgba(8, 16, 14, 0.08) 29px 31px),
    repeating-linear-gradient(90deg, transparent 0 29px, rgba(8, 16, 14, 0.08) 29px 31px);
}

.stringing-app-body .stringing-secondary-hero > * {
  position: relative;
  z-index: 1;
}

.stringing-app-body .stringing-secondary-hero .eyebrow,
.stringing-app-body .stringing-section-head .eyebrow {
  color: #4f700b;
  font-weight: 750;
  letter-spacing: 0.15em;
}

.stringing-app-body .display,
.stringing-app-body .headline,
.stringing-app-body .headline-sm {
  font-family: Inter, "SF Pro Display", "PingFang SC", "Microsoft YaHei", sans-serif;
}

.stringing-app-body .stringing-secondary-hero .display {
  max-width: 720px;
  font-size: clamp(46px, 6.2vw, 76px);
  font-weight: 760;
  letter-spacing: -0.045em;
  line-height: 1.04;
}

.stringing-app-body .stringing-secondary-hero .lead {
  max-width: 620px;
  color: #52615a;
  font-size: 17px;
}

.stringing-app-body .service-summary {
  max-width: 720px;
  margin-top: 42px;
  padding: 18px 22px;
  gap: 0;
  border: 0;
  border-radius: 18px;
  background: rgba(236, 241, 224, 0.92);
}

.stringing-app-body .service-summary div {
  padding: 2px 20px;
  border-right: 1px solid #ccd7c3;
}

.stringing-app-body .service-summary div:first-child {
  padding-left: 0;
}

.stringing-app-body .service-summary div:last-child {
  padding-right: 0;
  border-right: 0;
}

.stringing-app-body .service-summary strong {
  font-family: Inter, "SF Pro Display", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 25px;
  font-weight: 760;
  letter-spacing: -0.03em;
}

.stringing-app-body .string-catalog {
  padding-top: 0;
}

.stringing-app-body .stringing-section-head .headline {
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 740;
  letter-spacing: -0.035em;
}

.stringing-app-body .string-filter-panel {
  margin: 38px 0 34px;
  padding: 26px 28px 22px;
  border: 1px solid #d7ded3;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 52px rgba(14, 31, 23, 0.06);
  backdrop-filter: blur(12px);
}

.stringing-app-body .string-filter-row {
  grid-template-columns: 72px 1fr;
  border-color: #dce3d9;
}

.stringing-app-body .string-filter-row > .meta {
  padding-top: 10px;
  color: #718078;
}

.stringing-app-body .stringing-filters {
  gap: 8px;
}

.stringing-app-body .stringing-filters .filter-button {
  min-height: 34px;
  padding: 8px 12px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: #edf1e9;
  color: #53615a;
  font-size: 11px;
  letter-spacing: 0.06em;
  transition: transform 160ms ease, border-color 160ms ease, background-color 160ms ease, color 160ms ease;
}

.stringing-app-body .stringing-filters .filter-button:hover {
  transform: translateY(-1px);
  border-color: #b8c4b3;
  color: var(--ink);
}

.stringing-app-body .stringing-filters .filter-button.active,
.stringing-app-body .stringing-filters .filter-button[aria-pressed="true"] {
  border-color: var(--sf-acid);
  background: var(--sf-acid);
  color: #14200e;
}

.stringing-app-body .string-result-count {
  color: #53615a;
  font-weight: 650;
}

.stringing-app-body .string-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.stringing-app-body .string-card {
  padding: 12px 12px 22px;
  border: 1px solid #d7ded3;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 40px rgba(14, 31, 23, 0.06);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.stringing-app-body .string-card:hover {
  transform: translateY(-4px);
  border-color: #a9ba9d;
  box-shadow: 0 22px 54px rgba(14, 31, 23, 0.1);
}

.stringing-app-body .string-photo {
  height: 190px;
  margin-bottom: 18px;
  border-radius: 15px;
  background: #edf1e9;
}

.stringing-app-body .string-photo span {
  right: 10px;
  bottom: 10px;
  padding: 6px 9px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 999px;
  background: rgba(8, 16, 14, 0.76);
  color: #f5f6ef;
  backdrop-filter: blur(7px);
}

.stringing-app-body .string-card-top {
  align-items: center;
}

.stringing-app-body .string-card-top .oxblood {
  color: #526527;
  font-weight: 750;
}

.stringing-app-body .string-card .headline-sm {
  font-size: 26px;
  font-weight: 740;
  letter-spacing: -0.03em;
}

.stringing-app-body .string-price {
  margin: 0;
  padding: 8px 11px;
  border-radius: 12px;
  background: var(--sf-acid);
  color: #14200e;
  font-family: Inter, "SF Pro Display", sans-serif;
  font-size: 25px;
  font-weight: 760;
}

.stringing-app-body .string-trait {
  padding: 6px 8px;
  border-color: #d3ddc9;
  border-radius: 999px;
  background: #edf3e2;
  color: #526527;
}

.stringing-app-body .string-features {
  color: #334139;
  line-height: 1.72;
}

.stringing-app-body .color-chip {
  border-color: #d0d9cd;
  border-radius: 999px;
  background: #f0f3ed;
  color: #435149;
}

.stringing-app-body .color-chip:hover {
  border-color: #8da36e;
}

.stringing-app-body .color-chip.active,
.stringing-app-body .color-chip[aria-pressed="true"] {
  border-color: var(--sf-night);
  background: var(--sf-night);
  color: #f5f6ef;
}

.stringing-app-body .string-thumbnail {
  border-color: #c9d3c6;
  border-radius: 7px;
}

.stringing-app-body .string-thumbnail.active,
.stringing-app-body .string-thumbnail[aria-pressed="true"] {
  border-color: var(--sf-acid-dark);
  box-shadow: 0 0 0 2px rgba(157, 213, 26, 0.22);
}

.stringing-app-body .stringing-app-footer {
  background: var(--sf-night);
  border-top-color: var(--sf-acid);
  color: #f5f6ef;
}

.stringing-app-body .guide-library {
  padding-top: 0;
}

.stringing-app-body .guide-filters {
  margin: 34px 0 30px;
  padding: 14px;
  flex-wrap: wrap;
  gap: 8px;
  overflow: visible;
  border: 1px solid #d7ded3;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 14px 44px rgba(14, 31, 23, 0.05);
}

.stringing-app-body .guide-filters .filter-button {
  min-height: 36px;
  padding: 9px 14px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: #53615a;
  font-size: 11px;
  letter-spacing: 0.06em;
}

.stringing-app-body .guide-filters .filter-button:hover {
  border-color: #bdc9b8;
  color: var(--ink);
}

.stringing-app-body .guide-filters .filter-button.active,
.stringing-app-body .guide-filters .filter-button[aria-pressed="true"] {
  border-color: var(--sf-night);
  background: var(--sf-night);
  color: #f5f6ef;
}

.stringing-app-body .guide-grid {
  margin-top: 0;
  gap: 20px;
}

.stringing-app-body .guide-card {
  position: relative;
  min-height: 320px;
  padding: 30px;
  overflow: hidden;
  border: 1px solid #d7ded3;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 14px 42px rgba(14, 31, 23, 0.055);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.stringing-app-body .guide-card::after {
  content: "";
  position: absolute;
  right: -54px;
  bottom: -70px;
  width: 150px;
  aspect-ratio: 1;
  border: 1px solid rgba(79, 112, 11, 0.16);
  border-radius: 50%;
  background:
    repeating-linear-gradient(0deg, transparent 0 17px, rgba(79, 112, 11, 0.08) 17px 18px),
    repeating-linear-gradient(90deg, transparent 0 17px, rgba(79, 112, 11, 0.08) 17px 18px);
  pointer-events: none;
}

.stringing-app-body .guide-card-featured {
  padding: 38px;
  border-color: #c9d9ac;
  background: linear-gradient(135deg, #f8faef 0%, #e9f5c8 100%);
}

.stringing-app-body .guide-card:hover,
.stringing-app-body .guide-card:focus-visible {
  transform: translateY(-4px);
  border-color: #a8ba99;
  box-shadow: 0 22px 58px rgba(14, 31, 23, 0.1);
}

.stringing-app-body .guide-card-number {
  position: absolute;
  top: 26px;
  right: 28px;
  color: #9baa9f;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.12em;
}

.stringing-app-body .guide-card-featured .guide-card-number {
  color: #5f762b;
}

.stringing-app-body .guide-card-meta {
  padding-right: 48px;
  justify-content: flex-start;
  gap: 10px;
}

.stringing-app-body .guide-card-meta .meta {
  padding: 7px 9px;
  border-radius: 999px;
  background: #edf1e9;
  color: #65736c;
  font-size: 10px;
  letter-spacing: 0.06em;
}

.stringing-app-body .guide-card-meta .oxblood {
  background: #e5efcf;
  color: #4d6719;
}

.stringing-app-body .guide-card h3 {
  position: relative;
  z-index: 1;
  margin-top: 56px;
  font-family: Inter, "SF Pro Display", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 27px;
  font-weight: 740;
  letter-spacing: -0.035em;
  line-height: 1.28;
}

.stringing-app-body .guide-card-featured h3 {
  max-width: 650px;
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1.15;
}

.stringing-app-body .guide-card p {
  position: relative;
  z-index: 1;
  color: #5d6a64;
  line-height: 1.72;
}

.stringing-app-body .guide-card-link {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  min-height: 34px;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--sf-night);
  color: #f5f6ef;
  font-size: 11px;
}

.stringing-app-body .string-guide-shell {
  width: min(1040px, calc(100vw - 48px));
  padding-top: 52px;
}

.stringing-app-body .string-guide-shell .breadcrumbs {
  margin-bottom: 28px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border: 1px solid #d7ded3;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.68);
}

.stringing-app-body .string-guide-shell .breadcrumbs > a {
  color: #405b0a;
  font-weight: 700;
}

.stringing-app-body .string-guide-shell > article.section {
  margin-bottom: 52px;
  padding: clamp(34px, 6vw, 72px);
  border: 1px solid #d7ded3;
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 22px 68px rgba(14, 31, 23, 0.07);
}

.stringing-app-body .string-guide-heading,
.stringing-app-body .string-guide-body {
  width: min(100%, 760px);
  margin-inline: auto;
}

.stringing-app-body .string-guide-heading {
  margin-bottom: 66px;
  padding-bottom: 46px;
  border-bottom: 1px solid #dce3d9;
}

.stringing-app-body .string-guide-meta {
  justify-content: flex-start;
  gap: 10px;
}

.stringing-app-body .string-guide-meta .meta {
  padding: 7px 10px;
  border-radius: 999px;
  background: #edf1e9;
  color: #68766f;
  font-size: 10px;
  letter-spacing: 0.06em;
}

.stringing-app-body .string-guide-meta .oxblood {
  background: var(--sf-acid);
  color: #14200e;
}

.stringing-app-body .string-guide-heading .display {
  margin-top: 28px;
  font-family: Inter, "SF Pro Display", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: clamp(42px, 6vw, 66px);
  font-weight: 760;
  letter-spacing: -0.05em;
  line-height: 1.08;
}

.stringing-app-body .string-guide-heading .article-deck {
  margin-top: 26px;
  color: #5b6962;
  font-size: 18px;
}

.stringing-app-body .string-guide-body {
  counter-reset: string-guide-section;
  color: #28362f;
  font-size: 16px;
  line-height: 1.92;
}

.stringing-app-body .string-guide-body h2 {
  counter-increment: string-guide-section;
  margin: 72px 0 24px;
  display: flex;
  align-items: baseline;
  gap: 14px;
  color: #111d18;
  font-family: Inter, "SF Pro Display", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 30px;
  font-weight: 760;
  letter-spacing: -0.035em;
  line-height: 1.3;
}

.stringing-app-body .string-guide-body h2::before {
  content: counter(string-guide-section, decimal-leading-zero);
  flex: 0 0 auto;
  color: #5f781f;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.stringing-app-body .string-guide-body h3 {
  margin: 44px 0 16px;
  color: #17251f;
  font-family: Inter, "SF Pro Display", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 21px;
  font-weight: 720;
  letter-spacing: -0.02em;
}

.stringing-app-body .string-guide-body p,
.stringing-app-body .string-guide-body ul,
.stringing-app-body .string-guide-body ol {
  margin-top: 0;
  margin-bottom: 24px;
}

.stringing-app-body .string-guide-body li + li {
  margin-top: 8px;
}

.stringing-app-body .string-guide-body a {
  color: #466500;
  text-decoration: underline;
  text-decoration-color: #a4c75a;
  text-underline-offset: 4px;
}

.stringing-app-body .string-guide-body blockquote {
  margin: 38px 0;
  padding: 24px 28px;
  border: 0;
  border-left: 5px solid var(--sf-acid-dark);
  border-radius: 0 18px 18px 0;
  background: #eef4df;
  color: #34422f;
  font-family: inherit;
  font-size: 16px;
  font-style: normal;
  line-height: 1.8;
}

.stringing-app-body .string-guide-body blockquote p:last-child {
  margin-bottom: 0;
}

.stringing-app-body .string-guide-body table {
  margin: 38px 0;
  overflow: hidden;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 0 0 1px #d7ded3;
}

.stringing-app-body .string-guide-body th,
.stringing-app-body .string-guide-body td {
  border-color: #dce3d9;
}

.stringing-app-body .string-guide-body th {
  background: #eaf1dc;
  color: #2c3a32;
}

.stringing-app-body .string-guide-body hr {
  margin: 56px 0;
  border: 0;
  border-top: 1px solid #dce3d9;
}

.stringing-app-body .note-box {
  border-left-color: var(--sf-acid-dark);
  border-radius: 0 18px 18px 0;
  background: #eef4df;
}

.stringing-app-body .guide-next-step {
  padding: 34px;
  border: 1px solid #23352d;
  border-radius: 24px;
  background:
    radial-gradient(circle at 82% 0%, rgba(201, 255, 69, 0.13), transparent 18rem),
    var(--sf-night);
  color: #f5f6ef;
  box-shadow: 0 18px 52px rgba(8, 16, 14, 0.15);
}

.stringing-app-body .guide-next-step .eyebrow {
  color: var(--sf-acid);
}

.stringing-app-body .guide-next-step .button {
  border-radius: 999px;
  border-color: #76837d;
  color: #f5f6ef;
}

.stringing-app-body .guide-next-step .button.primary {
  border-color: var(--sf-acid);
  background: var(--sf-acid);
  color: #14200e;
}

.stringing-app-body .guide-next-step .button:hover {
  border-color: #f5f6ef;
  background: #f5f6ef;
  color: var(--sf-night);
}

.stringing-app-body .guide-related-title {
  margin: 52px 0 20px;
  color: #637168;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.12em;
}

.stringing-app-body .guide-related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.stringing-app-body .guide-related-grid .related-link {
  min-width: 0;
  padding: 22px;
  border: 1px solid #d7ded3;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  transition: transform 180ms ease, border-color 180ms ease;
}

.stringing-app-body .guide-related-grid .related-link:hover,
.stringing-app-body .guide-related-grid .related-link:focus-visible {
  transform: translateY(-3px);
  border-color: #a8ba99;
  outline: none;
}

.stringing-app-body .guide-related-grid .related-link .meta {
  color: #58711f;
  font-size: 10px;
}

.stringing-app-body .guide-related-grid .related-link .headline-sm {
  margin-top: 22px;
  font-size: 20px;
  font-weight: 720;
  letter-spacing: -0.02em;
  line-height: 1.35;
}

.stringing-app-body .guide-related-grid .related-link p {
  margin: 12px 0 0;
  font-size: 13px;
  line-height: 1.65;
}

.note-box {
  margin: 48px 0;
  padding: 32px;
  background: var(--paper-soft);
  border-left: 4px solid var(--ink);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  display: inline-flex;
  padding: 8px 10px;
  border: 1px solid var(--line);
}

.related-link {
  display: block;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

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

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

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

@media (max-width: 820px) {
  :root {
    --gap: 88px;
  }

  .nav {
    width: calc(100vw - 32px);
    min-height: 74px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
  }

  .nav-links {
    width: 100%;
    gap: 18px;
    overflow-x: auto;
    padding-bottom: 2px;
    font-size: 14px;
  }

  .stringing-app-header {
    position: static;
  }

  .stringing-app-nav {
    width: calc(100vw - 32px);
    min-height: auto;
    padding: 14px 0 10px;
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .stringing-app-back > span:last-child {
    display: flex;
    align-items: baseline;
    gap: 9px;
  }

  .stringing-app-links {
    width: 100%;
    padding-top: 8px;
    border-top: 1px solid color-mix(in srgb, var(--paper) 16%, transparent);
  }

  .stringing-app-links a {
    padding: 6px 13px;
  }

  .page,
  .page-wide,
  .article-shell,
  .string-guide-shell,
  .footer-inner,
  .footer-legal,
  .stringing-app-footer-inner,
  .stringing-app-legal {
    width: calc(100vw - 32px);
  }

  .stringing-app-footer-inner {
    padding-top: 30px;
    align-items: flex-start;
    flex-direction: column;
    gap: 22px;
  }

  .stringing-app-footer-links {
    gap: 12px 22px;
  }

  .page,
  .page-wide {
    padding-top: 64px;
  }

  .display {
    font-size: 38px;
    line-height: 1.15;
  }

  .brand {
    font-size: 18px;
  }

  .nav {
    gap: 14px;
  }

  .nav-links {
    gap: 16px;
  }

  .article-row,
  .project-grid,
  .philosophy,
  .article-entry-feature,
  .split-entry,
  .inline-form,
  .string-grid,
  .featured-string-grid {
    grid-template-columns: 1fr;
    display: grid;
  }

  .stringing-page {
    padding-top: 64px;
  }

  .stringing-subnav {
    margin-bottom: 38px;
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .stringing-subnav > div {
    width: 100%;
    overflow-x: auto;
  }

  .stringing-subnav a {
    white-space: nowrap;
  }

  .stringing-secondary-hero {
    padding-top: 12px;
  }

  .stringing-hero-layout,
  .knowledge-path-grid {
    grid-template-columns: 1fr;
  }

  .stringing-hero-layout {
    gap: 48px;
  }

  .stringbed-panel {
    min-height: 420px;
    padding: 28px 24px;
  }

  .knowledge-preview {
    padding-top: 88px;
  }

  .knowledge-path-card {
    min-height: 230px;
  }

  .tension-lab {
    padding: 24px;
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .tension-form,
  .tension-result {
    padding: 24px;
  }

  .tension-result {
    min-height: 360px;
  }

  .knowledge-topic-grid,
  .guide-grid {
    grid-template-columns: 1fr;
  }

  .knowledge-topic:nth-child(odd) {
    border-right: 0;
  }

  .knowledge-topic {
    padding: 24px 4px;
    grid-template-columns: 36px 1fr auto;
  }

  .guide-card,
  .guide-card-featured {
    min-height: 250px;
    grid-column: auto;
    padding: 26px 24px;
  }

  .guide-card h3,
  .guide-card-featured h3 {
    margin-top: 38px;
    font-size: 26px;
  }

  .guide-card-meta,
  .string-guide-meta {
    align-items: flex-start;
    flex-direction: column;
  }

  .string-filter-row {
    grid-template-columns: 1fr;
  }

  .string-filter-row {
    gap: 6px;
  }

  .string-guide-shell {
    padding-top: 48px;
  }

  .guide-next-step {
    padding: 26px 24px;
    align-items: flex-start;
    flex-direction: column;
  }

  .article-body table {
    display: block;
    overflow-x: auto;
  }

  .service-summary {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .service-summary div {
    grid-template-columns: 140px 1fr;
    align-items: baseline;
  }

  .stringing-note {
    text-align: left;
  }

  .string-grid {
    gap: 16px;
  }

  .string-photo {
    height: 150px;
  }

  .string-features,
  .color-list {
    min-height: 0;
  }

  .article-row {
    gap: 12px;
  }

  .newsletter {
    padding: 32px 24px;
  }

  .footer-inner,
  .timeline-item,
  .entry-top,
  .project-meta,
  .pagination {
    align-items: flex-start;
    flex-direction: column;
  }

  .split-hero,
  .prose-grid,
  .contact-heading,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    gap: 32px;
  }

  .contact-section {
    scroll-margin-top: 136px;
  }

  .contact-form {
    padding: 28px 22px;
  }

  .contact-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .split-hero .hero-copy,
  .split-hero .portrait,
  .split-hero .quote,
  .prose-column {
    grid-column: auto;
  }

  .article-thumb {
    width: 100%;
    height: 220px;
  }

  .sticky-note {
    position: static;
  }
}

@media (min-width: 821px) and (max-width: 1080px) {
  .stringing-app-body .string-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stringing-app-body .guide-related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .stringing-app-body .stringing-app-nav {
    min-height: auto;
    padding: 14px 0 12px;
  }

  .stringing-app-body .stringing-app-back > span:last-child {
    display: grid;
    gap: 3px;
  }

  .stringing-app-body .stringing-app-links {
    padding-top: 10px;
  }

  .stringing-app-body .stringing-secondary-page {
    padding-top: 28px;
  }

  .stringing-app-body .stringing-secondary-hero {
    margin-bottom: 64px;
    padding: 38px 22px 30px;
    border-radius: 24px;
  }

  .stringing-app-body .stringing-secondary-hero::after {
    right: -142px;
    width: 270px;
    opacity: 0.72;
  }

  .stringing-app-body .stringing-secondary-hero .display {
    max-width: 88%;
    font-size: clamp(40px, 12vw, 52px);
  }

  .stringing-app-body .stringing-secondary-hero .lead {
    max-width: 88%;
    font-size: 15px;
  }

  .stringing-app-body .service-summary {
    grid-template-columns: 1fr;
    margin-top: 32px;
    padding: 6px 16px;
    gap: 0;
  }

  .stringing-app-body .service-summary div,
  .stringing-app-body .service-summary div:first-child,
  .stringing-app-body .service-summary div:last-child {
    padding: 12px 0;
    grid-template-columns: 92px 1fr;
    border-right: 0;
    border-bottom: 1px solid #d5decf;
  }

  .stringing-app-body .service-summary div:last-child {
    border-bottom: 0;
  }

  .stringing-app-body .service-summary strong {
    font-size: 21px;
  }

  .stringing-app-body .stringing-section-head .headline {
    font-size: 30px;
  }

  .stringing-app-body .string-filter-panel {
    margin-top: 28px;
    padding: 18px;
    border-radius: 18px;
  }

  .stringing-app-body .string-filter-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .stringing-app-body .string-filter-row > .meta {
    padding-top: 0;
  }

  .stringing-app-body .stringing-filters {
    gap: 7px;
  }

  .stringing-app-body .stringing-filters .filter-button {
    min-height: 32px;
    padding: 7px 10px;
  }

  .stringing-app-body .string-filter-summary {
    justify-content: flex-start;
  }

  .stringing-app-body .string-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .stringing-app-body .string-card {
    padding: 11px 11px 20px;
    border-radius: 19px;
  }

  .stringing-app-body .string-photo {
    height: 210px;
    border-radius: 13px;
  }

  .stringing-app-body .guide-filters {
    margin-top: 28px;
    padding: 10px;
    border-radius: 16px;
  }

  .stringing-app-body .guide-grid,
  .stringing-app-body .guide-related-grid {
    grid-template-columns: 1fr;
  }

  .stringing-app-body .guide-card,
  .stringing-app-body .guide-card-featured {
    min-height: 270px;
    grid-column: auto;
    padding: 24px;
    border-radius: 20px;
  }

  .stringing-app-body .guide-card-number {
    top: 22px;
    right: 22px;
  }

  .stringing-app-body .guide-card h3,
  .stringing-app-body .guide-card-featured h3 {
    margin-top: 42px;
    font-size: 27px;
  }

  .stringing-app-body .string-guide-shell {
    width: calc(100vw - 32px);
    padding-top: 28px;
  }

  .stringing-app-body .string-guide-shell .breadcrumbs {
    padding: 12px 14px;
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .stringing-app-body .string-guide-shell .breadcrumbs > div {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .stringing-app-body .string-guide-shell > article.section {
    margin-bottom: 38px;
    padding: 30px 22px;
    border-radius: 24px;
  }

  .stringing-app-body .string-guide-heading {
    margin-bottom: 48px;
    padding-bottom: 34px;
  }

  .stringing-app-body .string-guide-meta {
    align-items: flex-start;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .stringing-app-body .string-guide-heading .display {
    margin-top: 24px;
    font-size: clamp(38px, 11.5vw, 50px);
  }

  .stringing-app-body .string-guide-heading .article-deck {
    margin-top: 22px;
    font-size: 16px;
  }

  .stringing-app-body .string-guide-body {
    font-size: 15.5px;
    line-height: 1.88;
  }

  .stringing-app-body .string-guide-body h2 {
    margin: 56px 0 20px;
    align-items: flex-start;
    gap: 10px;
    font-size: 25px;
  }

  .stringing-app-body .string-guide-body h2::before {
    padding-top: 7px;
  }

  .stringing-app-body .string-guide-body h3 {
    margin-top: 38px;
    font-size: 20px;
  }

  .stringing-app-body .string-guide-body blockquote {
    margin: 30px 0;
    padding: 20px;
  }

  .stringing-app-body .guide-next-step {
    padding: 26px 22px;
    border-radius: 20px;
  }

  .stringing-app-body .guide-related-grid .related-link {
    padding: 20px;
  }
}
