:root {
  --ink: #332d26;
  --ink-soft: #62574a;
  --paper: #dcc9a9;
  --paper-bright: #f5eddc;
  --paper-soft: #eadac0;
  --red: #a56f51;
  --red-dark: #70493b;
  --yellow: #cdb27e;
  --sage: #7f8c76;
  --blue-gray: #758795;
  --blue-gray-soft: #d8e1e1;
  --line-dark: rgba(51, 45, 38, 0.22);
  --line-light: rgba(245, 237, 220, 0.32);
  --display: "Arial Narrow", "Helvetica Neue", "Noto Sans SC", sans-serif;
  --body: "Helvetica Neue", "PingFang SC", "Noto Sans SC", Arial, sans-serif;
  --serif: "Songti SC", "STSong", "Noto Serif SC", "Noto Serif CJK SC", serif;
}

/* DOG DEN MUSIC top-level directory: four products, one calm decision point. */
.brand-portals {
  background:
    radial-gradient(circle at 82% 16%, rgba(174, 192, 181, 0.42), transparent 28%),
    linear-gradient(135deg, #efe2c9 0%, #e3d2b5 52%, #d7c5a7 100%);
  color: #332d26;
  padding: 88px max(24px, calc((100vw - 1280px) / 2)) 96px;
  scroll-margin-top: 78px;
}

.brand-portals-heading {
  align-items: end;
  display: grid;
  gap: 48px;
  grid-template-columns: minmax(210px, 0.56fr) minmax(0, 1fr);
  margin: 0 auto 48px;
  max-width: 1280px;
}

.brand-portals-heading .section-label {
  margin: 0;
}

.brand-portals-heading h2 {
  font-family: var(--serif);
  font-size: clamp(46px, 5.6vw, 84px);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 0.98;
  margin: 0;
}

.brand-portals-heading > div > p {
  font-family: var(--serif);
  font-size: clamp(17px, 1.45vw, 22px);
  line-height: 1.72;
  margin: 22px 0 0;
  max-width: 47rem;
}

.brand-portal-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0 auto;
  max-width: 1280px;
}

.brand-portal-card {
  background: rgba(255, 249, 237, 0.72);
  border: 1px solid rgba(51, 45, 38, 0.2);
  border-radius: 6px;
  box-shadow: 0 12px 28px rgba(74, 55, 39, 0.08);
  color: #332d26;
  display: flex;
  flex-direction: column;
  min-height: 410px;
  overflow: hidden;
  padding: 24px;
  position: relative;
  transition: background 180ms ease, box-shadow 180ms ease, color 180ms ease, transform 180ms ease;
}

.brand-portal-card:nth-child(2) {
  background: rgba(204, 219, 211, 0.72);
}

.brand-portal-card:nth-child(3) {
  background: rgba(179, 116, 83, 0.88);
  color: #fff8eb;
}

.brand-portal-card:nth-child(4) {
  background: rgba(61, 54, 45, 0.94);
  color: #fff8eb;
}

.brand-portal-card:hover,
.brand-portal-card:focus-visible {
  background: #fff9ed;
  box-shadow: 0 20px 38px rgba(74, 55, 39, 0.16);
  color: #332d26;
  outline: none;
  transform: translateY(-5px);
}

.brand-portal-meta {
  align-items: center;
  display: flex;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 11px;
  justify-content: space-between;
  letter-spacing: 0.12em;
  opacity: 0.74;
}

.brand-portal-copy {
  margin-top: auto;
}

.brand-portal-copy h3 {
  font-family: var(--serif);
  font-size: clamp(31px, 3vw, 48px);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.04;
  margin: 0 0 20px;
}

.brand-portal-copy p {
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.7;
  margin: 0;
}

.brand-portal-action {
  align-items: center;
  border-top: 1px solid currentColor;
  display: flex;
  font-family: var(--display);
  font-size: 14px;
  justify-content: space-between;
  letter-spacing: 0.055em;
  margin-top: 28px;
  padding-top: 16px;
}

.brand-portal-action i {
  font-family: Arial, sans-serif;
  font-size: 20px;
  font-style: normal;
}

@media (max-width: 1000px) {
  .brand-portals {
    padding-left: 5vw;
    padding-right: 5vw;
  }

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

  .brand-portal-card {
    min-height: 340px;
  }
}

@media (max-width: 620px) {
  .brand-portals {
    padding: 58px 20px 64px;
    scroll-margin-top: 60px;
  }

  .brand-portals-heading {
    align-items: start;
    gap: 24px;
    grid-template-columns: 1fr;
    margin-bottom: 34px;
  }

  .brand-portals-heading h2 {
    font-size: clamp(42px, 13vw, 58px);
    line-height: 1.02;
  }

  .brand-portals-heading > div > p {
    font-size: 16px;
    line-height: 1.65;
    margin-top: 16px;
  }

  .brand-portal-grid {
    grid-template-columns: 1fr;
  }

  .brand-portal-card {
    min-height: 270px;
    padding: 20px;
  }

  .brand-portal-copy h3 {
    font-size: clamp(34px, 10vw, 44px);
  }

  .brand-portal-copy p {
    font-size: 15px;
  }

  .brand-portal-action {
    margin-top: 22px;
  }
}

/* 2026-08-02 — concise DOG DEN hub, studio split, account settings and sample creator market. */
.home-hub-page,
.studio-hub-page {
  background: var(--cream);
}

.home-hub-hero {
  min-height: min(690px, calc(100vh - 82px));
}

.home-hub-hero .hero-bottom {
  align-items: flex-end;
}

.home-hub-portals {
  padding-bottom: 88px;
  padding-top: 78px;
}

.home-hub-footer {
  background: var(--dark);
  color: var(--cream);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.home-hub-footer-main {
  align-items: center;
  display: flex;
  justify-content: space-between;
  padding: 30px 5vw;
}

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

.home-hub-credit {
  border-top: 1px solid rgba(245, 237, 220, 0.16);
  display: block;
  font: inherit;
  opacity: 0.76;
  padding: 16px 5vw 18px;
  text-align: center;
}

@media (max-width: 620px) {
  .home-hub-footer-main {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
    padding-bottom: 24px;
    padding-top: 24px;
  }

  .home-hub-credit {
    line-height: 1.6;
    padding-bottom: 16px;
    padding-top: 14px;
    text-align: left;
  }
}

.studio-entry-hero {
  background: var(--sand);
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 7vw;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  min-height: 500px;
  padding: 110px 5vw 76px;
}

.studio-entry-hero h1 {
  font-family: var(--editorial);
  font-size: clamp(90px, 11vw, 190px);
  font-weight: 400;
  letter-spacing: -0.07em;
  line-height: 0.82;
  margin: 40px 0 0;
}

.studio-entry-copy {
  align-self: end;
  border-left: 1px solid currentColor;
  padding-left: 28px;
}

.studio-entry-copy strong {
  display: block;
  font-family: var(--editorial);
  font-size: clamp(28px, 3vw, 48px);
  font-weight: 400;
  line-height: 1.15;
}

.studio-entry-copy p {
  font-size: 17px;
  line-height: 1.8;
  margin: 22px 0 30px;
  max-width: 580px;
}

.account-page {
  padding-top: 0;
}

.account-preference-strip {
  align-items: center;
  background: var(--sand);
  border-bottom: 1px solid var(--line);
  display: flex;
  font-family: var(--font-menu);
  gap: 24px;
  justify-content: space-between;
  min-height: 76px;
  padding: 12px 5vw;
}

.account-preference-heading {
  align-items: baseline;
  display: flex;
  gap: 12px;
  white-space: nowrap;
}

.account-preference-heading span,
.account-preference-strip label > span {
  color: var(--muted);
  font-family: var(--font-menu);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.account-preference-heading strong {
  font-family: var(--font-menu);
  font-size: 14px;
  font-weight: 600;
}

.account-preference-controls {
  display: flex;
  gap: 8px;
}

.account-preference-controls label {
  align-items: center;
  background: rgba(255, 249, 237, 0.62);
  border: 1px solid var(--line);
  border-radius: 999px;
  display: flex;
  min-height: 42px;
  overflow: hidden;
}

.account-preference-controls label > span {
  border-right: 1px solid var(--line);
  flex: 0 0 auto;
  padding: 0 12px;
  white-space: nowrap;
}

.account-preference-strip select {
  appearance: auto;
  background: transparent;
  border: 0;
  color: inherit;
  font-family: var(--font-menu);
  font-size: 13px;
  min-height: 40px;
  min-width: 124px;
  padding: 0 12px;
}

.account-exchange-entry-actions {
  grid-template-columns: 1fr 1fr;
}

.account-exchange-entry-actions > a:last-child.account-messages-button {
  align-items: center;
  border: 1px solid var(--dark);
  display: flex;
  justify-content: space-between;
  min-height: 58px;
  padding: 0 20px;
  text-decoration: none;
}

.account-exchange-entry-actions [aria-disabled="true"] {
  background: rgba(58, 52, 42, 0.18);
  border-color: rgba(58, 52, 42, 0.25);
  color: rgba(58, 52, 42, 0.48);
  cursor: not-allowed;
  pointer-events: none;
}

.account-generate-password {
  background: transparent;
  border: 1px solid var(--line);
  cursor: pointer;
  justify-self: start;
  padding: 10px 13px;
}

.account-check a {
  border-bottom: 1px solid currentColor;
  margin-left: 4px;
}

.account-privacy-terms {
  background: var(--cream);
  border-top: 1px solid var(--line);
  padding: 84px 5vw;
}

.account-privacy-terms header {
  display: grid;
  gap: 20px 7vw;
  grid-template-columns: 0.4fr 1fr;
  margin-bottom: 44px;
}

.account-privacy-terms header > span {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.account-privacy-terms header h2 {
  font-family: var(--editorial);
  font-size: clamp(54px, 7vw, 112px);
  font-weight: 400;
  line-height: 0.95;
  margin: 0;
}

.account-privacy-terms header p {
  font-size: 16px;
  grid-column: 2;
  line-height: 1.8;
  margin: 0;
  max-width: 760px;
}

.account-privacy-terms > div {
  border-left: 1px solid var(--line);
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.account-privacy-terms article {
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  min-height: 260px;
  padding: 26px;
}

.account-privacy-terms article > span {
  color: var(--clay);
  font-family: var(--mono);
}

.account-privacy-terms h3 {
  font-family: var(--editorial);
  font-size: 32px;
  font-weight: 400;
  margin: 54px 0 14px;
}

.account-privacy-terms article p {
  font-size: 15px;
  line-height: 1.75;
  margin: 0;
}

.exchange-message-tabs {
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.exchange-message-tabs a {
  display: grid;
  gap: 6px;
  grid-template-columns: auto 1fr;
  min-height: 130px;
  padding: 28px 5vw;
}

.exchange-message-tabs a + a {
  border-left: 1px solid var(--line);
}

.exchange-message-tabs span,
.exchange-message-tabs small {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
}

.exchange-message-tabs strong {
  font-family: var(--editorial);
  font-size: 34px;
  font-weight: 400;
}

.exchange-message-tabs small {
  grid-column: 2;
}

.sample-creator-link {
  background: var(--clay) !important;
  color: var(--cream) !important;
}

.sample-creator-hero {
  background: var(--sand);
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 8vw;
  grid-template-columns: 1fr 0.72fr;
  min-height: 550px;
  padding: 92px 5vw 62px;
}

.sample-creator-hero h1 {
  font-family: var(--editorial);
  font-size: clamp(88px, 11vw, 180px);
  font-weight: 400;
  letter-spacing: -0.07em;
  line-height: 0.78;
  margin: 52px 0 0;
}

.sample-creator-hero > div:last-child {
  align-self: end;
  border-left: 1px solid currentColor;
  padding-left: 28px;
}

.sample-creator-hero strong {
  display: block;
  font-family: var(--editorial);
  font-size: clamp(32px, 4vw, 58px);
  font-weight: 400;
}

.sample-creator-hero p {
  font-size: 17px;
  line-height: 1.8;
  margin: 22px 0 28px;
}

.sample-creator-rules {
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.sample-creator-rules article {
  min-height: 260px;
  padding: 28px;
}

.sample-creator-rules article + article {
  border-left: 1px solid var(--line);
}

.sample-creator-rules article > span,
.sample-creator-form-card header > span,
.sample-creator-naming > span {
  color: var(--clay);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
}

.sample-creator-rules h2 {
  font-family: var(--editorial);
  font-size: 34px;
  font-weight: 400;
  margin: 52px 0 14px;
}

.sample-creator-rules p {
  font-size: 15px;
  line-height: 1.75;
  margin: 0;
}

.sample-creator-form-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
}

.sample-creator-form-card {
  padding: 72px 5vw;
}

.sample-creator-form-card + .sample-creator-form-card {
  background: var(--cream-deep);
  border-left: 1px solid var(--line);
}

.sample-creator-form-card header h2 {
  font-family: var(--editorial);
  font-size: clamp(44px, 5vw, 78px);
  font-weight: 400;
  line-height: 1;
  margin: 22px 0 14px;
}

.sample-creator-form-card header p,
.sample-creator-naming p {
  font-size: 16px;
  line-height: 1.8;
}

.sample-creator-form-card form {
  display: grid;
  gap: 16px;
  margin-top: 34px;
}

.sample-creator-form-card form > label,
.sample-form-two label,
.sample-form-three label {
  display: grid;
  gap: 7px;
}

.sample-creator-form-card label > span {
  font-size: 13px;
  font-weight: 700;
}

.sample-creator-form-card input:not([type="checkbox"]):not([type="radio"]),
.sample-creator-form-card select,
.sample-creator-form-card textarea {
  background: rgba(255, 255, 255, 0.42);
  border: 1px solid var(--line);
  color: inherit;
  min-height: 48px;
  padding: 12px;
  width: 100%;
}

.sample-creator-form-card textarea {
  resize: vertical;
}

.sample-form-two,
.sample-form-three {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, 1fr);
}

.sample-form-three {
  grid-template-columns: repeat(3, 1fr);
}

.sample-product-switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.sample-product-switch label {
  border: 1px solid var(--line);
  cursor: pointer;
  padding: 14px;
  text-align: center;
}

.sample-product-switch label + label {
  border-left: 0;
}

.sample-product-switch label.is-active {
  background: var(--dark);
  color: var(--cream);
}

.sample-product-switch input {
  height: 1px;
  opacity: 0;
  position: absolute;
  width: 1px;
}

.sample-creator-check {
  align-items: flex-start;
  display: grid !important;
  gap: 10px !important;
  grid-template-columns: auto 1fr;
}

.sample-creator-check input {
  height: 18px;
  margin-top: 2px;
  width: 18px;
}

.form-status {
  color: var(--clay);
  font-size: 13px;
  line-height: 1.6;
  margin: 0;
  min-height: 22px;
}

.form-status.is-error {
  color: #a02e27;
}

.sample-creator-naming {
  background: var(--clay);
  color: var(--cream);
  padding: 82px 5vw;
}

.sample-creator-naming > span {
  color: rgba(255, 247, 232, 0.72);
}

.sample-creator-naming h2 {
  font-family: var(--editorial);
  font-size: clamp(48px, 7vw, 104px);
  font-weight: 400;
  line-height: 0.98;
  margin: 30px 0;
  max-width: 1200px;
}

.sample-creator-naming p {
  max-width: 920px;
}

.samples-page .sample-tool-shell {
  margin-top: 0;
}

.sample-store-header-nav {
  gap: 10px !important;
}

.sample-store-header-button {
  align-items: center;
  background: rgba(255, 247, 232, 0.04);
  border: 1px solid rgba(255, 247, 232, 0.34);
  color: #fff7e8;
  cursor: pointer;
  display: inline-flex;
  gap: 8px;
  height: 42px;
  justify-content: center;
  min-width: 92px;
  padding: 0 12px;
  position: relative;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.sample-store-header-button:hover,
.sample-store-header-button:focus-visible,
.sample-store-header-button.is-active {
  background: #fff7e8;
  border-color: #fff7e8;
  color: #332d26;
}

.sample-store-header-button b {
  align-items: center;
  background: #a66d51;
  border-radius: 999px;
  color: #fff7e8;
  display: inline-flex;
  font: 700 9px var(--type-utility);
  height: 20px;
  justify-content: center;
  min-width: 20px;
  padding: 0 5px;
}

.sample-store-heart-glyph {
  font-family: Arial, sans-serif;
  font-size: 21px;
  line-height: 1;
}

.sample-store-cart-glyph {
  border: 1.5px solid currentColor;
  border-top: 0;
  display: inline-block;
  height: 12px;
  position: relative;
  transform: skew(-6deg);
  width: 17px;
}

.sample-store-cart-glyph::before {
  border-left: 1.5px solid currentColor;
  border-top: 1.5px solid currentColor;
  content: "";
  height: 5px;
  left: -4px;
  position: absolute;
  top: -4px;
  width: 5px;
}

.sample-store-cart-glyph::after {
  border: 1.5px solid currentColor;
  border-radius: 50%;
  bottom: -6px;
  box-shadow: 10px 0 0 -1.5px #4d4437, 10px 0 0 0 currentColor;
  content: "";
  height: 3px;
  left: 1px;
  position: absolute;
  width: 3px;
}

.sample-store-header-button:hover .sample-store-cart-glyph::after,
.sample-store-header-button:focus-visible .sample-store-cart-glyph::after,
.sample-store-header-button.is-active .sample-store-cart-glyph::after {
  box-shadow: 10px 0 0 -1.5px #fff7e8, 10px 0 0 0 currentColor;
}

@media (max-width: 900px) {
  .sample-store-header-nav .sample-creator-link {
    display: none;
  }
}

@media (max-width: 620px) {
  .sample-store-header-nav {
    gap: 5px !important;
    padding-left: 2px !important;
    padding-right: 7px !important;
  }

  .sample-store-header-button {
    flex: 0 0 38px;
    height: 38px;
    min-width: 38px;
    padding: 0;
  }

  .sample-store-header-label {
    display: none;
  }

  .sample-store-header-button b {
    height: 16px;
    min-width: 16px;
    padding: 0 3px;
    position: absolute;
    right: -3px;
    top: -5px;
  }

  .sample-store-heart-glyph {
    font-size: 20px;
  }

  .sample-store-cart-glyph {
    transform: scale(0.9) skew(-6deg);
  }
}

.exchange-page .exchange-hero {
  min-height: 540px;
}

@media (max-width: 900px) {
  .studio-entry-hero,
  .sample-creator-hero {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-top: 76px;
  }

  .studio-entry-copy,
  .sample-creator-hero > div:last-child {
    border-left: 0;
    border-top: 1px solid currentColor;
    padding-left: 0;
    padding-top: 24px;
  }

  .account-preference-strip,
  .sample-creator-form-grid {
    grid-template-columns: 1fr;
  }

  .account-privacy-terms > div,
  .sample-creator-rules {
    grid-template-columns: repeat(2, 1fr);
  }

  .sample-creator-form-card + .sample-creator-form-card {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 620px) {
  .home-hub-hero {
    min-height: 610px;
  }

  .home-hub-portals {
    padding-bottom: 36px;
    padding-top: 42px;
  }

  .home-hub-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    padding: 28px 20px;
  }

  .studio-entry-hero,
  .sample-creator-hero {
    padding: 52px 20px 42px;
  }

  .studio-entry-hero h1,
  .sample-creator-hero h1 {
    font-size: 78px;
    margin-top: 30px;
  }

  .account-preference-strip {
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
    padding: 12px 20px 14px;
  }

  .account-preference-heading {
    justify-content: space-between;
  }

  .account-preference-controls {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .account-preference-controls label {
    min-width: 0;
  }

  .account-preference-strip select {
    flex: 1 1 0;
    min-width: 0;
    width: 0;
  }

  .account-exchange-entry-actions,
  .exchange-message-tabs,
  .account-privacy-terms header,
  .account-privacy-terms > div,
  .sample-creator-rules,
  .sample-form-two,
  .sample-form-three {
    grid-template-columns: 1fr;
  }

  .account-privacy-terms {
    padding: 56px 20px;
  }

  .account-privacy-terms header p {
    grid-column: 1;
  }

  .account-privacy-terms article {
    min-height: 0;
  }

  .account-privacy-terms h3 {
    margin-top: 34px;
  }

  .exchange-message-tabs a + a,
  .sample-creator-rules article + article {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .sample-creator-rules article,
  .sample-creator-form-card {
    min-height: 0;
    padding: 42px 20px;
  }

  .sample-creator-rules h2 {
    margin-top: 30px;
  }

  .sample-creator-naming {
    padding: 58px 20px;
  }
}

/* Hand-drawn studio residents -------------------------------------------------
   Decorative only: they sit on section edges and never capture pointer input. */
.site-mascot {
  height: auto;
  object-fit: contain;
  pointer-events: none;
  position: absolute;
  user-select: none;
  z-index: 1;
  filter: drop-shadow(0 14px 18px rgba(61, 48, 36, 0.13));
  transition: transform 240ms ease, opacity 240ms ease;
}

.hero,
.section-services,
.equipment-demo-callout,
.section-pricing,
.section-plugins,
.section-courses,
.location-screen,
.studio-team,
.site-footer-with-mascot,
.subpage-hero,
.sample-tool-shell-with-mascot,
.exchange-hero,
.exchange-levels,
.exchange-order-flow,
.exchange-verticals,
.exchange-join-review,
.account-exchange-entry {
  isolation: isolate;
  overflow: clip;
  position: relative;
}

.hero > :not(.site-mascot),
.section-services > :not(.site-mascot),
.equipment-demo-callout > :not(.site-mascot),
.section-pricing > :not(.site-mascot),
.section-plugins > :not(.site-mascot),
.section-courses > :not(.site-mascot),
.location-screen > :not(.site-mascot),
.studio-team > :not(.site-mascot),
.site-footer-with-mascot > :not(.site-mascot),
.subpage-hero > :not(.site-mascot),
.sample-tool-shell-with-mascot > :not(.site-mascot),
.exchange-hero > :not(.site-mascot),
.exchange-levels > :not(.site-mascot),
.exchange-order-flow > :not(.site-mascot),
.exchange-verticals > :not(.site-mascot),
.exchange-join-review > :not(.site-mascot),
.account-exchange-entry > :not(.site-mascot) {
  z-index: 2;
}

.mascot-home-hero {
  bottom: 78px;
  right: clamp(18px, 3.5vw, 72px);
  transform: rotate(3deg);
  width: clamp(108px, 9.5vw, 166px);
}

.mascot-services-edge {
  display: none;
}

.mascot-equipment-peek {
  display: none;
}

.mascot-pricing-rest {
  right: clamp(18px, 4vw, 74px);
  top: 34px;
  transform: rotate(2deg);
  width: clamp(112px, 10vw, 178px);
}

.mascot-plugin-yawn {
  bottom: -16px;
  left: clamp(18px, 4vw, 72px);
  transform: rotate(-3deg);
  width: clamp(118px, 10vw, 172px);
}

.mascot-course-walk {
  bottom: -22px;
  right: clamp(18px, 4vw, 70px);
  transform: rotate(2deg);
  width: clamp(118px, 10vw, 176px);
}

.mascot-location-watch {
  bottom: 24px;
  left: calc(50% - 96px);
  transform: rotate(-2deg);
  width: clamp(92px, 8vw, 142px);
}

.mascot-team-sleep {
  display: none;
}

.mascot-footer-guard {
  display: none;
}

.mascot-subhero {
  bottom: 12px;
  left: auto;
  right: clamp(20px, 3vw, 52px);
  transform: rotate(-2deg);
  width: clamp(92px, 7vw, 122px);
}

.mascot-plugins-page { transform: rotate(4deg); }
.mascot-courses-page { transform: rotate(-4deg); }

.mascot-samples-page {
  left: clamp(14px, 2vw, 34px);
  top: 12px;
  transform: rotate(-3deg);
  width: clamp(66px, 5.5vw, 94px);
  z-index: 3;
}

.mascot-exchange-hero {
  right: clamp(34px, 5vw, 88px);
  top: clamp(136px, 15vw, 210px);
  transform: rotate(3deg);
  width: clamp(112px, 9vw, 164px);
}

.mascot-exchange-levels,
.mascot-exchange-flow {
  left: clamp(24px, 5vw, 82px);
  top: clamp(166px, 17vw, 250px);
  width: clamp(94px, 8vw, 142px);
}

.mascot-exchange-levels {
  transform: rotate(-4deg);
}

.mascot-exchange-flow {
  filter: drop-shadow(0 14px 18px rgba(19, 26, 21, 0.2));
  transform: rotate(3deg);
}

.mascot-exchange-verticals {
  bottom: -18px;
  left: clamp(16px, 3vw, 54px);
  transform: rotate(-3deg);
  width: clamp(106px, 8vw, 146px);
}

.mascot-exchange-join {
  display: none;
}

.mascot-account-loaf {
  display: none;
}

@media (hover: hover) {
  .section:hover > .site-mascot,
  .subpage-hero:hover > .site-mascot,
  .exchange-hero:hover > .site-mascot,
  .exchange-levels:hover > .site-mascot,
  .exchange-order-flow:hover > .site-mascot,
  .account-exchange-entry:hover > .site-mascot {
    transform: translateY(-4px) rotate(0deg);
  }

  .subpage-hero:hover > .mascot-subhero {
    transform: translateY(-4px) rotate(0deg);
  }
}

@media (max-width: 720px) {
  .site-mascot {
    filter: drop-shadow(0 8px 12px rgba(61, 48, 36, 0.12));
  }

  .mascot-home-hero {
    display: none;
  }

  .mascot-services-edge {
    right: -8px;
    top: 21%;
    width: 76px;
  }

  .mascot-equipment-peek,
  .mascot-location-watch,
  .mascot-footer-guard,
  .mascot-exchange-verticals,
  .mascot-exchange-levels,
  .mascot-exchange-flow {
    display: none;
  }

  .mascot-pricing-rest {
    right: 12px;
    top: 16px;
    width: 82px;
  }

  .mascot-plugin-yawn {
    display: none;
  }

  .mascot-course-walk {
    bottom: -10px;
    right: 8px;
    width: 90px;
  }

  .mascot-team-sleep {
    right: 10px;
    top: 16px;
    width: 84px;
  }

  .mascot-subhero {
    display: none;
  }

  .mascot-plugins-page,
  .mascot-courses-page {
    transform: rotate(2deg);
  }

  .mascot-samples-page {
    left: 8px;
    top: 8px;
    width: 54px;
  }

  .mascot-exchange-hero,
  .mascot-exchange-join,
  .mascot-account-loaf {
    bottom: auto;
    right: 18px;
    top: 150px;
    width: 72px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-mascot { transition: none; }
}

/* Join the Exchange — SoundBetter-inspired hierarchy in DOG DEN's own visual language. */
.exchange-page.exchange-join-page {
  --join-ink: #28231f;
  --join-cream: #f5ead7;
  --join-sand: #dfc28f;
  --join-clay: #b46f50;
  --join-moss: #667063;
  background: var(--join-cream);
  color: var(--join-ink);
}

.exchange-header.exchange-join-header nav a:last-child {
  background: var(--join-clay);
  color: #fff9ed;
}

.exchange-join-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  min-height: 780px;
  padding-top: 78px;
}

.exchange-join-hero-copy {
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    var(--join-ink);
  background-size: 84px 84px, 84px 84px, auto;
  color: #fff8ea;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(48px, 6vw, 92px);
}

.exchange-join-hero-copy .subpage-kicker {
  color: #e6c799;
}

.exchange-join-hero h1 {
  font-family: var(--display);
  font-size: clamp(92px, 12vw, 188px);
  font-weight: 900;
  letter-spacing: -0.075em;
  line-height: 0.78;
  margin: 46px 0 52px;
}

.exchange-join-lead {
  border-top: 1px solid rgba(255, 248, 234, 0.3);
  display: grid;
  gap: 14px;
  padding-top: 24px;
}

.exchange-join-lead strong {
  color: #eccb96;
  font-family: var(--serif);
  font-size: clamp(24px, 2.3vw, 36px);
  font-weight: 600;
}

.exchange-join-lead p {
  font-family: var(--serif);
  font-size: clamp(17px, 1.35vw, 21px);
  line-height: 1.75;
  margin: 0;
  max-width: 760px;
}

.exchange-join-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  margin-top: 38px;
}

.exchange-join-actions .button {
  background: var(--join-clay);
  color: #fff9ed;
  min-width: 210px;
}

.exchange-join-actions > a:last-child {
  border-bottom: 1px solid rgba(255, 248, 234, 0.7);
  font-size: 13px;
  padding-bottom: 5px;
}

.exchange-join-hero-art {
  background:
    linear-gradient(rgba(40, 35, 31, 0.065) 1px, transparent 1px),
    linear-gradient(90deg, rgba(40, 35, 31, 0.065) 1px, transparent 1px),
    var(--join-sand);
  background-size: 84px 84px, 84px 84px, auto;
  min-width: 0;
  overflow: hidden;
  position: relative;
}

.exchange-join-hero-art > img {
  bottom: -3%;
  height: min(76%, 620px);
  left: 50%;
  mix-blend-mode: multiply;
  object-fit: contain;
  opacity: 0.9;
  position: absolute;
  transform: translateX(-50%);
  width: min(92%, 680px);
}

.exchange-join-stamp {
  align-items: center;
  background: var(--join-clay);
  border-radius: 50%;
  color: #fff9ed;
  display: flex;
  flex-direction: column;
  font: 800 clamp(23px, 2.5vw, 38px) var(--display);
  height: clamp(116px, 12vw, 176px);
  justify-content: center;
  letter-spacing: -0.03em;
  position: absolute;
  right: clamp(24px, 4vw, 64px);
  top: clamp(48px, 7vw, 96px);
  transform: rotate(7deg);
  width: clamp(116px, 12vw, 176px);
  z-index: 1;
}

.exchange-join-stamp small {
  font: 700 11px var(--body);
  letter-spacing: 0.12em;
  margin-top: 4px;
}

.exchange-join-hero-art > p {
  bottom: 36px;
  color: rgba(40, 35, 31, 0.7);
  font: 700 10px/1.5 "Courier New", monospace;
  letter-spacing: 0.17em;
  margin: 0;
  position: absolute;
  right: 32px;
  text-align: right;
  z-index: 1;
}

.exchange-join-trust {
  background: var(--join-clay);
  color: #fff9ed;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 0 clamp(26px, 6vw, 96px);
}

.exchange-join-trust > div {
  border-left: 1px solid rgba(255, 249, 237, 0.28);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 210px;
  padding: 34px;
}

.exchange-join-trust > div:last-child {
  border-right: 1px solid rgba(255, 249, 237, 0.28);
}

.exchange-join-trust strong {
  font-family: var(--serif);
  font-size: clamp(25px, 2.2vw, 36px);
  font-weight: 600;
}

.exchange-join-trust span {
  font-size: 13px;
  line-height: 1.6;
  max-width: 260px;
  opacity: 0.78;
}

.exchange-join-review,
.exchange-join-materials,
.exchange-join-application {
  scroll-margin-top: 78px;
}

.exchange-join-review {
  padding: clamp(82px, 9vw, 144px) clamp(26px, 6vw, 96px);
}

.exchange-join-section-heading {
  display: grid;
  gap: 38px;
  grid-template-columns: minmax(170px, 0.34fr) minmax(0, 1fr);
  margin-bottom: 64px;
}

.exchange-join-section-heading > span,
.exchange-join-material-copy > span,
.exchange-join-application aside > span {
  color: var(--join-clay);
  font: 700 11px "Courier New", monospace;
  letter-spacing: 0.16em;
}

.exchange-join-section-heading h2,
.exchange-join-material-copy h2,
.exchange-join-application aside h2 {
  font-family: var(--serif);
  font-size: clamp(43px, 5.4vw, 82px);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 1.02;
  margin: 0;
}

.exchange-join-section-heading p {
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.75;
  margin: 24px 0 0;
  max-width: 820px;
}

.exchange-join-step-grid {
  border-left: 1px solid rgba(40, 35, 31, 0.24);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.exchange-join-step-grid article {
  border-bottom: 1px solid rgba(40, 35, 31, 0.24);
  border-right: 1px solid rgba(40, 35, 31, 0.24);
  border-top: 1px solid rgba(40, 35, 31, 0.24);
  display: flex;
  flex-direction: column;
  min-height: 330px;
  padding: clamp(24px, 3vw, 42px);
}

.exchange-join-step-grid article > span {
  color: var(--join-clay);
  font: 700 11px "Courier New", monospace;
  letter-spacing: 0.16em;
}

.exchange-join-step-grid h3 {
  font-family: var(--serif);
  font-size: clamp(27px, 2.8vw, 42px);
  font-weight: 500;
  margin: auto 0 18px;
}

.exchange-join-step-grid p {
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.7;
  margin: 0;
}

.exchange-join-materials {
  background: var(--join-moss);
  color: #fff9ed;
  display: grid;
  grid-template-columns: minmax(330px, 0.8fr) minmax(0, 1.2fr);
  min-height: 760px;
}

.exchange-join-mascots {
  background:
    radial-gradient(circle at 50% 34%, rgba(245, 234, 215, 0.3), transparent 33%),
    rgba(0, 0, 0, 0.08);
  overflow: hidden;
  position: relative;
}

.exchange-join-mascots img {
  mix-blend-mode: multiply;
  object-fit: contain;
  opacity: 0.76;
  position: absolute;
}

.exchange-join-mascots img:first-child {
  left: -9%;
  top: 4%;
  transform: rotate(-4deg);
  width: 72%;
}

.exchange-join-mascots img:last-child {
  bottom: -7%;
  right: -7%;
  transform: rotate(3deg);
  width: 78%;
}

.exchange-join-material-copy {
  padding: clamp(72px, 8vw, 126px) clamp(32px, 6vw, 92px);
}

.exchange-join-material-copy > span {
  color: #e7c999;
}

.exchange-join-material-copy h2 {
  margin: 24px 0 54px;
}

.exchange-join-material-list {
  border-bottom: 1px solid rgba(255, 249, 237, 0.25);
}

.exchange-join-material-list article {
  border-top: 1px solid rgba(255, 249, 237, 0.25);
  display: grid;
  gap: 28px;
  grid-template-columns: 44px minmax(0, 1fr);
  padding: 24px 0;
}

.exchange-join-material-list small {
  font: 700 10px "Courier New", monospace;
  opacity: 0.62;
}

.exchange-join-material-list h3 {
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 500;
  margin: 0 0 8px;
}

.exchange-join-material-list p {
  font-family: var(--serif);
  font-size: 15px;
  line-height: 1.7;
  margin: 0;
  opacity: 0.76;
}

.exchange-join-application {
  align-items: start;
  display: grid;
  gap: clamp(38px, 6vw, 96px);
  grid-template-columns: minmax(0, 1.36fr) minmax(300px, 0.64fr);
  padding: clamp(82px, 9vw, 144px) clamp(26px, 6vw, 96px);
}

.exchange-join-application aside {
  background: var(--join-sand);
  border-top: 7px solid var(--join-clay);
  padding: clamp(30px, 4vw, 54px);
  position: sticky;
  top: 104px;
}

.exchange-join-application aside h2 {
  font-size: clamp(34px, 3.8vw, 54px);
  margin: 24px 0;
}

.exchange-join-application aside > p {
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.75;
}

.exchange-join-application aside dl {
  border-bottom: 1px solid rgba(40, 35, 31, 0.28);
  margin: 34px 0;
}

.exchange-join-application aside dl > div {
  border-top: 1px solid rgba(40, 35, 31, 0.28);
  display: flex;
  gap: 16px;
  justify-content: space-between;
  padding: 15px 0;
}

.exchange-join-application aside dt {
  font-size: 12px;
  font-weight: 700;
}

.exchange-join-application aside dd {
  font-family: var(--serif);
  font-size: 14px;
  margin: 0;
  text-align: right;
}

.exchange-join-application aside > a {
  border-bottom: 1px solid;
  font-size: 12px;
  padding-bottom: 5px;
}

.account-exchange-entry {
  align-items: center;
  background: #b56f50;
  color: #fff9ed;
  display: grid;
  gap: 48px;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 48px 5vw;
}

.account-exchange-entry > div:first-child > span {
  font: 700 10px "Courier New", monospace;
  letter-spacing: 0.14em;
}

.account-exchange-entry h2 {
  font-family: var(--serif);
  font-size: clamp(34px, 4vw, 58px);
  font-weight: 500;
  letter-spacing: -0.04em;
  margin: 18px 0 12px;
}

.account-exchange-entry p {
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.7;
  margin: 0;
  max-width: 680px;
}

.account-exchange-entry-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  justify-content: flex-end;
}

.account-exchange-entry-actions .button {
  background: var(--ink);
  color: #fff9ed;
  white-space: nowrap;
}

.account-exchange-entry-actions > a:last-child {
  border-bottom: 1px solid rgba(255, 249, 237, 0.72);
  font-size: 12px;
  padding-bottom: 5px;
  white-space: nowrap;
}

@media (max-width: 980px) {
  .exchange-join-hero,
  .exchange-join-materials,
  .exchange-join-application {
    grid-template-columns: 1fr;
  }

  .exchange-join-hero-copy {
    min-height: 670px;
  }

  .exchange-join-hero-art {
    min-height: 590px;
  }

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

  .exchange-join-mascots {
    min-height: 560px;
  }

  .exchange-join-application aside {
    position: static;
  }

  .account-exchange-entry {
    align-items: start;
    grid-template-columns: 1fr;
  }

  .account-exchange-entry-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 620px) {
  .exchange-join-header nav a:not(.header-back):last-child {
    display: flex;
    font-size: 11px !important;
    padding: 0 12px !important;
  }

  .exchange-join-header nav a:not(.header-back):not(:last-child) {
    display: none;
  }

  .exchange-join-hero {
    padding-top: 70px;
  }

  .exchange-join-hero-copy {
    min-height: 630px;
    padding: 72px 20px 42px;
  }

  .exchange-join-hero h1 {
    font-size: clamp(76px, 25vw, 104px);
    margin: 36px 0 38px;
  }

  .exchange-join-lead strong {
    font-size: 26px;
  }

  .exchange-join-lead p {
    font-size: 16px;
  }

  .exchange-join-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .exchange-join-actions .button {
    justify-content: space-between;
    width: 100%;
  }

  .exchange-join-actions > a:last-child {
    align-self: flex-start;
  }

  .exchange-join-hero-art {
    min-height: 470px;
  }

  .exchange-join-hero-art > img {
    bottom: -2%;
    height: 82%;
    width: 96%;
  }

  .exchange-join-stamp {
    height: 98px;
    right: 18px;
    top: 26px;
    width: 98px;
  }

  .exchange-join-trust {
    grid-template-columns: 1fr;
    padding: 0 20px;
  }

  .exchange-join-trust > div,
  .exchange-join-trust > div:last-child {
    border-bottom: 1px solid rgba(255, 249, 237, 0.28);
    border-left: 1px solid rgba(255, 249, 237, 0.28);
    border-right: 1px solid rgba(255, 249, 237, 0.28);
    min-height: 150px;
    padding: 24px;
  }

  .exchange-join-review,
  .exchange-join-application {
    padding: 68px 20px;
  }

  .exchange-join-section-heading {
    gap: 24px;
    grid-template-columns: 1fr;
    margin-bottom: 36px;
  }

  .exchange-join-section-heading h2,
  .exchange-join-material-copy h2 {
    font-size: 42px;
  }

  .exchange-join-section-heading p {
    font-size: 16px;
  }

  .exchange-join-step-grid {
    grid-template-columns: 1fr;
  }

  .exchange-join-step-grid article {
    min-height: 220px;
  }

  .exchange-join-step-grid h3 {
    margin-top: 46px;
  }

  .exchange-join-mascots {
    min-height: 390px;
  }

  .exchange-join-mascots img:first-child {
    left: -12%;
    top: -1%;
    width: 76%;
  }

  .exchange-join-mascots img:last-child {
    bottom: -10%;
    right: -8%;
    width: 82%;
  }

  .exchange-join-material-copy {
    padding: 64px 20px;
  }

  .exchange-join-material-list article {
    gap: 12px;
    grid-template-columns: 30px minmax(0, 1fr);
  }

  .exchange-join-application aside {
    padding: 30px 24px;
  }

  .account-exchange-entry {
    gap: 30px;
    padding: 42px 20px;
  }

  .account-exchange-entry-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .account-exchange-entry-actions .button {
    justify-content: space-between;
    width: 100%;
  }

  .account-exchange-entry-actions > a:last-child {
    align-self: flex-start;
    white-space: normal;
  }
}

/* Service editorial pages --------------------------------------------------- */
.service-intro-page {
  background: var(--paper-bright);
  color: var(--ink);
}

.service-intro-hero {
  background:
    radial-gradient(circle at 80% 28%, rgba(205, 178, 126, 0.46), transparent 31%),
    linear-gradient(125deg, #f5eddc 0%, #e7d3b1 64%, #c9b18a 100%);
  border-bottom: 1px solid var(--line-dark);
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(260px, 0.7fr);
  min-height: min(760px, calc(100svh - 78px));
  overflow: hidden;
  position: relative;
}

.service-intro-hero::before {
  background-image:
    linear-gradient(rgba(51, 45, 38, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(51, 45, 38, 0.055) 1px, transparent 1px);
  background-size: 72px 72px;
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.service-intro-hero-copy {
  align-self: center;
  max-width: 900px;
  padding: clamp(70px, 10vw, 150px) 6vw;
  position: relative;
  z-index: 2;
}

.service-intro-hero-copy > p:first-child,
.service-intro-heading > p,
.service-intro-experience > p,
.service-purchase-cta p {
  font: 700 11px "Courier New", monospace;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.service-intro-hero-copy h1 {
  font-family: var(--serif);
  font-size: clamp(86px, 12vw, 190px);
  font-weight: 500;
  letter-spacing: -0.075em;
  line-height: 0.88;
  margin: clamp(38px, 6vw, 80px) 0 18px;
}

.service-intro-hero-copy > strong {
  display: block;
  font: 700 clamp(17px, 2vw, 29px) var(--display);
  letter-spacing: 0.1em;
  margin-bottom: clamp(38px, 5vw, 70px);
}

.service-intro-hero-copy > p:last-child {
  font-family: var(--serif);
  font-size: clamp(20px, 2vw, 30px);
  line-height: 1.72;
  margin: 0;
  max-width: 720px;
}

.service-intro-mascot-stage {
  align-items: flex-end;
  display: flex;
  justify-content: center;
  min-height: 420px;
  padding: 70px 5vw 0 0;
  position: relative;
  z-index: 3;
}

.service-intro-mascot-stage::before {
  background: rgba(245, 237, 220, 0.62);
  border: 1px solid rgba(51, 45, 38, 0.18);
  border-radius: 50%;
  content: "";
  height: min(31vw, 430px);
  position: absolute;
  width: min(31vw, 430px);
}

.site-mascot.service-intro-mascot {
  bottom: clamp(24px, 5vw, 72px);
  filter: drop-shadow(0 20px 28px rgba(61, 48, 36, 0.16));
  left: 50%;
  max-height: 390px;
  object-fit: contain;
  position: absolute;
  transform: translateX(-50%);
  width: min(27vw, 360px);
  z-index: 4;
}

.service-intro-section {
  padding: clamp(75px, 10vw, 145px) 6vw;
}

.service-intro-importance {
  background: #ead9bd;
}

.service-intro-heading {
  align-items: end;
  display: grid;
  gap: 40px;
  grid-template-columns: minmax(190px, 0.55fr) minmax(0, 1.45fr);
  margin-bottom: clamp(60px, 8vw, 110px);
}

.service-intro-heading h2,
.service-intro-experience h2,
.service-purchase-cta h2 {
  font-family: var(--serif);
  font-size: clamp(48px, 6vw, 92px);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 1.05;
  margin: 0;
}

.service-intro-principles {
  border-left: 1px solid var(--line-dark);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-intro-principles article {
  border-bottom: 1px solid var(--line-dark);
  border-right: 1px solid var(--line-dark);
  border-top: 1px solid var(--line-dark);
  min-height: 330px;
  padding: clamp(26px, 4vw, 54px);
}

.service-intro-principles article > span,
.service-method-grid article > span {
  font: 700 11px "Courier New", monospace;
  letter-spacing: 0.14em;
  opacity: 0.62;
}

.service-intro-principles h3,
.service-method-grid h3 {
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 500;
  letter-spacing: -0.035em;
  margin: 70px 0 22px;
}

.service-intro-principles p,
.service-method-grid p,
.service-intro-experience > div > p,
.service-purchase-cta > div > span {
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.78;
  margin: 0;
}

.service-intro-experience {
  background: #758577;
  color: var(--paper-bright);
}

.service-intro-experience > div {
  align-items: end;
  display: grid;
  gap: clamp(50px, 9vw, 150px);
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.82fr);
  margin-top: clamp(58px, 8vw, 110px);
}

.service-intro-experience > div > p {
  font-size: clamp(18px, 1.7vw, 25px);
}

.service-intro-methods {
  background: #c5d1d0;
}

.service-method-grid {
  border-left: 1px solid var(--line-dark);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.service-method-grid article {
  border-bottom: 1px solid var(--line-dark);
  border-right: 1px solid var(--line-dark);
  border-top: 1px solid var(--line-dark);
  min-height: 360px;
  padding: clamp(24px, 3vw, 42px);
}

.service-purchase-cta {
  align-items: end;
  background: var(--ink);
  color: var(--paper-bright);
  display: grid;
  gap: 50px;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: clamp(70px, 9vw, 130px) 6vw;
}

.service-purchase-cta h2 {
  margin: 28px 0 24px;
}

.service-purchase-cta > div > span {
  display: block;
  max-width: 720px;
}

.service-purchase-cta .button {
  align-items: center;
  display: inline-flex;
  font-size: clamp(19px, 1.5vw, 25px) !important;
  justify-content: space-between;
  min-height: 82px;
  min-width: clamp(290px, 23vw, 420px);
  padding: 24px 30px;
}

/* The mascots sit in reserved edge areas and must remain above section surfaces. */
.site-mascot {
  isolation: isolate;
  z-index: 4;
}

/* Testimonial pagination uses swipe in the card and side arrows in the modal. */
.testimonial-progress {
  align-items: center;
  border-top: 1px solid rgba(58, 52, 42, 0.18);
  display: flex;
  gap: 16px;
  margin-top: 20px;
  padding-top: 18px;
}

.testimonial-progress .testimonial-dots {
  margin-right: auto;
}

.testimonial-progress > span {
  font: 700 10px "Courier New", monospace;
  letter-spacing: 0.12em;
  opacity: 0.58;
}

.testimonial-modal-nav {
  pointer-events: auto;
  touch-action: manipulation;
  z-index: 6;
}

@media (max-width: 900px) {
  .service-intro-hero {
    grid-template-columns: minmax(0, 1.2fr) minmax(210px, 0.8fr);
    min-height: auto;
  }

  .service-intro-hero-copy {
    padding: 90px 5vw;
  }

  .service-intro-hero-copy h1 {
    font-size: clamp(76px, 14vw, 125px);
  }

  .service-intro-mascot-stage {
    min-height: 360px;
  }

  .service-intro-principles {
    grid-template-columns: 1fr;
  }

  .service-intro-principles article {
    min-height: 0;
  }

  .service-intro-principles h3 {
    margin-top: 38px;
  }

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

@media (max-width: 620px) {
  .service-intro-hero {
    display: block;
  }

  .service-intro-hero-copy {
    padding: 70px 20px 42px;
  }

  .service-intro-hero-copy h1 {
    font-size: clamp(72px, 25vw, 108px);
    margin-top: 48px;
  }

  .service-intro-hero-copy > strong {
    font-size: 16px;
    line-height: 1.4;
    margin-bottom: 38px;
  }

  .service-intro-hero-copy > p:last-child {
    font-size: 19px;
  }

  .service-intro-mascot-stage {
    min-height: 270px;
    padding: 0;
  }

  .service-intro-mascot-stage::before {
    height: 230px;
    width: 230px;
  }

  .site-mascot.service-intro-mascot {
    bottom: 20px;
    display: block;
    max-height: 230px;
    width: 210px;
  }

  .service-intro-section {
    padding: 72px 20px;
  }

  .service-intro-heading,
  .service-intro-experience > div,
  .service-purchase-cta {
    display: block;
  }

  .service-intro-heading h2,
  .service-intro-experience h2,
  .service-purchase-cta h2 {
    font-size: clamp(43px, 13vw, 61px);
    margin-top: 30px;
  }

  .service-intro-principles,
  .service-method-grid {
    grid-template-columns: 1fr;
  }

  .service-intro-principles article,
  .service-method-grid article {
    min-height: 0;
    padding: 28px 22px 34px;
  }

  .service-intro-principles h3,
  .service-method-grid h3 {
    font-size: 32px;
    margin: 40px 0 18px;
  }

  .service-intro-experience > div > p {
    font-size: 18px;
    margin-top: 42px;
  }

  .service-purchase-cta {
    padding: 74px 20px;
  }

  .service-purchase-cta .button {
    margin-top: 38px;
    min-height: 76px;
    min-width: 0;
    padding: 20px 22px;
    width: 100%;
  }

  .testimonial-progress > span {
    font-size: 9px;
  }
}

/* DOG DEN Exchange — reviewed creator marketplace */
.exchange-page {
  background: #f0e2ca;
  color: var(--ink);
  min-height: 100vh;
}

.exchange-header {
  background: rgba(54, 46, 38, 0.96);
  color: var(--paper-bright);
}

.exchange-header nav a:last-child {
  background: var(--red);
  color: #fff8e9;
}

.exchange-hero {
  background:
    radial-gradient(circle at 74% 28%, rgba(205, 178, 126, 0.52), transparent 28%),
    linear-gradient(135deg, #765b47, #a87355 58%, #d2b17d);
  color: #fff8e9;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.55fr);
  min-height: 700px;
  padding-top: 78px;
}

.exchange-hero-title,
.exchange-hero-note {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(48px, 6vw, 96px);
}

.exchange-hero-title {
  border-right: 1px solid rgba(255, 248, 233, 0.28);
  position: relative;
}

.exchange-hero-title::before {
  border: 1px solid rgba(255, 248, 233, 0.3);
  border-radius: 50%;
  content: "EX";
  display: grid;
  font: 700 18px var(--display);
  height: 76px;
  letter-spacing: 0.12em;
  place-items: center;
  position: absolute;
  right: clamp(32px, 5vw, 82px);
  top: clamp(40px, 8vw, 100px);
  width: 76px;
}

.exchange-hero h1 {
  font-family: var(--serif);
  font-size: clamp(104px, 17vw, 250px);
  font-weight: 700;
  letter-spacing: -0.09em;
  line-height: 0.78;
  margin: 28px 0 42px;
}

.exchange-hero-title > span {
  border-top: 1px solid rgba(255, 248, 233, 0.3);
  font-family: var(--serif);
  font-size: clamp(20px, 2vw, 30px);
  line-height: 1.55;
  padding-top: 22px;
}

.exchange-hero-note {
  background: rgba(51, 45, 38, 0.18);
  gap: 22px;
}

.exchange-hero-note > span,
.exchange-section-heading > span,
.exchange-terms > div > span,
.exchange-form-heading > span,
.exchange-apply aside > span,
.exchange-dashboard-hero > div > span,
.exchange-dashboard-form-shell aside > span {
  font: 700 11px "Courier New", monospace;
  letter-spacing: 0.16em;
}

.exchange-hero-note p {
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.8;
  margin: 0;
}

.exchange-hero-note .button {
  align-self: flex-start;
  background: #fff8e9;
  color: var(--ink);
  margin-top: 10px;
}

.exchange-principles,
.exchange-catalog,
.exchange-terms,
.exchange-apply,
.exchange-dashboard-form-shell {
  padding: clamp(72px, 8vw, 132px) clamp(26px, 6vw, 96px);
}

.exchange-section-heading {
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(160px, 0.35fr) minmax(0, 1fr);
  margin-bottom: 54px;
}

.exchange-section-heading h2,
.exchange-terms h2,
.exchange-form-heading h2,
.exchange-apply aside h2,
.exchange-dashboard-form-shell aside h2 {
  font-family: var(--serif);
  font-size: clamp(38px, 5.2vw, 76px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.04;
  margin: 0;
}

.exchange-workflow {
  border-left: 1px solid var(--line-dark);
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.exchange-workflow article {
  border-bottom: 1px solid var(--line-dark);
  border-right: 1px solid var(--line-dark);
  border-top: 1px solid var(--line-dark);
  min-height: 280px;
  padding: 24px;
}

.exchange-workflow article > span,
.exchange-category-grid small {
  color: var(--red-dark);
  font: 700 11px "Courier New", monospace;
  letter-spacing: 0.16em;
}

.exchange-workflow h3,
.exchange-category-grid h3 {
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 46px);
  font-weight: 500;
  margin: 74px 0 16px;
}

.exchange-workflow p,
.exchange-category-grid p {
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.7;
  margin: 0;
}

.exchange-catalog {
  background: #59635b;
  color: #fff8e9;
}

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

.exchange-category-grid article {
  background: rgba(255, 248, 233, 0.06);
  border: 1px solid rgba(255, 248, 233, 0.25);
  min-height: 310px;
  padding: clamp(28px, 4vw, 56px);
}

.exchange-category-grid small {
  color: #e4caa0;
}

.exchange-category-grid h3 {
  margin-top: 54px;
}

.exchange-category-grid article > span {
  border-top: 1px solid rgba(255, 248, 233, 0.22);
  display: block;
  font-size: 12px;
  letter-spacing: 0.08em;
  margin-top: 46px;
  padding-top: 16px;
}

.exchange-terms {
  background: #d1ad78;
  display: grid;
  gap: clamp(40px, 7vw, 120px);
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
}

.exchange-terms h2 {
  margin-top: 24px;
}

.exchange-terms dl {
  margin: 0;
}

.exchange-terms dl > div {
  border-top: 1px solid rgba(51, 45, 38, 0.32);
  display: grid;
  gap: 22px;
  grid-template-columns: 140px 1fr;
  padding: 24px 0;
}

.exchange-terms dt {
  font-size: 14px;
  font-weight: 800;
}

.exchange-terms dd {
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.6;
  margin: 0;
}

.exchange-apply,
.exchange-dashboard-form-shell {
  align-items: start;
  display: grid;
  gap: clamp(36px, 6vw, 100px);
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.55fr);
}

.exchange-application-form,
.exchange-product-form {
  min-width: 0;
}

.exchange-form-heading {
  border-bottom: 1px solid var(--line-dark);
  margin-bottom: 34px;
  padding-bottom: 28px;
}

.exchange-form-heading h2 {
  font-size: clamp(42px, 5vw, 68px);
  margin: 16px 0;
}

.exchange-form-heading p {
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.75;
  margin: 0;
  max-width: 700px;
}

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

.exchange-form-grid label {
  display: grid;
  gap: 9px;
  min-width: 0;
}

.exchange-form-grid label > span {
  font-size: 13px;
  font-weight: 700;
}

.exchange-form-grid label > small {
  font-size: 11px;
  line-height: 1.6;
  opacity: 0.68;
}

.exchange-form-grid input,
.exchange-form-grid select,
.exchange-form-grid textarea {
  background: rgba(255, 248, 233, 0.42);
  border: 1px solid rgba(51, 45, 38, 0.3);
  border-radius: 0;
  color: var(--ink);
  font: 16px var(--body);
  min-height: 54px;
  padding: 14px 16px;
  width: 100%;
}

.exchange-form-grid textarea {
  min-height: 132px;
  resize: vertical;
}

.exchange-form-wide {
  grid-column: 1 / -1;
}

.exchange-legal-check {
  align-items: flex-start;
  background: rgba(165, 111, 81, 0.1);
  border: 1px solid rgba(112, 73, 59, 0.26);
  display: flex;
  font-family: var(--serif);
  font-size: 15px;
  gap: 12px;
  line-height: 1.65;
  margin: 28px 0;
  padding: 18px;
}

.exchange-legal-check input {
  flex: 0 0 auto;
  height: 18px;
  margin-top: 3px;
  width: 18px;
}

.exchange-form-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.exchange-form-actions > a,
.exchange-apply aside > a,
.exchange-dashboard-hero > div > a {
  border-bottom: 1px solid;
  font-size: 13px;
  padding-bottom: 5px;
}

.exchange-form-status {
  color: var(--red-dark);
  font-family: var(--serif);
  font-size: 15px;
  line-height: 1.6;
  min-height: 24px;
}

.exchange-apply aside,
.exchange-dashboard-form-shell aside {
  background: var(--ink);
  color: #fff8e9;
  padding: clamp(28px, 4vw, 54px);
  position: sticky;
  top: 104px;
}

.exchange-apply aside h2,
.exchange-dashboard-form-shell aside h2 {
  font-size: clamp(34px, 4vw, 54px);
  margin: 22px 0 30px;
}

.exchange-apply aside ul,
.exchange-dashboard-form-shell aside ol {
  list-style: none;
  margin: 0 0 38px;
  padding: 0;
}

.exchange-apply aside li,
.exchange-dashboard-form-shell aside li {
  border-top: 1px solid rgba(255, 248, 233, 0.22);
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.55;
  padding: 15px 0;
}

.exchange-dashboard-form-shell aside ol {
  counter-reset: exchange-check;
}

.exchange-dashboard-form-shell aside li {
  counter-increment: exchange-check;
}

.exchange-dashboard-form-shell aside li::before {
  content: "0" counter(exchange-check) " / ";
  font: 11px "Courier New", monospace;
}

.exchange-footer {
  align-items: center;
  background: #3a332b;
  color: #fff8e9;
  display: flex;
  font: 11px "Courier New", monospace;
  justify-content: space-between;
  letter-spacing: 0.12em;
  min-height: 140px;
  padding: 36px clamp(26px, 6vw, 96px);
}

.exchange-dashboard-hero {
  align-items: end;
  background: #9e6e52;
  color: #fff8e9;
  display: grid;
  gap: 40px;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  min-height: 610px;
  padding: 150px clamp(26px, 6vw, 96px) 80px;
}

.exchange-dashboard-hero > p {
  grid-column: 1 / -1;
}

.exchange-dashboard-hero h1 {
  font-family: var(--serif);
  font-size: clamp(88px, 12vw, 174px);
  font-weight: 600;
  letter-spacing: -0.08em;
  line-height: 0.8;
  margin: 0;
}

.exchange-dashboard-hero > div p {
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.8;
}

.exchange-dashboard-summary {
  background: #586259;
  color: #fff8e9;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 0 clamp(26px, 6vw, 96px);
}

.exchange-dashboard-summary article {
  border-left: 1px solid rgba(255, 248, 233, 0.22);
  min-height: 230px;
  padding: 36px;
}

.exchange-dashboard-summary article:last-child {
  border-right: 1px solid rgba(255, 248, 233, 0.22);
}

.exchange-dashboard-summary span {
  font: 10px "Courier New", monospace;
  letter-spacing: 0.12em;
}

.exchange-dashboard-summary strong {
  display: block;
  font-family: var(--serif);
  font-size: 30px;
  margin: 54px 0 12px;
}

.exchange-dashboard-summary p {
  font-family: var(--serif);
  line-height: 1.55;
  margin: 0;
}

@media (max-width: 980px) {
  .exchange-hero,
  .exchange-apply,
  .exchange-dashboard-form-shell,
  .exchange-terms {
    grid-template-columns: 1fr;
  }

  .exchange-hero-title {
    border-bottom: 1px solid rgba(255, 248, 233, 0.28);
    border-right: 0;
    min-height: 560px;
  }

  .exchange-hero-note {
    min-height: 360px;
  }

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

  .exchange-workflow article:last-child {
    grid-column: 1 / -1;
  }

  .exchange-apply aside,
  .exchange-dashboard-form-shell aside {
    position: static;
  }
}

@media (max-width: 620px) {
  .exchange-header nav a:not(.header-back):not(:last-child) {
    display: none;
  }

  .exchange-header nav a:last-child {
    font-size: 12px !important;
    padding: 0 12px !important;
  }

  .exchange-hero {
    padding-top: 70px;
  }

  .exchange-hero-title,
  .exchange-hero-note {
    padding: 32px 20px;
  }

  .exchange-hero-title {
    min-height: 460px;
  }

  .exchange-hero-title::before {
    height: 52px;
    right: 20px;
    top: 32px;
    width: 52px;
  }

  .exchange-hero h1 {
    font-size: clamp(82px, 28vw, 118px);
    margin-bottom: 28px;
  }

  .exchange-hero-note {
    min-height: 340px;
  }

  .exchange-principles,
  .exchange-catalog,
  .exchange-terms,
  .exchange-apply,
  .exchange-dashboard-form-shell {
    padding: 62px 20px;
  }

  .exchange-section-heading {
    grid-template-columns: 1fr;
    margin-bottom: 32px;
  }

  .exchange-section-heading h2,
  .exchange-terms h2 {
    font-size: 38px;
  }

  .exchange-workflow,
  .exchange-category-grid,
  .exchange-form-grid,
  .exchange-dashboard-summary,
  .exchange-dashboard-hero {
    grid-template-columns: 1fr;
  }

  .exchange-workflow article:last-child {
    grid-column: auto;
  }

  .exchange-workflow article {
    min-height: 210px;
  }

  .exchange-workflow h3 {
    margin-top: 42px;
  }

  .exchange-category-grid article {
    min-height: 270px;
  }

  .exchange-terms dl > div {
    gap: 8px;
    grid-template-columns: 1fr;
  }

  .exchange-form-wide {
    grid-column: auto;
  }

  .exchange-form-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .exchange-form-actions .button {
    justify-content: space-between;
    width: 100%;
  }

  .exchange-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }

  .exchange-dashboard-hero {
    align-items: start;
    padding: 120px 20px 56px;
  }

  .exchange-dashboard-hero > p {
    grid-column: auto;
  }

  .exchange-dashboard-hero h1 {
    font-size: 82px;
  }

  .exchange-dashboard-summary {
    padding: 0 20px;
  }

  .exchange-dashboard-summary article,
  .exchange-dashboard-summary article:last-child {
    border-bottom: 1px solid rgba(255, 248, 233, 0.22);
    border-left: 1px solid rgba(255, 248, 233, 0.22);
    border-right: 1px solid rgba(255, 248, 233, 0.22);
    min-height: 190px;
  }
}

/* Creator service card — reusable public profile template. */
.creator-card-page {
  --card-cream: #f6ead4;
  --card-paper: #fff8e9;
  --card-clay: #c98768;
  --card-sage: #aeb8a3;
  --card-ink: #332d26;
  background: var(--card-cream);
  color: var(--card-ink);
}

.creator-card-hero {
  background: linear-gradient(135deg, #f5e4c7 0%, #e7c79c 62%, #c98b69 100%);
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.55fr);
  min-height: 720px;
}

.creator-card-identity,
.creator-card-price {
  padding: clamp(42px, 6vw, 92px);
}

.creator-card-identity {
  border-right: 1px solid rgba(51, 45, 38, 0.28);
  position: relative;
}

.creator-card-identity > span,
.creator-card-price > span,
.creator-card-intro span,
.creator-card-details > div > span,
.creator-card-extras > span,
.creator-card-template-note > span,
.creator-portfolio-grid article > span {
  font: 700 10px "Courier New", monospace;
  letter-spacing: 0.16em;
}

.creator-card-avatar {
  background: var(--card-paper);
  border: 1px solid rgba(51, 45, 38, 0.35);
  height: 116px;
  margin: 54px 0 30px;
  padding: 7px;
  transform: rotate(-2deg);
  width: 116px;
}

.creator-card-avatar img,
.creator-card-main-image img,
.creator-portfolio-image img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.creator-card-identity > p {
  font-family: var(--serif);
  font-size: clamp(20px, 2vw, 28px);
  margin: 0 0 15px;
}

.creator-card-identity h1 {
  font: 400 clamp(66px, 8.6vw, 142px) / 0.86 var(--display);
  letter-spacing: -0.055em;
  margin: 0;
  max-width: 1040px;
}

.creator-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 42px;
}

.creator-card-tags span {
  border: 1px solid currentColor;
  font-size: 12px;
  padding: 7px 10px;
}

.creator-card-price {
  align-content: end;
  background: rgba(255, 248, 233, 0.52);
  display: grid;
}

.creator-card-price > strong {
  display: block;
  font: 700 clamp(46px, 5vw, 76px) var(--display);
  letter-spacing: -0.04em;
  margin: 70px 0 28px;
}

.creator-card-price > strong small {
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0;
  margin-left: 7px;
}

.creator-card-price dl {
  border-top: 1px solid currentColor;
  margin: 0 0 34px;
}

.creator-card-price dl div {
  border-bottom: 1px solid rgba(51, 45, 38, 0.25);
  display: flex;
  justify-content: space-between;
  padding: 15px 0;
}

.creator-card-price dt,
.creator-card-price dd { font-size: 13px; margin: 0; }
.creator-card-price dt { opacity: 0.62; }

.creator-card-intro {
  align-items: start;
  background: var(--card-paper);
  display: grid;
  gap: clamp(40px, 8vw, 130px);
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
  padding: clamp(54px, 8vw, 120px);
}

.creator-card-intro h2,
.creator-card-requirements h2,
.creator-card-extras h2,
.creator-card-template-note h2 {
  font-family: var(--serif);
  font-size: clamp(42px, 5.8vw, 86px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.06;
  margin: 28px 0 0;
}

.creator-card-intro > p {
  font-family: var(--serif);
  font-size: clamp(19px, 1.65vw, 26px);
  line-height: 1.82;
  margin: 44px 0 0;
}

.creator-card-media {
  background: #d9b67c;
  display: grid;
  gap: 1px;
  grid-template-columns: minmax(260px, 0.38fr) minmax(0, 1fr);
  padding: clamp(22px, 4vw, 60px);
}

.creator-card-main-image,
.creator-card-workspace-placeholder {
  min-height: 520px;
  margin: 0;
}

.creator-card-main-image {
  background: var(--card-paper);
  display: grid;
  grid-template-rows: 1fr auto;
  padding: 16px;
}

.creator-card-main-image img { object-fit: contain; }
.creator-card-main-image figcaption { font: 700 10px "Courier New", monospace; letter-spacing: 0.13em; padding-top: 12px; }

.creator-card-workspace-placeholder {
  align-content: end;
  background:
    linear-gradient(rgba(51, 45, 38, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(51, 45, 38, 0.1) 1px, transparent 1px),
    #c9d0c1;
  background-size: 54px 54px;
  border: 1px solid rgba(51, 45, 38, 0.28);
  display: grid;
  padding: clamp(30px, 5vw, 70px);
}

.creator-card-workspace-placeholder span { font: 700 10px "Courier New", monospace; letter-spacing: 0.16em; }
.creator-card-workspace-placeholder strong { font: 500 clamp(36px, 4vw, 64px) / 1.02 var(--serif); margin-top: 18px; max-width: 620px; }
.creator-card-workspace-placeholder p { font-family: var(--serif); font-size: 18px; line-height: 1.7; max-width: 520px; }

.creator-card-details {
  background: var(--card-paper);
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(340px, 0.8fr);
}

.creator-card-requirements,
.creator-card-extras { padding: clamp(52px, 7vw, 105px); }
.creator-card-requirements { border-right: 1px solid rgba(51, 45, 38, 0.25); }
.creator-card-requirements > div { display: grid; grid-template-columns: repeat(2, 1fr); margin-top: 55px; }
.creator-card-requirements article { border-top: 1px solid rgba(51, 45, 38, 0.28); min-height: 210px; padding: 24px 25px 24px 0; }
.creator-card-requirements article:nth-child(odd) { border-right: 1px solid rgba(51, 45, 38, 0.22); }
.creator-card-requirements article:nth-child(even) { padding-left: 25px; }
.creator-card-requirements small { font: 700 10px "Courier New", monospace; }
.creator-card-requirements h3,
.creator-card-extras h3 { font: 500 25px var(--serif); margin: 24px 0 12px; }
.creator-card-requirements p,
.creator-card-extras p { font-family: var(--serif); font-size: 16px; line-height: 1.7; margin: 0; }

.creator-card-extras { background: #d4aa8b; }
.creator-card-extras article { border-top: 1px solid rgba(51, 45, 38, 0.32); padding: 22px 0; }
.creator-card-extras article:first-of-type { margin-top: 48px; }
.creator-card-extras article > div { align-items: baseline; display: flex; gap: 20px; justify-content: space-between; }
.creator-card-extras h3 { margin: 0 0 10px; }
.creator-card-extras strong { white-space: nowrap; }
.creator-card-extras > small { display: block; font-size: 11px; line-height: 1.6; margin-top: 25px; opacity: 0.7; }

.creator-card-portfolio { background: #b8c2b0; padding: clamp(52px, 7vw, 105px); }
.creator-portfolio-grid { display: grid; gap: 18px; grid-template-columns: repeat(12, 1fr); margin-top: 55px; }
.creator-portfolio-grid article { border: 1px solid rgba(51, 45, 38, 0.28); min-height: 390px; padding: clamp(24px, 3vw, 42px); }
.creator-portfolio-grid h3 { font: 500 clamp(30px, 3vw, 48px) / 1.05 var(--serif); margin: 70px 0 14px; }
.creator-portfolio-grid p { font-family: var(--serif); font-size: 16px; line-height: 1.65; }
.creator-portfolio-audio { background: var(--card-paper); grid-column: span 5; }
.creator-portfolio-audio audio { margin-top: 42px; width: 100%; }
.creator-portfolio-image { grid-column: span 4; padding: 0 !important; position: relative; }
.creator-portfolio-image img { min-height: 100%; object-position: center; }
.creator-portfolio-image > div { background: rgba(255, 248, 233, 0.9); bottom: 0; left: 0; padding: 22px; position: absolute; right: 0; }
.creator-portfolio-image h3 { margin: 8px 0; }
.creator-portfolio-video-placeholder { align-content: end; background: #d6b475; display: grid; grid-column: span 3; }
.creator-portfolio-video-placeholder > div { align-items: center; border: 1px solid currentColor; border-radius: 50%; display: flex; font-size: 26px; height: 72px; justify-content: center; margin-bottom: 50px; width: 72px; }
.creator-portfolio-video-placeholder h3 { margin-top: 18px; }

.creator-card-template-note {
  background: var(--card-ink);
  color: var(--card-paper);
  padding: clamp(56px, 8vw, 120px);
}
.creator-card-template-note h2 { max-width: 900px; }
.creator-card-template-note p { font-family: var(--serif); font-size: clamp(18px, 1.7vw, 25px); line-height: 1.75; max-width: 900px; }
.creator-card-template-note a { border-bottom: 1px solid currentColor; display: inline-block; margin-top: 28px; padding-bottom: 6px; }

.exchange-profile-editor-shell { background: #d7ad8d; }
.exchange-profile-form { background: var(--paper); padding: clamp(34px, 5vw, 72px); }
.exchange-personal-profile-form { background: #f3e6cf; }
.exchange-slug-field {
  align-items: stretch;
  border: 1px solid rgba(51, 45, 38, 0.28);
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
}
.exchange-slug-field small {
  align-items: center;
  background: rgba(51, 45, 38, 0.07);
  border-right: 1px solid rgba(51, 45, 38, 0.2);
  display: flex;
  font: 600 11px/1.3 "Courier New", monospace;
  letter-spacing: 0;
  padding: 0 12px;
}
.exchange-slug-field input { border: 0 !important; min-width: 0; }
.exchange-form-actions > span { align-self: center; font-size: 13px; opacity: 0.62; }
.exchange-listing-provider a { border-bottom: 1px solid transparent; }
.exchange-listing-provider a:hover { border-bottom-color: currentColor; }

@media (max-width: 900px) {
  .creator-card-hero,
  .creator-card-intro,
  .creator-card-details { grid-template-columns: 1fr; }
  .creator-card-identity { border-bottom: 1px solid rgba(51, 45, 38, 0.28); border-right: 0; }
  .creator-card-price { min-height: 480px; }
  .creator-card-intro > p { margin-top: 0; }
  .creator-card-requirements { border-bottom: 1px solid rgba(51, 45, 38, 0.25); border-right: 0; }
  .creator-portfolio-audio { grid-column: span 7; }
  .creator-portfolio-image { grid-column: span 5; }
  .creator-portfolio-video-placeholder { grid-column: span 12; min-height: 300px !important; }
}

@media (max-width: 620px) {
  .creator-card-page .exchange-header nav a:not(.header-back):not(:last-child) { display: none; }
  .creator-card-hero { min-height: 0; }
  .creator-card-identity,
  .creator-card-price,
  .creator-card-intro,
  .creator-card-requirements,
  .creator-card-extras,
  .creator-card-portfolio,
  .creator-card-template-note { padding: 38px 20px; }
  .creator-card-avatar { height: 86px; margin: 38px 0 24px; width: 86px; }
  .creator-card-identity h1 { font-size: clamp(54px, 17vw, 70px); }
  .creator-card-price { min-height: 390px; }
  .creator-card-price > strong { margin-top: 50px; }
  .creator-card-media { grid-template-columns: 1fr; padding: 16px; }
  .creator-card-main-image,
  .creator-card-workspace-placeholder { min-height: 330px; }
  .creator-card-requirements > div { grid-template-columns: 1fr; }
  .creator-card-requirements article,
  .creator-card-requirements article:nth-child(even),
  .creator-card-requirements article:nth-child(odd) { border-right: 0; min-height: 0; padding: 22px 0; }
  .creator-portfolio-grid { display: grid; grid-template-columns: 1fr; }
  .creator-portfolio-audio,
  .creator-portfolio-image,
  .creator-portfolio-video-placeholder { grid-column: auto; min-height: 330px !important; }
  .creator-card-intro h2,
  .creator-card-requirements h2,
  .creator-card-extras h2,
  .creator-card-template-note h2 { font-size: clamp(38px, 12vw, 50px); }
  .creator-card-intro > p { font-size: 18px; }
  .exchange-profile-editor-shell { background: var(--paper); }
  .exchange-slug-field { grid-template-columns: 1fr; }
  .exchange-slug-field small { border-bottom: 1px solid rgba(51, 45, 38, 0.2); border-right: 0; min-height: 42px; }
}

/* DOG DEN Exchange v2 — service-first curated music marketplace */
.exchange-hero-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

.exchange-hero-actions > a:last-child {
  border-bottom: 1px solid rgba(255, 248, 233, 0.7);
  color: #fff8e9;
  font-size: 13px;
  padding-bottom: 5px;
}

.exchange-market,
.exchange-levels,
.exchange-order-flow,
.exchange-difference,
.exchange-verticals,
.exchange-readiness,
.exchange-order-shell {
  padding: clamp(72px, 8vw, 132px) clamp(26px, 6vw, 96px);
}

.exchange-market {
  background: #f0e2ca;
}

.exchange-market-heading > div > p,
.exchange-levels .exchange-section-heading p,
.exchange-order-flow .exchange-section-heading p,
.exchange-difference .exchange-section-heading p,
.exchange-verticals .exchange-section-heading p {
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.75;
  margin: 20px 0 0;
  max-width: 820px;
}

.exchange-category-tabs {
  border-bottom: 1px solid var(--line-dark);
  border-top: 1px solid var(--line-dark);
  display: flex;
  overflow-x: auto;
  scrollbar-width: none;
}

.exchange-category-tabs::-webkit-scrollbar { display: none; }

.exchange-category-tabs button {
  background: transparent;
  border: 0;
  border-right: 1px solid var(--line-dark);
  color: var(--ink);
  flex: 0 0 auto;
  font: 700 14px var(--body);
  min-width: 112px;
  padding: 20px 24px;
}

.exchange-category-tabs button.is-active {
  background: var(--ink);
  color: #fff8e9;
}

.exchange-specialty-panel {
  background: rgba(255, 248, 233, 0.52);
  border: 1px solid var(--line-dark);
  border-top: 0;
  padding: clamp(22px, 3vw, 38px);
}

.exchange-specialty-panel[hidden],
.exchange-brief-singer-grid[hidden],
[data-brief-detail][hidden],
[data-brief-instrument][hidden],
[data-brief-track-count][hidden] {
  display: none !important;
}

.exchange-specialty-heading {
  align-items: baseline;
  display: flex;
  gap: 28px;
  justify-content: space-between;
  margin-bottom: 22px;
}

.exchange-specialty-heading > span {
  flex: none;
  font: 700 10px "Courier New", monospace;
  letter-spacing: 0.13em;
}

.exchange-specialty-heading > p {
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
  text-align: right;
}

.exchange-specialty-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.exchange-specialty-options button {
  background: transparent;
  border: 1px solid rgba(51, 45, 38, 0.38);
  color: var(--ink);
  cursor: pointer;
  font: 700 13px var(--body);
  min-height: 44px;
  padding: 10px 17px;
}

.exchange-specialty-options button:hover,
.exchange-specialty-options button:focus-visible,
.exchange-specialty-options button.is-active {
  background: var(--red-dark);
  border-color: var(--red-dark);
  color: #fff8e9;
}

.exchange-singer-filters {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.exchange-singer-filters label {
  display: grid;
  gap: 8px;
}

.exchange-singer-filters label > span {
  color: var(--ink-soft);
  font: 700 10px "Courier New", monospace;
  letter-spacing: 0.1em;
}

.exchange-singer-filters select {
  background: rgba(255, 248, 233, 0.72);
  border: 1px solid rgba(51, 45, 38, 0.38);
  border-radius: 0;
  color: var(--ink);
  font: 15px var(--body);
  min-height: 48px;
  padding: 10px 12px;
  width: 100%;
}

.exchange-brief-singer-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.exchange-filter-bar {
  display: grid;
  gap: 1px;
  grid-template-columns: minmax(260px, 1.5fr) repeat(3, minmax(150px, 0.5fr));
  margin: 22px 0;
}

.exchange-filter-bar label {
  background: rgba(255, 248, 233, 0.48);
  border: 1px solid var(--line-dark);
  display: grid;
  gap: 8px;
  padding: 14px 16px;
}

.exchange-filter-bar label > span {
  color: var(--ink-soft);
  font: 700 10px "Courier New", monospace;
  letter-spacing: 0.12em;
}

.exchange-filter-bar input,
.exchange-filter-bar select {
  background: transparent;
  border: 0;
  color: var(--ink);
  font: 16px var(--body);
  min-height: 32px;
  outline: 0;
  width: 100%;
}

.exchange-result-line {
  align-items: center;
  display: flex;
  font-size: 12px;
  gap: 10px;
  margin: 28px 0 20px;
}

.exchange-result-line strong { font: 700 30px var(--display); }
.exchange-result-line i { background: var(--red); border-radius: 50%; height: 5px; margin: 0 8px; width: 5px; }
.exchange-result-line span:last-child { color: var(--ink-soft); }

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

.exchange-listing {
  --listing-pad: clamp(24px, 3vw, 42px);
  background: #ead5b5;
  border: 1px solid var(--line-dark);
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  position: relative;
}

.exchange-listing[hidden] { display: none; }
.exchange-listing-clay { background: #d7ad8d; }
.exchange-listing-sage { background: #b7c0aa; }
.exchange-listing-blue { background: #bac8c9; }
.exchange-listing-mustard { background: #d5bd82; }
.exchange-listing-ink { background: #40382f; color: #fff8e9; }

.exchange-listing-cover {
  aspect-ratio: 16 / 10;
  background: #d8c4a3;
  border-bottom: 1px solid currentColor;
  display: block;
  overflow: hidden;
  position: relative;
}

.exchange-listing-cover::after {
  background: linear-gradient(180deg, rgba(35, 29, 23, 0.06), rgba(35, 29, 23, 0.5));
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.exchange-listing-cover img {
  height: 100%;
  object-fit: cover;
  transition: transform 260ms ease;
  width: 100%;
}

.exchange-listing-cover:hover img { transform: scale(1.025); }

.exchange-listing-cover > span,
.exchange-listing-cover > small,
.exchange-listing-cover > b {
  background: rgba(255, 248, 233, 0.92);
  border: 1px solid rgba(51, 45, 38, 0.34);
  color: var(--ink);
  font: 700 10px "Courier New", monospace;
  letter-spacing: 0.08em;
  padding: 7px 9px;
  position: absolute;
  top: 16px;
  z-index: 1;
}

.exchange-listing-cover > span { left: 16px; }
.exchange-listing-cover > small { left: 78px; }
.exchange-listing-cover > b { bottom: 16px; right: 16px; top: auto; }

.exchange-listing-topline,
.exchange-listing-title,
.exchange-listing-provider,
.exchange-listing-footer {
  align-items: center;
  display: flex;
}

.exchange-listing-topline {
  border-bottom: 1px solid currentColor;
  font: 700 10px "Courier New", monospace;
  gap: 10px;
  letter-spacing: 0.1em;
  opacity: 0.72;
  padding-bottom: 15px;
}

.exchange-listing-topline > span { border: 1px solid currentColor; padding: 5px 8px; }
.exchange-listing-topline > small { margin-left: auto; }

.exchange-listing-title {
  align-items: flex-end;
  gap: 24px;
  justify-content: space-between;
  margin: 30px var(--listing-pad) 20px;
}

.exchange-listing-title h3 {
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1;
  margin: 0;
}

.exchange-listing-title > strong { flex: 0 0 auto; font: 700 clamp(22px, 2.4vw, 34px) var(--display); }
.exchange-listing-title > strong small { font-size: 11px; font-weight: 400; margin-left: 5px; }

.exchange-listing-facts {
  border-bottom: 1px solid currentColor;
  border-top: 1px solid currentColor;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 var(--listing-pad) 24px;
}

.exchange-listing-facts > div {
  min-width: 0;
  padding: 15px 12px 15px 0;
}

.exchange-listing-facts > div + div {
  border-left: 1px solid currentColor;
  padding-left: 14px;
}

.exchange-listing-facts dt {
  font: 700 9px "Courier New", monospace;
  letter-spacing: 0.11em;
  margin-bottom: 9px;
  opacity: 0.6;
}

.exchange-listing-facts dd {
  font: 700 clamp(16px, 1.8vw, 23px) var(--display);
  margin: 0;
  overflow-wrap: anywhere;
}

.exchange-listing-facts dd small { font-size: 10px; font-weight: 400; margin-left: 4px; }
.exchange-listing > p { font-family: var(--serif); font-size: 17px; line-height: 1.7; margin: 0 var(--listing-pad) 24px; max-width: 620px; }

.exchange-listing-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 var(--listing-pad); }
.exchange-listing-tags span { border: 1px solid currentColor; font-size: 11px; opacity: 0.75; padding: 6px 9px; }

.exchange-listing-provider {
  border-top: 1px solid currentColor;
  gap: 14px;
  margin: 34px var(--listing-pad) 0;
  padding-top: 22px;
}

.exchange-provider-mark {
  align-items: center;
  aspect-ratio: 1;
  background: var(--ink);
  border-radius: 50%;
  color: #fff8e9;
  display: flex;
  flex: 0 0 48px;
  font: 700 20px var(--display);
  justify-content: center;
}

.exchange-listing-ink .exchange-provider-mark { background: #fff8e9; color: var(--ink); }
.exchange-listing-provider > div:nth-child(2) { min-width: 0; }
.exchange-listing-provider > div:last-child { margin-left: auto; text-align: right; }
.exchange-listing-provider strong,
.exchange-listing-provider span { display: block; }
.exchange-listing-provider strong { font-size: 14px; }
.exchange-listing-provider span { font-size: 10px; line-height: 1.5; margin-top: 4px; opacity: 0.7; }

.exchange-listing-footer {
  gap: 16px;
  justify-content: flex-end;
  margin: 30px var(--listing-pad) var(--listing-pad);
}

.exchange-listing-footer > span { font-size: 11px; margin-right: auto; opacity: 0.7; }
.exchange-listing-footer a { border-bottom: 1px solid currentColor; font-size: 12px; padding-bottom: 4px; }

.exchange-empty-state {
  border: 1px dashed var(--line-dark);
  grid-column: 1 / -1;
  padding: 72px 30px;
  text-align: center;
}
.exchange-empty-state[hidden] { display: none; }
.exchange-empty-state strong { font-family: var(--serif); font-size: 30px; }
.exchange-empty-state p { color: var(--ink-soft); }

.exchange-levels { background: #d8b77d; }
.exchange-level-grid { display: grid; gap: 1px; grid-template-columns: repeat(3, 1fr); }
.exchange-level-grid article { border: 1px solid rgba(51, 45, 38, 0.3); min-height: 360px; padding: clamp(28px, 4vw, 50px); }
.exchange-level-grid article:nth-child(2) { background: rgba(255, 248, 233, 0.22); }
.exchange-level-grid article:nth-child(3) { background: var(--ink); color: #fff8e9; }
.exchange-level-grid article > span { font: 700 10px "Courier New", monospace; letter-spacing: 0.14em; }
.exchange-level-grid h3 { font-family: var(--serif); font-size: clamp(42px, 5vw, 70px); font-weight: 500; margin: 60px 0 22px; }
.exchange-level-grid p { font-family: var(--serif); font-size: 18px; line-height: 1.7; }
.exchange-level-grid small { border-top: 1px solid currentColor; display: block; font-size: 11px; margin-top: 34px; opacity: 0.7; padding-top: 15px; }

.exchange-order-flow { background: #536158; color: #fff8e9; }
.exchange-order-steps { border-left: 1px solid var(--line-light); display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.exchange-order-steps article { border-bottom: 1px solid var(--line-light); border-right: 1px solid var(--line-light); border-top: 1px solid var(--line-light); min-height: 290px; padding: 22px; }
.exchange-order-steps article > span { color: #e8c78f; font: 700 10px "Courier New", monospace; }
.exchange-order-steps h3 { font-family: var(--serif); font-size: 30px; font-weight: 500; margin: 62px 0 18px; }
.exchange-order-steps p { font-family: var(--serif); font-size: 15px; line-height: 1.7; margin: 0; }

.exchange-difference { background: #c2d0d0; }
.exchange-difference-grid { display: grid; gap: 1px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.exchange-difference-grid article { border: 1px solid rgba(51, 45, 38, 0.28); min-height: 330px; padding: 30px; }
.exchange-difference-grid small { color: var(--red-dark); font: 700 11px "Courier New", monospace; }
.exchange-difference-grid h3 { font-family: var(--serif); font-size: 30px; font-weight: 500; margin: 72px 0 18px; }
.exchange-difference-grid p { font-family: var(--serif); font-size: 16px; line-height: 1.75; }
.exchange-promotion-rule { align-items: end; background: var(--ink); color: #fff8e9; display: grid; gap: clamp(30px, 6vw, 100px); grid-template-columns: 0.8fr 1.2fr; margin-top: 18px; padding: clamp(28px, 5vw, 68px); }
.exchange-promotion-rule span { color: #e8c78f; font: 700 10px "Courier New", monospace; letter-spacing: 0.14em; }
.exchange-promotion-rule h3 { font-family: var(--serif); font-size: clamp(34px, 4vw, 58px); font-weight: 500; margin: 20px 0 0; }
.exchange-promotion-rule p { font-family: var(--serif); font-size: 17px; line-height: 1.8; margin: 0; }

.exchange-verticals { background: #eedfc4; }
.exchange-vertical-grid { display: grid; gap: 1px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.exchange-vertical-grid article { border: 1px solid var(--line-dark); min-height: 330px; padding: 28px; }
.exchange-vertical-grid article > span { font: 700 12px "Courier New", monospace; }
.exchange-vertical-grid article > small { float: right; font-size: 10px; }
.exchange-vertical-grid h3 { font-family: var(--serif); font-size: 30px; font-weight: 500; margin: 80px 0 18px; }
.exchange-vertical-grid p { font-family: var(--serif); font-size: 16px; line-height: 1.7; }
.exchange-vertical-grid a { border-bottom: 1px solid; font-size: 12px; padding-bottom: 4px; }

.exchange-readiness { background: #a76d50; color: #fff8e9; display: grid; gap: clamp(40px, 7vw, 110px); grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1.3fr); }
.exchange-readiness > div > span { font: 700 10px "Courier New", monospace; letter-spacing: 0.14em; }
.exchange-readiness h2 { font-family: var(--serif); font-size: clamp(40px, 5vw, 72px); font-weight: 500; line-height: 1.05; margin: 26px 0 0; }
.exchange-readiness dl { margin: 0; }
.exchange-readiness dl > div { border-top: 1px solid rgba(255, 248, 233, 0.35); display: grid; gap: 22px; grid-template-columns: 100px 1fr; padding: 24px 0; }
.exchange-readiness dt { font-weight: 800; }
.exchange-readiness dd { font-family: var(--serif); font-size: 17px; line-height: 1.7; margin: 0; }

.exchange-order-shell { align-items: start; background: #ead5b5; display: grid; gap: clamp(36px, 6vw, 100px); grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.55fr); }
.exchange-order-shell aside { background: var(--ink); color: #fff8e9; padding: clamp(28px, 4vw, 54px); position: sticky; top: 104px; }
.exchange-order-shell aside > span { font: 700 11px "Courier New", monospace; letter-spacing: 0.14em; }
.exchange-order-shell aside h2 { font-family: var(--serif); font-size: clamp(34px, 4vw, 54px); font-weight: 500; margin: 22px 0 30px; }
.exchange-order-shell aside ul { list-style: none; margin: 0 0 38px; padding: 0; }
.exchange-order-shell aside li { border-top: 1px solid rgba(255, 248, 233, 0.22); font-family: var(--serif); font-size: 16px; padding: 15px 0; }
.exchange-order-shell aside > a { border-bottom: 1px solid; font-size: 13px; padding-bottom: 5px; }

.exchange-dashboard-summary { grid-template-columns: repeat(4, 1fr); }
.exchange-dashboard-summary article { padding: 28px; }
.exchange-dashboard-summary strong { font-size: 27px; }

@media (max-width: 1120px) {
  .exchange-order-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .exchange-order-steps article:nth-child(n + 5) { border-top: 0; }
  .exchange-difference-grid,
  .exchange-vertical-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .exchange-dashboard-summary { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .exchange-filter-bar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .exchange-singer-filters,
  .exchange-brief-singer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .exchange-listing-grid { grid-template-columns: 1fr; }
  .exchange-level-grid { grid-template-columns: 1fr; }
  .exchange-level-grid article { min-height: 290px; }
  .exchange-order-shell,
  .exchange-readiness,
  .exchange-promotion-rule { grid-template-columns: 1fr; }
  .exchange-order-shell aside { position: static; }
}

@media (max-width: 620px) {
  .exchange-header nav a:not(.header-back):not(:last-child) { display: none; }
  .exchange-market,
  .exchange-levels,
  .exchange-order-flow,
  .exchange-difference,
  .exchange-verticals,
  .exchange-readiness,
  .exchange-order-shell { padding: 62px 20px; }
  .exchange-category-tabs { margin-left: -20px; margin-right: -20px; padding-left: 20px; }
  .exchange-category-tabs button { min-width: 92px; padding: 17px 18px; }
  .exchange-specialty-panel { margin-left: -20px; margin-right: -20px; padding: 22px 20px; }
  .exchange-specialty-heading { align-items: flex-start; flex-direction: column; gap: 10px; }
  .exchange-specialty-heading > p { text-align: left; }
  .exchange-specialty-options { flex-wrap: nowrap; margin-right: -20px; overflow-x: auto; padding-right: 20px; scrollbar-width: none; }
  .exchange-specialty-options::-webkit-scrollbar { display: none; }
  .exchange-specialty-options button { flex: 0 0 auto; }
  .exchange-singer-filters,
  .exchange-brief-singer-grid { grid-template-columns: 1fr; }
  .exchange-filter-bar { grid-template-columns: 1fr; }
  .exchange-result-line { align-items: flex-start; flex-wrap: wrap; }
  .exchange-result-line span:last-child { flex-basis: 100%; }
  .exchange-listing { --listing-pad: 18px; }
  .exchange-listing-cover { aspect-ratio: 4 / 3; }
  .exchange-listing-cover > span,
  .exchange-listing-cover > small { top: 12px; }
  .exchange-listing-cover > span { left: 12px; }
  .exchange-listing-cover > small { left: 74px; }
  .exchange-listing-cover > b { bottom: 12px; right: 12px; }
  .exchange-listing-title { align-items: flex-start; flex-direction: column; }
  .exchange-listing-title h3 { font-size: 38px; }
  .exchange-listing-facts dd { font-size: 17px; }
  .exchange-listing > p { font-size: 16px; }
  .exchange-listing-provider { align-items: flex-start; flex-wrap: wrap; }
  .exchange-listing-provider > div:last-child { margin-left: 62px; text-align: left; }
  .exchange-listing-footer { align-items: flex-start; flex-wrap: wrap; }
  .exchange-listing-footer > span { flex-basis: 100%; }
  .exchange-level-grid h3 { margin-top: 40px; }
  .exchange-order-steps { grid-template-columns: 1fr; }
  .exchange-order-steps article { min-height: 210px; }
  .exchange-order-steps article:nth-child(n + 2) { border-top: 0; }
  .exchange-order-steps h3 { margin-top: 38px; }
  .exchange-difference-grid,
  .exchange-vertical-grid,
  .exchange-dashboard-summary { grid-template-columns: 1fr; }
  .exchange-difference-grid article,
  .exchange-vertical-grid article { min-height: 250px; }
  .exchange-difference-grid h3,
  .exchange-vertical-grid h3 { margin-top: 44px; }
  .exchange-readiness dl > div { gap: 8px; grid-template-columns: 1fr; }
  .exchange-dashboard-summary article { min-height: 170px; }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 78px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

main {
  max-width: 100%;
  overflow-x: hidden;
}

body,
button,
a {
  cursor: default;
}

a,
button {
  color: inherit;
  cursor: pointer;
  font: inherit;
}

a {
  text-decoration: none;
}

button {
  border: 0;
}

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

.site-header {
  align-items: stretch;
  background: rgba(58, 52, 42, 0.94);
  border-bottom: 1px solid var(--line-light);
  color: var(--paper-bright);
  display: grid;
  grid-template-columns: 230px 1fr auto;
  height: 78px;
  left: 0;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
}

.wordmark {
  align-items: center;
  border-right: 1px solid var(--line-light);
  display: flex;
  font-size: 16px;
  font-weight: 900;
  gap: 12px;
  letter-spacing: -0.03em;
  line-height: 1;
  padding: 0 22px;
}

.wordmark-mark {
  align-items: center;
  background: var(--red);
  border-radius: 50%;
  display: flex;
  font-family: Impact, var(--display);
  height: 36px;
  justify-content: center;
  letter-spacing: -0.02em;
  width: 36px;
}

.wordmark-logo {
  border: 1px solid rgba(238, 229, 211, 0.36);
  display: block;
  flex: none;
  height: 46px;
  object-fit: cover;
  width: 46px;
}

.wordmark small {
  display: block;
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.14em;
  margin-top: 5px;
  opacity: 0.64;
}

.desktop-nav {
  align-items: center;
  display: flex;
  justify-content: flex-end;
  min-width: 0;
  padding: 0 18px;
}

.desktop-nav a {
  color: rgba(238, 229, 211, 0.68);
  font-size: 10px;
  font-weight: 650;
  padding: 10px 8px;
  position: relative;
  transition: color 180ms ease;
  white-space: nowrap;
}

.desktop-nav a::after {
  background: var(--red);
  bottom: 2px;
  content: "";
  height: 2px;
  left: 11px;
  position: absolute;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
  width: calc(100% - 22px);
}

.desktop-nav a:hover {
  color: var(--paper-bright);
}

.desktop-nav a:hover::after {
  transform: scaleX(1);
}

.header-cta {
  align-items: center;
  background: var(--red);
  display: flex;
  font-size: 12px;
  font-weight: 800;
  gap: 26px;
  justify-content: space-between;
  padding: 0 24px;
  transition: background 180ms ease;
}

.header-cta:hover {
  background: #9e7c5d;
}

.menu-toggle,
.mobile-nav {
  display: none;
}

.hero {
  background:
    radial-gradient(circle at 76% 35%, rgba(238, 229, 211, 0.35), transparent 25%),
    radial-gradient(circle at 72% 42%, rgba(200, 178, 141, 0.28), transparent 44%),
    linear-gradient(135deg, #6d5d49 0%, #a28d70 62%, #584b3c 100%);
  color: var(--paper-bright);
  height: max(760px, 100svh);
  min-height: 760px;
  overflow: hidden;
  padding-top: 78px;
  position: relative;
}

.hero::before {
  background:
    linear-gradient(90deg, rgba(238, 229, 211, 0.07) 1px, transparent 1px),
    linear-gradient(rgba(238, 229, 211, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(58, 52, 42, 0.82) 0%, rgba(58, 52, 42, 0.28) 68%);
  background-size:
    72px 72px,
    72px 72px,
    cover;
  content: "";
  inset: 0;
  position: absolute;
  z-index: 1;
}

.hero-grain {
  background-image:
    radial-gradient(rgba(255, 255, 255, 0.28) 0.5px, transparent 0.6px),
    radial-gradient(rgba(0, 0, 0, 0.3) 0.5px, transparent 0.6px);
  background-position:
    0 0,
    3px 3px;
  background-size: 6px 6px;
  inset: 0;
  opacity: 0.1;
  pointer-events: none;
  position: absolute;
  z-index: 2;
}

.hero-logo-card {
  background: var(--paper-bright);
  border: 1px solid rgba(58, 52, 42, 0.45);
  box-shadow: 20px 22px 0 rgba(58, 52, 42, 0.22);
  padding: 9px;
  position: absolute;
  right: 6vw;
  top: 20%;
  transform: rotate(1.5deg);
  width: clamp(260px, 28vw, 430px);
  z-index: 3;
}

.hero-logo-card img {
  display: block;
  height: auto;
  width: 100%;
}

.hero-content {
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: space-between;
  padding: 118px 5vw 86px;
  position: relative;
  z-index: 3;
}

.eyebrow {
  align-items: center;
  display: flex;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.19em;
  margin: 0;
}

.live-dot {
  animation: pulse 1.8s ease-in-out infinite;
  background: var(--red);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(143, 109, 80, 0.22);
  display: inline-block;
  height: 8px;
  margin-right: 13px;
  width: 8px;
}

@keyframes pulse {
  50% {
    box-shadow: 0 0 0 9px rgba(143, 109, 80, 0);
  }
}

.hero h1 {
  display: flex;
  flex-direction: column;
  font-family: Impact, "Arial Black", var(--display);
  font-size: clamp(112px, 14.5vw, 236px);
  font-stretch: condensed;
  font-weight: 900;
  letter-spacing: -0.065em;
  line-height: 0.69;
  margin: 8vh 0 0 -0.02em;
  max-width: 760px;
  text-transform: uppercase;
}

.hero h1 span:nth-child(2) {
  color: var(--red);
  margin-left: 0.39em;
}

.hero h1 span:nth-child(3) {
  color: transparent;
  font-size: 0.55em;
  letter-spacing: -0.045em;
  margin-left: 0.02em;
  margin-top: 0.21em;
  -webkit-text-stroke: 2px var(--paper-bright);
}

.hero-bottom {
  align-items: flex-end;
  display: flex;
  justify-content: space-between;
  width: min(670px, 61vw);
}

.hero-copy {
  font-size: clamp(19px, 2vw, 28px);
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 1.4;
  margin: 0;
}

.hero-actions {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  gap: 19px;
}

.button {
  align-items: center;
  border: 1px solid;
  display: inline-flex;
  font-size: 12px;
  font-weight: 800;
  gap: 42px;
  justify-content: space-between;
  padding: 17px 18px;
  text-transform: uppercase;
  transition:
    background 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--red);
  border-color: var(--red);
  min-width: 190px;
}

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

.text-link {
  border-bottom: 1px solid rgba(238, 229, 211, 0.55);
  font-size: 11px;
  padding-bottom: 6px;
}

.text-link span {
  margin-left: 15px;
}

.hero-index {
  align-items: center;
  bottom: 24px;
  display: flex;
  font-family: "Courier New", monospace;
  font-size: 8px;
  justify-content: space-between;
  left: 5vw;
  letter-spacing: 0.15em;
  opacity: 0.5;
  position: absolute;
  right: 5vw;
  z-index: 3;
}

.ticker {
  background: var(--red);
  color: var(--paper-bright);
  overflow: hidden;
  width: 100%;
}

.ticker-track {
  align-items: center;
  animation: ticker 20s linear infinite;
  display: flex;
  font-family: Impact, "Arial Black", var(--display);
  font-size: 29px;
  gap: 30px;
  padding: 15px 0;
  white-space: nowrap;
  width: max-content;
}

.ticker-track i {
  font-family: serif;
  font-size: 18px;
  font-style: normal;
}

@keyframes ticker {
  to {
    transform: translateX(-50%);
  }
}

.section {
  padding: 112px 5vw;
}

.section-services {
  background-color: var(--paper);
  background-image:
    linear-gradient(rgba(58, 52, 42, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(58, 52, 42, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
}

.section-heading {
  align-items: flex-end;
  display: grid;
  gap: 10vw;
  grid-template-columns: 1.3fr 0.7fr;
  margin-bottom: 86px;
}

.section-label {
  align-items: center;
  display: flex;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.15em;
  margin: 0 0 34px;
  text-transform: uppercase;
}

.section-label::before {
  background: currentColor;
  content: "";
  height: 1px;
  margin-right: 13px;
  width: 35px;
}

.section h2 {
  font-family: "Arial Black", var(--display);
  font-size: clamp(50px, 6.5vw, 104px);
  font-weight: 900;
  letter-spacing: -0.075em;
  line-height: 0.96;
  margin: 0;
  max-width: 100%;
  text-wrap: balance;
}

.section-intro,
.pricing-top > p,
.course-heading > p {
  font-size: 15px;
  line-height: 1.8;
  margin: 0 0 9px;
  max-width: 500px;
}

.testimonial-carousel {
  background: rgba(222, 205, 175, 0.66);
  border: 1px solid rgba(58, 52, 42, 0.2);
  border-radius: 5px;
  display: flex;
  flex-direction: column;
  min-height: 390px;
  outline: none;
  padding: 28px;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.testimonial-carousel:focus-visible {
  border-color: rgba(58, 52, 42, 0.56);
  box-shadow: 0 0 0 3px rgba(58, 52, 42, 0.12);
}

.testimonial-topline {
  display: flex;
  font-family: var(--display);
  font-size: 10px;
  font-weight: 700;
  justify-content: space-between;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.testimonial-stage {
  display: grid;
  flex: 1;
  margin-top: 45px;
}

.testimonial-item {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  grid-area: 1 / 1;
  margin: 0;
}

.testimonial-item[hidden] {
  display: none;
}

.testimonial-item blockquote {
  font-family: var(--serif);
  font-size: clamp(21px, 2vw, 30px);
  letter-spacing: -0.035em;
  line-height: 1.55;
  margin: 0;
}

.testimonial-item.is-english blockquote {
  font-family: var(--serif);
  font-size: clamp(18px, 1.5vw, 23px);
  letter-spacing: -0.02em;
  line-height: 1.48;
}

.testimonial-item footer {
  align-items: flex-end;
  background: transparent;
  color: inherit;
  display: flex;
  font-size: inherit;
  grid-template-columns: none;
  justify-content: space-between;
  margin-top: auto;
  padding: 35px 0 0;
}

.testimonial-client {
  align-items: center;
  display: flex;
  gap: 13px;
}

.testimonial-client img {
  border: 1px solid rgba(58, 52, 42, 0.24);
  border-radius: 50%;
  height: 58px;
  object-fit: cover;
  object-position: 50% 16%;
  width: 58px;
}

.testimonial-item footer strong {
  font-family: var(--font-menu);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.06em;
}

.testimonial-item footer span {
  font-family: var(--display);
  font-size: 9px;
  letter-spacing: 0.1em;
  opacity: 0.58;
  text-align: right;
  text-transform: uppercase;
}

.testimonial-controls {
  align-items: center;
  border-top: 1px solid rgba(58, 52, 42, 0.18);
  display: flex;
  gap: 9px;
  margin-top: 26px;
  padding-top: 20px;
}

.testimonial-dots {
  display: flex;
  gap: 6px;
  margin-right: auto;
}

.testimonial-dots span {
  background: rgba(58, 52, 42, 0.25);
  border-radius: 999px;
  height: 4px;
  transition:
    background 180ms ease,
    width 180ms ease;
  width: 16px;
}

.testimonial-dots span.is-active {
  background: var(--ink);
  width: 34px;
}

.testimonial-controls button {
  align-items: center;
  background: rgba(247, 239, 223, 0.5);
  border: 1px solid rgba(58, 52, 42, 0.3);
  border-radius: 50%;
  color: var(--ink);
  cursor: pointer;
  display: inline-flex;
  font-family: sans-serif !important;
  font-size: 19px;
  height: 52px;
  justify-content: center;
  letter-spacing: 0 !important;
  transition:
    background 180ms ease,
    color 180ms ease,
    transform 180ms ease;
  width: 52px;
}

.testimonial-controls button:hover,
.testimonial-controls button:focus-visible {
  background: var(--ink);
  color: var(--paper-bright);
  transform: translateY(-2px);
}

.service-grid {
  border-left: 1px solid var(--line-dark);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.service-card {
  border-bottom: 1px solid var(--line-dark);
  border-right: 1px solid var(--line-dark);
  border-top: 1px solid var(--line-dark);
  display: flex;
  flex-direction: column;
  min-height: 355px;
  padding: 25px 23px;
  transition:
    background 220ms ease,
    color 220ms ease,
    transform 220ms ease;
}

.service-card:hover {
  background: var(--ink);
  color: var(--paper-bright);
  transform: translateY(-8px);
}

.service-number {
  font-family: "Courier New", monospace;
  font-size: 10px;
  margin-bottom: 66px;
  opacity: 0.6;
}

.service-card h3 {
  font-size: 20px;
  letter-spacing: -0.04em;
  margin: 0 0 20px;
}

.service-card p {
  font-size: 13px;
  line-height: 1.75;
  margin: 0;
}

.service-card small {
  border-top: 1px solid currentColor;
  font-family: "Courier New", monospace;
  font-size: 8px;
  letter-spacing: 0.06em;
  margin-top: auto;
  opacity: 0.55;
  padding-top: 14px;
  text-transform: uppercase;
}

.section-ryo {
  background: var(--yellow);
  display: grid;
  gap: 80px 9vw;
  grid-template-columns: 1.12fr 0.88fr;
}

.ryo-title {
  min-width: 0;
}

.ryo-role {
  border-bottom: 1px solid var(--ink);
  display: inline-block;
  font-family: "Courier New", monospace;
  font-size: 9px;
  letter-spacing: 0.11em;
  margin-bottom: 28px;
  padding-bottom: 7px;
}

.ryo-title h2 {
  font-family: Impact, "Arial Black", var(--display);
  font-size: clamp(76px, 10.5vw, 170px);
  letter-spacing: -0.055em;
  line-height: 0.76;
}

.ryo-profile {
  align-self: end;
  border-top: 1px solid var(--ink);
  padding-top: 24px;
}

.ryo-profile > p {
  font-size: 14px;
  line-height: 1.8;
  margin: 0 0 34px;
  max-width: 560px;
}

.ryo-profile .ryo-lead {
  font-size: clamp(22px, 2.2vw, 33px);
  font-weight: 750;
  letter-spacing: -0.05em;
  line-height: 1.45;
}

.ryo-education {
  display: flex;
  flex-direction: column;
  font-family: "Courier New", monospace;
  font-size: 9px;
  gap: 10px;
  letter-spacing: 0.06em;
}

.ryo-education span::before {
  content: "→";
  margin-right: 12px;
}

.award-grid {
  border-left: 1px solid rgba(58, 52, 42, 0.3);
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(4, 1fr);
}

.award-grid article {
  border-bottom: 1px solid rgba(58, 52, 42, 0.3);
  border-right: 1px solid rgba(58, 52, 42, 0.3);
  border-top: 1px solid rgba(58, 52, 42, 0.3);
  display: flex;
  flex-direction: column;
  min-height: 188px;
  padding: 22px;
}

.award-grid article > span {
  font-family: "Courier New", monospace;
  font-size: 9px;
  margin-bottom: auto;
  opacity: 0.6;
}

.award-grid strong {
  font-family: "Arial Black", var(--display);
  font-size: 18px;
  letter-spacing: -0.04em;
  line-height: 1.2;
}

.award-grid small {
  font-size: 9px;
  letter-spacing: 0.06em;
  margin-top: 8px;
  opacity: 0.62;
}

.collaborations {
  align-items: baseline;
  border-bottom: 1px solid rgba(58, 52, 42, 0.3);
  border-top: 1px solid rgba(58, 52, 42, 0.3);
  display: grid;
  gap: 4vw;
  grid-column: 1 / -1;
  grid-template-columns: 220px 1fr;
  padding: 28px 0;
}

.collaborations > span {
  font-family: "Courier New", monospace;
  font-size: 9px;
  letter-spacing: 0.08em;
}

.collaborations p {
  font-size: clamp(17px, 2vw, 28px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.5;
  margin: 0;
}

.section-pricing {
  background-color: #ad997b;
  background-image:
    radial-gradient(circle at 90% 18%, rgba(238, 229, 211, 0.3), transparent 25%),
    linear-gradient(rgba(58, 52, 42, 0.06) 1px, transparent 1px);
  background-size:
    cover,
    100% 64px;
  color: var(--ink);
}

.pricing-top {
  align-items: flex-end;
  display: grid;
  gap: 10vw;
  grid-template-columns: 1.25fr 0.75fr;
  margin-bottom: 80px;
}

.section-label-light {
  color: var(--ink-soft);
}

.price-list {
  border-top: 1px solid var(--line-light);
}

.price-row {
  align-items: center;
  border-bottom: 1px solid var(--line-light);
  display: grid;
  gap: 25px;
  grid-template-columns: 50px 1fr auto minmax(180px, auto);
  min-height: 116px;
  padding: 18px 22px;
  position: relative;
  transition:
    background 180ms ease,
    color 180ms ease;
}

.price-row:hover,
.price-row.is-featured {
  background: var(--paper);
  color: var(--ink);
}

.price-row.is-featured::before {
  background: var(--red);
  content: "";
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 5px;
}

.price-index {
  font-family: "Courier New", monospace;
  font-size: 9px;
  opacity: 0.5;
}

.price-name {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.price-name strong {
  font-size: 20px;
  letter-spacing: -0.04em;
}

.price-name small {
  font-size: 10px;
  opacity: 0.58;
}

.price-tag {
  background: var(--red);
  color: var(--paper-bright);
  font-size: 9px;
  font-weight: 700;
  padding: 7px 10px;
}

.price-value {
  align-items: baseline;
  display: flex;
  justify-content: flex-end;
}

.price-value strong {
  font-family: Impact, "Arial Black", var(--display);
  font-size: clamp(31px, 3.2vw, 49px);
  letter-spacing: -0.03em;
}

.price-value small {
  font-size: 9px;
  margin-left: 9px;
  opacity: 0.55;
}

.price-notes {
  display: flex;
  font-family: "Courier New", monospace;
  font-size: 8px;
  justify-content: space-between;
  letter-spacing: 0.06em;
  opacity: 0.5;
  padding-top: 19px;
}

.price-category-grid {
  border-left: 1px solid var(--line-dark);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.price-category-card {
  appearance: none;
  border-bottom: 1px solid var(--line-dark);
  border-right: 1px solid var(--line-dark);
  border-top: 1px solid var(--line-dark);
  color: inherit;
  display: flex;
  flex-direction: column;
  min-height: 470px;
  padding: 28px;
  text-align: left;
  transition:
    background 200ms ease,
    color 200ms ease,
    transform 200ms ease;
}

.price-category-card:hover {
  background: var(--paper-bright);
  color: var(--ink);
  transform: translateY(-8px);
}

.price-category-meta {
  display: flex;
  font-family: "Courier New", monospace;
  font-size: 8px;
  justify-content: space-between;
  letter-spacing: 0.09em;
  opacity: 0.58;
}

.price-category-card h3 {
  font-family: "Arial Black", var(--display);
  font-size: clamp(36px, 3.4vw, 52px);
  letter-spacing: -0.05em;
  line-height: 1;
  margin: 70px 0 24px;
  white-space: nowrap;
}

.price-category-card > p {
  font-size: 12px;
  line-height: 1.75;
  margin: 0;
  max-width: 320px;
}

.price-category-bottom {
  align-items: flex-end;
  border-top: 1px solid currentColor;
  display: flex;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 22px;
}

.price-category-bottom small {
  font-family: "Courier New", monospace;
  font-size: 8px;
  opacity: 0.58;
}

.price-category-bottom > span {
  align-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  display: flex;
  font-size: 18px;
  height: 44px;
  justify-content: center;
  width: 44px;
}

.booking-category-card {
  width: 100%;
}

.booking-category-card > .price-category-meta,
.booking-category-card > .price-category-bottom {
  width: 100%;
}

.section-equipment {
  background-color: var(--yellow);
  background-image:
    linear-gradient(rgba(58, 52, 42, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(58, 52, 42, 0.05) 1px, transparent 1px);
  background-size: 58px 58px;
}

.equipment-heading {
  align-items: end;
  display: grid;
  gap: 10vw;
  grid-template-columns: 1.25fr 0.75fr;
  margin-bottom: 80px;
}

.equipment-heading > p {
  font-size: 14px;
  line-height: 1.8;
  margin: 0 0 8px;
  max-width: 470px;
}

.equipment-grid {
  border-left: 1px solid var(--line-dark);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.equipment-card {
  border-bottom: 1px solid var(--line-dark);
  border-right: 1px solid var(--line-dark);
  border-top: 1px solid var(--line-dark);
  min-width: 0;
  padding: 26px;
}

.equipment-card header {
  align-items: start;
  border-bottom: 2px solid var(--ink);
  display: grid;
  gap: 18px;
  grid-template-columns: 28px 1fr;
  margin-bottom: 14px;
  padding-bottom: 24px;
}

.equipment-card header > span,
.equipment-card header small {
  font-family: "Courier New", monospace;
  font-size: 8px;
  letter-spacing: 0.08em;
  opacity: 0.58;
}

.equipment-card h3 {
  font-family: "Arial Black", var(--display);
  font-size: clamp(24px, 2.4vw, 38px);
  letter-spacing: -0.06em;
  line-height: 1;
  margin: 0 0 8px;
}

.equipment-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.equipment-card li {
  align-items: baseline;
  border-bottom: 1px solid rgba(58, 52, 42, 0.18);
  display: flex;
  gap: 18px;
  justify-content: space-between;
  min-height: 42px;
  padding: 12px 0 10px;
}

.equipment-card li strong {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.equipment-card li span {
  flex: none;
  font-family: "Courier New", monospace;
  font-size: 8px;
  opacity: 0.58;
}

.equipment-demo-callout {
  align-items: center;
  background: var(--ink);
  color: var(--paper-bright);
  display: flex;
  justify-content: space-between;
  margin-top: 30px;
  padding: 30px;
}

.equipment-demo-callout > div {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.equipment-demo-callout > div span {
  font-family: "Courier New", monospace;
  font-size: 8px;
  letter-spacing: 0.09em;
  opacity: 0.55;
}

.equipment-demo-callout > div strong {
  font-size: clamp(19px, 2.1vw, 31px);
  letter-spacing: -0.045em;
}

.equipment-demo-callout .button {
  flex: none;
}

.section-plugins {
  background-color: var(--red);
  background-image:
    radial-gradient(circle at 54% 50%, rgba(58, 52, 42, 0.28), transparent 28%),
    linear-gradient(135deg, transparent 0 48%, rgba(238, 229, 211, 0.09) 48% 52%, transparent 52%);
  background-size:
    cover,
    92px 92px;
  color: var(--paper-bright);
  overflow: hidden;
}

.feature-teaser {
  align-items: center;
  display: grid;
  gap: 5vw;
  grid-template-columns: 1.1fr 0.8fr 0.7fr;
  min-height: 430px;
}

.feature-teaser h2 {
  font-size: clamp(65px, 8vw, 126px);
}

.teaser-control {
  align-items: center;
  backdrop-filter: blur(8px);
  background: rgba(58, 52, 42, 0.2);
  border: 1px solid rgba(238, 229, 211, 0.7);
  display: grid;
  gap: 28px;
  grid-template-columns: 100px 1fr;
  min-height: 210px;
  padding: 30px;
}

.teaser-copy {
  align-self: end;
  padding-bottom: 38px;
}

.teaser-copy > p {
  font-size: 13px;
  line-height: 1.8;
  margin: 0 0 30px;
}

.button-light {
  background: var(--paper-bright);
  border-color: var(--paper-bright);
  color: var(--ink);
}

.button-light:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper-bright);
}

.plugins-heading {
  align-items: start;
  display: grid;
  gap: 8vw;
  grid-template-columns: 0.45fr 1.55fr;
  margin-bottom: 70px;
}

.plugins-heading > div {
  align-items: flex-end;
  display: flex;
  gap: 6vw;
  justify-content: space-between;
}

.plugins-heading h2 {
  max-width: 800px;
}

.plugins-heading > div > p {
  font-size: 13px;
  line-height: 1.75;
  margin: 0 0 10px;
  max-width: 320px;
}

.plugin-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, 1fr);
}

.plugin-card {
  border: 1px solid rgba(238, 229, 211, 0.3);
  display: flex;
  flex-direction: column;
  min-height: 610px;
  padding: 20px;
  position: relative;
  transition: transform 220ms ease;
}

.plugin-card:hover {
  transform: translateY(-9px) rotate(-0.4deg);
}

.plugin-cream {
  background: var(--paper);
  color: var(--ink);
}

.plugin-charcoal {
  background: var(--ink-soft);
}

.plugin-red {
  background: var(--red-dark);
}

.plugin-meta {
  display: flex;
  font-family: "Courier New", monospace;
  font-size: 8px;
  justify-content: space-between;
  letter-spacing: 0.08em;
  opacity: 0.65;
}

.plugin-face {
  align-items: center;
  border: 1px solid currentColor;
  display: grid;
  grid-template-columns: 110px 1fr;
  margin: 42px 0 48px;
  min-height: 200px;
  opacity: 0.8;
  padding: 26px;
  position: relative;
}

.knob {
  align-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  display: flex;
  height: 78px;
  justify-content: center;
  position: relative;
  width: 78px;
}

.knob::after {
  border: 1px solid currentColor;
  border-radius: 50%;
  content: "";
  height: 58px;
  width: 58px;
}

.knob i {
  background: currentColor;
  height: 20px;
  left: 38px;
  position: absolute;
  top: 8px;
  transform: rotate(28deg);
  transform-origin: bottom;
  width: 2px;
}

.meter {
  border: 1px solid currentColor;
  height: 58px;
  overflow: hidden;
  position: relative;
}

.meter::before {
  background: repeating-linear-gradient(
    90deg,
    transparent 0 12px,
    currentColor 12px 13px
  );
  content: "";
  inset: 0;
  opacity: 0.3;
  position: absolute;
}

.meter span {
  background: currentColor;
  bottom: 9px;
  height: 2px;
  left: 9px;
  position: absolute;
  transform: rotate(-11deg);
  transform-origin: left;
  width: 70%;
}

.plugin-face b {
  bottom: 7px;
  font-family: Impact, "Arial Black", var(--display);
  font-size: 9px;
  letter-spacing: 0.08em;
  position: absolute;
  right: 9px;
}

.plugin-type {
  font-family: "Courier New", monospace;
  font-size: 8px;
  letter-spacing: 0.1em;
  margin: 0 0 11px;
  opacity: 0.55;
}

.plugin-card h3 {
  font-family: "Arial Black", var(--display);
  font-size: clamp(30px, 3.5vw, 54px);
  letter-spacing: -0.07em;
  line-height: 0.95;
  margin: 0 0 20px;
}

.plugin-copy {
  font-size: 12px;
  line-height: 1.7;
  margin: 0;
  max-width: 320px;
}

.coming-soon {
  border-top: 1px solid currentColor;
  font-family: "Courier New", monospace;
  font-size: 9px;
  letter-spacing: 0.16em;
  margin-top: auto;
  padding-top: 15px;
}

.section-residents {
  background: var(--paper);
  overflow: hidden;
}

.residents-heading {
  align-items: end;
  display: grid;
  gap: 9vw;
  grid-template-columns: 1.15fr 0.85fr;
  margin-bottom: 90px;
}

.residents-heading > p {
  font-size: 14px;
  line-height: 1.8;
  margin: 0 0 10px;
  max-width: 470px;
}

.art-grid {
  display: grid;
  gap: 48px 28px;
  grid-template-columns: repeat(3, 1fr);
  padding: 15px 16px 25px;
}

.art-card {
  background: #fff;
  border: 1px solid var(--ink);
  box-shadow: 11px 11px 0 rgba(58, 52, 42, 0.14);
  margin: 0;
  padding: 12px 12px 15px;
  transition:
    box-shadow 220ms ease,
    transform 220ms ease;
}

.art-card:nth-child(1),
.art-card:nth-child(5) {
  transform: rotate(-2deg);
}

.art-card:nth-child(2),
.art-card:nth-child(6) {
  transform: translateY(48px) rotate(1.8deg);
}

.art-card:nth-child(3) {
  transform: rotate(-0.8deg);
}

.art-card:nth-child(4) {
  transform: translateY(-6px) rotate(2.2deg);
}

.art-card:hover {
  box-shadow: 4px 4px 0 rgba(58, 52, 42, 0.2);
  transform: translateY(-7px) rotate(0);
}

.art-card img {
  aspect-ratio: 1;
  display: block;
  object-fit: cover;
  width: 100%;
}

.art-card figcaption {
  align-items: center;
  border-top: 1px solid rgba(58, 52, 42, 0.22);
  display: flex;
  justify-content: space-between;
  margin-top: 13px;
  padding-top: 12px;
}

.art-card figcaption strong {
  font-family: "Arial Black", var(--display);
  font-size: 15px;
  letter-spacing: -0.04em;
}

.art-card figcaption span {
  font-family: "Courier New", monospace;
  font-size: 7px;
  letter-spacing: 0.07em;
  opacity: 0.5;
}

.section-courses {
  background-color: var(--paper-bright);
  background-image:
    radial-gradient(circle at 12% 48%, rgba(143, 109, 80, 0.2), transparent 28%),
    linear-gradient(rgba(58, 52, 42, 0.05) 1px, transparent 1px);
  background-size:
    cover,
    100% 56px;
}

.course-teaser {
  align-items: end;
  display: grid;
  gap: 10vw;
  grid-template-columns: 1.2fr 0.8fr;
  min-height: 410px;
}

.course-teaser-copy > p {
  font-size: 14px;
  line-height: 1.8;
  margin: 0 0 30px;
}

.course-preview-list {
  border-top: 1px solid var(--line-dark);
  display: flex;
  flex-direction: column;
  margin-bottom: 34px;
}

.course-preview-list span {
  border-bottom: 1px solid var(--line-dark);
  font-size: 12px;
  font-weight: 700;
  padding: 13px 0;
}

.course-heading {
  display: grid;
  gap: 6vw;
  grid-template-columns: 0.5fr 1fr 0.5fr;
  margin-bottom: 85px;
}

.course-heading .section-label {
  align-self: start;
}

.course-heading > p {
  align-self: end;
}

.course-list {
  border-top: 1px solid var(--line-dark);
}

.course-card {
  align-items: center;
  border-bottom: 1px solid var(--line-dark);
  display: grid;
  gap: 3vw;
  grid-template-columns: 45px 1fr 0.8fr 0.45fr;
  min-height: 188px;
  padding: 24px 0;
  transition: padding 180ms ease;
}

.course-card:hover {
  padding-left: 15px;
  padding-right: 15px;
}

.course-number {
  font-family: "Courier New", monospace;
  font-size: 9px;
  opacity: 0.5;
}

.course-main small {
  font-size: 9px;
  opacity: 0.55;
}

.course-main h3 {
  font-size: 28px;
  letter-spacing: -0.05em;
  margin: 8px 0;
}

.course-subtitle {
  font-family: "Courier New", monospace;
  font-size: 8px;
  letter-spacing: 0.08em;
  margin: 0;
  opacity: 0.58;
}

.course-copy {
  font-size: 12px;
  line-height: 1.7;
}

.course-meta {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.course-meta span {
  font-size: 10px;
  font-weight: 700;
}

.course-meta a {
  align-items: center;
  border: 1px solid var(--ink);
  border-radius: 50%;
  display: flex;
  height: 42px;
  justify-content: center;
  transition:
    background 180ms ease,
    color 180ms ease;
  width: 42px;
}

.course-meta a:hover {
  background: var(--ink);
  color: var(--paper-bright);
}

.contact-section {
  background: #625545;
  color: var(--paper-bright);
  overflow: hidden;
}

.contact-marquee {
  border-bottom: 1px solid var(--line-light);
  overflow: hidden;
  padding: 30px 0 20px;
}

.contact-marquee span {
  color: var(--red);
  display: block;
  font-family: Impact, "Arial Black", var(--display);
  font-size: clamp(90px, 15vw, 230px);
  letter-spacing: -0.055em;
  line-height: 0.82;
  transform: translateX(-0.8vw);
  white-space: nowrap;
}

.contact-grid {
  display: grid;
  gap: 8vw;
  grid-template-columns: 0.9fr 1.1fr;
  padding: 100px 5vw 120px;
}

.contact-copy h2 {
  font-family: "Arial Black", var(--display);
  font-size: clamp(54px, 7vw, 104px);
  letter-spacing: -0.075em;
  line-height: 0.95;
  margin: 0 0 38px;
}

.contact-copy > p:last-child {
  font-size: 13px;
  line-height: 1.75;
  max-width: 430px;
}

.contact-links {
  border-top: 1px solid var(--line-light);
}

.contact-links > a,
.contact-links > div {
  align-items: center;
  border-bottom: 1px solid var(--line-light);
  display: grid;
  gap: 20px;
  grid-template-columns: 120px 1fr auto;
  min-height: 105px;
  padding: 15px 0;
}

.contact-links span {
  font-family: "Courier New", monospace;
  font-size: 8px;
  letter-spacing: 0.08em;
  opacity: 0.5;
}

.contact-links strong {
  font-size: 17px;
  letter-spacing: -0.03em;
  overflow-wrap: anywhere;
}

.contact-links i {
  align-items: center;
  border: 1px solid var(--line-light);
  border-radius: 50%;
  display: flex;
  font-style: normal;
  height: 41px;
  justify-content: center;
  transition:
    background 180ms ease,
    color 180ms ease;
  width: 41px;
}

.contact-links a:hover i {
  background: var(--red);
  color: var(--paper-bright);
}

.address-section {
  background: var(--paper);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  min-height: 720px;
}

.address-map {
  background-color: #c7b698;
  background-image:
    linear-gradient(rgba(58, 52, 42, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(58, 52, 42, 0.08) 1px, transparent 1px);
  background-position: 0 0;
  background-repeat: repeat;
  background-size: 45px 45px;
  border-right: 1px solid var(--line-dark);
  overflow: hidden;
  position: relative;
}

.address-map::before,
.address-map::after {
  background: rgba(58, 52, 42, 0.13);
  content: "";
  height: 3px;
  left: -10%;
  position: absolute;
  top: 35%;
  transform: rotate(18deg);
  width: 125%;
}

.address-map::after {
  left: 25%;
  top: 58%;
  transform: rotate(-63deg);
  width: 70%;
}

.map-ring {
  border: 1px solid rgba(58, 52, 42, 0.2);
  border-radius: 50%;
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
}

.map-ring-one {
  height: 300px;
  width: 300px;
}

.map-ring-two {
  height: 480px;
  width: 480px;
}

.map-pin {
  align-items: center;
  background: var(--red);
  border-radius: 50% 50% 50% 0;
  color: var(--paper-bright);
  display: flex;
  font-family: Impact, "Arial Black", var(--display);
  height: 80px;
  justify-content: center;
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -60%) rotate(-45deg);
  width: 80px;
  z-index: 3;
}

.map-pin::after {
  content: "DD";
  transform: rotate(45deg);
}

.map-pin {
  font-size: 0;
}

.address-map small {
  bottom: 24px;
  font-family: "Courier New", monospace;
  font-size: 9px;
  left: 25px;
  letter-spacing: 0.1em;
  position: absolute;
}

.address-copy {
  align-self: center;
  padding: 80px 7vw;
}

.address-copy h2 {
  font-family: "Arial Black", var(--display);
  font-size: clamp(48px, 5.5vw, 82px);
  letter-spacing: -0.075em;
  line-height: 1;
  margin: 0 0 30px;
}

.address-copy > p {
  font-size: 13px;
  line-height: 1.75;
  margin-bottom: 35px;
  max-width: 460px;
}

.address-detail {
  border-top: 1px solid var(--line-dark);
  display: flex;
  font-size: 10px;
  justify-content: space-between;
  padding: 16px 0;
}

.address-detail + .address-detail {
  border-bottom: 1px solid var(--line-dark);
}

.address-detail span {
  opacity: 0.55;
}

.location-screen {
  background: var(--paper);
  display: grid;
  grid-template-columns: minmax(360px, 0.9fr) minmax(560px, 1.1fr);
  min-height: calc(100svh - 78px);
  position: relative;
  scroll-margin-top: 0;
}

.section-anchor {
  height: 1px;
  left: 0;
  position: absolute;
  top: 0;
  width: 1px;
}

.location-map {
  background-color: #c7b698;
  background-image:
    linear-gradient(rgba(58, 52, 42, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(58, 52, 42, 0.08) 1px, transparent 1px);
  background-size: 45px 45px;
  border-right: 1px solid var(--line-dark);
  min-height: 660px;
  overflow: hidden;
  padding: 42px 3vw 32px;
  position: relative;
}

.location-map .section-label,
.location-map > small {
  position: relative;
  z-index: 4;
}

.location-map > small {
  bottom: 28px;
  font-family: "Courier New", monospace;
  font-size: 8px;
  left: 3vw;
  letter-spacing: 0.1em;
  position: absolute;
}

.location-map-art {
  inset: 0;
  position: absolute;
}

.location-map-art::before,
.location-map-art::after,
.location-map-art .map-road {
  background: rgba(58, 52, 42, 0.14);
  content: "";
  height: 3px;
  left: -12%;
  position: absolute;
  top: 31%;
  transform: rotate(18deg);
  width: 128%;
}

.location-map-art::after {
  left: 22%;
  top: 61%;
  transform: rotate(-63deg);
  width: 76%;
}

.location-map-art .map-road-one {
  left: -5%;
  top: 76%;
  transform: rotate(-12deg);
  width: 112%;
}

.location-map-art .map-road-two {
  left: 38%;
  top: 18%;
  transform: rotate(74deg);
  width: 70%;
}

.location-map-art .map-road-three {
  left: 5%;
  top: 48%;
  transform: rotate(3deg);
  width: 92%;
}

.location-map-art .map-ring-one {
  height: min(28vw, 360px);
  width: min(28vw, 360px);
}

.location-map-art .map-ring-two {
  height: min(43vw, 550px);
  width: min(43vw, 550px);
}

.location-logo-pin {
  background: var(--paper-bright);
  border: 1px solid rgba(58, 52, 42, 0.5);
  box-shadow: 12px 14px 0 rgba(58, 52, 42, 0.2);
  left: 50%;
  padding: 6px;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%) rotate(-1.5deg);
  width: clamp(145px, 14vw, 210px);
  z-index: 3;
}

.location-logo-pin img {
  display: block;
  height: auto;
  width: 100%;
}

.location-panel {
  display: flex;
  flex-direction: column;
  padding: clamp(48px, 6vh, 76px) 5vw 44px;
}

.location-heading > span {
  font-family: "Courier New", monospace;
  font-size: 8px;
  letter-spacing: 0.12em;
  opacity: 0.55;
}

.location-heading h2 {
  font-family: "Arial Black", var(--display);
  font-size: clamp(48px, 5.2vw, 80px);
  letter-spacing: -0.075em;
  line-height: 0.98;
  margin: 22px 0 20px;
}

.location-heading > p {
  font-size: 12px;
  line-height: 1.75;
  margin: 0 0 30px;
  max-width: 560px;
}

.location-facts {
  border-top: 1px solid var(--line-dark);
}

.location-facts > a,
.location-facts > div {
  align-items: center;
  border-bottom: 1px solid var(--line-dark);
  display: grid;
  gap: 18px;
  grid-template-columns: 100px minmax(0, 1fr) 28px;
  min-height: 70px;
  padding: 12px 0;
}

.location-facts span {
  font-family: "Courier New", monospace;
  font-size: 8px;
  letter-spacing: 0.08em;
  opacity: 0.55;
}

.location-facts strong {
  font-size: 11px;
  letter-spacing: -0.01em;
  overflow-wrap: anywhere;
}

.location-facts i {
  font-family: "Courier New", monospace;
  font-size: 8px;
  font-style: normal;
  opacity: 0.55;
  text-align: right;
}

.location-facts > a {
  transition:
    background 180ms ease,
    padding 180ms ease;
}

.location-facts > a:hover {
  background: rgba(238, 229, 211, 0.5);
  padding-left: 12px;
  padding-right: 12px;
}

.location-action {
  align-items: center;
  display: flex;
  gap: 30px;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 28px;
}

.location-action p {
  font-size: 9px;
  line-height: 1.65;
  margin: 0;
  max-width: 310px;
  opacity: 0.6;
}

.location-action .button {
  flex: none;
  margin: 0;
}

.button-dark {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper-bright);
  margin-top: 34px;
  min-width: 200px;
}

.button-dark:hover {
  background: var(--red);
  border-color: var(--red);
}

.compact-profile {
  background-color: var(--paper-bright);
  background-image:
    linear-gradient(rgba(58, 52, 42, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(58, 52, 42, 0.04) 1px, transparent 1px);
  background-size: 52px 52px;
  display: grid;
  gap: 3vw;
  grid-template-columns: 0.7fr 1fr 1.2fr;
  padding: 60px 5vw;
}

.compact-profile .section-label {
  margin-bottom: 18px;
}

.compact-profile-heading h2 {
  font-family: "Arial Black", var(--display);
  font-size: clamp(27px, 3vw, 44px);
  letter-spacing: -0.06em;
  line-height: 1;
  margin: 0;
}

.compact-profile-copy {
  border-left: 1px solid var(--line-dark);
  padding-left: 28px;
}

.compact-profile-copy p,
.compact-collabs p {
  font-size: 11px;
  line-height: 1.75;
  margin: 0;
}

.compact-profile-copy .compact-awards {
  font-family: "Courier New", monospace;
  font-size: 8px;
  margin-top: 17px;
  opacity: 0.65;
}

.compact-collabs {
  border-left: 1px solid var(--line-dark);
  padding-left: 28px;
}

.compact-collabs > span {
  display: block;
  font-family: "Courier New", monospace;
  font-size: 8px;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
  opacity: 0.55;
}

.subpage {
  background: var(--paper);
  min-height: 100vh;
  padding-top: 78px;
}

.subpage-header {
  align-items: stretch;
  background: #4d4437;
  box-shadow:
    0 1px 0 rgba(255, 249, 237, 0.12),
    0 12px 30px rgba(35, 31, 25, 0.14);
  color: var(--paper-bright);
  display: grid;
  grid-template-columns: 230px 1fr;
  height: 78px;
  isolation: isolate;
  left: 0;
  position: fixed;
  right: 0;
  top: 0;
  width: 100%;
  z-index: 120;
}

.subpage-header nav {
  align-items: center;
  display: flex;
  gap: 30px;
  justify-content: flex-end;
  padding: 0 5vw;
}

.subpage-header nav a {
  font-size: 11px;
  font-weight: 700;
}

.subpage-header nav a.header-back {
  border: 1px solid rgba(238, 229, 211, 0.45);
  padding: 10px 14px;
  transition:
    background 180ms ease,
    color 180ms ease;
}

.subpage-header nav a.header-back:hover {
  background: var(--paper-bright);
  color: var(--ink);
}

.subpage-header .header-project-nav {
  gap: 12px;
}

.header-project-link {
  align-items: center;
  border: 1px solid rgba(238, 229, 211, 0.45);
  display: inline-flex;
  gap: 34px;
  padding: 11px 15px;
  transition:
    background 180ms ease,
    color 180ms ease;
}

.header-project-link:hover {
  background: var(--paper-bright);
  color: var(--ink);
}

.subpage-header .plugin-store-nav {
  gap: 14px;
  overflow: visible;
}

.plugin-cart {
  position: relative;
}

.plugin-cart summary,
.currency-control {
  align-items: center;
  border: 1px solid rgba(238, 229, 211, 0.42);
  display: flex;
  font-size: 10px;
  font-weight: 700;
  min-height: 40px;
}

.plugin-cart summary {
  cursor: pointer;
  justify-content: center;
  list-style: none;
  padding: 0;
  position: relative;
  user-select: none;
  width: 42px;
}

.plugin-cart summary::-webkit-details-marker {
  display: none;
}

.plugin-cart-count {
  align-items: center;
  background: var(--red);
  border: 2px solid #4d4437;
  border-radius: 999px;
  color: var(--paper-bright);
  display: inline-flex;
  font-family: "Courier New", monospace;
  font-size: 7px;
  height: 17px;
  justify-content: center;
  position: absolute;
  right: -7px;
  top: -7px;
  width: 17px;
}

.plugin-cart-icon {
  display: block;
  height: 22px;
  position: relative;
  width: 24px;
}

.plugin-cart-icon::before {
  border: 2px solid currentColor;
  border-top: 0;
  content: "";
  height: 9px;
  left: 5px;
  position: absolute;
  top: 6px;
  transform: skewX(-8deg);
  width: 15px;
}

.plugin-cart-icon::after {
  border-left: 2px solid currentColor;
  border-top: 2px solid currentColor;
  content: "";
  height: 5px;
  left: 2px;
  position: absolute;
  top: 3px;
  width: 5px;
}

.plugin-cart-icon i,
.plugin-cart-icon b {
  background: currentColor;
  border-radius: 50%;
  bottom: 1px;
  height: 3px;
  position: absolute;
  width: 3px;
}

.plugin-cart-icon i {
  left: 7px;
}

.plugin-cart-icon b {
  right: 3px;
}

.plugin-cart-label {
  background: var(--paper-bright);
  border: 1px solid rgba(58, 52, 42, 0.24);
  box-shadow: 6px 7px 0 rgba(35, 31, 25, 0.16);
  color: var(--ink);
  font-size: 9px;
  left: 50%;
  opacity: 0;
  padding: 7px 10px;
  pointer-events: none;
  position: absolute;
  top: calc(100% + 10px);
  transform: translate(-50%, -4px);
  transition: opacity 150ms ease, transform 150ms ease;
  visibility: hidden;
  white-space: nowrap;
  z-index: 3;
}

.plugin-cart summary:hover .plugin-cart-label,
.plugin-cart summary:focus-visible .plugin-cart-label {
  opacity: 1;
  transform: translate(-50%, 0);
  visibility: visible;
}

.plugin-cart[open] summary,
.plugin-cart summary:hover,
.currency-control:focus-within {
  background: var(--paper-bright);
  color: var(--ink);
}

.plugin-cart-panel {
  background: var(--paper-bright);
  border: 1px solid rgba(58, 52, 42, 0.28);
  box-shadow: 12px 15px 0 rgba(35, 31, 25, 0.2);
  color: var(--ink);
  min-width: 250px;
  padding: 22px;
  position: absolute;
  right: 0;
  top: calc(100% + 14px);
}

.plugin-cart-panel strong {
  display: block;
  font-family: var(--display);
  font-size: 18px;
  letter-spacing: 0.04em;
}

.plugin-cart-panel p {
  font-size: 10px;
  line-height: 1.65;
  margin: 12px 0 0;
  opacity: 0.68;
}

.currency-control {
  gap: 9px;
  padding: 0 8px 0 13px;
}

.currency-control > span {
  white-space: nowrap;
}

.currency-control select {
  appearance: none;
  background: transparent;
  border: 0;
  color: inherit;
  cursor: pointer;
  font: inherit;
  outline: 0;
  padding: 5px 18px 5px 4px;
}

.subpage-hero {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 680px;
  overflow: hidden;
  padding: 72px 5vw 60px;
  position: relative;
}

.subpage-kicker {
  font-family: "Courier New", monospace;
  font-size: 9px;
  letter-spacing: 0.13em;
  margin: 0;
}

.subpage-hero h1 {
  font-family: Impact, "Arial Black", var(--display);
  font-size: clamp(95px, 14vw, 220px);
  letter-spacing: -0.055em;
  line-height: 0.76;
  margin: 35px 0;
  max-width: 100%;
  position: relative;
  text-wrap: balance;
  z-index: 2;
}

.subpage-hero-copy {
  align-items: start;
  border-top: 1px solid currentColor;
  display: grid;
  gap: 5vw;
  grid-template-columns: 180px minmax(280px, 520px);
  padding-top: 20px;
  position: relative;
  z-index: 2;
}

.subpage-hero-copy > span {
  font-family: "Courier New", monospace;
  font-size: 9px;
  letter-spacing: 0.08em;
}

.subpage-hero-copy p {
  font-size: 14px;
  line-height: 1.75;
  margin: 0;
}

.plugin-subhero {
  background-color: var(--red);
  background-image:
    radial-gradient(circle at 82% 45%, rgba(58, 52, 42, 0.3), transparent 28%),
    linear-gradient(135deg, transparent 0 47%, rgba(238, 229, 211, 0.1) 47% 53%, transparent 53%);
  background-size:
    cover,
    96px 96px;
  color: var(--paper-bright);
}

.courses-subhero {
  background-color: var(--paper-bright);
  background-image:
    radial-gradient(circle at 82% 48%, rgba(143, 109, 80, 0.22), transparent 30%),
    linear-gradient(rgba(58, 52, 42, 0.05) 1px, transparent 1px);
  background-size:
    cover,
    100% 62px;
}

.courses-subhero h1 {
  font-size: clamp(74px, 10.8vw, 168px);
}

.plugin-detail-list {
  background: #5a4e40;
  padding: 0 5vw;
}

.plugin-detail {
  align-items: center;
  border-bottom: 1px solid rgba(238, 229, 211, 0.22);
  color: var(--paper-bright);
  display: grid;
  gap: 4vw;
  grid-template-columns: 80px minmax(220px, 0.7fr) 1fr auto;
  min-height: 470px;
  padding: 60px 0;
  position: relative;
}

.plugin-detail-cream {
  color: var(--paper-bright);
}

.plugin-detail-index {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  font-family: "Courier New", monospace;
  font-size: 9px;
  justify-content: space-between;
  letter-spacing: 0.08em;
}

.plugin-detail-index small {
  opacity: 0.45;
}

.plugin-detail-face {
  align-items: center;
  background: rgba(238, 229, 211, 0.05);
  border: 1px solid currentColor;
  display: grid;
  gap: 25px;
  grid-template-columns: 92px 1fr;
  min-height: 220px;
  padding: 28px;
  position: relative;
}

.plugin-detail-face b {
  bottom: 9px;
  font-family: Impact, "Arial Black", var(--display);
  font-size: 9px;
  letter-spacing: 0.08em;
  position: absolute;
  right: 10px;
}

.plugin-detail-copy > p {
  font-family: "Courier New", monospace;
  font-size: 8px;
  letter-spacing: 0.1em;
  margin: 0 0 15px;
  opacity: 0.55;
}

.plugin-detail-copy h2 {
  font-family: "Arial Black", var(--display);
  font-size: clamp(42px, 5.8vw, 88px);
  letter-spacing: -0.07em;
  line-height: 0.92;
  margin: 0 0 24px;
}

.plugin-detail-copy > span {
  display: block;
  font-size: 12px;
  line-height: 1.7;
  max-width: 510px;
}

.control-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 27px;
}

.control-list small {
  border: 1px solid rgba(238, 229, 211, 0.28);
  font-family: "Courier New", monospace;
  font-size: 7px;
  padding: 7px 9px;
}

.plugin-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.plugin-detail-actions button {
  background: transparent;
  border: 1px solid rgba(238, 229, 211, 0.5);
  color: inherit;
  cursor: pointer;
  font-family: var(--font-menu);
  font-size: 11px;
  min-height: 42px;
  padding: 0 17px;
}

.plugin-detail-actions button:hover,
.plugin-detail-actions button:focus-visible {
  background: var(--paper-bright);
  color: var(--ink);
  outline: none;
}

.detail-status {
  font-family: "Courier New", monospace;
  font-size: 8px;
  letter-spacing: 0.1em;
  writing-mode: vertical-rl;
}

.course-detail-list {
  background-color: var(--paper);
  background-image:
    linear-gradient(rgba(58, 52, 42, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(58, 52, 42, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  padding: 0 5vw;
}

.course-detail-card {
  align-items: start;
  border-bottom: 1px solid var(--line-dark);
  display: grid;
  gap: 4vw;
  grid-template-columns: 45px 0.9fr 1fr 0.45fr;
  min-height: 340px;
  padding: 55px 0;
}

.course-detail-number {
  font-family: "Courier New", monospace;
  font-size: 9px;
  opacity: 0.5;
}

.course-detail-title small {
  font-size: 9px;
  opacity: 0.55;
}

.course-detail-title h2 {
  font-family: "Arial Black", var(--display);
  font-size: clamp(34px, 4vw, 61px);
  letter-spacing: -0.06em;
  line-height: 1;
  margin: 18px 0 10px;
}

.course-detail-title p {
  font-family: "Courier New", monospace;
  font-size: 8px;
  letter-spacing: 0.06em;
  opacity: 0.58;
}

.course-detail-copy > p {
  font-size: 12px;
  line-height: 1.75;
  margin: 0 0 25px;
  max-width: 500px;
}

.course-detail-copy ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.course-detail-copy li {
  border-top: 1px solid var(--line-dark);
  font-size: 10px;
  padding: 9px 0;
}

.course-detail-copy li::before {
  content: "✓";
  margin-right: 9px;
}

.course-detail-price {
  display: flex;
  flex-direction: column;
}

.course-detail-price small {
  font-size: 9px;
  opacity: 0.55;
}

.course-detail-price strong {
  font-family: Impact, "Arial Black", var(--display);
  font-size: 40px;
  margin: 15px 0 28px;
}

.course-detail-price a {
  border-bottom: 1px solid var(--ink);
  font-size: 10px;
  font-weight: 700;
  padding-bottom: 8px;
  width: max-content;
}

.course-info-page {
  background: var(--paper);
  color: var(--ink);
}

.course-info-hero {
  background:
    linear-gradient(rgba(245, 234, 216, 0.86), rgba(245, 234, 216, 0.96)),
    repeating-linear-gradient(
      90deg,
      transparent 0 59px,
      rgba(58, 52, 42, 0.08) 59px 60px
    );
  border-bottom: 1px solid var(--line-dark);
  display: grid;
  gap: 5vw;
  grid-template-columns: 0.35fr 1.15fr 0.7fr;
  min-height: 540px;
  padding: 110px 5vw 65px;
}

.course-info-hero > div > span {
  font-family: "Courier New", monospace;
  font-size: 9px;
  letter-spacing: 0.1em;
  opacity: 0.55;
}

.course-info-hero h1 {
  font-family: "Arial Black", var(--display);
  font-size: clamp(55px, 7vw, 112px);
  letter-spacing: -0.07em;
  line-height: 0.9;
  margin: 25px 0 0;
  max-width: 980px;
}

.course-info-hero > p:last-child {
  align-self: end;
  font-size: 13px;
  line-height: 1.8;
  margin: 0;
  max-width: 420px;
}

.course-info-placeholder {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(330px, 0.7fr);
  min-height: 720px;
}

.course-info-empty {
  border-right: 1px solid var(--line-dark);
  padding: 85px 6vw;
}

.course-info-empty > span {
  font-family: "Courier New", monospace;
  font-size: 9px;
  letter-spacing: 0.12em;
  opacity: 0.5;
}

.course-info-empty h2 {
  font-family: "Arial Black", var(--display);
  font-size: clamp(46px, 6vw, 96px);
  letter-spacing: -0.07em;
  line-height: 0.95;
  margin: 34px 0 24px;
}

.course-info-empty p {
  font-size: 13px;
  line-height: 1.85;
  max-width: 590px;
}

.course-info-empty > div {
  display: grid;
  gap: 18px;
  margin-top: 85px;
}

.course-info-empty i {
  background: rgba(58, 52, 42, 0.12);
  display: block;
  height: 1px;
  width: 100%;
}

.course-info-empty i:nth-child(2) {
  width: 74%;
}

.course-info-empty i:nth-child(3) {
  width: 48%;
}

.course-info-aside {
  background: var(--paper-dark);
  padding: 70px 4vw;
}

.course-info-aside > div {
  border-bottom: 1px solid var(--line-dark);
  display: grid;
  gap: 12px;
  padding: 22px 0;
}

.course-info-aside > div span {
  font-size: 9px;
  opacity: 0.55;
}

.course-info-aside > div strong {
  font-family: Impact, "Arial Black", var(--display);
  font-size: 37px;
}

.course-enrollment {
  border-bottom: 1px solid var(--line-dark);
  margin-top: 32px;
}

.course-enrollment summary {
  align-items: center;
  background: var(--ink);
  color: var(--paper-bright);
  cursor: pointer;
  display: flex;
  font-size: 15px;
  font-weight: 700;
  justify-content: space-between;
  list-style: none;
  padding: 19px 22px;
}

.course-enrollment summary::-webkit-details-marker {
  display: none;
}

.course-enrollment[open] summary span {
  transform: rotate(180deg);
}

.course-enrollment-panel {
  background: var(--paper);
  border: 1px solid var(--line-dark);
  border-top: 0;
  padding: 28px 24px;
}

.course-enrollment-panel > small {
  font-family: "Courier New", monospace;
  font-size: 8px;
  letter-spacing: 0.1em;
  opacity: 0.55;
}

.course-enrollment-panel h2 {
  font-family: "Arial Black", var(--display);
  font-size: 34px;
  letter-spacing: -0.05em;
  margin: 15px 0 25px;
}

.course-enrollment-panel dl {
  margin: 0 0 24px;
}

.course-enrollment-panel dl > div {
  border-top: 1px solid var(--line-dark);
  display: grid;
  gap: 12px;
  grid-template-columns: 90px 1fr;
  padding: 13px 0;
}

.course-enrollment-panel dt {
  font-size: 9px;
  opacity: 0.55;
}

.course-enrollment-panel dd {
  font-size: 11px;
  margin: 0;
}

.course-enrollment-panel .button {
  justify-content: space-between;
  width: 100%;
}

.course-enrollment-panel > p {
  font-size: 9px;
  line-height: 1.65;
  margin: 18px 0 0;
  opacity: 0.58;
}

.demos-page {
  background: #574b3d;
}

.demos-subhero {
  background-color: #574b3d;
  background-image:
    linear-gradient(
      90deg,
      rgba(58, 52, 42, 0.96) 0%,
      rgba(87, 75, 61, 0.62) 56%,
      rgba(143, 109, 80, 0.32) 100%
    ),
    repeating-linear-gradient(
      90deg,
      transparent 0 42px,
      rgba(238, 229, 211, 0.05) 42px 43px
    );
  color: var(--paper-bright);
}

.demos-subhero h1 {
  color: var(--red);
  font-size: clamp(88px, 12.2vw, 190px);
}

.demos-page {
  padding-bottom: 128px;
}

.demo-list {
  background-color: #574b3d;
  background-image:
    linear-gradient(rgba(238, 229, 211, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(238, 229, 211, 0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  color: var(--paper-bright);
  padding: 0 5vw;
}

.demo-list-intro {
  align-items: start;
  border-bottom: 1px solid var(--line-light);
  display: grid;
  gap: 5vw;
  grid-template-columns: 200px minmax(280px, 580px);
  padding: 52px 0;
}

.demo-list-intro span,
.demo-track-number,
.demo-track-title small,
.demo-track-title > span {
  font-family: "Courier New", monospace;
  font-size: 8px;
  letter-spacing: 0.09em;
}

.demo-list-intro span,
.demo-track-number,
.demo-track-title small {
  opacity: 0.52;
}

.demo-list-intro p {
  font-size: 12px;
  line-height: 1.75;
  margin: 0;
}

.demo-track {
  align-items: center;
  border-bottom: 1px solid var(--line-light);
  display: grid;
  gap: 4vw;
  grid-template-columns: 45px minmax(230px, 0.75fr) 1.25fr;
  min-height: 260px;
  padding: 38px 0;
  transition:
    background 180ms ease,
    box-shadow 180ms ease;
}

.demo-track.is-active {
  background: rgba(194, 100, 74, 0.08);
  box-shadow: inset 4px 0 0 var(--red);
}

.demo-track-title {
  align-self: stretch;
  background: transparent;
  border: 1px solid transparent;
  color: inherit;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 18px 20px;
  text-align: left;
  transition:
    background 160ms ease,
    border-color 160ms ease;
  width: 100%;
}

.demo-track-title:hover,
.demo-track-title:focus-visible,
.demo-track-title.is-detail {
  background: rgba(109, 81, 60, 0.08);
  border-color: rgba(109, 81, 60, 0.24);
  outline: none;
}

.demo-track-heading {
  display: block;
  font-family: "Arial Black", var(--display);
  font-size: clamp(38px, 4.8vw, 72px);
  letter-spacing: -0.07em;
  line-height: 0.96;
  margin: 16px 0 12px;
}

.demo-track-title > span {
  color: var(--red);
}

.demo-track-title-face,
.demo-track-service-face {
  color: inherit !important;
  display: block;
  pointer-events: none;
  width: 100%;
}

.demo-track-title-face[hidden],
.demo-track-service-face[hidden] {
  display: none !important;
}

.demo-track-service-face strong {
  display: block;
  font-family: var(--body);
  font-size: clamp(20px, 2.2vw, 32px);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.45;
  margin: 16px 0 14px;
}

.demo-player {
  background: transparent;
  border: 1px solid transparent;
  color: inherit;
  cursor: pointer;
  display: block;
  min-width: 0;
  padding: 14px 16px 12px;
  text-align: left;
  transition:
    background 160ms ease,
    border-color 160ms ease;
  width: 100%;
}

.demo-player:hover,
.demo-player:focus-visible,
.demo-track.is-active .demo-player {
  background: rgba(109, 81, 60, 0.08);
  border-color: rgba(109, 81, 60, 0.24);
  outline: none;
}

.demo-waveform {
  align-items: center;
  border-bottom: 1px solid rgba(238, 229, 211, 0.13);
  display: flex;
  gap: clamp(5px, 0.8vw, 12px);
  height: 92px;
  justify-content: space-between;
  margin-bottom: 20px;
  overflow: hidden;
  pointer-events: none;
}

.demo-waveform i {
  background: var(--red);
  display: block;
  flex: 1;
  max-width: 8px;
  min-height: 8px;
  opacity: 0.82;
}

.demo-inline-progress {
  background: rgba(58, 52, 42, 0.18);
  display: block;
  height: 3px;
  margin: -21px 0 20px;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.demo-inline-progress i {
  background: var(--red-dark);
  display: block;
  height: 100%;
  transition: width 100ms linear;
  width: var(--track-progress, 0%);
}

.demo-track-control {
  align-items: center;
  display: flex;
  gap: 14px;
  justify-content: flex-start;
  width: 100%;
}

.demo-track-control > span {
  align-items: center;
  background: var(--red-dark);
  border-radius: 50%;
  color: var(--paper-bright);
  display: inline-flex;
  flex: 0 0 46px;
  font-size: 17px;
  height: 46px;
  justify-content: center;
  line-height: 1;
}

.demo-track-control small {
  font-family: var(--display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.demo-track-control b {
  font-family: "Courier New", monospace;
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.1em;
  margin-left: auto;
  opacity: 0.62;
}

.floating-audio-player {
  background: var(--ink);
  border: 1px solid rgba(247, 239, 223, 0.28);
  bottom: max(16px, env(safe-area-inset-bottom));
  box-shadow: 0 18px 50px rgba(24, 21, 17, 0.34);
  color: var(--paper-bright);
  display: grid;
  gap: 13px 30px;
  grid-template-columns: minmax(0, 1fr) auto;
  left: 50%;
  max-width: 1180px;
  padding: 15px 22px 17px;
  position: fixed;
  transform: translateX(-50%);
  width: calc(100% - 32px);
  z-index: 500;
}

.floating-player-audio {
  display: none;
}

.floating-player-progress {
  align-items: center;
  display: grid;
  gap: 12px;
  grid-column: 1 / -1;
  grid-template-columns: 38px minmax(0, 1fr) 38px;
}

.floating-player-progress span,
.floating-player-track > span,
.floating-player-controls small {
  font-family: "Courier New", monospace;
  font-size: 8px;
  letter-spacing: 0.08em;
}

.floating-player-progress span {
  opacity: 0.62;
}

.floating-player-progress span:last-child {
  text-align: right;
}

.floating-player-progress input {
  accent-color: var(--red);
  cursor: pointer;
  height: 16px;
  margin: 0;
  width: 100%;
}

.floating-player-track {
  align-items: center;
  display: grid;
  gap: 5px 16px;
  grid-template-columns: auto minmax(0, 1fr);
  min-width: 0;
}

.floating-player-track > span {
  opacity: 0.58;
}

.floating-player-track strong {
  font-family: var(--display);
  font-size: 18px;
  letter-spacing: 0.01em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.floating-player-controls {
  align-items: center;
  display: flex;
  gap: 8px;
}

.floating-player-controls button {
  align-items: center;
  background: transparent;
  border: 1px solid rgba(247, 239, 223, 0.34);
  color: inherit;
  cursor: pointer;
  display: flex;
  gap: 7px;
  height: 38px;
  justify-content: center;
  min-width: 62px;
  padding: 0 10px;
  transition:
    background 160ms ease,
    border-color 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

.floating-player-controls button:hover,
.floating-player-controls button:focus-visible {
  background: var(--paper-bright);
  border-color: var(--paper-bright);
  color: var(--ink);
  transform: translateY(-1px);
}

.floating-player-controls .floating-player-toggle {
  background: var(--red);
  border-color: var(--red);
  border-radius: 50%;
  min-width: 44px;
  padding: 0;
  width: 44px;
}

.floating-player-controls .floating-player-auto {
  min-width: 92px;
}

.floating-player-controls .floating-player-auto > span {
  font-family: Arial, sans-serif;
  font-size: 18px;
  line-height: 1;
}

.floating-player-controls .floating-player-auto.is-active {
  background: var(--yellow);
  border-color: var(--yellow);
  box-shadow: 0 0 0 3px rgba(213, 179, 114, 0.18);
  color: var(--ink);
}

.floating-player-toggle > span {
  font-size: 12px;
  line-height: 1;
}

.demos-cta {
  background: var(--yellow);
  color: var(--ink);
}

.project-page {
  background: var(--paper);
}

.project-hero {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 620px;
  overflow: hidden;
  padding: 64px 5vw 52px;
  position: relative;
}

.project-page-mixing .project-hero {
  background:
    radial-gradient(circle at 82% 38%, rgba(238, 229, 211, 0.22), transparent 30%),
    #927258;
  color: var(--paper-bright);
}

.project-page-arrangement .project-hero {
  background:
    radial-gradient(circle at 84% 38%, rgba(143, 109, 80, 0.25), transparent 30%),
    var(--yellow);
  color: var(--ink);
}

.project-page-mastering .project-hero {
  background:
    radial-gradient(circle at 82% 38%, rgba(200, 178, 141, 0.22), transparent 30%),
    #574b3d;
  color: var(--paper-bright);
}

.project-hero::after {
  background: repeating-linear-gradient(
    90deg,
    transparent 0 54px,
    currentColor 54px 55px
  );
  content: "";
  inset: 0;
  opacity: 0.05;
  pointer-events: none;
  position: absolute;
}

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

.project-hero-title {
  align-items: end;
  display: flex;
  gap: 3vw;
  margin: 48px 0;
}

.project-hero-title > span {
  font-family: "Courier New", monospace;
  font-size: 9px;
  letter-spacing: 0.11em;
  padding-bottom: 17px;
  writing-mode: vertical-rl;
}

.project-hero-title h1 {
  font-family: Impact, "Arial Black", var(--display);
  font-size: clamp(132px, 18vw, 280px);
  letter-spacing: -0.07em;
  line-height: 0.74;
  margin: 0;
}

.project-workspace {
  display: grid;
  gap: 6vw;
  grid-template-columns: 240px minmax(0, 1fr);
  padding: 90px 5vw 120px;
}

.project-steps {
  align-self: start;
  position: sticky;
  top: 108px;
}

.project-steps > p {
  font-family: "Courier New", monospace;
  font-size: 8px;
  letter-spacing: 0.1em;
  margin: 0 0 28px;
  opacity: 0.55;
}

.project-steps ol {
  border-top: 1px solid var(--line-dark);
  list-style: none;
  margin: 0 0 30px;
  padding: 0;
}

.project-steps li {
  border-bottom: 1px solid var(--line-dark);
  font-size: 11px;
  opacity: 0.48;
  padding: 15px 0;
}

.project-steps li.is-current {
  font-weight: 800;
  opacity: 1;
}

.project-steps li span {
  display: inline-block;
  font-family: "Courier New", monospace;
  font-size: 8px;
  width: 38px;
}

.project-steps > small {
  display: block;
  font-size: 9px;
  line-height: 1.7;
  max-width: 210px;
  opacity: 0.58;
}

.project-form {
  min-width: 0;
}

.project-fieldset {
  border: 0;
  border-top: 1px solid var(--line-dark);
  margin: 0;
  padding: 0 0 72px;
}

.project-fieldset legend {
  align-items: center;
  display: flex;
  font-family: "Arial Black", var(--display);
  font-size: clamp(25px, 2.7vw, 39px);
  font-weight: 900;
  gap: 18px;
  letter-spacing: -0.05em;
  padding: 25px 0 35px;
}

.project-fieldset legend span {
  font-family: "Courier New", monospace;
  font-size: 8px;
  font-weight: 400;
  letter-spacing: 0.08em;
  opacity: 0.52;
}

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

.project-package {
  background: var(--paper-bright);
  border: 1px solid var(--line-dark);
  display: flex;
  flex-direction: column;
  min-height: 390px;
  padding: 24px;
  position: relative;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.project-package:hover,
.project-package.is-selected {
  border-color: var(--red);
  transform: translateY(-5px);
}

.project-package.is-selected {
  background: #4d4437;
  color: var(--paper-bright);
}

.project-package input {
  opacity: 0;
  pointer-events: none;
  position: absolute;
}

.project-package-check {
  border: 1px solid currentColor;
  border-radius: 50%;
  height: 20px;
  position: absolute;
  right: 20px;
  top: 20px;
  width: 20px;
}

.project-package.is-selected .project-package-check::after {
  background: var(--red);
  border-radius: 50%;
  content: "";
  inset: 4px;
  position: absolute;
}

.project-package > small {
  font-family: "Courier New", monospace;
  font-size: 8px;
  letter-spacing: 0.08em;
  opacity: 0.55;
  padding-right: 34px;
}

.project-package h2 {
  font-family: "Arial Black", var(--display);
  font-size: clamp(28px, 3.1vw, 46px);
  letter-spacing: -0.065em;
  line-height: 1;
  margin: 44px 0 12px;
}

.project-package > strong {
  color: var(--red);
  font-family: Impact, "Arial Black", var(--display);
  font-size: 31px;
  letter-spacing: -0.03em;
}

.project-package > p {
  font-size: 11px;
  line-height: 1.7;
  margin: 22px 0;
  max-width: 420px;
}

.project-package ul {
  border-top: 1px solid currentColor;
  list-style: none;
  margin: auto 0 0;
  opacity: 0.65;
  padding: 12px 0 0;
}

.project-package li {
  font-size: 9px;
  padding: 4px 0;
}

.project-package li::before {
  content: "✓";
  margin-right: 8px;
}

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

.project-contact-grid label,
.project-requirements {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.project-contact-grid label > span,
.project-requirements > span {
  font-size: 10px;
  font-weight: 800;
}

.project-contact-grid input,
.project-requirements textarea {
  background: var(--paper-bright);
  border: 1px solid var(--line-dark);
  border-radius: 0;
  color: var(--ink);
  font: 13px/1.6 var(--body);
  outline: 0;
  padding: 17px;
  resize: vertical;
  width: 100%;
}

.project-contact-grid input:focus,
.project-requirements textarea:focus {
  border-color: var(--red);
  box-shadow: inset 4px 0 0 var(--red);
}

.project-dropzone {
  align-items: center;
  background: var(--paper-bright);
  border: 1px dashed rgba(58, 52, 42, 0.5);
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 300px;
  padding: 35px;
  text-align: center;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

.project-dropzone:hover,
.project-dropzone.is-dragging {
  background: var(--yellow);
  border-color: var(--red);
  transform: translateY(-4px);
}

.project-dropzone input {
  height: 1px;
  opacity: 0;
  position: absolute;
  width: 1px;
}

.dropzone-icon {
  align-items: center;
  border: 1px solid var(--ink);
  border-radius: 50%;
  display: flex;
  font-size: 26px;
  height: 58px;
  justify-content: center;
  margin-bottom: 22px;
  width: 58px;
}

.project-dropzone strong {
  font-family: "Arial Black", var(--display);
  font-size: 26px;
  letter-spacing: -0.05em;
}

.project-dropzone p {
  font-size: 11px;
  margin: 10px 0 20px;
}

.project-dropzone small {
  font-family: "Courier New", monospace;
  font-size: 8px;
  opacity: 0.52;
}

.project-file-list {
  background: #5a4e40;
  color: var(--paper-bright);
  margin-top: 14px;
  padding: 20px;
}

.project-file-summary {
  border-bottom: 1px solid var(--line-light);
  display: flex;
  font-family: "Courier New", monospace;
  font-size: 8px;
  justify-content: space-between;
  padding-bottom: 14px;
}

.project-file-list ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.project-file-list li {
  align-items: center;
  border-bottom: 1px solid var(--line-light);
  display: flex;
  gap: 20px;
  justify-content: space-between;
  padding: 14px 0;
}

.project-file-list li > div {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}

.project-file-list li strong {
  font-size: 11px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.project-file-list li small {
  font-family: "Courier New", monospace;
  font-size: 8px;
  opacity: 0.52;
}

.project-file-list button {
  background: transparent;
  border-bottom: 1px solid currentColor;
  color: inherit;
  flex: none;
  font-size: 9px;
  padding: 5px 0;
}

.project-requirements {
  position: relative;
}

.project-requirements textarea {
  min-height: 220px;
  padding-bottom: 38px;
}

.project-requirements small {
  bottom: 13px;
  font-family: "Courier New", monospace;
  font-size: 8px;
  opacity: 0.48;
  position: absolute;
  right: 15px;
}

.project-submit {
  align-items: center;
  background: var(--yellow);
  display: flex;
  justify-content: space-between;
  padding: 26px;
}

.project-submit > div strong {
  font-size: 17px;
}

.project-submit > div p {
  font-size: 9px;
  margin: 7px 0 0;
  opacity: 0.58;
}

.project-submit .button {
  border-radius: 0;
  margin: 0;
}

.project-submit .button:disabled {
  opacity: 0.52;
  transform: none;
}

.project-form-message {
  background: #5a4e40;
  color: var(--paper-bright);
  font-size: 11px;
  margin: 12px 0 0;
  padding: 18px;
}

.subpage-cta {
  align-items: end;
  display: grid;
  gap: 4vw;
  grid-template-columns: 180px 1fr auto;
  padding: 90px 5vw;
}

.subpage-cta > p {
  font-family: "Courier New", monospace;
  font-size: 8px;
  letter-spacing: 0.08em;
}

.subpage-cta h2 {
  font-family: "Arial Black", var(--display);
  font-size: clamp(40px, 5.5vw, 80px);
  letter-spacing: -0.065em;
  line-height: 0.95;
  margin: 0;
}

.plugin-cta {
  background: var(--yellow);
}

.course-cta {
  background: var(--red);
  color: var(--paper-bright);
}

.subpage-footer {
  align-items: center;
  background: #4d4437;
  color: var(--paper-bright);
  display: flex;
  font-family: "Courier New", monospace;
  font-size: 9px;
  justify-content: space-between;
  letter-spacing: 0.07em;
  padding: 30px 5vw;
}

/* Desktop-to-mobile responsive preview. */
.device-preview-toggle {
  align-items: center;
  background: var(--paper-bright);
  border: 1px solid rgba(58, 52, 42, 0.45);
  bottom: 24px;
  box-shadow: 5px 6px 0 rgba(58, 52, 42, 0.24);
  color: var(--ink);
  display: flex;
  font-size: 12px;
  font-weight: 800;
  gap: 10px;
  letter-spacing: 0.08em;
  min-height: 46px;
  padding: 0 17px;
  position: fixed;
  right: 24px;
  transition:
    background 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
  z-index: 180;
}

.device-preview-toggle span {
  font-family: var(--body);
  font-size: 23px;
  line-height: 1;
  transform: rotate(180deg);
}

.device-preview-toggle:hover,
.device-preview-toggle:focus-visible {
  background: #fff9ed;
  box-shadow: 2px 3px 0 rgba(58, 52, 42, 0.24);
  transform: translate(3px, 3px);
}

.device-preview-toggle:focus-visible,
.device-preview-toolbar button:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
}

.device-preview-overlay {
  align-items: center;
  background: rgba(35, 31, 25, 0.88);
  display: none;
  flex-direction: column;
  inset: 0;
  justify-content: center;
  padding: 28px;
  position: fixed;
  z-index: 400;
}

.device-preview-overlay.is-open {
  display: flex;
}

.device-preview-toolbar {
  align-items: center;
  background: #4d4437;
  color: var(--paper-bright);
  display: flex;
  justify-content: space-between;
  max-width: 430px;
  padding: 12px 14px 12px 18px;
  width: 100%;
}

.device-preview-toolbar small,
.device-preview-toolbar strong {
  display: block;
}

.device-preview-toolbar small {
  font-family: "Courier New", monospace;
  font-size: 7px;
  letter-spacing: 0.12em;
  opacity: 0.62;
}

.device-preview-toolbar strong {
  font-size: 11px;
  letter-spacing: 0.04em;
  margin-top: 4px;
}

.device-preview-toolbar button {
  align-items: center;
  background: var(--red);
  color: var(--paper-bright);
  display: flex;
  font-size: 11px;
  gap: 12px;
  min-height: 40px;
  padding: 0 12px;
}

.device-preview-toolbar button span {
  font-family: var(--body);
  font-size: 22px;
  line-height: 1;
}

.device-preview-phone {
  background: #171411;
  border: 8px solid #171411;
  border-radius: 0 0 24px 24px;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.45);
  height: min(844px, calc(100vh - 130px));
  max-width: 430px;
  overflow: hidden;
  width: min(430px, calc(100vw - 36px));
}

.device-preview-phone iframe {
  background: var(--paper);
  border: 0;
  display: block;
  height: 100%;
  width: 100%;
}

@media (max-width: 620px) {
  .device-preview-toggle {
    display: none;
  }
}

/* One compact return-to-top control across every DOG DEN page. */
.back-to-top {
  align-items: center;
  background: #4d4437;
  border: 1px solid rgba(255, 247, 232, 0.52);
  border-radius: 50%;
  bottom: 86px;
  box-shadow: 0 10px 26px rgba(35, 31, 25, 0.2);
  color: #fff7e8;
  cursor: pointer;
  display: flex;
  height: 46px;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  position: fixed;
  right: 24px;
  transform: translateY(10px);
  transition: opacity 160ms ease, transform 160ms ease, background 160ms ease;
  width: 46px;
  z-index: 480;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* Plugin covers and product manuals */
.plugin-product-cover {
  align-self: center;
  background: #17140f;
  border: 1px solid rgba(238, 229, 211, 0.52);
  color: var(--paper-bright);
  display: block;
  min-width: 0;
  overflow: hidden;
  position: relative;
  text-decoration: none;
}

.plugin-product-cover img {
  aspect-ratio: 16 / 10;
  display: block;
  height: auto;
  object-fit: contain;
  transition: transform 260ms ease, filter 260ms ease;
  width: 100%;
}

.plugin-product-cover > span {
  align-items: center;
  backdrop-filter: blur(8px);
  background: rgba(23, 20, 15, 0.82);
  bottom: 0;
  display: flex;
  font-family: var(--font-menu);
  font-size: 11px;
  justify-content: space-between;
  left: 0;
  min-height: 44px;
  padding: 0 14px;
  position: absolute;
  right: 0;
}

.plugin-product-cover i {
  font-family: var(--display);
  font-size: 16px;
  font-style: normal;
}

.plugin-product-cover:hover img,
.plugin-product-cover:focus-visible img {
  filter: brightness(1.08);
  transform: scale(1.018);
}

.plugin-product-cover:focus-visible {
  outline: 2px solid var(--paper-bright);
  outline-offset: 3px;
}

.plugin-detail-actions a,
.plugin-product-actions a,
.plugin-product-actions button {
  align-items: center;
  background: transparent;
  border: 1px solid rgba(238, 229, 211, 0.5);
  color: inherit;
  cursor: pointer;
  display: inline-flex;
  font-family: var(--font-menu);
  font-size: 11px;
  justify-content: center;
  min-height: 42px;
  padding: 0 17px;
  text-decoration: none;
}

.plugin-detail-actions a:hover,
.plugin-detail-actions a:focus-visible,
.plugin-product-actions a:hover,
.plugin-product-actions a:focus-visible,
.plugin-product-actions button:hover,
.plugin-product-actions button:focus-visible {
  background: var(--paper-bright);
  color: var(--ink);
  outline: none;
}

.plugin-product-page {
  background: #d7bd91;
  color: var(--ink);
}

.plugin-product-hero {
  align-items: center;
  background:
    linear-gradient(rgba(58, 52, 42, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(58, 52, 42, 0.07) 1px, transparent 1px),
    radial-gradient(circle at 75% 24%, rgba(245, 236, 218, 0.72), transparent 32%),
    #d7bd91;
  background-size: 72px 72px, 72px 72px, auto, auto;
  border-bottom: 1px solid var(--line-dark);
  display: grid;
  gap: clamp(36px, 6vw, 94px);
  grid-template-columns: minmax(300px, 0.7fr) minmax(430px, 1.3fr);
  min-height: 650px;
  padding: 76px 5vw 64px;
}

.plugin-product-heading > p,
.plugin-manual-library > div:first-child > p {
  font-family: "Courier New", monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  margin: 0 0 25px;
}

.plugin-product-heading h1 {
  font-family: "Arial Black", var(--display);
  font-size: clamp(58px, 7vw, 112px);
  letter-spacing: -0.07em;
  line-height: 0.84;
  margin: 0;
  overflow-wrap: anywhere;
}

.plugin-product-heading > strong {
  display: block;
  font-family: var(--font-menu);
  font-size: clamp(18px, 1.6vw, 25px);
  font-weight: 400;
  line-height: 1.5;
  margin: 34px 0 18px;
}

.plugin-product-heading > span {
  display: block;
  font-size: 15px;
  line-height: 1.85;
  max-width: 600px;
}

.plugin-product-image {
  background: transparent;
  border: 0;
  box-shadow: none;
  margin: 0;
}

.plugin-product-image img {
  display: block;
  height: auto;
  width: 100%;
}

.plugin-product-body {
  background: #efe4ce;
  padding: 64px 5vw 84px;
}

.plugin-product-points {
  border-bottom: 1px solid var(--line-dark);
  border-top: 1px solid var(--line-dark);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.plugin-product-points article {
  border-right: 1px solid var(--line-dark);
  min-height: 250px;
  padding: 30px;
}

.plugin-product-points article:last-child {
  border-right: 0;
}

.plugin-product-points small {
  color: var(--red);
  font-family: "Courier New", monospace;
  font-size: 10px;
}

.plugin-product-points h2 {
  font-family: var(--display);
  font-size: clamp(29px, 2.6vw, 43px);
  font-weight: 400;
  line-height: 1.05;
  margin: 38px 0 18px;
}

.plugin-product-points p,
.plugin-manual-library > div:first-child > span,
.plugin-manual-library-grid p {
  font-size: 14px;
  line-height: 1.75;
  margin: 0;
}

.plugin-manual-library {
  display: grid;
  gap: 6vw;
  grid-template-columns: minmax(230px, 0.55fr) minmax(0, 1.45fr);
  padding: 76px 0 42px;
}

.plugin-manual-library h2 {
  font-family: var(--display);
  font-size: clamp(58px, 7vw, 112px);
  font-weight: 400;
  letter-spacing: -0.06em;
  line-height: 0.82;
  margin: 0 0 28px;
}

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

.plugin-manual-library-grid a {
  background: #f8f0df;
  border: 1px solid var(--line-dark);
  color: var(--ink);
  display: flex;
  flex-direction: column;
  min-height: 250px;
  padding: 26px;
  text-decoration: none;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.plugin-manual-library-grid a:hover,
.plugin-manual-library-grid a:focus-visible {
  background: #302a23;
  color: var(--paper-bright);
  outline: none;
  transform: translateY(-3px);
}

.plugin-manual-library-grid small {
  font-family: "Courier New", monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
  opacity: 0.7;
}

.plugin-manual-library-grid strong {
  font-family: var(--font-menu);
  font-size: clamp(22px, 2.3vw, 34px);
  font-weight: 400;
  line-height: 1.2;
  margin: 40px 0 16px;
}

.plugin-manual-library-grid a > span {
  align-items: center;
  border-top: 1px solid currentColor;
  display: flex;
  font-family: var(--font-menu);
  font-size: 13px;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 18px;
}

.plugin-manual-library-grid i {
  font-family: var(--display);
  font-size: 18px;
  font-style: normal;
}

.plugin-product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.plugin-product-actions a,
.plugin-product-actions button {
  border-color: var(--ink);
  min-height: 52px;
  min-width: 150px;
}

@media (max-width: 900px) {
  .plugin-product-hero {
    gap: 44px;
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .plugin-manual-library {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .plugin-product-cover img {
    aspect-ratio: 16 / 11;
  }

  .plugin-detail-actions a,
  .plugin-detail-actions button {
    font-size: 10px;
    padding: 0 8px;
  }

  .plugin-product-hero {
    padding: 42px 20px 48px;
  }

  .plugin-product-heading h1 {
    font-size: clamp(48px, 15vw, 72px);
  }

  .plugin-product-heading > strong {
    font-size: 18px;
  }

  .plugin-product-heading > span {
    font-size: 14px;
  }

  .plugin-product-body {
    padding: 38px 20px 55px;
  }

  .plugin-product-points {
    grid-template-columns: 1fr;
  }

  .plugin-product-points article {
    border-bottom: 1px solid var(--line-dark);
    border-right: 0;
    min-height: 0;
    padding: 25px 4px 30px;
  }

  .plugin-product-points article:last-child {
    border-bottom: 0;
  }

  .plugin-product-points h2 {
    margin-top: 20px;
  }

  .plugin-manual-library {
    gap: 32px;
    padding: 54px 0 34px;
  }

  .plugin-manual-library h2 {
    font-size: 64px;
  }

  .plugin-manual-library-grid {
    grid-template-columns: 1fr;
  }

  .plugin-manual-library-grid a {
    min-height: 220px;
    padding: 22px;
  }

  .plugin-product-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .plugin-product-actions a,
  .plugin-product-actions button {
    width: 100%;
  }
}

.back-to-top > span {
  font-family: Arial, sans-serif;
  font-size: 22px;
  line-height: 1;
}

.back-to-top > small {
  background: #332d26;
  border: 1px solid rgba(255, 247, 232, 0.3);
  color: #fff7e8;
  font: 400 11px var(--font-menu);
  opacity: 0;
  padding: 7px 9px;
  pointer-events: none;
  position: absolute;
  right: calc(100% + 9px);
  transition: opacity 150ms ease;
  white-space: nowrap;
}

.back-to-top:hover,
.back-to-top:focus-visible {
  background: #a66d51;
}

.back-to-top:hover > small,
.back-to-top:focus-visible > small {
  opacity: 1;
}

@media (max-width: 620px) {
  .back-to-top {
    bottom: 82px;
    height: 42px;
    right: 14px;
    width: 42px;
  }

  .back-to-top > small {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .back-to-top {
    transition: none;
  }
}

/* Portrait testimonials: equal circular portraits with an editorial quote layout. */
.testimonial-item.is-expandable {
  cursor: pointer;
  min-height: 360px;
  overflow: hidden;
  padding: clamp(22px, 3vw, 38px);
  position: relative;
}

.testimonial-lead {
  align-items: center;
  display: grid;
  gap: clamp(24px, 4vw, 48px);
  grid-template-columns: clamp(150px, 16vw, 210px) minmax(0, 1fr);
}

.testimonial-preview-image {
  aspect-ratio: 1 / 1;
  background: rgba(247, 239, 223, 0.6);
  border: 1px solid rgba(58, 52, 42, 0.22);
  border-radius: 50%;
  box-shadow: 0 18px 42px rgba(61, 46, 34, 0.14);
  overflow: hidden;
  width: 100%;
}

.testimonial-preview-image img {
  display: block;
  filter: grayscale(0.06) sepia(0.08) contrast(0.98);
  height: 100%;
  object-fit: cover;
  object-position: 50% 9%;
  opacity: 0.9;
  transition:
    opacity 180ms ease,
    transform 240ms ease;
  width: 100%;
}

.testimonial-item.is-expandable:hover .testimonial-preview-image img,
.testimonial-item.is-expandable:focus-visible .testimonial-preview-image img {
  opacity: 1;
  transform: scale(1.025);
}

.testimonial-preview-copy {
  min-width: 0;
}

.testimonial-item.is-expandable blockquote {
  display: -webkit-box;
  font-size: clamp(20px, 1.8vw, 27px);
  font-style: italic;
  letter-spacing: -0.025em;
  line-height: 1.48;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.testimonial-item.is-expandable footer {
  align-items: flex-start;
  border-top: 2px solid rgba(58, 52, 42, 0.72);
  display: grid;
  gap: 5px;
  grid-template-columns: 1fr;
  margin-top: clamp(28px, 4vw, 44px);
  padding: 20px 0 0;
}

.testimonial-item.is-expandable .testimonial-client strong {
  font-size: clamp(16px, 1.4vw, 20px);
  font-style: italic;
  font-weight: 600;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.testimonial-item.is-expandable footer > span {
  font-size: 11px;
  letter-spacing: 0.08em;
  opacity: 0.72;
  text-align: left;
}

.testimonial-item.is-expandable:focus-visible {
  outline: 2px solid rgba(58, 52, 42, 0.72);
  outline-offset: -4px;
}

.testimonial-expand-label {
  align-self: flex-start;
  font-family: var(--font-menu);
  font-size: 11px;
  letter-spacing: 0.08em;
  margin-top: 14px;
  opacity: 0.68;
}

.testimonial-modal-backdrop {
  align-items: center;
  backdrop-filter: blur(12px);
  background: rgba(38, 31, 25, 0.76);
  display: flex;
  inset: 78px 0 0;
  justify-content: center;
  padding: 16px 20px 20px;
  position: fixed;
  isolation: isolate;
  z-index: 2147483000;
}

.testimonial-modal-backdrop[hidden] {
  display: none;
}

.testimonial-modal {
  background: #e8d8bb;
  border: 1px solid rgba(247, 239, 223, 0.72);
  box-shadow: 0 34px 110px rgba(16, 12, 9, 0.46);
  display: grid;
  gap: clamp(26px, 4vw, 48px);
  grid-template-columns: minmax(190px, 260px) minmax(0, 1fr);
  max-height: min(680px, calc(100dvh - 114px));
  overflow-y: auto;
  padding: clamp(40px, 5vw, 60px);
  position: relative;
  width: min(960px, calc(100vw - 48px));
}

.testimonial-modal-close {
  align-items: center;
  background: rgba(247, 239, 223, 0.88);
  border: 1px solid rgba(58, 52, 42, 0.5);
  border-radius: 50%;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  font-family: sans-serif !important;
  font-size: 24px;
  height: 46px;
  justify-content: center;
  line-height: 1;
  padding: 0 0 4px;
  position: absolute;
  right: 14px;
  top: 14px;
  transition:
    background 180ms ease,
    color 180ms ease,
    transform 180ms ease;
  width: 46px;
  z-index: 3;
}

.testimonial-modal-close:hover,
.testimonial-modal-close:focus-visible {
  background: var(--ink);
  color: var(--paper-bright);
  transform: rotate(5deg);
}

.testimonial-modal-image {
  align-self: center;
  aspect-ratio: 1 / 1;
  background: rgba(247, 239, 223, 0.5);
  border: 1px solid rgba(58, 52, 42, 0.24);
  border-radius: 50%;
  box-shadow: 0 22px 56px rgba(61, 46, 34, 0.16);
  min-height: 0;
  overflow: hidden;
  width: 100%;
}

.testimonial-modal-image img {
  display: block;
  height: 100%;
  object-fit: cover;
  object-position: 50% 9%;
  opacity: 0.96;
  width: 100%;
}

.testimonial-modal-content {
  align-self: center;
  max-height: none;
  overflow: visible;
  padding: 0;
}

.testimonial-modal-kicker {
  display: block;
  font-family: var(--display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  margin-bottom: clamp(24px, 4vw, 42px);
}

.testimonial-modal blockquote {
  font-family: var(--serif);
  font-size: clamp(21px, 2vw, 30px);
  font-style: italic;
  letter-spacing: -0.035em;
  line-height: 1.48;
  margin: 0;
}

.testimonial-modal-credit {
  border-top: 3px solid rgba(58, 52, 42, 0.84);
  display: flex;
  flex-direction: column;
  gap: 6px;
  grid-column: 1 / -1;
  margin-top: 0;
  padding-top: 22px;
}

.testimonial-modal-credit strong {
  font-family: var(--font-menu);
  font-size: clamp(19px, 2vw, 25px);
  font-style: italic;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.testimonial-modal-credit span {
  font-family: var(--display);
  font-size: 12px;
  letter-spacing: 0.1em;
  opacity: 0.72;
  text-transform: uppercase;
}

@media (max-width: 760px) {
  .testimonial-item.is-expandable {
    min-height: 300px;
    padding: 24px;
  }

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

  .testimonial-item.is-expandable blockquote {
    font-size: clamp(17px, 4.6vw, 21px);
    -webkit-line-clamp: 4;
  }

  .testimonial-expand-label {
    font-size: 10px;
    margin-top: 10px;
  }

  .testimonial-item.is-expandable footer {
    margin-top: 24px;
    padding-top: 15px;
  }

  .testimonial-modal-backdrop {
    inset: 68px 0 0;
    padding: 8px 8px max(8px, env(safe-area-inset-bottom));
  }

  .testimonial-modal {
    grid-template-columns: 1fr;
    gap: 16px;
    max-height: calc(100dvh - 84px);
    padding: 48px 18px 22px;
    width: calc(100vw - 16px);
  }

  .testimonial-modal-close {
    font-size: 22px;
    height: 40px;
    right: 8px;
    top: 8px;
    width: 40px;
  }

  .testimonial-modal-image {
    aspect-ratio: 1 / 1;
    margin: 0 auto;
    min-height: 0;
    width: min(44vw, 170px);
  }

  .testimonial-modal-image img {
    object-position: 50% 5%;
  }

  .testimonial-modal-content {
    max-height: none;
    padding: 0;
  }

  .testimonial-modal-kicker {
    margin-bottom: 22px;
  }

  .testimonial-modal blockquote {
    font-size: clamp(18px, 5.2vw, 23px);
    line-height: 1.5;
  }

  .testimonial-modal-credit {
    margin-top: 2px;
    padding-top: 18px;
  }
}

footer {
  align-items: center;
  background: #765b45;
  color: var(--paper-bright);
  display: grid;
  gap: 35px;
  grid-template-columns: 1fr 1fr auto auto;
  padding: 34px 5vw;
}

.footer-logo {
  align-items: center;
  display: flex;
  font-family: Impact, "Arial Black", var(--display);
  font-size: 26px;
  gap: 13px;
  line-height: 0.85;
}

.footer-logo span {
  display: flex;
  flex-direction: column;
  font-family: var(--body);
  margin: 0;
}

.footer-logo strong {
  font-family: Impact, "Arial Black", var(--display);
  font-size: 25px;
  letter-spacing: -0.03em;
}

.footer-logo small {
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.12em;
  margin-top: 7px;
}

.footer-logo-image {
  border: 1px solid rgba(238, 229, 211, 0.42);
  height: 58px;
  object-fit: cover;
  width: 58px;
}

footer > p {
  font-size: 11px;
  margin: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  font-size: 10px;
  gap: 18px;
}

.copyright {
  font-family: "Courier New", monospace;
  font-size: 8px;
  opacity: 0.65;
}

@media (max-width: 1120px) {
  .site-header {
    grid-template-columns: 210px 1fr auto;
  }

  .desktop-nav a {
    padding-left: 7px;
    padding-right: 7px;
  }

  .header-cta {
    gap: 12px;
    padding: 0 18px;
  }

  .plugin-card {
    min-height: 560px;
  }

  .plugin-face {
    grid-template-columns: 85px 1fr;
    padding: 18px;
  }
}

@media (max-width: 1180px) {
  html {
    scroll-padding-top: 68px;
  }

  .site-header {
    grid-template-columns: 1fr 68px;
    height: 68px;
  }

  .wordmark {
    border-right: 0;
  }

  .desktop-nav,
  .header-cta {
    display: none;
  }

  .menu-toggle {
    align-items: center;
    background: var(--red);
    display: flex;
    flex-direction: column;
    gap: 7px;
    justify-content: center;
    position: relative;
    z-index: 52;
  }

  .menu-toggle span {
    background: var(--paper-bright);
    display: block;
    height: 1px;
    transition: transform 180ms ease;
    width: 23px;
  }

  .menu-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(4px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-4px) rotate(-45deg);
  }

  .mobile-nav {
    background: var(--ink);
    display: flex;
    flex-direction: column;
    left: 0;
    opacity: 0;
    padding: 95px 5vw 30px;
    pointer-events: none;
    position: fixed;
    right: 0;
    top: 0;
    transform: translateY(-20px);
    transition:
      opacity 200ms ease,
      transform 200ms ease;
    z-index: 51;
  }

  .mobile-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .mobile-nav a {
    border-top: 1px solid var(--line-light);
    font-family: "Arial Black", var(--display);
    font-size: 29px;
    letter-spacing: -0.05em;
    padding: 12px 0;
  }

  .mobile-nav a span {
    display: inline-block;
    font-family: "Courier New", monospace;
    font-size: 8px;
    margin-right: 20px;
    opacity: 0.5;
    width: 25px;
  }

  .hero {
    height: 900px;
    min-height: 900px;
    padding-top: 68px;
  }

  .hero-logo-card {
    right: 4vw;
    top: 145px;
    width: clamp(190px, 24vw, 270px);
  }

  .hero-content {
    padding-top: 116px;
  }

  .hero h1 {
    font-size: clamp(100px, 20vw, 168px);
    margin-top: 80px;
  }

  .subpage-hero h1 {
    font-size: clamp(78px, 12vw, 145px);
  }

  .courses-subhero h1 {
    font-size: clamp(66px, 9.5vw, 116px);
  }

  .demos-subhero h1 {
    font-size: clamp(76px, 11vw, 134px);
  }

  .hero-bottom {
    width: 100%;
  }

  .section-heading,
  .pricing-top {
    gap: 60px;
    grid-template-columns: 1fr;
  }

  .section-ryo {
    gap: 58px;
    grid-template-columns: 1fr;
  }

  .ryo-profile {
    max-width: 680px;
  }

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

  .collaborations {
    grid-template-columns: 180px 1fr;
  }

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

  .equipment-heading {
    gap: 55px;
    grid-template-columns: 1fr;
  }

  .equipment-grid {
    grid-template-columns: 1fr;
  }

  .equipment-card + .equipment-card {
    border-top: 0;
  }

  .plugin-grid {
    grid-template-columns: 1fr;
  }

  .plugin-card {
    min-height: 500px;
  }

  .plugin-face {
    grid-template-columns: 120px 1fr;
    min-height: 170px;
  }

  .residents-heading {
    gap: 55px;
    grid-template-columns: 1fr;
  }

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

  .art-card:nth-child(2),
  .art-card:nth-child(6) {
    transform: translateY(30px) rotate(1.8deg);
  }

  .course-heading {
    grid-template-columns: 1fr;
  }

  .course-heading > p {
    max-width: 500px;
  }

  .course-card {
    grid-template-columns: 40px 1fr 1fr;
  }

  .course-copy {
    display: none;
  }

  .contact-grid {
    gap: 70px;
    grid-template-columns: 1fr;
  }

  .address-section {
    grid-template-columns: 1fr;
  }

  .address-map {
    border-bottom: 1px solid var(--line-dark);
    border-right: 0;
    min-height: 500px;
  }

  footer {
    grid-template-columns: 1fr auto;
  }
}

@media (max-width: 620px) {
  .wordmark {
    padding-left: 16px;
  }

  .wordmark-mark {
    height: 32px;
    width: 32px;
  }

  .wordmark-logo {
    height: 40px;
    width: 40px;
  }

  .hero {
    height: 820px;
    min-height: 820px;
  }

  .hero::before {
    background:
      linear-gradient(90deg, rgba(58, 52, 42, 0.94) 0%, rgba(58, 52, 42, 0.48) 78%),
      linear-gradient(0deg, rgba(58, 52, 42, 0.9) 0%, transparent 48%);
  }

  .hero-logo-card {
    box-shadow: 9px 10px 0 rgba(58, 52, 42, 0.24);
    padding: 5px;
    right: 18px;
    top: 138px;
    width: 120px;
  }

  .hero-content {
    padding: 108px 20px 83px;
  }

  .eyebrow {
    font-size: 8px;
    letter-spacing: 0.1em;
  }

  .hero h1 {
    font-size: clamp(90px, 29vw, 130px);
    margin-top: 94px;
  }

  .hero h1 span:nth-child(2) {
    margin-left: 0.2em;
  }

  .hero-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 25px;
  }

  .hero-copy {
    font-size: 21px;
  }

  .hero-actions {
    align-items: center;
    flex-direction: row;
    width: 100%;
  }

  .button-primary {
    min-width: auto;
  }

  .text-link {
    font-size: 9px;
  }

  .hero-index {
    left: 20px;
    right: 20px;
  }

  .hero-index span:nth-child(2) {
    display: none;
  }

  .ticker-track {
    font-size: 24px;
    padding: 13px 0;
  }

  .section {
    padding: 82px 20px;
  }

  .section h2 {
    font-size: clamp(46px, 14vw, 72px);
  }

  .section-heading,
  .pricing-top {
    gap: 40px;
    margin-bottom: 55px;
  }

  .section-label {
    margin-bottom: 25px;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 310px;
  }

  .service-number {
    margin-bottom: 48px;
  }

  .section-ryo {
    gap: 45px;
  }

  .ryo-title h2 {
    font-size: clamp(75px, 24vw, 112px);
  }

  .ryo-profile .ryo-lead {
    font-size: 23px;
  }

  .award-grid {
    grid-template-columns: 1fr;
  }

  .award-grid article {
    min-height: 150px;
  }

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

  .price-row {
    gap: 13px;
    grid-template-columns: 28px 1fr auto;
    min-height: 105px;
    padding: 14px 8px;
  }

  .price-tag {
    display: none;
  }

  .price-name strong {
    font-size: 17px;
  }

  .price-name small {
    font-size: 8px;
  }

  .price-value {
    align-items: flex-end;
    flex-direction: column;
  }

  .price-value strong {
    font-size: 29px;
  }

  .price-value small {
    margin-left: 0;
  }

  .price-notes {
    flex-direction: column;
    gap: 8px;
  }

  .price-category-grid {
    grid-template-columns: 1fr;
  }

  .price-category-card {
    min-height: 390px;
  }

  .price-category-card + .price-category-card {
    border-top: 0;
  }

  .price-category-card h3 {
    font-size: 48px;
    margin-top: 50px;
  }

  .equipment-heading {
    gap: 35px;
    margin-bottom: 50px;
  }

  .equipment-card {
    padding: 22px 18px;
  }

  .equipment-card h3 {
    font-size: 30px;
  }

  .equipment-demo-callout {
    align-items: flex-start;
    flex-direction: column;
    gap: 25px;
    padding: 24px 20px;
  }

  .plugins-heading {
    display: block;
    margin-bottom: 50px;
  }

  .plugins-heading > div {
    align-items: flex-start;
    flex-direction: column;
    gap: 28px;
  }

  .plugins-heading h2 {
    font-size: clamp(47px, 14vw, 68px);
  }

  .plugin-card {
    min-height: 520px;
  }

  .plugin-face {
    grid-template-columns: 95px 1fr;
    margin: 35px 0;
    padding: 16px;
  }

  .residents-heading {
    gap: 34px;
    margin-bottom: 55px;
  }

  .art-grid {
    gap: 25px 12px;
    grid-template-columns: repeat(2, 1fr);
    padding: 5px 3px 20px;
  }

  .art-card {
    box-shadow: 6px 6px 0 rgba(58, 52, 42, 0.14);
    padding: 7px 7px 10px;
  }

  .art-card:nth-child(2),
  .art-card:nth-child(6) {
    transform: translateY(18px) rotate(1.8deg);
  }

  .art-card figcaption {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
    margin-top: 8px;
    padding-top: 8px;
  }

  .art-card figcaption strong {
    font-size: 11px;
  }

  .course-heading {
    gap: 30px;
    margin-bottom: 55px;
  }

  .course-card {
    align-items: start;
    gap: 12px;
    grid-template-columns: 25px 1fr;
    padding: 25px 0;
  }

  .course-meta {
    grid-column: 2;
  }

  .contact-marquee {
    padding: 22px 0 15px;
  }

  .contact-marquee span {
    font-size: 85px;
  }

  .contact-grid {
    padding: 78px 20px 90px;
  }

  .contact-copy h2 {
    font-size: 57px;
  }

  .contact-links > a,
  .contact-links > div {
    gap: 10px;
    grid-template-columns: 1fr auto;
    min-height: 92px;
  }

  .contact-links span {
    grid-column: 1;
  }

  .contact-links strong {
    font-size: 13px;
    grid-column: 1;
  }

  .contact-links i {
    grid-column: 2;
    grid-row: 1 / 3;
  }

  .address-map {
    min-height: 390px;
  }

  .map-ring-one {
    height: 210px;
    width: 210px;
  }

  .map-ring-two {
    height: 330px;
    width: 330px;
  }

  .map-pin {
    height: 62px;
    width: 62px;
  }

  .address-copy {
    padding: 75px 20px;
  }

  .address-copy h2 {
    font-size: 53px;
  }

  footer {
    align-items: start;
    gap: 25px;
    grid-template-columns: 1fr;
    padding: 35px 20px;
  }
}

@media (min-width: 621px) and (max-width: 980px) {
  .price-category-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1180px) {
  .feature-teaser {
    grid-template-columns: 1fr 1fr;
  }

  .teaser-copy {
    grid-column: 1 / -1;
    max-width: 560px;
    padding-bottom: 0;
  }

  .course-teaser {
    gap: 55px;
    grid-template-columns: 1fr;
  }

  .course-teaser-copy {
    max-width: 560px;
  }

  .compact-profile {
    grid-template-columns: 0.8fr 1.2fr;
  }

  .compact-collabs {
    border-left: 0;
    border-top: 1px solid var(--line-dark);
    grid-column: 1 / -1;
    padding: 24px 0 0;
  }

  .subpage-hero {
    min-height: 610px;
  }

  .plugin-detail {
    gap: 30px;
    grid-template-columns: 45px 0.75fr 1fr;
  }

  .detail-status {
    display: none;
  }

  .course-detail-card {
    gap: 28px;
    grid-template-columns: 35px 1fr 1fr;
  }

  .course-detail-price {
    grid-column: 2 / -1;
  }

  .demo-track {
    gap: 28px;
    grid-template-columns: 35px 1fr;
  }

  .demo-player {
    grid-column: 2;
  }

  .project-hero {
    min-height: 560px;
  }

  .project-hero-title h1 {
    font-size: clamp(110px, 19vw, 205px);
  }

  .project-workspace {
    gap: 65px;
    grid-template-columns: 1fr;
    padding-top: 70px;
  }

  .project-steps {
    position: static;
  }

  .project-steps ol {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
  }

  .project-steps li {
    padding-right: 10px;
  }

  .subpage-cta {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .feature-teaser {
    gap: 38px;
    grid-template-columns: 1fr;
  }

  .feature-teaser h2 {
    font-size: 65px;
  }

  .teaser-control {
    grid-template-columns: 85px 1fr;
    min-height: 170px;
    padding: 20px;
  }

  .teaser-copy {
    grid-column: 1;
  }

  .course-teaser {
    min-height: auto;
  }

  .compact-profile {
    background-size: cover, 72vw;
    gap: 30px;
    grid-template-columns: 1fr;
    padding: 55px 20px;
  }

  .compact-profile-copy,
  .compact-collabs {
    border-left: 0;
    border-top: 1px solid var(--line-dark);
    padding: 24px 0 0;
  }

  .compact-collabs {
    grid-column: 1;
  }

  .subpage-header {
    grid-template-columns: 1fr auto;
    height: 68px;
  }

  .subpage-header .wordmark {
    padding-left: 16px;
  }

  .subpage-header nav {
    gap: 12px;
    padding: 0 16px;
  }

  .subpage-header nav a {
    font-size: 9px;
  }

  .subpage-header nav a:nth-child(3) {
    display: none;
  }

  .subpage-hero {
    min-height: 590px;
    padding: 65px 20px 40px;
  }

  .subpage-hero h1,
  .courses-subhero h1 {
    font-size: clamp(70px, 22vw, 105px);
    line-height: 0.8;
  }

  .subpage-hero-copy {
    gap: 16px;
    grid-template-columns: 1fr;
  }

  .plugin-subhero,
  .courses-subhero,
  .demos-subhero {
    background-size: cover, 105vw;
  }

  .plugin-detail-list,
  .course-detail-list {
    padding: 0 20px;
  }

  .plugin-detail {
    gap: 28px;
    grid-template-columns: 1fr;
    padding: 45px 0;
  }

  .plugin-detail-index {
    flex-direction: row;
  }

  .plugin-detail-face {
    min-height: 175px;
  }

  .plugin-detail-copy h2 {
    font-size: 49px;
  }

  .plugin-detail-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .plugin-detail-actions button {
    font-size: 10px;
    padding: 0 8px;
  }

  .course-detail-card {
    gap: 20px;
    grid-template-columns: 26px 1fr;
    padding: 42px 0;
  }

  .course-detail-copy,
  .course-detail-price {
    grid-column: 2;
  }

  .course-detail-price strong {
    font-size: 33px;
  }

  .course-info-hero {
    gap: 28px;
    grid-template-columns: 1fr;
    min-height: 580px;
    padding: 70px 20px 45px;
  }

  .course-info-hero h1 {
    font-size: clamp(54px, 16vw, 78px);
  }

  .course-info-hero > p:last-child {
    align-self: auto;
  }

  .course-info-placeholder {
    grid-template-columns: 1fr;
  }

  .course-info-empty {
    border-bottom: 1px solid var(--line-dark);
    border-right: 0;
    min-height: 540px;
    padding: 60px 20px;
  }

  .course-info-empty > div {
    margin-top: 60px;
  }

  .course-info-aside {
    padding: 48px 20px 65px;
  }

  .demo-list {
    padding: 0 20px;
  }

  .demo-list-intro {
    gap: 18px;
    grid-template-columns: 1fr;
    padding: 42px 0;
  }

  .demo-track {
    gap: 20px;
    grid-template-columns: 25px 1fr;
    padding: 38px 0 45px;
  }

  .demo-track-heading {
    font-size: clamp(37px, 12vw, 56px);
  }

  .demo-player {
    grid-column: 1 / -1;
  }

  .demo-waveform {
    height: 70px;
  }

  .demos-page {
    padding-bottom: 150px;
  }

  .floating-audio-player {
    bottom: 10px;
    gap: 10px 14px;
    padding: 12px 14px 14px;
    width: calc(100% - 20px);
  }

  .floating-player-progress {
    gap: 7px;
    grid-template-columns: 32px minmax(0, 1fr) 32px;
  }

  .floating-player-track {
    gap: 3px 9px;
  }

  .floating-player-track strong {
    font-size: 15px;
  }

  .floating-player-controls {
    gap: 5px;
  }

  .floating-player-controls button {
    min-width: 40px;
    padding: 0 8px;
  }

  .floating-player-controls .floating-player-auto {
    min-width: 42px;
    width: 42px;
  }

  .floating-player-controls small {
    display: none;
  }

  .project-hero {
    min-height: 500px;
    padding: 55px 20px 38px;
  }

  .project-hero-title {
    gap: 18px;
    margin: 38px 0;
  }

  .project-hero-title h1 {
    font-size: clamp(88px, 28vw, 125px);
  }

  .project-workspace {
    gap: 48px;
    padding: 60px 20px 82px;
  }

  .project-steps ol {
    grid-template-columns: repeat(2, 1fr);
  }

  .project-package-grid,
  .project-contact-grid {
    grid-template-columns: 1fr;
  }

  .project-package {
    min-height: 360px;
  }

  .project-dropzone {
    min-height: 250px;
    padding: 30px 18px;
  }

  .project-submit {
    align-items: flex-start;
    flex-direction: column;
    gap: 24px;
  }

  .subpage-cta {
    padding: 65px 20px;
  }

  .subpage-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
    padding: 28px 20px;
  }
}

@media (max-width: 980px) {
  .location-screen {
    grid-template-columns: 1fr;
    min-height: auto;
    scroll-margin-top: 0;
  }

  .location-map {
    border-bottom: 1px solid var(--line-dark);
    border-right: 0;
    min-height: 430px;
  }

  .location-map-art .map-ring-one {
    height: 280px;
    width: 280px;
  }

  .location-map-art .map-ring-two {
    height: 410px;
    width: 410px;
  }

  .location-panel {
    min-height: 650px;
    padding: 64px 5vw 54px;
  }
}

@media (max-width: 620px) {
  .location-map {
    min-height: 340px;
    padding: 28px 20px;
  }

  .location-map > small {
    bottom: 20px;
    left: 20px;
  }

  .location-map-art .map-ring-one {
    height: 205px;
    width: 205px;
  }

  .location-map-art .map-ring-two {
    height: 305px;
    width: 305px;
  }

  .location-logo-pin {
    box-shadow: 8px 9px 0 rgba(58, 52, 42, 0.2);
    width: 120px;
  }

  .location-panel {
    min-height: auto;
    padding: 52px 20px 58px;
  }

  .location-heading h2 {
    font-size: 47px;
  }

  .location-facts > a,
  .location-facts > div {
    gap: 7px 16px;
    grid-template-columns: 1fr auto;
    min-height: 82px;
  }

  .location-facts span,
  .location-facts strong {
    grid-column: 1;
  }

  .location-facts i {
    grid-column: 2;
    grid-row: 1 / 3;
  }

  .location-action {
    align-items: flex-start;
    flex-direction: column;
    margin-top: 12px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* Visual refinement: quieter surfaces, stronger hierarchy, clearer actions. */
.site-header {
  grid-template-columns: 260px 1fr auto;
}

.desktop-nav {
  gap: 4px;
  justify-content: center;
}

.desktop-nav a {
  font-size: 12px;
  padding-left: 10px;
  padding-right: 10px;
}

.hero::before {
  opacity: 0.58;
}

.hero-content,
.hero-index {
  margin-left: auto;
  margin-right: auto;
  max-width: 1280px;
}

.hero-content {
  padding-left: 5vw;
  padding-right: 5vw;
}

.section {
  padding-left: max(24px, calc((100vw - 1280px) / 2));
  padding-right: max(24px, calc((100vw - 1280px) / 2));
}

.section h2 {
  font-family: var(--serif);
  font-size: clamp(52px, 6vw, 92px);
  font-weight: 700;
  letter-spacing: -0.06em;
}

.section-label {
  font-family: var(--display);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.11em;
  margin-bottom: 25px;
}

.section-label::before {
  height: 2px;
  margin-right: 15px;
  width: 54px;
}

.location-heading h2 {
  font-family: var(--serif);
  font-weight: 700;
}

.compact-profile-heading h2 {
  font-family: var(--serif);
  font-weight: 700;
}

.section-services,
.section-courses {
  background-image: none;
}

.section-heading,
.pricing-top,
.equipment-heading,
.course-teaser {
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
}

.section-heading {
  margin-bottom: 66px;
}

.service-grid,
.price-category-grid,
.equipment-grid {
  border: 0;
  gap: 14px;
  margin-left: auto;
  margin-right: auto;
  max-width: 1180px;
}

.service-card,
.price-category-card,
.equipment-card {
  border: 1px solid rgba(58, 52, 42, 0.18);
  border-radius: 5px;
  box-shadow: 0 10px 24px rgba(58, 52, 42, 0.08);
}

.service-card {
  background: rgba(238, 229, 211, 0.56);
  min-height: 320px;
}

.service-card:hover {
  background: var(--paper-bright);
  color: var(--ink);
  box-shadow: 0 16px 30px rgba(58, 52, 42, 0.14);
  transform: translateY(-4px);
}

.service-number {
  margin-bottom: 54px;
}

.service-card p {
  font-size: 14px;
}

.section-pricing {
  background-image: none;
}

.price-category-card {
  background: var(--paper-bright);
  min-height: 410px;
}

.price-category-card h3 {
  margin-top: 54px;
}

.price-category-card:hover {
  background: #fff9ec;
}

.price-category-bottom {
  border-top-color: rgba(58, 52, 42, 0.28);
}

.section-equipment {
  background-image: none;
}

.equipment-card {
  background: rgba(238, 229, 211, 0.52);
}

.equipment-card li {
  border-bottom-color: rgba(58, 52, 42, 0.14);
}

.section-courses {
  background-color: var(--paper-bright);
}

.course-teaser {
  min-height: 360px;
}

.contact-section {
  background-image: none;
}

.subpage-hero {
  background-image: none;
  min-height: 560px;
}

.subpage-hero h1 {
  font-size: clamp(78px, 11vw, 170px);
}

.project-hero {
  min-height: 530px;
}

.project-workspace {
  margin-left: auto;
  margin-right: auto;
  max-width: 1280px;
}

.project-package {
  border-radius: 5px;
  min-height: 350px;
}

.project-dropzone,
.project-contact-grid input,
.project-requirements textarea {
  border-radius: 5px;
}

@media (max-width: 1180px) {
  .site-header {
    grid-template-columns: 1fr 68px;
  }

  .desktop-nav,
  .header-cta {
    display: none;
  }

  .hero-content {
    padding-left: 5vw;
    padding-right: 5vw;
  }

  .section {
    padding-left: 5vw;
    padding-right: 5vw;
  }
}

@media (max-width: 620px) {
  .section {
    padding-left: 20px;
    padding-right: 20px;
  }

  .section-heading {
    margin-bottom: 48px;
  }

  .testimonial-carousel {
    min-height: 430px;
    padding: 22px;
  }

  .testimonial-stage {
    margin-top: 38px;
  }

  .testimonial-item blockquote {
    font-size: 23px;
  }

  .testimonial-item.is-english blockquote {
    font-size: 18px;
    line-height: 1.5;
  }

  .testimonial-item footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .testimonial-item footer span {
    text-align: left;
  }

  .testimonial-controls button {
    height: 48px;
    width: 48px;
  }

  .section-label {
    font-size: 13px;
    margin-bottom: 22px;
  }

  .service-grid,
  .price-category-grid,
  .equipment-grid {
    gap: 10px;
  }

  .service-card {
    min-height: 280px;
  }

  .price-category-card {
    min-height: 350px;
  }

  .subpage-hero {
    min-height: 520px;
  }

  .project-hero {
    min-height: 470px;
  }
}

/* Brighter arrival, clearer listening page, booking calendar, and team strip. */
.site-header {
  background: rgba(247, 239, 223, 0.95);
  border-bottom-color: rgba(58, 52, 42, 0.18);
  color: var(--ink);
}

.wordmark {
  border-right-color: rgba(58, 52, 42, 0.18);
}

.wordmark-logo {
  border-color: rgba(58, 52, 42, 0.28);
}

.desktop-nav a {
  color: rgba(58, 52, 42, 0.7);
}

.desktop-nav a:hover {
  color: var(--ink);
}

.header-cta {
  background: var(--red-dark);
  color: #fff9ed;
}

.header-cta:hover {
  background: #806047;
}

.hero {
  background:
    radial-gradient(circle at 77% 30%, rgba(255, 250, 239, 0.96), transparent 24%),
    radial-gradient(circle at 70% 48%, rgba(255, 241, 212, 0.62), transparent 40%),
    linear-gradient(128deg, #f5ead7 0%, #e2cba8 60%, #cdb38b 100%);
  color: var(--ink);
}

.hero::before {
  background:
    linear-gradient(90deg, rgba(58, 52, 42, 0.07) 1px, transparent 1px),
    linear-gradient(rgba(58, 52, 42, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 251, 242, 0.22), rgba(58, 52, 42, 0.04));
  background-size:
    72px 72px,
    72px 72px,
    cover;
  opacity: 1;
}

.hero-grain {
  opacity: 0.055;
}

.hero-logo-card {
  box-shadow: 20px 22px 0 rgba(109, 81, 60, 0.15);
}

.hero h1 span:nth-child(2) {
  color: var(--red-dark);
}

.hero h1 span:nth-child(3) {
  -webkit-text-stroke-color: var(--ink);
}

.hero .text-link {
  border-bottom-color: rgba(58, 52, 42, 0.48);
}

.hero .button-primary {
  background: var(--red-dark);
  border-color: var(--red-dark);
  color: #fff9ed;
}

.hero .button-primary:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff9ed;
}

.hero-index {
  opacity: 0.65;
}

.demos-page {
  background: #f5ead8;
  color: var(--ink);
}

.header-brand-group,
.subpage-brand-group {
  align-items: center;
  display: flex;
  gap: 22px;
  min-width: 0;
}

.header-home-link {
  align-items: center;
  background: var(--paper-bright);
  border: 1px solid rgba(58, 52, 42, 0.34);
  box-shadow: 3px 3px 0 rgba(35, 31, 25, 0.22);
  color: var(--ink);
  display: inline-flex;
  flex: 0 0 auto;
  font-family: var(--display);
  font-size: 18px;
  font-weight: 900;
  justify-content: center;
  letter-spacing: 0.08em;
  min-height: 42px;
  padding: 0 18px;
  transition:
    background 180ms ease,
    box-shadow 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.site-header .header-home-link {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper-bright);
}

.header-home-link:hover {
  background: var(--red);
  border-color: var(--red-dark);
  box-shadow: 1px 1px 0 rgba(35, 31, 25, 0.24);
  color: #fff9ed;
  transform: translate(2px, 2px);
}

.header-home-link:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
}

.services-equipment {
  border-top: 1px solid rgba(58, 52, 42, 0.24);
  margin-top: 78px;
  padding-top: 62px;
}

.samples-page {
  background: #f5ead8;
  color: var(--ink);
  min-height: 100vh;
}

.sample-page-intro {
  align-items: end;
  background:
    radial-gradient(circle at 82% 26%, rgba(255, 250, 239, 0.9), transparent 25%),
    linear-gradient(118deg, #ead7b7 0%, #d8bc91 100%);
  border-bottom: 1px solid rgba(58, 52, 42, 0.22);
  display: grid;
  gap: 36px;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.62fr) auto;
  padding: 54px 5vw 48px;
}

.sample-page-intro h1 {
  color: #76543c;
  font-family: var(--display);
  font-size: clamp(64px, 8.5vw, 132px);
  letter-spacing: -0.07em;
  line-height: 0.82;
  margin: 22px 0 0;
}

.sample-page-intro > p {
  font-size: 13px;
  line-height: 1.75;
  margin: 0;
}

.sample-tool-shell {
  background: #f5ead8;
  padding: 0;
}

.sample-tool-frame {
  background: #f5ead8;
  border: 0;
  display: block;
  height: calc(100vh - 78px);
  width: 100%;
}

@media (max-width: 900px) {
  .header-brand-group,
  .subpage-brand-group {
    gap: 12px;
  }

  .header-home-link {
    font-size: 16px;
    min-height: 38px;
    padding: 0 14px;
  }

  .sample-page-intro {
    align-items: start;
    grid-template-columns: 1fr;
    padding: 42px 20px;
  }

  .sample-page-intro .button {
    width: max-content;
  }
}

@media (max-width: 620px) {
  .site-header .header-home-link {
    font-size: 15px;
  }

  .subpage-header .header-home-link {
    font-size: 14px;
    min-height: 34px;
    padding: 0 11px;
  }

  .services-equipment {
    margin-top: 52px;
    padding-top: 44px;
  }

  .sample-tool-shell {
    padding: 0;
  }

  .sample-tool-frame {
    height: calc(100vh - 68px);
  }
}

.demos-subhero {
  background:
    radial-gradient(circle at 82% 35%, rgba(255, 250, 239, 0.9), transparent 25%),
    linear-gradient(118deg, #ead7b7 0%, #d8bc91 100%);
  color: var(--ink);
}

.demos-subhero h1 {
  color: #76543c;
}

.demos-subhero .subpage-kicker,
.demos-subhero .subpage-hero-copy > span {
  color: rgba(58, 52, 42, 0.72);
}

.demo-list {
  background-color: #f5ead8;
  background-image:
    linear-gradient(rgba(58, 52, 42, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(58, 52, 42, 0.055) 1px, transparent 1px);
  color: var(--ink);
}

.demo-list-intro,
.demo-track {
  border-color: rgba(58, 52, 42, 0.24);
}

.demo-list-intro span,
.demo-track-number,
.demo-track-title small {
  opacity: 0.7;
}

.demo-track-title > span {
  color: var(--red-dark);
}

.demo-waveform {
  border-bottom-color: rgba(58, 52, 42, 0.2);
}

.demo-waveform i {
  background: var(--red-dark);
  opacity: 0.88;
}

.demo-player audio {
  accent-color: var(--red-dark);
  color-scheme: light;
}

.studio-team {
  background-color: #f4ead8;
  background-image:
    linear-gradient(rgba(58, 52, 42, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(58, 52, 42, 0.04) 1px, transparent 1px);
  display: grid;
  gap: 0;
  grid-template-columns: minmax(245px, 0.62fr) repeat(2, minmax(0, 1fr));
  padding: 0;
}

.studio-team .compact-profile-heading,
.team-member {
  padding: 58px 4vw 62px;
}

.studio-team .compact-profile-heading {
  background: #e5d0ad;
}

.studio-team .compact-profile-heading h2 {
  font-size: clamp(34px, 3.6vw, 58px);
}

.team-member {
  border-left: 1px solid var(--line-dark);
  min-width: 0;
}

.team-role {
  color: var(--red-dark);
  display: block;
  font-family: var(--display);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}

.team-member h3 {
  font-family: var(--serif);
  font-size: clamp(36px, 3.7vw, 60px);
  letter-spacing: -0.055em;
  line-height: 1;
  margin: 0 0 24px;
}

.team-member > p {
  font-size: 12px;
  line-height: 1.8;
  margin: 0;
}

.team-member .team-collabs {
  border-top: 1px solid var(--line-dark);
  margin-top: 22px;
  padding-top: 18px;
}

.team-member .team-collabs strong {
  font-weight: 800;
}

.team-collaboration-menu {
  border-bottom: 1px solid var(--line-dark);
  border-top: 1px solid var(--line-dark);
  margin-top: 22px;
}

.team-collaboration-menu summary {
  align-items: center;
  cursor: pointer;
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr auto 28px;
  list-style: none;
  padding: 17px 0;
}

.team-collaboration-menu summary::-webkit-details-marker {
  display: none;
}

.team-collaboration-menu summary > span {
  font-family: var(--font-menu);
  font-size: 14px;
  letter-spacing: 0.08em;
}

.team-collaboration-menu summary > small {
  font-family: var(--display);
  font-size: 9px;
  letter-spacing: 0.08em;
  opacity: 0.62;
  text-transform: uppercase;
}

.team-collaboration-menu summary > i {
  align-items: center;
  border: 1px solid rgba(58, 52, 42, 0.4);
  border-radius: 50%;
  display: inline-flex;
  font-style: normal;
  height: 28px;
  justify-content: center;
  width: 28px;
}

.team-collaboration-menu summary > i::before {
  content: "＋";
  font-family: sans-serif;
  font-size: 15px;
}

.team-collaboration-menu[open] summary > i::before {
  content: "−";
}

.team-collaboration-grid {
  display: grid;
  gap: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding-bottom: 18px;
}

.team-collaboration-grid > span {
  border-top: 1px solid rgba(58, 52, 42, 0.14);
  font-size: 11px;
  line-height: 1.45;
  min-width: 0;
  padding: 10px 8px 10px 0;
}

.team-collaboration-grid > span:nth-child(even) {
  padding-left: 10px;
}

.team-collaboration-grid > span > small {
  display: block;
  font-family: "Courier New", monospace;
  font-size: 8px;
  margin-bottom: 4px;
  opacity: 0.5;
}

.team-member .team-meta {
  color: rgba(58, 52, 42, 0.7);
  font-family: "Courier New", monospace;
  font-size: 9px;
  margin-top: 17px;
}

.booking-backdrop {
  align-items: center;
  background: rgba(35, 31, 25, 0.64);
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 24px;
  position: fixed;
  z-index: 100;
}

.booking-dialog {
  background: #f6eddc;
  border: 1px solid rgba(58, 52, 42, 0.42);
  box-shadow: 20px 24px 0 rgba(35, 31, 25, 0.22);
  color: var(--ink);
  max-height: calc(100svh - 48px);
  max-width: 920px;
  overflow: auto;
  width: 100%;
}

.booking-dialog-header {
  align-items: stretch;
  background: #e5d0ad;
  border-bottom: 1px solid var(--line-dark);
  box-shadow: 0 10px 24px rgba(35, 31, 25, 0.08);
  display: grid;
  gap: 30px;
  grid-template-columns: minmax(0, 1fr) minmax(190px, 230px) 48px;
  padding: 34px 38px 30px;
  position: sticky;
  top: 0;
  z-index: 4;
}

.booking-dialog-title {
  min-width: 0;
}

.booking-dialog-title > span,
.booking-form label > span,
.booking-slot-fieldset legend,
.booking-plan-fieldset legend,
.booking-duration-note > span {
  font-family: "Courier New", monospace;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.booking-dialog-header h2 {
  font-family: var(--serif);
  font-size: clamp(42px, 6vw, 72px);
  letter-spacing: -0.06em;
  line-height: 0.95;
  margin: 13px 0 10px;
}

.booking-dialog-header p {
  font-size: 12px;
  margin: 0;
}

.booking-price-panel {
  align-items: flex-end;
  border-left: 1px solid var(--line-dark);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 142px;
  padding-left: 26px;
  text-align: right;
}

.booking-price-panel > span {
  font-family: "Courier New", monospace;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.12em;
  opacity: 0.58;
}

.booking-price-panel > strong {
  font-family: var(--serif);
  font-size: clamp(40px, 4.2vw, 58px);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 0.95;
  white-space: nowrap;
}

.booking-price-panel > div {
  align-items: flex-end;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.booking-price-panel small {
  font-size: 10px;
  opacity: 0.66;
}

.booking-price-panel .booking-time-span {
  font-family: "Courier New", monospace;
  font-size: 11px;
  font-weight: 700;
  opacity: 1;
}

.booking-price-panel .booking-time-note {
  font-size: 9px;
}

.booking-price-panel b {
  background: var(--red-dark);
  color: #fff9ed;
  font-family: "Courier New", monospace;
  font-size: 8px;
  letter-spacing: 0.08em;
  padding: 5px 7px;
  white-space: nowrap;
}

.booking-close {
  align-items: center;
  background: transparent;
  border: 1px solid var(--ink);
  border-radius: 50%;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  flex: none;
  height: 48px;
  justify-content: center;
  padding: 0;
  position: relative;
  transition:
    background 180ms ease,
    color 180ms ease,
    transform 240ms cubic-bezier(0.2, 0.7, 0.2, 1);
  width: 48px;
}

.booking-close::before,
.booking-close::after {
  background: currentColor;
  content: "";
  height: 1.5px;
  left: 50%;
  position: absolute;
  top: 50%;
  width: 15px;
}

.booking-close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.booking-close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.booking-close:hover,
.booking-close:focus-visible {
  background: var(--ink);
  color: #f6eddc;
  transform: rotate(90deg);
}

.booking-close:focus-visible {
  outline: 2px solid var(--red-dark);
  outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
  .booking-close {
    transition: background 180ms ease, color 180ms ease;
  }
}

.booking-form {
  padding: 34px 38px 38px;
}

.booking-form label {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.booking-form input,
.booking-form select,
.booking-form textarea {
  background: rgba(255, 250, 240, 0.8);
  border: 1px solid rgba(58, 52, 42, 0.34);
  border-radius: 0;
  color: var(--ink);
  font: inherit;
  font-size: 13px;
  outline: none;
  padding: 14px 15px;
  width: 100%;
}

.booking-form input:focus,
.booking-form select:focus,
.booking-form textarea:focus {
  border-color: var(--red-dark);
  box-shadow: 0 0 0 2px rgba(109, 81, 60, 0.12);
}

.booking-plan-fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

.booking-plan-fieldset legend {
  margin-bottom: 12px;
}

.booking-plan-grid {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(3, 1fr);
}

.booking-plan-grid button {
  background: rgba(255, 250, 240, 0.72);
  border: 1px solid rgba(58, 52, 42, 0.3);
  color: var(--ink);
  display: flex;
  flex-direction: column;
  min-height: 132px;
  padding: 16px;
  text-align: left;
  transition:
    background 160ms ease,
    border-color 160ms ease,
    transform 160ms ease;
}

.booking-plan-grid button:hover {
  border-color: var(--red-dark);
  transform: translateY(-1px);
}

.booking-plan-grid button.is-selected {
  background: var(--red-dark);
  border-color: var(--red-dark);
  color: #fff9ed;
}

.booking-plan-grid small {
  font-family: "Courier New", monospace;
  font-size: 8px;
  letter-spacing: 0.08em;
  opacity: 0.7;
}

.booking-plan-grid strong {
  font-family: var(--serif);
  font-size: 24px;
  margin: 13px 0 7px;
}

.booking-plan-grid span {
  font-size: 10px;
  line-height: 1.55;
  opacity: 0.76;
}

.booking-schedule-controls {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, 1fr);
  margin-top: 26px;
}

.booking-duration-note {
  background: rgba(255, 250, 240, 0.72);
  border: 1px solid rgba(58, 52, 42, 0.3);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 12px 15px;
}

.booking-duration-note strong {
  font-family: var(--serif);
  font-size: 22px;
  margin-top: 7px;
}

.booking-duration-note small {
  font-size: 9px;
  margin-top: 4px;
  opacity: 0.65;
}

.booking-slot-fieldset {
  border: 0;
  margin: 30px 0 0;
  padding: 0;
}

.booking-slot-fieldset legend {
  margin-bottom: 12px;
}

.booking-time-grid {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(4, 1fr);
}

.booking-time-grid button {
  background: rgba(255, 250, 240, 0.72);
  border: 1px solid rgba(58, 52, 42, 0.3);
  color: var(--ink);
  display: grid;
  font-family: "Courier New", monospace;
  gap: 5px;
  padding: 13px 8px;
  text-align: left;
  transition:
    background 160ms ease,
    border-color 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

.booking-time-grid button strong {
  font-size: 11px;
  white-space: nowrap;
}

.booking-time-grid button small {
  font-size: 8px;
  line-height: 1.4;
  opacity: 0.66;
}

.booking-time-grid button[hidden] {
  display: none;
}

.booking-time-grid button:hover {
  border-color: var(--red-dark);
  transform: translateY(-1px);
}

.booking-time-grid button:disabled {
  cursor: not-allowed;
  opacity: 0.32;
  text-decoration: line-through;
  transform: none;
}

.booking-time-grid button.is-selected {
  background: var(--red-dark);
  border-color: var(--red-dark);
  color: #fff9ed;
}

.booking-contact-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, 1fr);
  margin-top: 30px;
}

.booking-notes {
  margin-top: 20px;
}

.booking-form textarea {
  resize: vertical;
}

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

.booking-submit p {
  font-size: 12px;
  font-weight: 800;
  margin: 0;
}

.booking-submit small {
  display: block;
  font-size: 9px;
  font-weight: 500;
  line-height: 1.6;
  margin-top: 7px;
  opacity: 0.66;
}

.booking-dialog .button {
  margin: 0;
}

.booking-dialog .button:disabled {
  cursor: not-allowed;
  opacity: 0.42;
  transform: none;
}

.booking-status {
  border: 1px solid var(--line-dark);
  font-size: 11px;
  line-height: 1.6;
  margin: 18px 0 0;
  padding: 12px 14px;
}

.booking-status.is-success {
  background: rgba(93, 119, 76, 0.13);
  border-color: rgba(72, 101, 54, 0.45);
}

.booking-status.is-error {
  background: rgba(143, 76, 65, 0.1);
  border-color: rgba(143, 76, 65, 0.45);
}

@media (max-width: 980px) {
  .studio-team {
    grid-template-columns: repeat(2, 1fr);
  }

  .studio-team .compact-profile-heading {
    grid-column: 1 / -1;
  }

  .team-member:first-of-type {
    border-left: 0;
  }
}

@media (max-width: 620px) {
  .site-header {
    background: rgba(247, 239, 223, 0.97);
  }

  .mobile-nav {
    background: #f4e9d6;
    color: var(--ink);
  }

  .mobile-nav a {
    border-top-color: rgba(58, 52, 42, 0.2);
  }

  .hero::before {
    background:
      linear-gradient(90deg, rgba(255, 251, 242, 0.08), rgba(58, 52, 42, 0.06)),
      linear-gradient(0deg, rgba(205, 179, 139, 0.45), transparent 48%);
  }

  .studio-team {
    grid-template-columns: 1fr;
  }

  .studio-team .compact-profile-heading,
  .team-member {
    padding: 48px 20px;
  }

  .studio-team .compact-profile-heading {
    grid-column: auto;
  }

  .team-member,
  .team-member:first-of-type {
    border-left: 0;
    border-top: 1px solid var(--line-dark);
  }

  .team-collaboration-menu summary {
    grid-template-columns: 1fr auto 28px;
  }

  .team-collaboration-grid {
    grid-template-columns: 1fr;
  }

  .team-collaboration-grid > span:nth-child(even) {
    padding-left: 0;
  }

  .booking-backdrop {
    align-items: flex-end;
    padding: 0;
  }

  .booking-dialog {
    border-bottom: 0;
    border-left: 0;
    border-right: 0;
    box-shadow: none;
    max-height: calc(100svh - 20px);
  }

  .booking-dialog-header {
    gap: 20px;
    grid-template-columns: minmax(0, 1fr) 44px;
    padding: 27px 20px 23px;
  }

  .booking-dialog-header h2 {
    font-size: 46px;
  }

  .booking-price-panel {
    align-items: flex-end;
    border-left: 0;
    border-top: 1px solid var(--line-dark);
    grid-column: 1 / -1;
    grid-row: 2;
    min-height: 0;
    padding: 16px 0 0;
  }

  .booking-price-panel > strong {
    font-size: 42px;
    margin: 12px 0;
  }

  .booking-close {
    grid-column: 2;
    grid-row: 1;
    height: 44px;
    width: 44px;
  }

  .booking-form {
    padding: 25px 20px 32px;
  }

  .booking-time-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .booking-plan-grid,
  .booking-schedule-controls {
    grid-template-columns: 1fr;
  }

  .booking-contact-grid {
    grid-template-columns: 1fr;
  }

  .booking-submit {
    align-items: flex-start;
    flex-direction: column;
  }

  .booking-submit .button {
    width: 100%;
  }
}

/* Three-step project request flow. */
.project-workspace {
  scroll-margin-top: 22px;
}

.project-wizard {
  min-height: 720px;
}

.project-flow-progress {
  margin-bottom: 48px;
}

.project-flow-progress > div {
  align-items: flex-end;
  display: flex;
  justify-content: space-between;
  margin-bottom: 13px;
}

.project-flow-progress span {
  font-family: "Courier New", monospace;
  font-size: 9px;
  letter-spacing: 0.1em;
  opacity: 0.58;
}

.project-flow-progress strong {
  font-family: var(--display);
  font-size: 13px;
  letter-spacing: 0.06em;
}

.project-flow-progress > i {
  background: rgba(58, 52, 42, 0.13);
  display: block;
  height: 4px;
  overflow: hidden;
}

.project-flow-progress > i > b {
  background: var(--red-dark);
  display: block;
  height: 100%;
  transition: width 240ms ease;
}

.project-steps li.is-complete {
  font-weight: 700;
  opacity: 0.76;
}

.project-steps li.is-complete span::after {
  color: var(--red-dark);
  content: " ✓";
}

.project-step-panel {
  min-width: 0;
}

.project-step-heading {
  border-top: 1px solid var(--line-dark);
  margin-bottom: 42px;
  padding-top: 28px;
}

.project-step-heading > span,
.project-order-summary > span,
.project-success > span {
  font-family: "Courier New", monospace;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  opacity: 0.58;
}

.project-step-heading h2,
.project-success h2 {
  font-family: var(--serif);
  font-size: clamp(48px, 6vw, 84px);
  letter-spacing: -0.065em;
  line-height: 1;
  margin: 18px 0;
}

.project-step-heading p {
  font-size: 13px;
  line-height: 1.75;
  margin: 0;
  max-width: 620px;
}

.project-step-actions {
  align-items: center;
  border-top: 1px solid var(--line-dark);
  display: flex;
  gap: 24px;
  justify-content: space-between;
  margin-top: 34px;
  padding-top: 26px;
}

.project-step-actions .button {
  margin: 0;
  min-width: 230px;
}

.project-step-actions .button:disabled {
  cursor: not-allowed;
  opacity: 0.38;
  transform: none;
}

.project-secondary-button {
  background: transparent;
  border: 0;
  border-bottom: 1px solid currentColor;
  color: inherit;
  display: inline-flex;
  font-size: 10px;
  font-weight: 800;
  padding: 7px 0;
}

.project-upload-fieldset {
  padding-bottom: 48px;
}

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

.project-payment-option {
  background: rgba(238, 229, 211, 0.7);
  border: 1px solid var(--line-dark);
  display: flex;
  flex-direction: column;
  min-height: 150px;
  padding: 20px;
  position: relative;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.project-payment-option:hover {
  border-color: var(--red-dark);
  transform: translateY(-2px);
}

.project-payment-option.is-selected {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper-bright);
}

.project-payment-option input {
  height: 1px;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  width: 1px;
}

.project-payment-option > span {
  font-family: "Courier New", monospace;
  font-size: 8px;
  letter-spacing: 0.08em;
  opacity: 0.55;
}

.project-payment-option > strong {
  font-family: var(--serif);
  font-size: 27px;
  letter-spacing: -0.04em;
  margin: 23px 0 8px;
}

.project-payment-option > small {
  font-size: 9px;
  line-height: 1.5;
  margin-top: auto;
  opacity: 0.64;
}

.project-payment-option::after {
  border: 1px solid currentColor;
  border-radius: 50%;
  content: "";
  height: 18px;
  position: absolute;
  right: 18px;
  top: 18px;
  width: 18px;
}

.project-payment-option.is-selected::before {
  background: var(--red);
  border-radius: 50%;
  content: "";
  height: 10px;
  position: absolute;
  right: 22px;
  top: 22px;
  width: 10px;
  z-index: 1;
}

.project-payment-note {
  align-items: center;
  background: #e5d0ad;
  border: 1px solid var(--line-dark);
  display: grid;
  gap: 24px;
  grid-template-columns: auto 1fr;
  margin-top: 12px;
  padding: 22px 24px;
}

.project-payment-note > span {
  color: var(--red-dark);
  font-family: Impact, "Arial Black", var(--display);
  font-size: 54px;
  letter-spacing: -0.04em;
}

.project-payment-note strong {
  font-size: 12px;
}

.project-payment-note p {
  font-size: 10px;
  line-height: 1.65;
  margin: 5px 0 0;
}

.project-order-summary {
  background: var(--paper-bright);
  border: 1px solid var(--line-dark);
  display: grid;
  gap: 0;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 4px;
  padding: 25px;
}

.project-order-summary > span {
  border-bottom: 1px solid var(--line-dark);
  grid-column: 1 / -1;
  margin-bottom: 4px;
  padding-bottom: 18px;
}

.project-order-summary > div {
  min-width: 0;
  padding: 20px 18px 0 0;
}

.project-order-summary > div + div {
  border-left: 1px solid var(--line-dark);
  padding-left: 18px;
}

.project-order-summary small {
  display: block;
  font-family: "Courier New", monospace;
  font-size: 8px;
  margin-bottom: 12px;
  opacity: 0.55;
}

.project-order-summary strong {
  display: block;
  font-size: 13px;
  overflow-wrap: anywhere;
}

.project-order-summary p {
  color: var(--red-dark);
  font-size: 10px;
  line-height: 1.5;
  margin: 7px 0 0;
}

.project-payment-confirm {
  align-items: flex-start;
  border-bottom: 1px solid var(--line-dark);
  display: flex;
  gap: 13px;
  padding: 22px 0;
}

.project-payment-confirm input {
  accent-color: var(--red-dark);
  flex: none;
  height: 17px;
  margin: 1px 0 0;
  width: 17px;
}

.project-payment-confirm span {
  font-size: 10px;
  line-height: 1.7;
}

.project-success {
  background: var(--paper-bright);
  border: 1px solid var(--line-dark);
  min-height: 560px;
  padding: clamp(36px, 6vw, 72px);
}

.project-success > p {
  font-size: 13px;
  line-height: 1.8;
  margin: 0;
  max-width: 640px;
}

.project-success-reference {
  border-bottom: 1px solid var(--line-dark);
  border-top: 1px solid var(--line-dark);
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 42px 0 34px;
  padding: 20px 0;
}

.project-success-reference small {
  font-family: "Courier New", monospace;
  font-size: 8px;
  opacity: 0.55;
}

.project-success-reference strong {
  font-family: "Courier New", monospace;
  font-size: 12px;
  overflow-wrap: anywhere;
}

.project-success-actions {
  align-items: center;
  display: flex;
  gap: 28px;
}

.project-success-actions .button {
  margin: 0;
}

@media (max-width: 980px) {
  .project-steps ol {
    grid-template-columns: repeat(3, 1fr);
  }

  .project-wizard {
    min-height: 620px;
  }
}

@media (max-width: 620px) {
  .project-workspace {
    padding-top: 48px;
  }

  .project-steps {
    margin-bottom: 0;
  }

  .project-steps ol {
    grid-template-columns: repeat(3, 1fr);
  }

  .project-steps li {
    font-size: 9px;
    line-height: 1.5;
    padding-right: 8px;
  }

  .project-steps li span {
    display: block;
    margin-bottom: 5px;
    width: auto;
  }

  .project-flow-progress {
    margin-bottom: 36px;
  }

  .project-step-heading {
    margin-bottom: 32px;
  }

  .project-step-heading h2,
  .project-success h2 {
    font-size: clamp(42px, 13vw, 60px);
  }

  .project-step-actions {
    align-items: stretch;
    flex-direction: column-reverse;
  }

  .project-step-actions .button,
  .project-step-actions .project-secondary-button {
    justify-content: space-between;
    text-align: left;
    width: 100%;
  }

  .project-payment-grid {
    grid-template-columns: 1fr;
  }

  .project-payment-option {
    min-height: 132px;
  }

  .project-payment-note {
    align-items: start;
    grid-template-columns: 1fr;
  }

  .project-order-summary {
    grid-template-columns: 1fr;
  }

  .project-order-summary > div {
    padding: 18px 0;
  }

  .project-order-summary > div + div {
    border-left: 0;
    border-top: 1px solid var(--line-dark);
    padding-left: 0;
  }

  .project-success {
    min-height: 500px;
    padding: 38px 22px;
  }

  .project-success-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .project-success-actions .button,
  .project-success-actions .project-secondary-button {
    justify-content: space-between;
    width: 100%;
  }
}

/* Final navigation placement for the branded home link. */
.site-header .header-home-link {
  color: var(--paper-bright);
}

.subpage-header {
  grid-template-columns: minmax(315px, auto) 1fr;
}

@media (min-width: 1181px) {
  .site-header {
    grid-template-columns: minmax(315px, auto) 1fr auto;
  }
}

@media (max-width: 620px) {
  .subpage {
    padding-top: 68px;
  }

  .subpage-header {
    grid-template-columns: minmax(138px, 1fr) auto;
  }

  .subpage-brand-group .wordmark {
    min-width: 0;
  }

  .subpage-brand-group .wordmark span {
    display: none;
  }

  .subpage-header .plugin-store-nav {
    gap: 6px;
    padding: 0 9px;
  }

  .plugin-cart summary,
  .currency-control {
    font-size: 8px;
    min-height: 36px;
  }

  .plugin-cart summary {
    padding: 0;
    width: 38px;
  }

  .plugin-cart-count {
    height: 15px;
    right: -5px;
    top: -6px;
    width: 15px;
  }

  .currency-control {
    gap: 4px;
    padding: 0 5px 0 8px;
  }

  .currency-control select {
    max-width: 66px;
    padding-right: 0;
  }

  .plugin-cart-panel {
    min-width: 220px;
    right: -76px;
  }
}

/* Account system */
.account-page {
  background: #eadcc4;
  color: var(--ink);
}

.account-hero {
  align-items: end;
  background:
    linear-gradient(rgba(58, 52, 42, 0.075) 1px, transparent 1px),
    linear-gradient(90deg, rgba(58, 52, 42, 0.075) 1px, transparent 1px),
    radial-gradient(circle at 78% 24%, rgba(255, 249, 237, 0.82), transparent 31%),
    #dfc8a3;
  background-size: 92px 92px, 92px 92px, auto, auto;
  border-bottom: 1px solid var(--line-dark);
  display: grid;
  gap: 7vw;
  grid-template-columns: minmax(0, 1.2fr) minmax(310px, 0.65fr);
  min-height: 620px;
  padding: 70px 5vw 58px;
}

.account-hero h1 {
  color: #76543c;
  font-family: var(--display);
  font-size: clamp(105px, 13vw, 205px);
  letter-spacing: -0.075em;
  line-height: 0.74;
  margin: 56px 0 0;
}

.account-hero-copy {
  border-top: 1px solid var(--line-dark);
  padding-top: 22px;
}

.account-hero-copy > span,
.account-auth-aside > span,
.account-dashboard-header span,
.account-panel > span {
  font-family: "Courier New", monospace;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.account-hero-copy p {
  font-size: 16px;
  line-height: 1.8;
  margin: 26px 0 0;
  max-width: 470px;
}

.account-auth-shell {
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.28fr);
  min-height: 760px;
}

.account-auth-aside {
  background: #4d4437;
  color: var(--paper-bright);
  padding: 76px 5vw;
}

.account-auth-aside h2 {
  font-family: var(--serif);
  font-size: clamp(42px, 5vw, 72px);
  letter-spacing: -0.055em;
  line-height: 0.95;
  margin: 38px 0 24px;
}

.account-auth-aside p {
  font-size: 13px;
  line-height: 1.75;
  max-width: 370px;
  opacity: 0.7;
}

.account-region-switch {
  border-top: 1px solid rgba(238, 229, 211, 0.28);
  margin-top: 54px;
}

.account-region-switch button {
  background: transparent;
  border-bottom: 1px solid rgba(238, 229, 211, 0.28);
  color: rgba(238, 229, 211, 0.56);
  display: flex;
  font-size: 13px;
  justify-content: space-between;
  padding: 19px 0;
  text-align: left;
  width: 100%;
}

.account-region-switch button::after {
  content: "○";
}

.account-region-switch button.is-active {
  color: var(--paper-bright);
}

.account-region-switch button.is-active::after {
  content: "●";
}

.account-auth-main {
  background: var(--paper-bright);
  padding: 70px clamp(28px, 8vw, 130px) 86px;
}

.account-mode-tabs {
  border-bottom: 1px solid var(--line-dark);
  display: flex;
  gap: 35px;
  margin-bottom: 42px;
}

.account-mode-tabs button {
  background: transparent;
  color: rgba(58, 52, 42, 0.48);
  font-family: var(--display);
  font-size: 25px;
  padding: 0 0 17px;
  position: relative;
}

.account-mode-tabs button.is-active {
  color: var(--ink);
}

.account-mode-tabs button.is-active::after {
  background: #76543c;
  bottom: -1px;
  content: "";
  height: 3px;
  left: 0;
  position: absolute;
  width: 100%;
}

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

.account-social-grid[hidden] {
  display: none;
}

.account-social-grid button {
  align-items: end;
  background: #e4d4b8;
  border: 1px solid var(--line-dark);
  color: var(--ink);
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr auto;
  min-height: 126px;
  padding: 19px;
  text-align: left;
  transition:
    background 180ms ease,
    transform 180ms ease;
}

.account-social-grid button:hover {
  background: #d8bd91;
  transform: translateY(-2px);
}

.account-social-grid button > span {
  font-family: "Courier New", monospace;
  font-size: 8px;
  grid-column: 1 / -1;
  letter-spacing: 0.1em;
  opacity: 0.58;
}

.account-social-grid button strong {
  font-size: 20px;
}

.account-social-grid button i {
  font-size: 18px;
  font-style: normal;
}

.account-divider {
  align-items: center;
  display: flex;
  gap: 16px;
  margin: 38px 0;
}

.account-divider::before,
.account-divider::after {
  background: var(--line-dark);
  content: "";
  flex: 1;
  height: 1px;
}

.account-divider span {
  font-size: 9px;
  opacity: 0.55;
  white-space: nowrap;
}

.account-form {
  display: grid;
  gap: 19px;
}

.account-form[hidden] {
  display: none;
}

.account-form > label:not(.account-check),
.account-panel form > label:not(.account-setting-row) {
  display: grid;
  gap: 9px;
}

.account-form label > span,
.account-panel form label > span,
.account-language > span {
  font-size: 10px;
  font-weight: 700;
}

.account-form input:not([type="checkbox"]),
.account-panel input:not([type="checkbox"]),
.account-language select {
  background: rgba(255, 249, 237, 0.5);
  border: 1px solid rgba(58, 52, 42, 0.3);
  border-radius: 0;
  color: var(--ink);
  font: inherit;
  min-height: 52px;
  outline: 0;
  padding: 13px 15px;
  width: 100%;
}

.account-form input:focus,
.account-panel input:focus,
.account-language select:focus {
  border-color: #76543c;
  box-shadow: 0 0 0 2px rgba(118, 84, 60, 0.12);
}

.account-form label small {
  font-size: 8px;
  opacity: 0.58;
}

.account-form-meta {
  align-items: center;
  display: flex;
  font-size: 10px;
  justify-content: space-between;
}

.account-check {
  align-items: center;
  cursor: pointer;
  display: flex;
  gap: 9px;
}

.account-check input {
  accent-color: #76543c;
}

.account-form-meta a {
  border-bottom: 1px solid currentColor;
}

.account-form .button {
  justify-content: space-between;
  margin-top: 9px;
  min-height: 58px;
  width: 100%;
}

.account-status {
  color: #76543c;
  font-size: 10px;
  line-height: 1.6;
  margin: 22px 0 0;
  min-height: 16px;
}

.account-status.is-error {
  color: #7b493d;
}

.account-status.is-success {
  color: #48614d;
}

.account-dashboard {
  background: #eadcc4;
  padding: 74px 5vw 110px;
}

.account-dashboard[hidden] {
  display: none;
}

.account-dashboard-header {
  align-items: end;
  border-bottom: 1px solid var(--line-dark);
  display: flex;
  justify-content: space-between;
  padding-bottom: 36px;
}

/* 2026-08-22 — unified typography, aligned exchange brief and compact plugin audition. */
:root {
  --type-title: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --type-body: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --type-menu: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --type-utility: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
}

body,
input,
textarea,
select,
button {
  font-family: var(--type-body);
  font-synthesis: none;
}

.exchange-hero-title::before {
  content: none;
  display: none;
}

.exchange-mascot-break {
  align-items: flex-end;
  background: #f0e2ca;
  display: flex;
  height: 150px;
  justify-content: flex-end;
  overflow: hidden;
  padding: 0 clamp(28px, 7vw, 110px);
  pointer-events: none;
  position: relative;
}

.mascot-exchange-break {
  bottom: -18px;
  height: 150px;
  opacity: 0.82;
  position: relative;
  right: auto;
  top: auto;
  width: 150px;
}

.exchange-form-grid > [hidden] {
  display: none !important;
}

.exchange-form-grid > label {
  align-content: start;
  margin: 0;
}

.exchange-form-grid .exchange-brief-service,
.exchange-form-grid .exchange-brief-option,
.exchange-form-grid .exchange-brief-budget,
.exchange-form-grid .exchange-brief-name,
.exchange-form-grid .exchange-brief-email {
  grid-column: 1;
}

.exchange-form-grid .exchange-brief-tier,
.exchange-form-grid .exchange-brief-deadline {
  grid-column: 2;
}

.exchange-form-grid .exchange-brief-service,
.exchange-form-grid .exchange-brief-tier {
  grid-row: 1;
}

.exchange-form-grid:not(.has-brief-option) .exchange-brief-budget,
.exchange-form-grid:not(.has-brief-option) .exchange-brief-deadline {
  grid-row: 2;
}

.exchange-form-grid:not(.has-brief-option) .exchange-brief-name,
.exchange-form-grid:not(.has-brief-option) .exchange-brief-email {
  grid-row: 3;
}

.exchange-form-grid:not(.has-brief-option) .exchange-brief-email {
  grid-column: 2;
}

.exchange-form-grid.has-brief-option .exchange-brief-option,
.exchange-form-grid.has-brief-option .exchange-brief-budget {
  grid-row: 2;
}

.exchange-form-grid.has-brief-option .exchange-brief-budget {
  grid-column: 2;
}

.exchange-form-grid.has-brief-option .exchange-brief-deadline,
.exchange-form-grid.has-brief-option .exchange-brief-name {
  grid-row: 3;
}

.exchange-form-grid.has-brief-option .exchange-brief-name {
  grid-column: 2;
}

.exchange-form-grid.has-brief-option .exchange-brief-email {
  grid-row: 4;
}

.exchange-form-grid input,
.exchange-form-grid select {
  min-height: 58px;
}

.plugin-manual-library {
  align-items: center;
  border-bottom: 1px solid var(--line-dark);
  border-top: 1px solid var(--line-dark);
  gap: 24px;
  grid-template-columns: minmax(150px, 0.3fr) minmax(0, 1.7fr);
  margin: 48px 0 28px;
  padding: 22px 0;
}

.plugin-manual-library h2 {
  font-size: 22px;
  letter-spacing: 0;
  line-height: 1.2;
  margin: 0 0 6px;
}

.plugin-manual-library > div:first-child > span {
  font-size: 12px;
  line-height: 1.45;
}

.plugin-manual-library-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.plugin-manual-library-grid a {
  align-items: center;
  display: grid;
  gap: 2px 18px;
  grid-template-columns: minmax(150px, 1fr) auto;
  min-height: 58px;
  padding: 10px 14px;
  width: min(100%, 420px);
}

.plugin-manual-library-grid strong {
  font-family: var(--type-body);
  font-size: 15px;
  font-weight: 700;
  grid-column: 1;
  margin: 0;
}

.plugin-manual-library-grid small {
  font-family: var(--type-body);
  font-size: 10px;
  grid-column: 1;
}

.plugin-manual-library-grid a > span {
  border: 0;
  font-family: var(--type-body);
  font-size: 12px;
  gap: 10px;
  grid-column: 2;
  grid-row: 1 / span 2;
  margin: 0;
  padding: 0;
}

@media (max-width: 760px) {
  .exchange-mascot-break {
    height: 100px;
    padding-right: 18px;
  }

  .mascot-exchange-break {
    bottom: -16px;
    height: 105px;
    width: 105px;
  }

  .exchange-form-grid .exchange-brief-service,
  .exchange-form-grid .exchange-brief-tier,
  .exchange-form-grid .exchange-brief-option,
  .exchange-form-grid .exchange-brief-budget,
  .exchange-form-grid .exchange-brief-deadline,
  .exchange-form-grid .exchange-brief-name,
  .exchange-form-grid .exchange-brief-email {
    grid-column: 1 / -1 !important;
    grid-row: auto !important;
    min-width: 0;
    width: 100%;
  }

  .exchange-form-grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .plugin-manual-library {
    align-items: stretch;
    gap: 14px;
    grid-template-columns: 1fr;
    margin-top: 36px;
    padding: 18px 0;
  }

  .plugin-manual-library h2 {
    font-size: 20px;
  }

  .plugin-manual-library-grid {
    justify-content: stretch;
  }

  .plugin-manual-library-grid a {
    min-height: 54px;
    width: 100%;
  }

}

.account-dashboard-header h2 {
  font-family: var(--serif);
  font-size: clamp(48px, 6vw, 90px);
  letter-spacing: -0.06em;
  margin: 24px 0 0;
}

.account-dashboard-header h2 b {
  color: #76543c;
  font-weight: inherit;
}

.account-dashboard-header > p {
  font-family: "Courier New", monospace;
  font-size: 10px;
  opacity: 0.62;
}

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

.account-panel {
  border-bottom: 1px solid var(--line-dark);
  min-height: 380px;
  padding: 44px 4vw 50px 0;
}

.account-panel:nth-child(even) {
  border-left: 1px solid var(--line-dark);
  padding-left: 4vw;
}

.account-panel h3 {
  font-family: var(--serif);
  font-size: clamp(30px, 3vw, 46px);
  letter-spacing: -0.045em;
  margin: 24px 0 28px;
}

.account-panel > p {
  font-size: 10px;
  line-height: 1.7;
  opacity: 0.65;
}

.account-credentials dl {
  border-top: 1px solid var(--line-dark);
  margin: 0 0 20px;
}

.account-credentials dl > div {
  border-bottom: 1px solid var(--line-dark);
  display: flex;
  justify-content: space-between;
  padding: 14px 0;
}

.account-credentials dt {
  font-size: 9px;
  opacity: 0.56;
}

.account-credentials dd {
  font-family: "Courier New", monospace;
  font-size: 11px;
  margin: 0;
}

.account-panel form {
  display: grid;
  gap: 14px;
  margin-top: 25px;
}

.account-panel form button,
.account-version > a {
  background: #4d4437;
  color: var(--paper-bright);
  display: inline-flex;
  font-size: 10px;
  justify-content: space-between;
  min-height: 46px;
  padding: 14px 16px;
}

.account-setting-row {
  align-items: center;
  border-bottom: 1px solid var(--line-dark);
  display: flex;
  justify-content: space-between;
  padding: 4px 0 18px;
}

.account-setting-row > span {
  display: grid;
  gap: 7px;
}

.account-setting-row small {
  font-size: 8px;
  font-weight: 400;
  opacity: 0.56;
}

.account-setting-row input {
  accent-color: #76543c;
  height: 20px;
  width: 20px;
}

.account-language {
  display: grid;
  gap: 9px;
}

.account-history [data-account-history] {
  border-top: 1px solid var(--line-dark);
}

.account-history-item {
  border-bottom: 1px solid var(--line-dark);
  display: grid;
  gap: 12px;
  grid-template-columns: 72px 1fr auto;
  padding: 16px 0;
}

.account-history-item span,
.account-history-item small {
  font-family: "Courier New", monospace;
  font-size: 8px;
  opacity: 0.55;
}

.account-history-item strong {
  font-size: 11px;
}

.account-history [data-account-history] > p {
  font-size: 11px;
  margin: 0;
  opacity: 0.55;
  padding: 24px 0;
}

.account-version > strong {
  border-bottom: 1px solid var(--line-dark);
  border-top: 1px solid var(--line-dark);
  display: block;
  font-family: var(--display);
  font-size: 22px;
  padding: 18px 0;
}

.account-version > a {
  margin-top: 28px;
}

.account-danger {
  background: rgba(143, 84, 68, 0.08);
  grid-column: 1 / -1;
  min-height: 0;
  padding-left: 4vw;
}

.account-danger form {
  align-items: end;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
}

.account-danger form button {
  background: #7b493d;
  min-height: 52px;
}

@media (max-width: 900px) {
  .account-hero {
    align-items: start;
    grid-template-columns: 1fr;
    min-height: 560px;
  }

  .account-hero h1 {
    font-size: clamp(92px, 20vw, 150px);
  }

  .account-hero-copy {
    max-width: 560px;
  }

  .account-auth-shell {
    grid-template-columns: 1fr;
  }

  .account-auth-aside {
    padding: 54px 5vw;
  }

  .account-region-switch {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .account-region-switch button {
    padding-right: 18px;
  }

  .account-region-switch button + button {
    border-left: 1px solid rgba(238, 229, 211, 0.28);
    padding-left: 18px;
  }

  .account-auth-main {
    padding: 60px 5vw 72px;
  }

  .account-danger form {
    align-items: stretch;
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .account-hero {
    min-height: 500px;
    padding: 52px 20px 42px;
  }

  .account-hero h1 {
    font-size: clamp(76px, 25vw, 112px);
    margin-top: 42px;
  }

  .account-hero-copy p {
    font-size: 13px;
  }

  .account-auth-aside,
  .account-auth-main {
    padding-left: 20px;
    padding-right: 20px;
  }

  .account-region-switch {
    grid-template-columns: 1fr;
  }

  .account-region-switch button + button {
    border-left: 0;
    padding-left: 0;
  }

  .account-social-grid {
    grid-template-columns: 1fr;
  }

  .account-social-grid button {
    min-height: 100px;
  }

  .account-dashboard {
    padding: 56px 20px 78px;
  }

  .account-dashboard-header {
    align-items: start;
    flex-direction: column;
    gap: 20px;
  }

  .account-dashboard-header h2 {
    font-size: 50px;
  }

  .account-dashboard-grid {
    grid-template-columns: 1fr;
  }

  .account-panel,
  .account-panel:nth-child(even),
  .account-danger {
    border-left: 0;
    padding: 38px 0 44px;
  }
}

/* Horizontal service window with dedicated plugin and sample destinations. */
.service-window {
  margin: 0 auto;
  max-width: 1180px;
  position: relative;
}

.service-window-controls {
  align-items: center;
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  margin-bottom: 14px;
}

.service-window-controls > span {
  color: rgba(58, 52, 42, 0.62);
  font-family: var(--font-menu);
  font-size: 13px;
  letter-spacing: 0.06em;
  margin-right: auto;
}

.service-window-controls button {
  align-items: center;
  background: rgba(238, 229, 211, 0.56);
  border: 1px solid rgba(58, 52, 42, 0.24);
  border-radius: 50%;
  color: var(--ink);
  cursor: pointer;
  display: inline-flex;
  font-size: 20px;
  height: 46px;
  justify-content: center;
  transition:
    background 180ms ease,
    color 180ms ease,
    transform 180ms ease;
  width: 46px;
}

.service-window-controls button:hover {
  background: var(--ink);
  color: var(--paper-bright);
  transform: translateY(-2px);
}

.service-window .service-grid {
  display: grid;
  grid-auto-columns: minmax(290px, calc((100% - 28px) / 3));
  grid-auto-flow: column;
  grid-template-columns: none;
  margin: 0;
  max-width: none;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  padding: 2px 2px 24px;
  scroll-behavior: smooth;
  scroll-snap-type: inline mandatory;
  scrollbar-color: rgba(58, 52, 42, 0.34) transparent;
  scrollbar-width: thin;
  touch-action: pan-x;
}

.service-window .service-card {
  color: inherit;
  position: relative;
  scroll-snap-align: start;
  text-decoration: none;
}

.service-card-link {
  align-items: center;
  border-top: 1px solid rgba(58, 52, 42, 0.16);
  display: flex;
  font-family: var(--font-menu);
  font-size: 14px;
  justify-content: space-between;
  margin-top: 18px;
  padding-top: 18px;
}

.service-card-link i {
  font-family: sans-serif;
  font-size: 20px;
  font-style: normal;
}

@media (max-width: 760px) {
  .service-window .service-grid {
    grid-auto-columns: minmax(280px, 84vw);
  }

  .service-window-controls > span {
    font-size: 11px;
  }
}

/* Refined editorial scale: calmer display titles and clearer descriptions. */
.hero h1 {
  font-size: clamp(100px, 12.8vw, 210px);
}

.section h2 {
  font-size: clamp(45px, 5.7vw, 92px);
}

.ryo-title h2 {
  font-size: clamp(68px, 9.2vw, 150px);
}

.feature-teaser h2 {
  font-size: clamp(58px, 7vw, 110px);
}

.contact-marquee span {
  font-size: clamp(80px, 13.4vw, 205px);
}

.contact-copy h2 {
  font-size: clamp(48px, 6.2vw, 92px);
}

.address-copy h2 {
  font-size: clamp(43px, 4.9vw, 73px);
}

.compact-profile-heading h2 {
  font-size: clamp(25px, 2.7vw, 40px);
}

.studio-team .compact-profile-heading h2 {
  font-size: clamp(31px, 3.2vw, 51px);
}

.team-member h3 {
  font-size: clamp(32px, 3.3vw, 52px);
}

.price-category-card h3 {
  font-size: clamp(32px, 3vw, 46px);
}

.equipment-card h3 {
  font-size: clamp(22px, 2.1vw, 34px);
}

.plugin-card h3 {
  font-size: clamp(27px, 3.1vw, 48px);
}

.course-main h3 {
  font-size: 25px;
}

.subpage-hero h1 {
  font-size: clamp(70px, 9.8vw, 150px);
}

.courses-subhero h1 {
  font-size: clamp(64px, 8.8vw, 138px);
}

.demos-subhero h1 {
  font-size: clamp(70px, 9.6vw, 155px);
}

.plugin-detail-copy h2 {
  font-size: clamp(37px, 5vw, 76px);
}

.course-detail-title h2 {
  font-size: clamp(31px, 3.6vw, 54px);
}

.course-info-hero h1 {
  font-size: clamp(49px, 6.2vw, 98px);
}

.course-info-empty h2 {
  font-size: clamp(41px, 5.3vw, 84px);
}

.course-enrollment-panel h2 {
  font-size: 30px;
}

.demo-track-heading {
  font-size: clamp(34px, 4.2vw, 64px);
}

.project-hero-title h1 {
  font-size: clamp(112px, 15.5vw, 240px);
}

.project-fieldset legend {
  font-size: clamp(23px, 2.4vw, 35px);
}

.project-package h2 {
  font-size: clamp(25px, 2.8vw, 40px);
}

.project-step-heading h2,
.project-success h2 {
  font-size: clamp(43px, 5.3vw, 74px);
}

.booking-dialog-header h2 {
  font-size: clamp(38px, 5.2vw, 64px);
}

.account-hero h1 {
  font-size: clamp(94px, 11.5vw, 180px);
}

.account-auth-aside h2 {
  font-size: clamp(38px, 4.5vw, 64px);
}

.account-dashboard-header h2 {
  font-size: clamp(43px, 5.3vw, 78px);
}

.account-panel h3 {
  font-size: clamp(27px, 2.7vw, 41px);
}

.hero-copy {
  font-size: clamp(21px, 2.15vw, 30px);
}

.section-intro,
.pricing-top > p,
.course-heading > p {
  font-size: 17px;
}

.service-card p,
.price-category-card > p,
.equipment-heading > p,
.teaser-copy > p,
.plugins-heading > div > p,
.plugin-copy,
.residents-heading > p,
.course-teaser-copy > p,
.course-copy,
.contact-copy > p:last-child,
.address-copy > p,
.team-member > p,
.compact-profile-copy p,
.compact-collabs p {
  font-size: 15px;
}

.ryo-profile > p {
  font-size: 16px;
}

.subpage-hero-copy p,
.account-hero-copy p {
  font-size: 17px;
}

.plugin-detail-copy > span,
.course-detail-copy > p,
.course-info-hero > p:last-child,
.course-info-empty p,
.demo-list-intro p,
.project-step-heading p,
.account-auth-aside p {
  font-size: 15px;
}

.project-package > p,
.booking-dialog-header p,
.account-panel > p {
  font-size: 13px;
}

@media (max-width: 900px) {
  .hero h1 {
    font-size: clamp(88px, 18vw, 148px);
  }

  .subpage-hero h1 {
    font-size: clamp(68px, 10.8vw, 126px);
  }

  .courses-subhero h1 {
    font-size: clamp(60px, 8.8vw, 105px);
  }

  .demos-subhero h1 {
    font-size: clamp(66px, 9.8vw, 118px);
  }

  .account-hero h1 {
    font-size: clamp(82px, 18vw, 132px);
  }
}

@media (max-width: 620px) {
  .hero h1 {
    font-size: clamp(78px, 25vw, 114px);
  }

  .section h2 {
    font-size: clamp(41px, 12.5vw, 64px);
  }

  .ryo-title h2 {
    font-size: clamp(66px, 21vw, 98px);
  }

  .feature-teaser h2 {
    font-size: 57px;
  }

  .contact-marquee span {
    font-size: 74px;
  }

  .contact-copy h2 {
    font-size: 50px;
  }

  .address-copy h2 {
    font-size: 47px;
  }

  .subpage-hero h1,
  .courses-subhero h1 {
    font-size: clamp(60px, 19vw, 92px);
  }

  .demos-subhero h1 {
    font-size: clamp(58px, 18vw, 88px);
  }

  .plugin-detail-copy h2 {
    font-size: 43px;
  }

  .course-info-hero h1 {
    font-size: clamp(48px, 14vw, 70px);
  }

  .demo-track-heading {
    font-size: clamp(33px, 10.5vw, 49px);
  }

  .project-hero-title h1 {
    font-size: clamp(76px, 24vw, 108px);
  }

  .project-step-heading h2,
  .project-success h2 {
    font-size: clamp(39px, 12vw, 57px);
  }

  .account-hero h1 {
    font-size: clamp(68px, 22vw, 98px);
  }

  .account-dashboard-header h2 {
    font-size: 44px;
  }

  .section-intro,
  .pricing-top > p,
  .course-heading > p,
  .subpage-hero-copy p,
  .account-hero-copy p {
    font-size: 16px;
  }

  .service-card p,
  .price-category-card > p,
  .equipment-heading > p,
  .teaser-copy > p,
  .plugins-heading > div > p,
  .plugin-copy,
  .residents-heading > p,
  .course-teaser-copy > p,
  .course-copy,
  .contact-copy > p:last-child,
  .address-copy > p,
  .team-member > p,
  .compact-profile-copy p,
  .compact-collabs p,
  .plugin-detail-copy > span,
  .course-detail-copy > p,
  .course-info-hero > p:last-child,
  .course-info-empty p,
  .demo-list-intro p,
  .project-step-heading p,
  .account-auth-aside p {
    font-size: 14px;
  }
}

/* Keep testimonial cards compact and readable inside narrow columns/previews. */
.testimonial-carousel {
  container-type: inline-size;
  cursor: grab;
  min-height: 0;
  touch-action: pan-y;
}

.testimonial-carousel:active {
  cursor: grabbing;
}

.testimonial-stage {
  flex: 0 0 auto;
  margin-top: clamp(22px, 3vw, 32px);
}

.testimonial-item.is-expandable {
  min-height: 0;
  padding: clamp(14px, 2.5vw, 28px);
}

.testimonial-item.is-expandable .testimonial-preview-copy blockquote {
  color: var(--ink);
  display: -webkit-box;
  min-width: 0;
  overflow: hidden;
  visibility: visible;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.testimonial-item.is-expandable footer {
  margin-top: clamp(18px, 3vw, 28px);
}

.testimonial-expand-label {
  display: inline-block;
  white-space: nowrap;
  writing-mode: horizontal-tb;
}

.testimonial-controls {
  margin-top: 20px;
}

/* Keep Ovid's full face in frame without stretching the portrait. */
.testimonial-item.is-ovid .testimonial-preview-image,
.testimonial-modal.is-ovid .testimonial-modal-image {
  background: #ece9e2;
}

.testimonial-item.is-ovid .testimonial-preview-image img,
.testimonial-modal.is-ovid .testimonial-modal-image img {
  height: 100%;
  margin-left: 33%;
  object-fit: contain;
  object-position: center center;
  transform: none;
  width: 78%;
}

.testimonial-item.is-ovid:hover .testimonial-preview-image img,
.testimonial-item.is-ovid:focus-visible .testimonial-preview-image img {
  transform: none;
}

.testimonial-item.is-chen-hang .testimonial-preview-image img,
.testimonial-modal.is-chen-hang .testimonial-modal-image img {
  object-position: 50% 42%;
}

.testimonial-item.is-manolo .testimonial-preview-image img,
.testimonial-modal.is-manolo .testimonial-modal-image img {
  object-position: 50% 16%;
}

.testimonial-modal-backdrop {
  touch-action: pan-y;
}

.testimonial-modal.has-no-portrait {
  grid-template-columns: 1fr;
}

.testimonial-modal.has-no-portrait .testimonial-modal-content {
  grid-column: 1 / -1;
}

.testimonial-modal-nav {
  align-items: center;
  background: transparent;
  border: 0;
  bottom: 0;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  justify-content: center;
  opacity: 0;
  padding: 0;
  position: absolute;
  top: 0;
  transition: opacity 180ms ease;
  width: 12%;
  z-index: 2;
}

.testimonial-modal-prev {
  left: 0;
}

.testimonial-modal-next {
  right: 0;
}

.testimonial-modal-nav span {
  align-items: center;
  background: rgba(255, 250, 240, 0.94);
  border: 1px solid rgba(58, 52, 42, 0.46);
  border-radius: 50%;
  box-shadow: 0 8px 24px rgba(61, 46, 34, 0.18);
  display: flex;
  font-family: sans-serif;
  font-size: 20px;
  height: 42px;
  justify-content: center;
  transition:
    background 180ms ease,
    color 180ms ease,
    transform 180ms ease;
  width: 42px;
}

.testimonial-modal-nav:hover,
.testimonial-modal-nav:focus-visible {
  outline: none;
  opacity: 1;
}

.testimonial-modal-nav:hover span,
.testimonial-modal-nav:focus-visible span {
  background: var(--ink);
  color: var(--paper-bright);
  transform: scale(1.06);
}

@media (hover: none) {
  .testimonial-modal-nav {
    opacity: 0.78;
    width: 16%;
  }
}

@container (max-width: 560px) {
  .testimonial-item.is-expandable {
    padding: 8px 0 0;
  }

  .testimonial-lead {
    align-items: center;
    gap: 16px;
    grid-template-columns: 108px minmax(0, 1fr);
  }

  .testimonial-item.is-expandable .testimonial-preview-copy blockquote {
    font-size: clamp(16px, 5.2cqw, 20px);
    line-height: 1.45;
    -webkit-line-clamp: 3;
  }

  .testimonial-expand-label {
    font-size: 9px;
    margin-top: 8px;
  }

  .testimonial-item.is-expandable footer {
    margin-top: 18px;
    padding-top: 14px;
  }
}

@media (max-width: 620px) {
  .testimonial-carousel {
    min-height: 0;
    padding: 18px;
  }

  .testimonial-stage {
    margin-top: 22px;
  }
}

/* DOG DEN visual system — warm editorial palette and calmer type scale. */
:root {
  --shadow-soft: 0 18px 42px rgba(51, 45, 38, 0.12);
}

body {
  background: var(--paper);
  font-size: 16px;
}

.site-header,
.subpage-header {
  background: linear-gradient(105deg, rgba(51, 45, 38, 0.98), rgba(70, 58, 48, 0.96));
  box-shadow: 0 8px 28px rgba(51, 45, 38, 0.16);
}

.wordmark-logo {
  border-color: rgba(245, 237, 220, 0.55);
}

.wordmark-mark,
.header-cta,
.button-primary,
.price-tag {
  background: var(--red);
}

.header-cta:hover,
.button-primary:hover,
.button-dark:hover {
  background: var(--sage);
  border-color: var(--sage);
}

.desktop-nav a,
.subpage-header nav a {
  letter-spacing: 0.035em;
}

.hero {
  background:
    radial-gradient(circle at 80% 28%, rgba(216, 225, 225, 0.32), transparent 24%),
    radial-gradient(circle at 70% 62%, rgba(205, 178, 126, 0.34), transparent 42%),
    linear-gradient(135deg, #5d5145 0%, #a8775b 58%, #536269 100%);
}

.hero h1 {
  font-size: clamp(98px, 12.6vw, 208px);
  line-height: 0.73;
}

.hero h1 span:nth-child(2) {
  color: #d8b36f;
}

.hero-copy {
  max-width: 29rem;
}

.ticker {
  background: var(--ink);
  color: var(--paper-bright);
}

.section {
  padding-bottom: clamp(86px, 9vw, 132px);
  padding-top: clamp(86px, 9vw, 132px);
}

.section-heading,
.pricing-top,
.equipment-heading,
.residents-heading,
.course-heading,
.plugins-heading {
  margin-bottom: clamp(58px, 6vw, 84px);
}

.section h2 {
  font-size: clamp(46px, 5.4vw, 88px);
  line-height: 0.98;
}

.section-intro,
.pricing-top > p,
.course-heading > p,
.equipment-heading > p,
.residents-heading > p,
.course-teaser-copy > p,
.teaser-copy > p,
.plugins-heading > div > p,
.address-copy > p,
.location-heading > p,
.contact-copy > p:last-child {
  font-size: clamp(15px, 1.12vw, 18px);
  line-height: 1.78;
}

.section-label {
  color: var(--red-dark);
  font-size: 11px;
  letter-spacing: 0.18em;
}

.section-services {
  background-color: var(--paper);
  background-image:
    linear-gradient(rgba(51, 45, 38, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(51, 45, 38, 0.045) 1px, transparent 1px),
    radial-gradient(circle at 88% 12%, rgba(127, 140, 118, 0.16), transparent 28%);
}

.testimonial-carousel {
  background: rgba(245, 237, 220, 0.62);
  border-color: rgba(112, 73, 59, 0.24);
  box-shadow: var(--shadow-soft);
}

.service-grid,
.price-category-grid,
.equipment-grid {
  border-left-color: rgba(112, 73, 59, 0.28);
}

.service-card,
.price-category-card,
.equipment-card {
  border-color: rgba(112, 73, 59, 0.28);
  padding: 28px;
}

.service-card {
  min-height: 320px;
}

.service-card:hover {
  background: var(--ink-soft);
}

.service-card h3,
.price-category-card h3,
.equipment-card h3,
.course-main h3 {
  letter-spacing: -0.045em;
}

.service-card p,
.price-category-card > p,
.equipment-card li strong,
.course-copy,
.plugin-copy,
.compact-profile-copy p,
.compact-collabs p,
.team-member > p {
  font-size: 14px;
  line-height: 1.78;
}

.section-ryo {
  background:
    linear-gradient(120deg, rgba(127, 140, 118, 0.98), rgba(158, 163, 137, 0.98)),
    var(--sage);
}

.ryo-title h2 {
  font-size: clamp(68px, 8.7vw, 142px);
}

.ryo-profile .ryo-lead {
  font-size: clamp(20px, 2vw, 29px);
}

.section-pricing {
  background-color: #c5d1d0;
  background-image:
    radial-gradient(circle at 90% 18%, rgba(245, 237, 220, 0.56), transparent 28%),
    linear-gradient(rgba(51, 45, 38, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(51, 45, 38, 0.035) 1px, transparent 1px);
  background-size: cover, 100% 64px, 64px 64px;
}

.price-category-card {
  min-height: 410px;
  background: rgba(245, 237, 220, 0.24);
}

.price-category-card:hover {
  background: var(--paper-bright);
  box-shadow: var(--shadow-soft);
}

.price-category-card h3 {
  font-size: clamp(34px, 3vw, 48px);
  margin-top: 58px;
}

.section-equipment {
  background-color: #dfc398;
  background-image:
    linear-gradient(rgba(51, 45, 38, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(51, 45, 38, 0.055) 1px, transparent 1px);
}

.equipment-demo-callout {
  background: var(--ink-soft);
  box-shadow: var(--shadow-soft);
}

.section-plugins {
  background:
    radial-gradient(circle at 78% 18%, rgba(117, 135, 149, 0.34), transparent 24%),
    linear-gradient(135deg, #70493b 0%, #905c49 56%, #58656b 100%);
}

.feature-teaser h2 {
  font-size: clamp(56px, 6.7vw, 108px);
}

.teaser-control {
  background: rgba(51, 45, 38, 0.28);
  box-shadow: var(--shadow-soft);
}

.plugin-grid {
  gap: 20px;
}

.plugin-card {
  min-height: 540px;
  border-color: rgba(245, 237, 220, 0.36);
  box-shadow: 0 12px 30px rgba(51, 45, 38, 0.14);
}

.plugin-cream {
  background: var(--paper-bright);
}

.plugin-charcoal {
  background: #536269;
}

.plugin-red {
  background: #7c5144;
}

.section-residents {
  background: var(--paper-soft);
}

.art-card {
  background: var(--paper-bright);
  border-color: rgba(112, 73, 59, 0.5);
  box-shadow: 11px 11px 0 rgba(112, 73, 59, 0.15);
}

.section-courses {
  background-color: var(--blue-gray-soft);
  background-image:
    radial-gradient(circle at 12% 48%, rgba(165, 111, 81, 0.22), transparent 28%),
    linear-gradient(rgba(51, 45, 38, 0.05) 1px, transparent 1px);
}

.course-card:hover {
  background: rgba(245, 237, 220, 0.5);
}

.course-meta a:hover {
  background: var(--red);
}

.contact-section {
  background:
    radial-gradient(circle at 82% 14%, rgba(127, 140, 118, 0.25), transparent 25%),
    #3f4a4d;
}

.contact-marquee span {
  color: #d8b36f;
  font-size: clamp(76px, 12.4vw, 192px);
}

.address-section,
.location-screen {
  background: var(--paper-bright);
}

.address-map,
.location-map {
  background-color: #bdc9c6;
  background-image:
    linear-gradient(rgba(51, 45, 38, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(51, 45, 38, 0.1) 1px, transparent 1px),
    radial-gradient(circle at 32% 35%, rgba(245, 237, 220, 0.34), transparent 30%);
}

.map-pin,
.location-logo-pin {
  background: var(--paper-bright);
  box-shadow: 12px 14px 0 rgba(51, 45, 38, 0.16);
}

.location-panel {
  background: rgba(245, 237, 220, 0.38);
}

.compact-profile {
  background-color: #d9c7aa;
  background-image:
    linear-gradient(rgba(51, 45, 38, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(51, 45, 38, 0.045) 1px, transparent 1px),
    radial-gradient(circle at 85% 20%, rgba(127, 140, 118, 0.16), transparent 24%);
}

.compact-profile-heading h2 {
  font-size: clamp(25px, 2.6vw, 38px);
}

.footer {
  background: var(--ink);
}

/* Make the hierarchy breathe: readable copy, compact display faces, consistent gutters. */
.hero-copy,
.service-card p,
.price-category-card > p,
.equipment-heading > p,
.teaser-copy > p,
.plugins-heading > div > p,
.course-teaser-copy > p,
.course-copy,
.contact-copy > p:last-child,
.address-copy > p,
.location-heading > p,
.team-member > p {
  max-width: 38rem;
}

.button {
  font-size: 13px;
  letter-spacing: 0.035em;
  padding: 16px 19px;
}

@media (max-width: 900px) {
  .hero h1 {
    font-size: clamp(84px, 16.5vw, 144px);
  }

  .section h2 {
    font-size: clamp(43px, 8vw, 72px);
  }

  .feature-teaser h2 {
    font-size: clamp(52px, 10vw, 84px);
  }

  .service-card,
  .price-category-card,
  .equipment-card {
    padding: 22px;
  }
}

@media (max-width: 620px) {
  .hero h1 {
    font-size: clamp(70px, 23vw, 108px);
  }

  .section {
    padding-left: 6vw;
    padding-right: 6vw;
  }

  .section h2 {
    font-size: clamp(40px, 12vw, 62px);
  }

  .section-intro,
  .pricing-top > p,
  .course-heading > p,
  .equipment-heading > p,
  .residents-heading > p,
  .course-teaser-copy > p,
  .teaser-copy > p,
  .plugins-heading > div > p,
  .address-copy > p,
  .location-heading > p,
  .contact-copy > p:last-child {
    font-size: 15px;
  }

  .service-card,
  .price-category-card,
  .equipment-card {
    padding: 20px;
  }

  .service-card p,
  .price-category-card > p,
  .equipment-card li strong,
  .course-copy,
  .plugin-copy,
  .compact-profile-copy p,
  .compact-collabs p,
  .team-member > p {
    font-size: 15px;
  }

  .plugin-card {
    min-height: 480px;
  }
}

/* A warmer, clearer first impression for the home hero. */
.hero {
  background:
    radial-gradient(circle at 78% 20%, rgba(255, 251, 241, 0.98), transparent 25%),
    radial-gradient(circle at 72% 70%, rgba(214, 177, 118, 0.32), transparent 42%),
    linear-gradient(125deg, #fff7e8 0%, #f1dfbf 56%, #ddc39d 100%);
  color: #332d26;
}

.hero::before {
  background:
    linear-gradient(90deg, rgba(112, 73, 59, 0.055) 1px, transparent 1px),
    linear-gradient(rgba(112, 73, 59, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 251, 242, 0.22), rgba(112, 73, 59, 0.02));
  background-size: 72px 72px, 72px 72px, cover;
  opacity: 0.72;
}

.hero-grain {
  opacity: 0.025;
}

.hero-logo-card {
  background: #fffaf0;
  border-color: rgba(112, 73, 59, 0.28);
  box-shadow: 18px 20px 0 rgba(112, 73, 59, 0.13);
}

.hero h1 {
  color: #332d26;
  text-shadow: 0 2px 0 rgba(255, 251, 242, 0.28);
}

.hero h1 span:nth-child(2) {
  color: #985e45;
}

.hero h1 span:nth-child(3) {
  color: rgba(255, 250, 240, 0.82);
  -webkit-text-fill-color: rgba(255, 250, 240, 0.82);
  -webkit-text-stroke: 2px #332d26;
  text-shadow:
    0 2px 0 rgba(255, 251, 242, 0.38),
    0 10px 28px rgba(89, 61, 43, 0.16);
}

.hero .eyebrow {
  color: #51352c;
  font-weight: 800;
}

.hero .live-dot {
  background: #985e45;
  box-shadow: 0 0 0 5px rgba(152, 94, 69, 0.18);
}

.hero-copy {
  color: #2b221c;
  font-weight: 800;
  text-shadow: 0 1px 0 rgba(255, 251, 242, 0.38);
}

.hero .text-link {
  background: rgba(255, 250, 240, 0.82);
  border: 1px solid rgba(61, 52, 43, 0.34);
  color: #2b221c;
  font-weight: 700;
  padding: 8px 10px;
}

.hero .button-primary {
  background: #8f5942;
  border-color: #8f5942;
  box-shadow: 0 8px 18px rgba(112, 73, 59, 0.2);
  color: #fffaf0;
}

.hero .button-primary:hover {
  background: #70493b;
  border-color: #70493b;
  color: #fffaf0;
}

.hero-index {
  color: #332920;
  font-weight: 700;
  opacity: 0.94;
}

/* The dark home navigation needs a light foreground at every breakpoint. */
.site-header .wordmark,
.site-header .wordmark small,
.site-header .header-home-link,
.site-header .desktop-nav a,
.site-header .menu-toggle {
  color: #fff7e8;
}

.site-header .header-home-link {
  background: rgba(255, 247, 232, 0.08);
  border-color: rgba(255, 247, 232, 0.22);
}

.site-header .desktop-nav a {
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.22);
}

.site-header .desktop-nav a:hover,
.site-header .desktop-nav a:focus-visible,
.site-header .header-home-link:hover,
.site-header .header-home-link:focus-visible {
  background: rgba(255, 247, 232, 0.12);
  color: #ffffff;
}

.site-header .menu-toggle span {
  background: #fff7e8;
}

/* Compact secondary-page navigation and type rhythm on phones. */
@media (max-width: 620px) {
  html {
    scroll-padding-top: 60px;
  }

  .subpage {
    padding-top: 60px;
  }

  .subpage-header {
    grid-template-columns: minmax(112px, 1fr) auto;
    height: 60px;
  }

  .subpage-brand-group {
    gap: 6px;
  }

  .subpage-brand-group .wordmark {
    border-right: 0;
    padding: 0 4px 0 10px;
  }

  .subpage-brand-group .wordmark-logo {
    height: 38px;
    width: 38px;
  }

  .subpage-header .header-home-link {
    font-size: 13px;
    letter-spacing: 0.04em;
    min-height: 40px;
    padding: 0 10px;
    white-space: nowrap;
  }

  .subpage-header .header-project-nav {
    gap: 6px;
    padding: 0 8px 0 4px;
  }

  .subpage-header nav a.header-back,
  .subpage-header nav a.header-project-link {
    align-items: center;
    display: inline-flex;
    font-size: 12px;
    gap: 6px;
    height: 40px;
    justify-content: center;
    letter-spacing: 0.02em;
    line-height: 1;
    min-height: 40px;
    padding: 0 9px;
    white-space: nowrap;
  }

  .subpage-header nav a.header-project-link span {
    flex: none;
    font-family: sans-serif;
    font-size: 14px;
  }

  .subpage-header nav a.header-back {
    flex: 0 0 40px;
    min-width: 40px;
    padding: 0;
    width: 40px;
  }

  .header-back-text {
    display: none;
  }

  .header-back-icon {
    font-family: Arial, sans-serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 1;
  }

  .demos-cta {
    gap: 20px;
    padding: 56px 20px;
  }

  .demos-cta > p {
    margin: 0;
  }

  .demos-cta h2 {
    font-size: clamp(42px, 12vw, 54px);
    letter-spacing: -0.045em;
    line-height: 0.98;
  }

  .demos-cta .button {
    font-size: 14px;
    min-height: 56px;
    padding: 0 18px;
  }

  .floating-audio-player {
    gap: 9px 10px;
    padding: 10px 12px 12px;
  }

  .floating-player-track {
    gap: 3px 8px;
  }

  .floating-player-track strong {
    font-size: 14px;
  }

  .floating-player-controls button {
    height: 36px;
    min-width: 36px;
    padding: 0 7px;
  }

  .floating-player-controls .floating-player-toggle {
    height: 40px;
    min-width: 40px;
    width: 40px;
  }

  .subpage-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
    padding: 26px 20px;
  }

  .hero .eyebrow {
    align-items: flex-start;
    line-height: 1.55;
    max-width: calc(100% - 148px);
    white-space: normal;
  }

  .hero .live-dot {
    flex: 0 0 8px;
    margin-top: 2px;
  }
}

/* Full-bleed logo background: the paper edges dissolve into the warm hero. */
.hero-logo-card {
  background: transparent;
  border: 0;
  box-shadow: none;
  inset: 78px 0 0;
  overflow: hidden;
  padding: 0;
  transform: none;
  width: auto;
  z-index: 0;
}

.hero-logo-card img {
  filter: sepia(0.18) saturate(0.7) contrast(1.04);
  height: 100%;
  mix-blend-mode: multiply;
  object-fit: cover;
  object-position: center 48%;
  opacity: 0.34;
  transform: scale(1.055);
  width: 100%;
  -webkit-mask-image: radial-gradient(
    ellipse 82% 78% at 66% 46%,
    #000 38%,
    rgba(0, 0, 0, 0.88) 60%,
    rgba(0, 0, 0, 0.28) 82%,
    transparent 100%
  );
  mask-image: radial-gradient(
    ellipse 82% 78% at 66% 46%,
    #000 38%,
    rgba(0, 0, 0, 0.88) 60%,
    rgba(0, 0, 0, 0.28) 82%,
    transparent 100%
  );
}

.hero::before {
  background:
    linear-gradient(
      90deg,
      rgba(255, 247, 232, 0.88) 0%,
      rgba(255, 247, 232, 0.67) 38%,
      rgba(241, 223, 191, 0.24) 66%,
      rgba(221, 195, 157, 0.46) 100%
    ),
    linear-gradient(
      0deg,
      rgba(238, 214, 177, 0.82) 0%,
      rgba(255, 247, 232, 0.08) 36%,
      rgba(255, 247, 232, 0.42) 100%
    ),
    linear-gradient(90deg, rgba(112, 73, 59, 0.055) 1px, transparent 1px),
    linear-gradient(rgba(112, 73, 59, 0.055) 1px, transparent 1px);
  background-size: cover, cover, 72px 72px, 72px 72px;
}

@media (max-width: 900px) {
  .hero-logo-card {
    inset: 68px 0 0;
  }

  .hero-logo-card img {
    object-position: center 45%;
    opacity: 0.3;
    transform: scale(1.08);
    -webkit-mask-image: radial-gradient(
      ellipse 92% 82% at 58% 42%,
      #000 34%,
      rgba(0, 0, 0, 0.82) 62%,
      transparent 100%
    );
    mask-image: radial-gradient(
      ellipse 92% 82% at 58% 42%,
      #000 34%,
      rgba(0, 0, 0, 0.82) 62%,
      transparent 100%
    );
  }
}

@media (max-width: 620px) {
  .hero-logo-card img {
    object-position: center 43%;
    opacity: 0.27;
    transform: scale(1.14);
  }

  .hero::before {
    background:
      linear-gradient(
        90deg,
        rgba(255, 247, 232, 0.78) 0%,
        rgba(255, 247, 232, 0.46) 52%,
        rgba(221, 195, 157, 0.28) 100%
      ),
      linear-gradient(
        0deg,
        rgba(238, 214, 177, 0.9) 0%,
        rgba(255, 247, 232, 0.12) 48%,
        rgba(255, 247, 232, 0.58) 100%
      ),
      linear-gradient(90deg, rgba(112, 73, 59, 0.05) 1px, transparent 1px),
      linear-gradient(rgba(112, 73, 59, 0.05) 1px, transparent 1px);
    background-size: cover, cover, 72px 72px, 72px 72px;
  }
}

/* Exchange request push, bidding, and provider desk */
.exchange-brief-system { position: relative; z-index: 120; }
.exchange-brief-launcher {
  align-items: center; background: #a76f52; border: 1px solid rgba(255, 248, 233, 0.72);
  bottom: 24px; box-shadow: 0 14px 34px rgba(45, 37, 30, 0.24); color: #fff8e9;
  display: grid; grid-template-columns: 1fr auto; left: 24px; min-height: 82px; padding: 14px 18px;
  position: fixed; text-align: left; width: min(230px, calc(100vw - 48px)); z-index: 124;
}
.exchange-brief-launcher span,
.exchange-brief-launcher strong { display: block; grid-column: 1; }
.exchange-brief-launcher span { font: 10px var(--display); letter-spacing: 0.14em; opacity: 0.76; }
.exchange-brief-launcher strong { font: 400 24px "ZCOOL QingKe HuangYou", var(--body); letter-spacing: 0.08em; }
.exchange-brief-launcher i { font: normal 24px var(--display); grid-column: 2; grid-row: 1 / span 2; }
.exchange-brief-system.is-open .exchange-brief-launcher { opacity: 0; pointer-events: none; transform: translateY(14px); }
.exchange-brief-backdrop {
  align-items: center; background: rgba(40, 33, 27, 0.72); display: none; inset: 0;
  justify-content: center; padding: 32px; position: fixed; z-index: 123;
}
.exchange-brief-system.is-open .exchange-brief-backdrop { display: flex; }
.exchange-brief-dialog {
  background: #edd7b3; box-shadow: 0 30px 90px rgba(24, 19, 15, 0.36); max-height: calc(100vh - 64px);
  max-width: 1180px; overflow: auto; padding: clamp(28px, 4.5vw, 72px); position: relative; width: 100%;
}
.exchange-brief-close {
  align-items: center; background: rgba(255, 248, 233, 0.38); border: 1px solid currentColor; border-radius: 50%;
  display: flex; font: 400 27px/1 var(--display) !important; height: 48px; justify-content: center;
  position: absolute; right: 22px; top: 22px; width: 48px; z-index: 2;
}
.exchange-brief-dialog .exchange-form-heading { padding-right: 64px; }
.exchange-brief-dialog .exchange-form-heading h2 { font-size: clamp(42px, 6vw, 82px); }
.exchange-brief-submit-row { align-items: center; display: flex; flex-wrap: wrap; gap: 18px 28px; }
.exchange-brief-submit-row small { font: 11px var(--display); letter-spacing: 0.1em; opacity: 0.7; }
.exchange-bid-desk { background: #d9c29b; padding: clamp(68px, 8vw, 130px) clamp(26px, 6vw, 96px); }
.exchange-bid-desk-heading { display: grid; gap: clamp(30px, 6vw, 100px); grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr); margin-bottom: 46px; }
.exchange-bid-desk-heading span,
.exchange-bid-section-title > span { font: 700 11px var(--display); letter-spacing: 0.15em; }
.exchange-bid-desk-heading h2 { font-family: var(--serif); font-size: clamp(48px, 7vw, 98px); font-weight: 500; letter-spacing: -0.05em; line-height: 0.96; margin: 20px 0 0; }
.exchange-bid-desk-heading > p { align-self: end; font-family: var(--serif); font-size: 19px; line-height: 1.75; margin: 0; }
.exchange-tier-ribbon { display: grid; grid-template-columns: repeat(3, 1fr); }
.exchange-tier-ribbon article { border: 1px solid rgba(51, 45, 38, 0.28); min-height: 154px; padding: 24px; }
.exchange-tier-ribbon article + article { border-left: 0; }
.exchange-tier-ribbon article:nth-child(2) { background: rgba(255, 248, 233, 0.32); }
.exchange-tier-ribbon article:nth-child(3) { background: #443b32; color: #fff8e9; }
.exchange-tier-ribbon span { display: block; font: 10px var(--display); margin-bottom: 36px; }
.exchange-tier-ribbon strong { display: block; font: 500 28px var(--serif); }
.exchange-tier-ribbon small { display: block; font: 11px var(--display); margin-top: 10px; opacity: 0.7; }
.exchange-bid-status { color: var(--red-dark); font-family: var(--serif); min-height: 28px; }
.exchange-bid-section { border-top: 1px solid rgba(51, 45, 38, 0.32); display: grid; gap: clamp(28px, 5vw, 70px); grid-template-columns: minmax(190px, 0.32fr) minmax(0, 1fr); margin-top: 56px; padding-top: 38px; }
.exchange-bid-section-title h3 { font: 500 clamp(34px, 4vw, 54px) var(--serif); margin: 18px 0 10px; }
.exchange-bid-section-title small { font: 11px var(--display); line-height: 1.6; opacity: 0.72; }
.exchange-push-list,
.exchange-buyer-orders,
.exchange-message-list { display: grid; gap: 18px; }
.exchange-push-card,
.exchange-buyer-orders > article,
.exchange-message-list > article { background: rgba(255, 248, 233, 0.45); border: 1px solid rgba(51, 45, 38, 0.26); padding: clamp(22px, 3vw, 38px); }
.exchange-push-meta { align-items: center; display: flex; font: 10px var(--display); gap: 9px; letter-spacing: 0.08em; }
.exchange-push-meta span,
.exchange-push-meta small { border: 1px solid currentColor; padding: 6px 8px; }
.exchange-push-meta b { margin-left: auto; }
.exchange-push-card h4,
.exchange-buyer-orders > article > h4 { font: 500 clamp(24px, 3vw, 40px) var(--serif); line-height: 1.3; margin: 28px 0 12px; }
.exchange-push-card > p,
.exchange-buyer-orders > article > p { font-family: var(--serif); line-height: 1.65; }
.exchange-push-card form { border-top: 1px solid rgba(51, 45, 38, 0.2); display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 26px; padding-top: 26px; }
.exchange-push-card form label { display: grid; gap: 8px; }
.exchange-push-card form label > span { font-size: 12px; font-weight: 700; }
.exchange-push-card form input,
.exchange-push-card form textarea { background: #fff7e8; border: 1px solid rgba(51, 45, 38, 0.3); color: var(--ink); font: 15px var(--body); padding: 12px 14px; width: 100%; }
.exchange-push-card form > div { align-items: center; display: flex; gap: 20px; grid-column: 1 / -1; }
.exchange-push-card form > div > button:last-child { background: transparent; border: 0; border-bottom: 1px solid; padding: 5px 0; }
.exchange-quote-list { display: grid; gap: 10px; margin-top: 28px; }
.exchange-quote-list > article { background: #fff7e8; border-left: 5px solid #a66d51; display: grid; gap: 10px 20px; grid-template-columns: 1fr auto; padding: 20px; }
.exchange-quote-list > article.is-accepted { background: #59635b; color: #fff8e9; }
.exchange-quote-list > article div span { display: block; font-size: 11px; margin-top: 5px; opacity: 0.7; }
.exchange-quote-list > article > b { font: 700 24px var(--display); }
.exchange-quote-list > article > p,
.exchange-quote-list > article > button,
.exchange-quote-list > article > small { grid-column: 1 / -1; }
.exchange-quote-list > article > p { font-family: var(--serif); line-height: 1.6; margin: 0; }
.exchange-quote-list > article > button { background: #40382f; border: 0; color: #fff8e9; justify-self: start; padding: 12px 16px; }
.exchange-message-list > article strong { font: 500 24px var(--serif); }
.exchange-message-list > article p { font-family: var(--serif); line-height: 1.7; }
.exchange-message-list > article small { opacity: 0.66; }
.exchange-bid-empty { background: rgba(255, 248, 233, 0.42); border: 1px solid rgba(51, 45, 38, 0.24); font-family: var(--serif); line-height: 1.7; padding: 28px; }

@media (max-width: 980px) {
  .exchange-bid-desk-heading,
  .exchange-bid-section { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .exchange-brief-backdrop { align-items: stretch; padding: 0; }
  .exchange-brief-dialog { max-height: 100dvh; padding: 78px 20px 36px; }
  .exchange-brief-dialog .exchange-form-heading { padding-right: 0; }
  .exchange-brief-close { height: 42px; right: 16px; top: 16px; width: 42px; }
  .exchange-brief-launcher {
    bottom: 14px;
    display: flex;
    gap: 14px;
    left: auto;
    min-height: 52px;
    padding: 10px 14px;
    right: 14px;
    width: auto;
  }
  .exchange-brief-launcher span { display: none; }
  .exchange-brief-launcher strong { font-size: 17px; white-space: nowrap; }
  .exchange-brief-launcher i { font-size: 18px; }
  .exchange-bid-desk { padding: 62px 20px 90px; }
  .exchange-bid-desk-heading h2 { font-size: 50px; }
  .exchange-bid-desk-heading > p { font-size: 17px; }
  .exchange-tier-ribbon { grid-template-columns: 1fr; }
  .exchange-tier-ribbon article { min-height: 124px; }
  .exchange-tier-ribbon article + article { border-left: 1px solid rgba(51, 45, 38, 0.28); border-top: 0; }
  .exchange-tier-ribbon span { margin-bottom: 22px; }
  .exchange-push-card form { grid-template-columns: 1fr; }
  .exchange-push-card form > div { grid-column: 1; }
  .exchange-quote-list > article { grid-template-columns: 1fr; }
  .exchange-quote-list > article > b,
  .exchange-quote-list > article > p,
  .exchange-quote-list > article > button,
  .exchange-quote-list > article > small { grid-column: 1; }
}

/* One settings control across home, secondary and tertiary navigation. */
.settings-link {
  align-items: center;
  align-self: center;
  background: rgba(166, 109, 81, 0.92);
  border: 1px solid rgba(255, 247, 232, 0.5);
  border-radius: 999px;
  color: #fff7e8;
  display: inline-flex !important;
  flex: 0 0 42px;
  height: 42px;
  justify-content: center !important;
  min-height: 42px;
  min-width: 42px;
  padding: 0 !important;
  position: relative;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
  width: 42px;
}

.settings-link svg {
  fill: none;
  height: 21px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.65;
  width: 21px;
}

.settings-link:hover,
.settings-link:focus-visible {
  background: #fff7e8;
  border-color: #fff7e8;
  color: #3a342a;
  transform: rotate(8deg);
}

.settings-link-tooltip {
  background: #332d26;
  border: 1px solid rgba(255, 247, 232, 0.25);
  border-radius: 3px;
  color: #fff7e8;
  font-family: var(--display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  opacity: 0;
  padding: 7px 9px;
  pointer-events: none;
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  transform: translateY(-4px) rotate(-8deg);
  transition:
    opacity 160ms ease,
    transform 160ms ease;
  white-space: nowrap;
  width: auto;
  z-index: 160;
}

.settings-link:hover .settings-link-tooltip,
.settings-link:focus-visible .settings-link-tooltip {
  opacity: 1;
  transform: translateY(0) rotate(-8deg);
}

.site-header > .site-settings-link {
  justify-self: center;
  margin: 0 18px 0 0;
}

.subpage-header nav > .settings-link {
  margin-left: 2px;
}

@media (max-width: 1180px) {
  .site-header > .site-settings-link {
    display: none !important;
  }

  .mobile-nav .settings-link {
    border: 1px solid rgba(255, 247, 232, 0.48);
    height: 48px;
    margin-top: 18px;
    min-height: 48px;
    width: 48px;
  }

  .mobile-nav .settings-link-tooltip {
    display: none;
  }
}

@media (max-width: 620px) {
  .subpage-header nav > .settings-link {
    flex-basis: 38px;
    height: 38px;
    min-height: 38px;
    min-width: 38px;
    width: 38px;
  }

  .subpage-header nav > .settings-link svg {
    height: 19px;
    width: 19px;
  }

  .subpage-header nav > .settings-link-tooltip {
    display: none;
  }
}

/* 2026-08-02 — A / Warm Editorial typography and compact interaction rhythm. */
@font-face {
  font-family: "Noto Serif SC";
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url("./fonts/noto-serif-sc-dogden-300-900.woff2") format("woff2");
  unicode-range: U+2E80-2EFF, U+3000-303F, U+31C0-31EF, U+3400-4DBF,
    U+4E00-9FFF, U+F900-FAFF, U+FF00-FFEF;
}

@font-face {
  font-family: "Noto Sans SC";
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url("./fonts/noto-sans-sc-dogden-300-900.woff2") format("woff2");
  unicode-range: U+2E80-2EFF, U+3000-303F, U+31C0-31EF, U+3400-4DBF,
    U+4E00-9FFF, U+F900-FAFF, U+FF00-FFEF;
}

@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("./fonts/space-grotesk-400.woff2") format("woff2");
}

@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("./fonts/space-grotesk-700.woff2") format("woff2");
}

@font-face {
  font-family: "ZCOOL QingKe HuangYou";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("./fonts/zcool-qingke-dogden-400.woff2") format("woff2");
  unicode-range: U+2E80-2EFF, U+3000-303F, U+31C0-31EF, U+3400-4DBF,
    U+4E00-9FFF, U+F900-FAFF, U+FF00-FFEF;
}

:root {
  --type-title: "Space Grotesk", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --type-body: "Noto Serif SC", "Songti SC", "STSong", serif;
  --type-menu: "ZCOOL QingKe HuangYou", "Space Grotesk", "Noto Sans SC", sans-serif;
  --type-utility: "Space Grotesk", "Noto Serif SC", sans-serif;
  --display: var(--type-title);
  --editorial: var(--type-title);
  --serif: var(--type-body);
  --body: var(--type-body);
  --font-menu: var(--type-menu);
  --mono: var(--type-utility);
}

body,
input,
textarea,
select {
  font-family: var(--type-body);
  font-weight: 400;
}

h1,
h2,
h3,
h4,
.hero h1,
.section h2,
.brand-portals-heading h2,
.brand-portal-copy h3,
.service-intro-hero-copy h1,
.studio-entry-hero h1,
.service-intro-heading h2,
.service-intro-experience h2,
.service-purchase-cta h2,
.subpage-hero h1,
.subpage-cta h2,
.project-hero-title h1,
.project-step-heading h2,
.course-info-hero h1,
.course-info-empty h2,
.exchange-hero h1,
.exchange-join-hero h1,
.exchange-dashboard-hero h1,
.account-hero h1,
.sample-creator-hero h1 {
  font-family: var(--type-title) !important;
  font-weight: 700 !important;
  font-kerning: normal;
  font-synthesis: none;
  font-variant-east-asian: normal;
  letter-spacing: 0 !important;
  overflow-wrap: break-word;
  text-rendering: geometricPrecision;
  text-wrap: balance;
  word-break: normal;
}

h1 > span,
h2 > span,
h3 > span,
h4 > span {
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  vertical-align: baseline;
}

.sample-creator-form-card,
.sample-creator-form-card form,
.sample-creator-form-card label,
.sample-form-two,
.sample-form-three {
  min-width: 0;
}

.sample-form-two,
.sample-form-three {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.sample-form-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.sample-creator-form-card input:not([type="checkbox"]):not([type="radio"]),
.sample-creator-form-card select,
.sample-creator-form-card textarea {
  box-sizing: border-box;
  max-width: 100%;
}

.hero h1 {
  font-size: clamp(96px, 10.5vw, 144px);
  letter-spacing: -0.045em;
  line-height: 0.86;
}

.subpage-hero h1,
.service-intro-hero-copy h1,
.project-hero-title h1,
.course-info-hero h1,
.exchange-hero h1,
.exchange-join-hero h1,
.exchange-dashboard-hero h1,
.account-hero h1,
.sample-creator-hero h1,
.studio-entry-hero h1 {
  font-size: clamp(72px, 8.5vw, 112px);
  line-height: 0.98;
}

.section h2,
.brand-portals-heading h2,
.service-intro-heading h2,
.service-intro-experience h2,
.service-purchase-cta h2,
.subpage-cta h2,
.project-step-heading h2,
.course-info-empty h2,
.exchange-section-heading h2,
.exchange-form-heading h2,
.account-dashboard-header h2 {
  font-size: clamp(46px, 5vw, 72px);
  line-height: 1.06;
}

.brand-portal-copy h3,
.service-card h3,
.price-category-card h3,
.equipment-card h3,
.plugin-card h3,
.course-main h3,
.course-detail-title h2,
.service-intro-principles h3,
.service-method-grid h3,
.exchange-category-grid h3,
.exchange-listing-title h3,
.account-panel h3 {
  font-size: clamp(28px, 2.4vw, 38px);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.18;
  text-wrap: balance;
}

.hero-copy,
.section-intro,
.pricing-top > p,
.course-heading > p,
.equipment-heading > p,
.residents-heading > p,
.service-intro-hero-copy > p:last-child,
.course-info-hero > p:last-child,
.exchange-hero-note p,
.exchange-join-lead p,
.account-hero-copy p,
.sample-creator-hero p {
  font-family: var(--type-body);
  font-size: clamp(19px, 1.5vw, 22px);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.7;
  max-width: 42rem;
  text-wrap: pretty;
}

.brand-portal-copy p,
.service-card p,
.price-category-card > p,
.plugin-copy,
.course-copy,
.course-detail-copy > p,
.course-info-empty p,
.service-intro-principles p,
.service-method-grid p,
.service-intro-experience > div > p,
.service-purchase-cta > div > span,
.project-package > p,
.project-step-heading p,
.booking-dialog-header p,
.exchange-category-grid p,
.exchange-listing > p,
.exchange-form-heading p,
.account-panel > p,
.compact-profile-copy p,
.team-member > p {
  font-family: var(--type-body);
  font-size: 17px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.72;
  max-width: 42rem;
  text-wrap: pretty;
}

.section-label,
.subpage-kicker,
.brand-portal-meta,
.service-intro-hero-copy > p:first-child,
.service-intro-heading > p,
.service-intro-experience > p,
.service-purchase-cta p,
.exchange-category-grid small,
.exchange-listing-topline,
.project-steps,
.course-detail-number {
  font-family: var(--type-utility);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.45;
}

nav,
nav a,
button,
.button,
.header-cta,
.header-back,
.header-project-link,
.project-secondary-button,
.booking-slot,
input[type="button"],
input[type="submit"] {
  font-family: var(--type-menu);
  font-weight: 400;
  letter-spacing: 0.06em;
}

.button,
.header-cta,
.project-secondary-button,
.booking-slot,
input[type="button"],
input[type="submit"] {
  gap: 16px;
  justify-content: space-between;
  line-height: 1.25;
  min-height: 48px;
  min-width: 0;
  padding: 13px 18px;
  text-transform: none;
  white-space: normal;
  width: auto;
}

.button-primary {
  min-width: 168px;
}

.subpage-header nav a.header-back,
.header-project-link {
  gap: 12px;
  min-height: 42px;
  padding: 8px 12px;
}

.service-purchase-cta {
  gap: 32px;
  padding: clamp(48px, 5vw, 64px) 6vw;
}

.service-purchase-cta .button {
  font-size: 18px;
  min-height: 60px;
  min-width: 220px;
  padding: 16px 20px;
}

.subpage-cta {
  gap: 32px;
  grid-template-columns: minmax(100px, 140px) minmax(0, 1fr) auto;
  padding: clamp(48px, 5vw, 64px) 5vw;
}

.brand-portal-card {
  min-height: 340px;
}

.service-card {
  min-height: 290px;
}

.price-category-card {
  min-height: 350px;
}

.plugin-card {
  min-height: 440px;
}

.project-step-actions,
.project-success-actions,
.exchange-form-actions,
.exchange-join-actions,
.account-exchange-entry-actions,
.exchange-brief-submit-row {
  align-items: center;
  gap: 12px;
}

.account-exchange-entry-actions .button,
.exchange-join-actions .button {
  min-width: 0;
}

.account-exchange-entry-actions .button {
  margin-top: 0;
  min-height: 48px;
}

.account-exchange-entry-actions > a:last-child.account-messages-button {
  min-height: 48px;
  padding: 13px 18px;
}

@media (max-width: 900px) {
  .hero h1 {
    font-size: clamp(72px, 15vw, 108px);
  }

  .subpage-hero h1,
  .service-intro-hero-copy h1,
  .project-hero-title h1,
  .course-info-hero h1,
  .exchange-hero h1,
  .exchange-join-hero h1,
  .exchange-dashboard-hero h1,
  .account-hero h1,
  .sample-creator-hero h1,
  .studio-entry-hero h1 {
    font-size: clamp(58px, 12vw, 84px);
  }

  .section h2,
  .brand-portals-heading h2,
  .service-intro-heading h2,
  .service-intro-experience h2,
  .service-purchase-cta h2,
  .subpage-cta h2,
  .project-step-heading h2,
  .course-info-empty h2,
  .exchange-section-heading h2,
  .exchange-form-heading h2,
  .account-dashboard-header h2 {
    font-size: clamp(40px, 7vw, 58px);
  }
}

@media (max-width: 620px) {
  .hero h1 {
    font-size: clamp(58px, 18vw, 76px);
    line-height: 0.92;
  }

  .subpage-hero h1,
  .service-intro-hero-copy h1,
  .project-hero-title h1,
  .course-info-hero h1,
  .exchange-hero h1,
  .exchange-join-hero h1,
  .exchange-dashboard-hero h1,
  .account-hero h1,
  .sample-creator-hero h1,
  .studio-entry-hero h1 {
    font-size: clamp(48px, 14vw, 64px);
    line-height: 1.02;
  }

  .section h2,
  .brand-portals-heading h2,
  .service-intro-heading h2,
  .service-intro-experience h2,
  .service-purchase-cta h2,
  .subpage-cta h2,
  .project-step-heading h2,
  .course-info-empty h2,
  .exchange-section-heading h2,
  .exchange-form-heading h2,
  .account-dashboard-header h2 {
    font-size: clamp(36px, 10.5vw, 46px);
  }

  .brand-portal-copy h3,
  .service-card h3,
  .price-category-card h3,
  .equipment-card h3,
  .plugin-card h3,
  .course-main h3,
  .course-detail-title h2,
  .service-intro-principles h3,
  .service-method-grid h3,
  .exchange-category-grid h3,
  .exchange-listing-title h3,
  .account-panel h3 {
    font-size: clamp(25px, 7vw, 31px);
  }

  .hero-copy,
  .section-intro,
  .pricing-top > p,
  .course-heading > p,
  .equipment-heading > p,
  .residents-heading > p,
  .service-intro-hero-copy > p:last-child,
  .course-info-hero > p:last-child,
  .exchange-hero-note p,
  .exchange-join-lead p,
  .account-hero-copy p,
  .sample-creator-hero p {
    font-size: 17px;
    line-height: 1.65;
  }

  .brand-portal-copy p,
  .service-card p,
  .price-category-card > p,
  .plugin-copy,
  .course-copy,
  .course-detail-copy > p,
  .course-info-empty p,
  .service-intro-principles p,
  .service-method-grid p,
  .service-intro-experience > div > p,
  .service-purchase-cta > div > span,
  .project-package > p,
  .project-step-heading p,
  .booking-dialog-header p,
  .exchange-category-grid p,
  .exchange-listing > p,
  .exchange-form-heading p,
  .account-panel > p,
  .compact-profile-copy p,
  .team-member > p {
    font-size: 16px;
    line-height: 1.7;
  }

  .button,
  .header-cta,
  .project-secondary-button,
  .booking-slot,
  input[type="button"],
  input[type="submit"] {
    min-height: 46px;
    padding: 12px 15px;
  }

  .subpage-header nav a.header-back {
    height: 38px;
    min-height: 38px;
    padding: 0 10px;
    width: 38px;
  }

  .service-purchase-cta {
    gap: 24px;
    grid-template-columns: 1fr;
    padding: 44px 20px;
  }

  .service-purchase-cta .button {
    min-height: 54px;
    min-width: 0;
    width: 100%;
  }

  .subpage-cta {
    align-items: start;
    gap: 18px;
    grid-template-columns: 1fr;
    padding: 44px 20px;
  }

  .subpage-cta .button {
    width: 100%;
  }

  .brand-portal-card {
    min-height: 230px;
  }

  .service-card,
  .price-category-card,
  .plugin-card {
    min-height: 0;
  }

  .project-step-actions,
  .project-success-actions,
  .exchange-form-actions,
  .exchange-join-actions,
  .account-exchange-entry-actions,
  .exchange-brief-submit-row {
    align-items: stretch;
  }

  .project-step-actions .button,
  .project-step-actions .project-secondary-button,
  .project-success-actions .button,
  .exchange-form-actions .button,
  .exchange-join-actions .button,
  .account-exchange-entry-actions .button,
  .exchange-brief-submit-row .button {
    justify-content: space-between;
    width: 100%;
  }

  .account-exchange-entry-actions > a:last-child.account-messages-button {
    min-height: 46px;
    padding: 12px 15px;
  }

  /* Let editorial subpage covers follow their content on phones instead of
     stretching every short intro to almost a full viewport. */
  .subpage-hero {
    gap: 0;
    justify-content: flex-start;
    min-height: 0;
    padding: 36px 20px 42px;
  }

  .subpage-hero h1 {
    margin: 26px 0 34px;
  }

  .subpage-hero-copy {
    gap: 14px;
    grid-template-columns: 1fr;
    padding-top: 16px;
  }

  .subpage-hero-copy p {
    max-width: 34rem;
  }
}

/* Keep the horizontal studio-service cards concise on small screens. */
@media (max-width: 620px) {
  .section-services .section-heading {
    margin-bottom: 24px;
  }

  .service-window-controls {
    margin-bottom: 10px;
  }

  .service-window-controls button {
    font-size: 17px;
    height: 38px;
    width: 38px;
  }

  .service-window .service-grid {
    grid-auto-columns: minmax(250px, 82vw);
    padding-bottom: 10px;
  }

  .service-window .service-card {
    min-height: 0;
    padding: 20px;
  }

  .service-card .service-number {
    margin-bottom: 24px;
  }

  .service-card h3 {
    margin-bottom: 12px;
  }

  .service-card p {
    line-height: 1.62;
  }

  .service-card small {
    margin-top: 18px;
    padding-top: 12px;
  }

  .service-card-link {
    margin-top: 14px;
    padding-top: 14px;
  }

  .services-equipment {
    margin-top: 30px;
    padding-top: 30px;
  }
}

/* Keep every full-screen dialog below the fixed mobile navigation. */
@media (max-width: 760px) {
  .booking-backdrop,
  .exchange-brief-backdrop {
    inset: 68px 0 0;
  }

  .testimonial-modal-backdrop {
    inset: 68px 0 0;
    padding: 8px 8px max(8px, env(safe-area-inset-bottom));
  }

  .testimonial-modal {
    max-height: calc(100dvh - 84px);
  }

  .booking-dialog {
    max-height: calc(100svh - 68px);
  }

  .exchange-brief-dialog {
    max-height: calc(100dvh - 68px);
  }
}

/* Google Account-inspired information architecture, retained in DOG DEN tones. */
.account-dashboard {
  background: #f6efe3;
  padding: 56px 5vw 96px;
}

.account-dashboard-header {
  align-items: center;
  background: #fffaf1;
  border: 1px solid rgba(58, 52, 42, 0.16);
  border-radius: 26px;
  box-shadow: 0 12px 32px rgba(62, 48, 37, 0.06);
  display: flex;
  justify-content: flex-start;
  margin: 0 auto 30px;
  max-width: 1120px;
  padding: 28px 32px;
}

.account-dashboard-identity {
  align-items: center;
  display: flex;
  gap: 22px;
  min-width: 0;
}

.account-profile-avatar,
.account-info-avatar {
  align-items: center;
  background: #b77455;
  border-radius: 50%;
  color: #fffaf1;
  display: inline-flex;
  flex: none;
  font-family: var(--type-title);
  font-weight: 700;
  justify-content: center;
}

.account-profile-avatar {
  font-size: 22px;
  height: 72px;
  width: 72px;
}

.account-info-avatar {
  font-size: 12px;
  height: 38px;
  width: 38px;
}

.account-dashboard-header h2 {
  font-family: var(--type-title);
  font-size: clamp(30px, 3.4vw, 46px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.12;
  margin: 8px 0 7px;
}

.account-dashboard-intro {
  color: rgba(58, 52, 42, 0.66);
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

.account-dashboard-intro b {
  color: var(--ink);
  font-weight: 700;
}

.account-dashboard-body {
  display: grid;
  gap: 40px;
  grid-template-columns: 220px minmax(0, 860px);
  justify-content: center;
  margin: 0 auto;
  max-width: 1120px;
}

.account-settings-nav {
  align-self: start;
  display: grid;
  gap: 4px;
  position: sticky;
  top: 112px;
}

.account-settings-nav a {
  border-radius: 999px;
  color: rgba(58, 52, 42, 0.7);
  font-family: var(--type-menu);
  font-size: 14px;
  letter-spacing: 0.035em;
  padding: 12px 18px;
  transition: background 160ms ease, color 160ms ease;
}

.account-settings-nav a:first-child,
.account-settings-nav a:hover,
.account-settings-nav a:focus-visible {
  background: #ead6b8;
  color: var(--ink);
  outline: 0;
}

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

.account-dashboard-grid > .account-panel,
.account-dashboard-grid > .account-panel:nth-child(even),
.account-dashboard-grid > .account-danger {
  background: #fffaf1;
  border: 1px solid rgba(58, 52, 42, 0.16);
  border-radius: 24px;
  grid-column: auto;
  min-height: 0;
  padding: 30px 32px 32px;
  scroll-margin-top: 108px;
}

.account-dashboard-grid > .account-panel > span {
  color: rgba(58, 52, 42, 0.55);
  font-family: var(--type-utility);
  font-size: 10px;
  letter-spacing: 0.1em;
}

.account-dashboard-grid > .account-panel h3 {
  font-family: var(--type-title);
  font-size: clamp(26px, 2.5vw, 34px);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.2;
  margin: 11px 0 8px;
}

.account-dashboard-grid > .account-panel > p {
  color: rgba(58, 52, 42, 0.64);
  font-family: var(--type-body);
  font-size: 14px;
  line-height: 1.65;
  margin: 0 0 22px;
  max-width: 620px;
  opacity: 1;
}

.account-info-list {
  border-top: 1px solid rgba(58, 52, 42, 0.14);
  margin: 22px 0 0;
}

.account-info-list > div {
  align-items: center;
  border-bottom: 1px solid rgba(58, 52, 42, 0.14);
  display: grid;
  gap: 20px;
  grid-template-columns: minmax(120px, 0.34fr) minmax(0, 1fr);
  min-height: 64px;
  padding: 12px 4px;
}

.account-info-list dt {
  color: rgba(58, 52, 42, 0.58);
  font-size: 13px;
}

.account-info-list dd {
  font-size: 15px;
  font-weight: 700;
  margin: 0;
  overflow-wrap: anywhere;
}

.account-credentials dl {
  margin-top: 20px;
}

.account-credentials dl > div {
  min-height: 56px;
  padding: 15px 4px;
}

.account-panel form {
  max-width: 640px;
}

.account-credentials form {
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.account-username-form {
  border-top: 1px solid rgba(58, 52, 42, 0.14);
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 24px;
  padding-top: 24px;
}

.account-username-form label {
  display: grid;
  gap: 9px;
}

.account-username-form small,
.account-credentials form small {
  color: rgba(58, 52, 42, 0.6);
  font-size: 11px;
  line-height: 1.55;
}

.account-username-form button {
  grid-column: 1 / -1;
  justify-self: start;
}

.account-credentials form button {
  grid-column: 1 / -1;
  justify-self: start;
}

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

.account-setting-row {
  min-height: 66px;
  padding: 10px 4px;
}

.account-setting-row strong {
  font-size: 15px;
}

.account-setting-row small {
  font-size: 12px;
}

.account-setting-row input {
  height: 22px;
  width: 22px;
}

.account-language select,
.account-panel input:not([type="checkbox"]) {
  border-radius: 12px;
}

.account-panel form button,
.account-version > a {
  border-radius: 999px;
  font-size: 13px;
  min-height: 46px;
  padding: 12px 20px;
}

.account-history [data-account-history],
.account-version > strong {
  border-color: rgba(58, 52, 42, 0.14);
}

.account-dashboard-grid > .account-danger {
  background: #f5e7df;
  border-color: rgba(123, 73, 61, 0.25);
}

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

.account-danger form button {
  grid-column: 1 / -1;
  justify-self: start;
}

.account-dashboard:not([hidden]) ~ .account-privacy-terms {
  display: none;
}

@media (max-width: 900px) {
  .account-dashboard {
    padding: 42px 24px 76px;
  }

  .account-dashboard-header {
    margin-bottom: 18px;
  }

  .account-dashboard-body {
    display: block;
  }

  .account-settings-nav {
    background: #f6efe3;
    display: flex;
    gap: 6px;
    margin: 0 -4px 18px;
    overflow-x: auto;
    padding: 8px 4px 12px;
    position: sticky;
    scrollbar-width: none;
    top: 72px;
    z-index: 4;
  }

  .account-settings-nav::-webkit-scrollbar {
    display: none;
  }

  .account-settings-nav a {
    background: #fffaf1;
    border: 1px solid rgba(58, 52, 42, 0.14);
    flex: none;
    white-space: nowrap;
  }

  .account-dashboard-grid > .account-panel,
  .account-dashboard-grid > .account-panel:nth-child(even),
  .account-dashboard-grid > .account-danger {
    scroll-margin-top: 140px;
  }
}

@media (max-width: 620px) {
  .account-dashboard {
    padding: 28px 16px 58px;
  }

  .account-dashboard-header {
    border-radius: 20px;
    padding: 22px 20px;
  }

  .account-dashboard-identity {
    align-items: flex-start;
    gap: 14px;
  }

  .account-profile-avatar {
    font-size: 16px;
    height: 52px;
    width: 52px;
  }

  .account-dashboard-header h2 {
    font-size: 28px;
  }

  .account-dashboard-intro {
    font-size: 13px;
  }

  .account-settings-nav {
    margin-left: -16px;
    margin-right: -16px;
    padding-left: 16px;
    padding-right: 16px;
  }

  .account-dashboard-grid > .account-panel,
  .account-dashboard-grid > .account-panel:nth-child(even),
  .account-dashboard-grid > .account-danger {
    border-radius: 20px;
    padding: 24px 20px 26px;
  }

  .account-dashboard-grid > .account-panel h3 {
    font-size: 26px;
  }

  .account-info-list > div {
    gap: 6px;
    grid-template-columns: 1fr;
    padding: 14px 2px;
  }

  .account-credentials form,
  .account-username-form,
  .account-preference-fields,
  .account-danger form {
    grid-template-columns: 1fr;
  }

  .account-credentials form button,
  .account-username-form button,
  .account-danger form button {
    grid-column: auto;
    justify-self: stretch;
  }
}

/* Final typography authority: later than every page-specific rule. */
:root {
  --type-title: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --type-body: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --type-menu: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --type-utility: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
}

body,
button,
input,
select,
textarea {
  font-family: var(--type-body);
  font-synthesis: none;
}

nav,
nav a,
.button,
.header-cta,
.header-back,
.mobile-menu-button,
.settings-button,
button,
input,
select,
textarea {
  font-family: var(--type-body) !important;
}

/* Phase 1 trust states: unfinished actions must not look transactional. */
.plugin-detail-actions button:disabled,
.plugin-product-actions button:disabled {
  background: rgba(247, 239, 223, 0.08);
  border-color: rgba(247, 239, 223, 0.2);
  color: currentColor;
  cursor: not-allowed;
  opacity: 0.52;
  transform: none;
}

.plugin-detail-actions button:disabled:hover,
.plugin-detail-actions button:disabled:focus-visible,
.plugin-product-actions button:disabled:hover,
.plugin-product-actions button:disabled:focus-visible {
  background: rgba(247, 239, 223, 0.08);
  color: currentColor;
  transform: none;
}

.plugin-availability-note {
  display: block;
  font-size: 13px;
  line-height: 1.65;
  margin-top: 14px;
  max-width: 520px;
  opacity: 0.72;
}

.plugin-product-release-note {
  border-left: 3px solid currentColor;
  display: flex;
  flex-basis: 100%;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 8px;
  padding: 8px 0 8px 14px;
}

.plugin-product-release-note strong {
  font-size: 14px;
}

.plugin-product-release-note span {
  font-size: 13px;
  line-height: 1.6;
  opacity: 0.72;
}

.exchange-beta-status {
  background: #f7ead1;
  border-bottom: 1px solid rgba(58, 52, 42, 0.24);
  display: grid;
  gap: clamp(36px, 7vw, 110px);
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.22fr);
  padding: clamp(54px, 7vw, 94px) clamp(24px, 6vw, 96px);
}

.exchange-beta-status > div > span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.exchange-beta-status h2 {
  font-size: clamp(38px, 4.6vw, 68px);
  letter-spacing: -0.045em;
  line-height: 1.08;
  margin: 22px 0 18px;
}

.exchange-beta-status p,
.exchange-beta-status dd {
  font-size: 16px;
  line-height: 1.72;
}

.exchange-beta-status p {
  margin: 0;
  max-width: 700px;
}

.exchange-beta-status dl {
  margin: 0;
}

.exchange-beta-status dl > div {
  border-top: 1px solid rgba(58, 52, 42, 0.26);
  display: grid;
  gap: 18px;
  grid-template-columns: 86px minmax(0, 1fr);
  padding: 20px 0;
}

.exchange-beta-status dt {
  font-size: 13px;
  font-weight: 800;
}

.exchange-beta-status dd {
  margin: 0;
}

/* Account markup is hidden only while WordPress resolves the real session. */
[data-account-root][data-account-state="checking"] [data-account-auth],
[data-account-root][data-account-state="checking"] [data-account-dashboard] {
  visibility: hidden;
}

[data-account-root][data-account-state="checking"]::before {
  align-items: center;
  background: #f6efe3;
  color: rgba(58, 52, 42, 0.72);
  content: "正在确认登录状态…";
  display: flex;
  font-size: 14px;
  justify-content: center;
  min-height: 280px;
  padding: 40px 20px;
}

/* Phase 2 editorial scale: fewer arbitrary sizes and shorter first screens. */
.home-hub-hero {
  min-height: clamp(500px, 64svh, 620px);
}

.subpage-hero {
  min-height: clamp(460px, 58svh, 540px);
  padding-bottom: 42px;
  padding-top: 50px;
}

.plugin-product-hero {
  min-height: 520px;
  padding-bottom: 48px;
  padding-top: 50px;
}

.exchange-hero {
  min-height: 540px;
  padding-top: 56px;
}

.section-intro,
.subpage-hero-copy p,
.exchange-hero-note p,
.plugin-detail-copy > span,
.plugin-product-heading > span,
.course-detail-copy > p,
.service-intro-section p {
  font-size: clamp(16px, 1.25vw, 18px);
  line-height: 1.7;
}

@media (max-width: 760px) {
  .exchange-beta-status {
    gap: 28px;
    grid-template-columns: 1fr;
    padding: 42px 20px;
  }

  .exchange-beta-status h2 {
    font-size: clamp(34px, 10vw, 48px);
  }

  .exchange-beta-status dl > div {
    gap: 7px;
    grid-template-columns: 1fr;
  }

  .home-hub-hero {
    height: clamp(540px, 70svh, 590px);
    min-height: 0;
    padding: 0;
  }

  .home-hub-hero .hero-content {
    height: 100%;
    padding: 72px 20px 58px;
  }

  .home-hub-hero h1 {
    margin-top: 34px;
  }

  .home-hub-hero .hero-bottom {
    width: 100%;
  }

  .home-hub-hero .hero-index {
    bottom: 14px;
  }

  .subpage-hero,
  .plugin-subhero {
    min-height: 0;
    padding: 34px 20px 40px;
  }

  .plugin-product-hero {
    min-height: 0;
    padding-bottom: 38px;
    padding-top: 38px;
  }

  .exchange-hero {
    min-height: 0;
    padding-top: 68px;
  }

  .plugin-availability-note,
  .plugin-product-release-note span {
    font-size: 14px;
  }

  .demos-page {
    padding-bottom: calc(156px + env(safe-area-inset-bottom));
  }

  .floating-audio-player {
    bottom: max(8px, env(safe-area-inset-bottom));
    width: calc(100% - 20px);
  }
}

/* Selected homepage direction: a warm listening room with record-sleeve portals. */
.visually-hidden {
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.home-hub-page {
  background-color: #ead9bc;
  background-image: url("../static/home-icons/paper-texture.jpg");
  background-position: center top;
  background-size: 1024px 1024px;
  color: #29231d;
}

.home-hub-page > .site-header {
  background: rgba(31, 27, 23, 0.98);
  border-bottom-color: rgba(245, 237, 220, 0.2);
  box-shadow: none;
  color: #f5eddc;
  grid-template-columns: minmax(250px, 0.9fr) minmax(620px, 2.9fr) 88px;
  height: 88px;
}

.home-hub-page .header-brand-group {
  gap: 28px;
}

.home-hub-page .wordmark {
  border-right: 0;
  color: #f5eddc;
  font-family: var(--type-title);
  font-size: 16px;
  padding-left: 36px;
  padding-right: 0;
}

.home-hub-page .wordmark-logo {
  border-color: rgba(245, 237, 220, 0.72);
  height: 54px;
  width: 54px;
}

.home-hub-page .wordmark small {
  color: rgba(245, 237, 220, 0.72);
  font-size: 9px;
  opacity: 1;
}

.home-hub-page .header-home-link,
.home-hub-page .header-home-link.is-active {
  background: transparent;
  border-color: rgba(245, 237, 220, 0.52);
  box-shadow: none;
  color: #f5eddc;
  font-family: var(--type-menu);
  font-size: 17px;
  min-height: 52px;
  padding: 0 24px;
}

.home-hub-page .header-home-link.is-active {
  box-shadow: inset 0 -3px 0 #a56f51;
}

.home-hub-page .header-home-link:hover,
.home-hub-page .header-home-link:focus-visible {
  background: rgba(165, 111, 81, 0.18);
  border-color: #a56f51;
  color: #fff7e8;
  transform: none;
}

.home-hub-page .desktop-nav {
  justify-content: space-around;
  padding: 0 clamp(12px, 2vw, 38px);
}

.home-hub-page .desktop-nav a {
  color: rgba(245, 237, 220, 0.88);
  font-family: var(--type-menu);
  font-size: clamp(14px, 1.1vw, 16px);
  font-weight: 500;
  padding: 15px 12px;
}

.home-hub-page .desktop-nav a::after {
  background: #a56f51;
  bottom: 8px;
}

.home-hub-page .desktop-nav a:hover {
  color: #fff7e8;
}

.home-hub-page .site-settings-link {
  align-self: center;
  background: #a56f51;
  border-color: rgba(245, 237, 220, 0.64);
  height: 48px;
  justify-self: center;
  width: 48px;
}

.home-listening-hero {
  background-color: #f3e8d3;
  background-image: url("../static/home-icons/paper-texture.jpg");
  background-position: center;
  background-size: 900px 900px;
  border: 1px solid rgba(51, 45, 38, 0.18);
  border-radius: 16px;
  box-shadow: inset 0 0 0 1px rgba(255, 250, 241, 0.58);
  display: grid;
  grid-template-columns: 56px minmax(390px, 0.78fr) minmax(560px, 1.22fr);
  height: clamp(470px, 51vw, 545px);
  margin: 104px 16px 0;
  min-height: 0;
  overflow: hidden;
  padding: 0;
  position: relative;
}

.home-listening-spine {
  align-items: center;
  border-right: 1px solid rgba(51, 45, 38, 0.18);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px 0;
  z-index: 2;
}

.home-listening-spine span {
  font-family: var(--type-utility);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.24em;
  line-height: 1;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.home-listening-spine span:last-child {
  font-family: var(--type-body);
  letter-spacing: 0.12em;
}

.home-listening-content {
  align-self: center;
  padding: 26px clamp(28px, 4vw, 64px);
  position: relative;
  z-index: 2;
}

.home-listening-content h1 {
  display: flex;
  flex-direction: column;
  font-family: var(--type-title);
  font-size: clamp(86px, 9.3vw, 144px);
  font-weight: 800;
  letter-spacing: -0.075em;
  line-height: 0.77;
  margin: 0;
}

.home-listening-content h1 span:nth-child(2) {
  color: #9b5f43;
}

.home-listening-content h1 span:nth-child(3) {
  color: transparent;
  font-size: 0.52em;
  font-weight: 700;
  letter-spacing: 0.015em;
  line-height: 1;
  margin-top: 0.25em;
  -webkit-text-stroke: 1.5px #29231d;
}

.home-listening-rule {
  background: #29231d;
  display: block;
  height: 2px;
  margin: 28px 0 16px;
  width: 38px;
}

.home-listening-slogan {
  font-family: var(--type-body);
  font-size: clamp(18px, 1.5vw, 23px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.4;
  margin: 0;
}

.home-listening-location {
  color: rgba(41, 35, 29, 0.78);
  font-family: var(--type-utility);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  margin: 24px 0 0;
}

.home-listening-art {
  align-self: stretch;
  min-width: 0;
  overflow: hidden;
  position: relative;
}

.home-listening-art::after {
  background: linear-gradient(90deg, #f3e8d3 0%, rgba(243, 232, 211, 0.2) 22%, transparent 48%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.home-listening-art img {
  filter: grayscale(1) sepia(0.22) contrast(0.92);
  height: 100%;
  mix-blend-mode: multiply;
  object-fit: contain;
  object-position: center;
  opacity: 0.19;
  transform: none;
  width: 100%;
}

.home-hub-page .home-hub-portals {
  background-color: rgba(245, 237, 220, 0.72);
  background-image: url("../static/home-icons/paper-texture.jpg");
  background-position: center;
  background-size: 1024px 1024px;
  border-radius: 16px 16px 0 0;
  color: #29231d;
  margin: 18px 16px 0;
  padding: 30px 34px 38px;
}

.home-record-library .brand-portals-heading {
  align-items: center;
  display: grid;
  gap: 22px;
  grid-template-columns: auto minmax(80px, 1fr) auto;
  margin: 0 auto 48px;
  max-width: 1380px;
}

.home-record-library .brand-portals-heading h2 {
  font-family: var(--type-title);
  font-size: clamp(30px, 2.8vw, 42px);
  font-weight: 750;
  letter-spacing: -0.035em;
  line-height: 1.15;
  white-space: nowrap;
}

.home-record-heading-line {
  background: rgba(41, 35, 29, 0.35);
  height: 1px;
  width: 100%;
}

.home-record-library .brand-portals-heading p {
  color: rgba(41, 35, 29, 0.72);
  font-family: var(--type-body);
  font-size: 13px;
  line-height: 1.6;
  margin: 0;
  white-space: nowrap;
}

.home-record-library .brand-portal-grid {
  gap: 14px;
  max-width: 1380px;
  position: relative;
}

.home-record-library .brand-portal-card {
  background-color: rgba(246, 237, 219, 0.94);
  background-image: url("../static/home-icons/paper-texture.jpg");
  background-position: center;
  background-size: 720px 720px;
  border: 1px solid rgba(51, 45, 38, 0.34);
  border-radius: 3px;
  box-shadow:
    0 -5px 0 -1px rgba(111, 83, 57, 0.2),
    0 -10px 0 -2px rgba(111, 83, 57, 0.16),
    0 -15px 0 -3px rgba(111, 83, 57, 0.12),
    0 8px 0 rgba(100, 74, 50, 0.16),
    0 14px 20px rgba(65, 47, 35, 0.08);
  color: #29231d;
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 292px;
  overflow: visible;
  padding: 28px 24px 22px;
  position: relative;
  transform: translateY(0);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.home-record-library .brand-portal-card:hover,
.home-record-library .brand-portal-card:focus-visible {
  background-color: #f8f0df;
  border-color: #9b5f43;
  box-shadow:
    0 -5px 0 -1px rgba(155, 95, 67, 0.2),
    0 -10px 0 -2px rgba(111, 83, 57, 0.14),
    0 5px 0 rgba(155, 95, 67, 0.22),
    0 18px 26px rgba(65, 47, 35, 0.13);
  color: #29231d;
  outline: none;
  transform: translateY(-5px);
}

.brand-portal-tab {
  background: #9b5f43;
  border-radius: 13px 13px 0 0;
  color: #fff7e8;
  font-family: var(--type-utility);
  font-size: 10px;
  font-weight: 700;
  left: 20px;
  letter-spacing: 0.1em;
  padding: 8px 18px 7px;
  position: absolute;
  top: -31px;
}

.home-record-library .brand-portal-meta {
  align-items: center;
  color: rgba(41, 35, 29, 0.52);
  display: flex;
  font-family: var(--type-utility);
  justify-content: space-between;
}

.home-record-library .brand-portal-meta > span {
  display: none;
}

.home-record-library .brand-portal-meta small {
  font-size: 9px;
  letter-spacing: 0.13em;
}

.home-record-library .brand-portal-copy {
  align-items: center;
  display: grid;
  gap: 10px 16px;
  grid-template-columns: 88px minmax(0, 1fr);
  margin-top: 20px;
}

.home-record-library .brand-portal-copy img {
  grid-row: 1 / span 2;
  height: 88px;
  mix-blend-mode: multiply;
  object-fit: cover;
  width: 88px;
}

.home-record-library .brand-portal-copy h3 {
  font-family: var(--type-title);
  font-size: clamp(24px, 2vw, 31px);
  font-weight: 750;
  letter-spacing: -0.045em;
  line-height: 1.12;
  margin: 0;
}

.home-record-library .brand-portal-copy p {
  border-top: 1px solid rgba(41, 35, 29, 0.35);
  font-family: var(--type-body);
  font-size: 14px;
  line-height: 1.65;
  margin: 0;
  padding-top: 10px;
}

.home-record-library .brand-portal-action {
  align-items: center;
  align-self: end;
  border: 1px solid rgba(41, 35, 29, 0.55);
  border-radius: 50%;
  display: inline-flex;
  height: 42px;
  justify-content: center;
  justify-self: end;
  margin-top: 12px;
  padding: 0;
  width: 42px;
}

.home-record-library .brand-portal-action i {
  font-family: Arial, sans-serif;
  font-size: 20px;
  font-style: normal;
  transform: translateX(0);
  transition: transform 180ms ease;
}

.home-record-library .brand-portal-card:hover .brand-portal-action i,
.home-record-library .brand-portal-card:focus-visible .brand-portal-action i {
  transform: translateX(3px);
}

.home-hub-footer {
  background: #211c18;
  color: #f5eddc;
}

@media (min-width: 1181px) {
  .home-record-library .brand-portal-grid::after {
    background: #93663f;
    box-shadow: inset 0 3px rgba(255, 247, 229, 0.2), 0 8px 16px rgba(65, 47, 35, 0.2);
    content: "";
    height: 18px;
    inset: auto -20px -26px;
    pointer-events: none;
    position: absolute;
    z-index: 3;
  }
}

@media (max-width: 1180px) {
  .home-hub-page > .site-header {
    grid-template-columns: 1fr 68px;
    height: 68px;
  }

  .home-hub-page .header-brand-group {
    gap: 14px;
  }

  .home-hub-page .wordmark {
    padding-left: 20px;
  }

  .home-hub-page .wordmark-logo {
    height: 44px;
    width: 44px;
  }

  .home-hub-page .header-home-link,
  .home-hub-page .header-home-link.is-active {
    font-size: 15px;
    min-height: 40px;
    padding: 0 16px;
  }

  .home-hub-page .menu-toggle {
    background: #9b5f43;
  }

  .home-hub-page .site-settings-link {
    display: none;
  }

  .home-hub-page .mobile-nav {
    background: #211c18;
    color: #f5eddc;
  }

  .home-hub-page .mobile-nav a {
    border-top-color: rgba(245, 237, 220, 0.18);
    color: #f5eddc;
  }

  .home-hub-page .mobile-account-link {
    background: #9b5f43;
  }

  .home-listening-hero {
    grid-template-columns: 46px minmax(320px, 0.8fr) minmax(430px, 1.2fr);
    margin-top: 84px;
  }

  .home-record-library .brand-portal-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 46px;
  }
}

@media (max-width: 760px) {
  .home-hub-page .wordmark {
    font-size: 14px;
    gap: 9px;
  }

  .home-hub-page .wordmark small {
    font-size: 7px;
  }

  .home-listening-hero {
    display: block;
    height: 480px;
    margin: 80px 10px 0;
  }

  .home-listening-spine {
    display: none;
  }

  .home-listening-content {
    align-items: flex-start;
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: flex-end;
    padding: 28px 24px 34px;
  }

  .home-listening-content h1 {
    font-size: clamp(76px, 25vw, 112px);
    position: relative;
    z-index: 2;
  }

  .home-listening-content h1 span:nth-child(3) {
    -webkit-text-stroke-width: 1px;
  }

  .home-listening-rule {
    margin: 22px 0 13px;
  }

  .home-listening-slogan {
    font-size: 18px;
  }

  .home-listening-location {
    font-size: 10px;
    margin-top: 16px;
  }

  .home-listening-art {
    inset: 0;
    position: absolute;
  }

  .home-listening-art::after {
    background: linear-gradient(0deg, rgba(243, 232, 211, 0.98) 0%, rgba(243, 232, 211, 0.76) 46%, rgba(243, 232, 211, 0.08) 80%);
  }

  .home-listening-art img {
    height: 100%;
    object-fit: contain;
    object-position: center 12%;
    opacity: 0.22;
    transform: none;
  }

  .home-hub-page .home-hub-portals {
    margin: 12px 10px 0;
    padding: 28px 16px 42px;
  }

  .home-record-library .brand-portals-heading {
    gap: 12px;
    grid-template-columns: 1fr auto;
    margin-bottom: 42px;
  }

  .home-record-library .brand-portals-heading h2 {
    font-size: clamp(27px, 8.4vw, 36px);
    white-space: normal;
  }

  .home-record-heading-line {
    display: none;
  }

  .home-record-library .brand-portals-heading p {
    grid-column: 1 / -1;
    font-size: 14px;
    white-space: normal;
  }

  .home-record-library .brand-portal-grid {
    grid-template-columns: 1fr;
    row-gap: 44px;
  }

  .home-record-library .brand-portal-card {
    min-height: 230px;
    padding: 24px 20px 18px;
  }

  .home-record-library .brand-portal-copy {
    grid-template-columns: 78px minmax(0, 1fr);
  }

  .home-record-library .brand-portal-copy img {
    height: 78px;
    width: 78px;
  }

  .home-record-library .brand-portal-copy h3 {
    font-size: 27px;
  }

  .home-record-library .brand-portal-copy p {
    font-size: 15px;
  }

  .home-record-library .brand-portal-action {
    height: 40px;
    width: 40px;
  }
}

@media (max-width: 410px) {
  .home-hub-page .wordmark span {
    display: none;
  }

  .home-hub-page .header-home-link,
  .home-hub-page .header-home-link.is-active {
    padding: 0 13px;
  }

  .home-listening-content {
    padding-left: 20px;
    padding-right: 20px;
  }

  .home-record-library .brand-portal-copy {
    grid-template-columns: 68px minmax(0, 1fr);
  }

  .home-record-library .brand-portal-copy img {
    height: 68px;
    width: 68px;
  }
}

/* Selected exchange direction: verified talent archive ---------------------- */
.exchange-page {
  background-color: #ead9bc;
  background-image: url("../static/home-icons/paper-texture.jpg");
  background-position: center top;
  background-size: 1024px 1024px;
}

.exchange-directory-intro {
  align-items: end;
  background: rgba(247, 239, 221, 0.82);
  border-bottom: 1px solid rgba(91, 65, 45, 0.5);
  display: grid;
  gap: clamp(28px, 6vw, 90px);
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  padding: 36px clamp(24px, 4vw, 56px) 32px;
}

.exchange-directory-intro > div > p {
  color: rgba(47, 39, 31, 0.7);
  font: 700 11px "Courier New", monospace;
  letter-spacing: 0.18em;
  margin: 0 0 17px;
}

.exchange-directory-title {
  align-items: center;
  display: flex;
  gap: clamp(22px, 3vw, 42px);
}

.exchange-directory-title h1 {
  border-right: 1px solid rgba(91, 65, 45, 0.48);
  font-family: var(--type-title);
  font-size: clamp(44px, 5.1vw, 74px);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1;
  margin: 0;
  padding-right: clamp(22px, 3vw, 42px);
}

.exchange-directory-title span {
  font-family: var(--serif);
  font-size: clamp(23px, 2.4vw, 36px);
  line-height: 1.25;
}

.exchange-directory-intro > p {
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.8;
  margin: 0;
  max-width: 390px;
}

.exchange-market.exchange-talent-market {
  background: transparent;
  padding: 24px clamp(18px, 2.2vw, 34px) 34px;
}

.exchange-talent-shell {
  align-items: start;
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(194px, 0.22fr) minmax(560px, 1fr) minmax(276px, 0.32fr);
  margin: 0 auto;
  max-width: 1480px;
}

.exchange-talent-categories,
.exchange-talent-results {
  background: rgba(248, 241, 226, 0.76);
  border: 1px solid rgba(91, 65, 45, 0.35);
  border-radius: 7px;
  min-width: 0;
  overflow: hidden;
}

.exchange-talent-categories {
  display: flex;
  flex-direction: column;
  max-height: 730px;
}

.exchange-talent-categories h2 {
  font-family: var(--type-title);
  font-size: 17px;
  margin: 0;
  padding: 22px 20px 18px;
}

.exchange-talent-categories > div {
  border-top: 1px solid rgba(91, 65, 45, 0.2);
  overflow-y: auto;
}

.exchange-talent-categories button {
  align-items: center;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(91, 65, 45, 0.15);
  color: #332b23;
  cursor: pointer;
  display: grid;
  gap: 9px;
  grid-template-columns: 24px minmax(0, 1fr) 28px;
  min-height: 56px;
  padding: 10px 15px;
  text-align: left;
  width: 100%;
}

.exchange-talent-categories button > span {
  color: rgba(51, 43, 35, 0.5);
  font: 10px "Courier New", monospace;
}

.exchange-talent-categories button > strong {
  font-family: var(--type-menu);
  font-size: 15px;
  font-weight: 600;
}

.exchange-talent-categories button > b {
  color: rgba(51, 43, 35, 0.62);
  font: 11px "Courier New", monospace;
  text-align: right;
}

.exchange-talent-categories button:hover,
.exchange-talent-categories button:focus-visible,
.exchange-talent-categories button.is-active {
  background: #a96445;
  color: #fff7e8;
  outline: 0;
}

.exchange-talent-categories button:hover > span,
.exchange-talent-categories button:hover > b,
.exchange-talent-categories button:focus-visible > span,
.exchange-talent-categories button:focus-visible > b,
.exchange-talent-categories button.is-active > span,
.exchange-talent-categories button.is-active > b {
  color: rgba(255, 247, 232, 0.75);
}

.exchange-talent-categories > p {
  border-top: 1px solid rgba(91, 65, 45, 0.3);
  font-family: var(--serif);
  font-size: 13px;
  margin: auto 20px 0;
  padding: 18px 0;
}

.exchange-talent-toolbar {
  align-items: center;
  border-bottom: 1px solid rgba(91, 65, 45, 0.3);
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(130px, 1fr) minmax(160px, 0.75fr) 150px;
  min-height: 58px;
  padding: 9px 12px 9px 20px;
}

.exchange-talent-toolbar > div {
  align-items: baseline;
  display: flex;
  gap: 10px;
  min-width: 0;
}

.exchange-talent-toolbar > div > strong {
  font-family: var(--type-title);
  font-size: 17px;
}

.exchange-talent-toolbar > div > span {
  color: rgba(51, 43, 35, 0.58);
  font-size: 11px;
}

.exchange-talent-search input,
.exchange-talent-sort select {
  background: rgba(255, 250, 239, 0.58);
  border: 1px solid rgba(91, 65, 45, 0.3);
  border-radius: 0;
  color: #332b23;
  font: 13px var(--body);
  height: 38px;
  padding: 0 11px;
  width: 100%;
}

.exchange-talent-advanced {
  border-bottom: 1px solid rgba(91, 65, 45, 0.28);
  padding: 0 14px;
}

.exchange-talent-advanced summary {
  cursor: pointer;
  font-size: 12px;
  padding: 12px 4px;
}

.exchange-talent-advanced .exchange-filter-bar {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 0 14px;
}

.exchange-talent-list {
  min-height: 430px;
  padding: 8px;
}

.exchange-talent-row {
  background: rgba(251, 246, 234, 0.52);
  border: 1px solid rgba(91, 65, 45, 0.25);
  display: grid;
  grid-template-columns: 168px minmax(230px, 1fr) 145px 118px;
  min-height: 168px;
  overflow: hidden;
}

.exchange-talent-row + .exchange-talent-row {
  margin-top: 8px;
}

.exchange-talent-row[hidden] {
  display: none;
}

.exchange-talent-row.is-virtual {
  background:
    linear-gradient(100deg, rgba(255, 249, 235, 0.84), rgba(225, 197, 157, 0.52)),
    rgba(251, 246, 234, 0.7);
  border-color: rgba(145, 76, 49, 0.62);
  box-shadow: inset 5px 0 0 #a96445;
}

.exchange-talent-row.is-virtual .exchange-talent-cover {
  position: relative;
}

.exchange-talent-row.is-virtual .exchange-talent-cover::after {
  background: rgba(36, 30, 25, 0.88);
  bottom: 10px;
  color: #fff7e8;
  content: "FICTIONAL DEMO";
  font: 700 9px "Courier New", monospace;
  left: 10px;
  letter-spacing: 0.12em;
  padding: 6px 8px;
  position: absolute;
}

.exchange-talent-row.is-virtual .exchange-talent-cover img {
  filter: saturate(0.82) sepia(0.08) contrast(1.02);
}

.exchange-talent-cover {
  background: #d2c0a2;
  border-right: 1px solid rgba(91, 65, 45, 0.26);
  display: block;
  min-height: 100%;
  overflow: hidden;
}

.exchange-talent-cover img {
  filter: saturate(0.68) sepia(0.14);
  height: 100%;
  object-fit: cover;
  transition: transform 200ms ease;
  width: 100%;
}

.exchange-talent-cover:hover img {
  transform: scale(1.025);
}

.exchange-talent-copy {
  min-width: 0;
  padding: 16px 18px;
}

.exchange-talent-badges {
  display: flex;
  gap: 7px;
  margin-bottom: 8px;
}

.exchange-talent-badges span,
.exchange-talent-badges small,
.exchange-talent-badges i {
  border: 1px solid rgba(91, 65, 45, 0.42);
  font-size: 10px;
  font-style: normal;
  padding: 4px 7px;
}

.exchange-talent-badges span {
  background: #a96445;
  border-color: #a96445;
  color: #fff7e8;
}

.exchange-talent-badges i {
  background: #332b23;
  border-color: #332b23;
  color: #fff7e8;
}

.exchange-talent-row.is-virtual .exchange-talent-action {
  background: rgba(169, 100, 69, 0.08);
}

.exchange-talent-copy h3 {
  font-family: var(--type-title);
  font-size: 23px;
  line-height: 1.1;
  margin: 0 0 4px;
}

.exchange-talent-copy > strong {
  font-size: 12px;
  font-weight: 600;
}

.exchange-talent-copy > p {
  font-family: var(--serif);
  font-size: 13px;
  line-height: 1.55;
  margin: 10px 0 8px;
}

.exchange-talent-copy > small {
  color: rgba(51, 43, 35, 0.63);
  display: block;
  font-size: 10px;
  line-height: 1.5;
}

.exchange-talent-commercial {
  border-left: 1px solid rgba(91, 65, 45, 0.22);
  margin: 0;
  padding: 16px 14px;
}

.exchange-talent-commercial > div + div {
  border-top: 1px solid rgba(91, 65, 45, 0.18);
  margin-top: 16px;
  padding-top: 14px;
}

.exchange-talent-commercial dt {
  color: rgba(51, 43, 35, 0.57);
  font-size: 10px;
  margin-bottom: 6px;
}

.exchange-talent-commercial dd {
  font-family: var(--type-title);
  font-size: 18px;
  font-weight: 700;
  margin: 0;
}

.exchange-talent-commercial dd small {
  font-size: 9px;
  margin-left: 3px;
}

.exchange-talent-action {
  border-left: 1px solid rgba(91, 65, 45, 0.22);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 16px 13px;
}

.exchange-talent-action > span {
  color: #9b5134;
  font-family: var(--type-title);
  font-size: 15px;
  font-weight: 700;
}

.exchange-talent-action > small {
  color: rgba(51, 43, 35, 0.55);
  font-size: 10px;
  margin: 5px 0 18px;
}

.exchange-talent-action > a {
  border: 1px solid rgba(145, 76, 49, 0.62);
  color: #8f4c31;
  font-size: 12px;
  padding: 10px;
  text-align: center;
}

.exchange-talent-empty {
  align-content: center;
  background: rgba(238, 224, 197, 0.42);
  border: 1px dashed rgba(91, 65, 45, 0.35);
  display: grid;
  min-height: 410px;
  padding: clamp(30px, 5vw, 64px);
  text-align: center;
}

.exchange-talent-empty[hidden] {
  display: none;
}

.exchange-talent-empty > span {
  color: #9b5134;
  font: 700 10px "Courier New", monospace;
  letter-spacing: 0.14em;
}

.exchange-talent-empty > strong {
  font-family: var(--type-title);
  font-size: clamp(26px, 3vw, 38px);
  margin: 18px auto 12px;
  max-width: 620px;
}

.exchange-talent-empty > p {
  font-family: var(--serif);
  font-size: 15px;
  line-height: 1.7;
  margin: 0 auto;
  max-width: 600px;
}

.exchange-talent-empty > div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 24px;
}

.exchange-talent-empty a {
  border: 1px solid rgba(91, 65, 45, 0.55);
  font-size: 12px;
  padding: 11px 14px;
}

.exchange-talent-cta {
  background-color: #a95d3c;
  background-image: linear-gradient(rgba(169, 93, 60, 0.92), rgba(150, 73, 45, 0.94)), url("/dog-den-logo.jpg");
  background-position: center, right bottom;
  background-repeat: no-repeat;
  background-size: auto, 172px auto;
  border: 1px solid rgba(75, 43, 30, 0.4);
  box-shadow: 0 10px 22px rgba(71, 45, 29, 0.12);
  color: #fff5df;
  min-height: 610px;
  padding: clamp(28px, 3vw, 42px) clamp(24px, 2.6vw, 36px);
  position: sticky;
  top: 108px;
}

.exchange-talent-cta > span {
  background: rgba(255, 244, 220, 0.13);
  border-radius: 4px;
  display: inline-block;
  font-size: 11px;
  padding: 7px 9px;
}

.exchange-talent-cta h2 {
  font-family: var(--type-title);
  font-size: clamp(42px, 4.4vw, 66px);
  line-height: 1;
  margin: 30px 0 18px;
}

.exchange-talent-cta > p {
  font-family: var(--serif);
  font-size: 15px;
  line-height: 1.7;
}

.exchange-talent-cta .button,
.exchange-talent-quotes {
  align-items: center;
  display: flex;
  justify-content: space-between;
  min-height: 48px;
  padding: 0 18px;
  width: 100%;
}

.exchange-talent-cta .button {
  background: #f7edd8;
  color: #8f4c31;
  margin-top: 28px;
}

.exchange-talent-cta hr {
  border: 0;
  border-top: 1px solid rgba(255, 245, 223, 0.62);
  margin: 52px 0 24px;
}

.exchange-talent-cta > small {
  display: block;
  font-size: 11px;
  margin-bottom: 14px;
}

.exchange-talent-quotes {
  border: 1px solid rgba(255, 245, 223, 0.75);
  color: #fff5df;
  font-size: 13px;
}

.exchange-talent-cta .exchange-talent-trust {
  border-top: 1px solid rgba(255, 245, 223, 0.35);
  font-size: 11px;
  margin-top: 46px;
  padding-top: 20px;
}

.exchange-beta-status.exchange-beta-status-compact {
  background: rgba(51, 43, 35, 0.96);
  color: #fff5df;
  gap: clamp(26px, 4vw, 70px);
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  padding: 48px clamp(24px, 5vw, 72px);
}

.exchange-beta-status-compact h2 {
  font-size: clamp(30px, 3.4vw, 48px);
}

@media (max-width: 1180px) {
  .exchange-talent-shell {
    grid-template-columns: 200px minmax(0, 1fr);
  }

  .exchange-talent-cta {
    background-position: center, right bottom;
    grid-column: 1 / -1;
    min-height: 0;
    position: static;
  }

  .exchange-talent-cta hr {
    margin: 28px 0 20px;
  }

  .exchange-talent-cta .exchange-talent-trust {
    margin-top: 24px;
  }
}

@media (max-width: 860px) {
  .exchange-directory-intro {
    align-items: start;
    grid-template-columns: 1fr;
  }

  .exchange-directory-intro > p {
    max-width: 650px;
  }

  .exchange-talent-shell {
    grid-template-columns: 1fr;
  }

  .exchange-talent-categories {
    max-height: none;
  }

  .exchange-talent-categories > div {
    display: flex;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
  }

  .exchange-talent-categories > div::-webkit-scrollbar {
    display: none;
  }

  .exchange-talent-categories button {
    flex: 0 0 152px;
  }

  .exchange-talent-categories > p {
    margin: 0 20px;
  }
}

@media (max-width: 700px) {
  .exchange-directory-intro {
    padding: 28px 20px 24px;
  }

  .exchange-directory-title {
    align-items: flex-start;
    flex-direction: column;
    gap: 13px;
  }

  .exchange-directory-title h1 {
    border-bottom: 1px solid rgba(91, 65, 45, 0.4);
    border-right: 0;
    font-size: clamp(42px, 13vw, 62px);
    padding: 0 0 13px;
    width: 100%;
  }

  .exchange-directory-title span {
    font-size: 23px;
  }

  .exchange-market.exchange-talent-market {
    padding: 14px 12px 24px;
  }

  .exchange-talent-toolbar {
    grid-template-columns: 1fr 128px;
    padding: 12px;
  }

  .exchange-talent-toolbar > div {
    grid-column: 1 / -1;
  }

  .exchange-talent-advanced .exchange-filter-bar {
    grid-template-columns: 1fr;
  }

  .exchange-talent-list {
    min-height: 0;
    padding: 6px;
  }

  .exchange-talent-row {
    grid-template-columns: 104px minmax(0, 1fr);
  }

  .exchange-talent-cover {
    min-height: 162px;
  }

  .exchange-talent-copy {
    padding: 13px 14px;
  }

  .exchange-talent-copy h3 {
    font-size: 21px;
  }

  .exchange-talent-copy > p {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
  }

  .exchange-talent-commercial,
  .exchange-talent-action {
    border-left: 0;
    border-top: 1px solid rgba(91, 65, 45, 0.22);
    grid-column: 1 / -1;
  }

  .exchange-talent-commercial {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 12px 14px;
  }

  .exchange-talent-commercial > div + div {
    border-left: 1px solid rgba(91, 65, 45, 0.18);
    border-top: 0;
    margin: 0;
    padding: 0 0 0 14px;
  }

  .exchange-talent-action {
    align-items: center;
    display: grid;
    gap: 10px;
    grid-template-columns: 1fr auto;
    padding: 12px 14px;
  }

  .exchange-talent-action > small {
    display: none;
  }

  .exchange-talent-action > a {
    grid-column: 2;
    grid-row: 1;
    padding: 9px 12px;
  }

  .exchange-talent-empty {
    min-height: 320px;
    padding: 34px 20px;
  }

  .exchange-talent-empty > div {
    align-items: stretch;
    flex-direction: column;
  }

  .exchange-talent-cta {
    background-size: auto, 128px auto;
    min-height: 0;
  }

  .exchange-beta-status.exchange-beta-status-compact {
    grid-template-columns: 1fr;
    padding: 40px 20px;
  }
}

/* The archive page already has a prominent project CTA in its right column. */
.exchange-page .exchange-brief-launcher {
  display: none;
}

.exchange-talent-categories > div {
  scrollbar-width: none;
}

.exchange-talent-categories > div::-webkit-scrollbar {
  display: none;
}


/*
 * DOG DEN MUSIC — record archive visual system
 *
 * This file intentionally loads after globals.css. It gives every public
 * surface the same listening-room / record-store grammar without replacing
 * the product-specific layouts and interactions already in place.
 */

:root {
  --directory-height: 88px;
  --archive-ink: #241e19;
  --archive-charcoal: #332b24;
  --archive-rust: #9b5f43;
  --archive-rust-dark: #71442f;
  --archive-paper: #f3e8d3;
  --archive-paper-warm: #e7d3af;
  --archive-paper-deep: #d4b486;
  --archive-sage: #8d927f;
  --archive-line: rgba(48, 38, 29, 0.24);
  --archive-line-light: rgba(248, 237, 217, 0.26);
  --archive-shadow: 0 18px 46px rgba(55, 38, 24, 0.13);
  --archive-shadow-small: 0 8px 20px rgba(55, 38, 24, 0.1);
  --archive-radius: 8px;
  --archive-page-gutter: clamp(12px, 1.4vw, 22px);
}

/* -------------------------------------------------------------------------
 * One directory shelf across every route (2026-08-29)
 * -------------------------------------------------------------------------
 * The primary menu is owned by RootLayout so its structure and active state
 * cannot drift between product pages. Existing page-specific navigation is
 * retained as a slim context rail immediately below the shared shelf.
 */
.directory-header {
  align-items: stretch;
  background: #1f1a16;
  border-bottom: 2px solid #100e0c;
  box-shadow: 0 8px 26px rgba(31, 23, 17, 0.2);
  color: var(--archive-paper);
  display: grid;
  grid-template-columns: minmax(390px, 0.95fr) minmax(620px, 2.7fr) 92px;
  height: var(--directory-height);
  left: 0;
  position: fixed;
  right: 0;
  top: 0;
  width: 100%;
  z-index: 400;
}

.directory-brand-group {
  align-items: center;
  display: flex;
  gap: clamp(20px, 2vw, 34px);
  min-width: 0;
  padding-left: clamp(20px, 2.2vw, 38px);
}

.directory-wordmark {
  align-items: center;
  color: var(--archive-paper);
  display: flex;
  flex: none;
  font-family: var(--type-title);
  font-size: 16px;
  font-weight: 750;
  gap: 12px;
  letter-spacing: -0.025em;
  line-height: 1;
}

.directory-wordmark img {
  border: 1px solid rgba(246, 235, 214, 0.56);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.24);
  height: 56px;
  object-fit: cover;
  width: 56px;
}

.directory-wordmark small {
  color: rgba(245, 237, 220, 0.68);
  display: block;
  font-family: var(--type-body);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.12em;
  margin-top: 6px;
}

.directory-home-link {
  align-items: center;
  border: 1px solid rgba(245, 237, 220, 0.48);
  color: var(--archive-paper);
  display: inline-flex;
  font-family: var(--type-menu);
  font-size: 17px;
  font-weight: 700;
  justify-content: center;
  min-height: 52px;
  padding: 0 25px;
  position: relative;
  transition: background 180ms ease, border-color 180ms ease;
  white-space: nowrap;
}

.directory-home-link::after {
  background: var(--archive-rust);
  bottom: -1px;
  content: "";
  height: 3px;
  left: 0;
  position: absolute;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
  width: 100%;
}

.directory-home-link:hover,
.directory-home-link:focus-visible,
.directory-home-link.is-active {
  background: rgba(155, 95, 67, 0.13);
  border-color: rgba(245, 237, 220, 0.78);
  color: #fff8ea;
}

.directory-home-link:hover::after,
.directory-home-link:focus-visible::after,
.directory-home-link.is-active::after {
  transform: scaleX(1);
}

/* Studio equipment selector: dark keys, illuminated current section. */
.directory-nav {
  align-self: center;
  background: #17130f;
  border: 1px solid #514438;
  border-radius: 9px;
  box-shadow: inset 0 2px 2px #080706, 0 1px 0 #65513f;
  display: grid;
  gap: 6px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  min-width: 0;
  padding: 5px;
}

.directory-header .directory-nav a {
  align-items: center;
  background-color: #342c25;
  background-image: url("../static/home-icons/paper-texture.jpg");
  background-blend-mode: multiply;
  background-size: 620px 620px;
  border: 1px solid #77614b;
  border-radius: 6px;
  box-shadow: inset 0 2px 0 rgba(255,235,203,.10), inset 0 -3px 0 #18120d, 0 2px 2px #070605;
  color: #f3e8d3;
  display: flex;
  font-family: var(--type-menu) !important;
  font-size: clamp(19px, 1.5vw, 25px) !important;
  font-weight: 650;
  min-height: 60px;
  justify-content: center;
  line-height: 1.3;
  min-width: 0;
  padding: 10px 6px;
  text-align: center;
  position: relative;
  text-decoration: none;
  transition: background-color 140ms ease, box-shadow 140ms ease;
  white-space: nowrap;
  -webkit-tap-highlight-color: rgba(155,95,67,.2);
}

.directory-nav a::before {
  background: #786856;
  border-radius: 4px;
  box-shadow: inset 0 1px 2px #19130e;
  content: "";
  height: 5px;
  left: 13px;
  position: absolute;
  top: 9px;
  width: 25px;
}

.directory-nav a:hover { background-color: #4d3e31; }
.directory-nav a.is-active {
  background-color: #a36140;
  border-color: #b88359;
  box-shadow: inset 0 2px 5px #442615, inset 0 -1px 0 rgba(255,226,187,.15);
  color: #fff3de;
}
.directory-nav a.is-active::before {
  background: #ffe6ac;
  box-shadow: 0 0 9px rgba(255,200,110,.7);
}
.directory-nav a:focus-visible,
.directory-menu-toggle:focus-visible {
  outline: 2px solid #ffe6ac;
  outline-offset: -5px;
}
.directory-header .directory-nav .directory-mobile-settings,
.directory-menu-toggle,
.directory-menu-close-label { display: none; }
.directory-menu-toggle[aria-expanded="true"] .directory-menu-open-label { display: none; }
.directory-menu-toggle[aria-expanded="true"] .directory-menu-close-label { display: inline; }

@media (prefers-reduced-motion: reduce) {
  .directory-header .directory-nav a { transition: none; }
}

.directory-settings-link {
  align-self: center;
  background: var(--archive-rust) !important;
  border: 1px solid rgba(245, 237, 220, 0.6) !important;
  height: 50px;
  justify-self: center;
  width: 50px;
}


/* The previous per-page header becomes a local tool rail; its duplicated
   logo and settings entry disappear because both now live in the shelf. */
.site-header {
  display: none !important;
}

.subpage-header {
  background: rgba(37, 31, 26, 0.98) !important;
  border-bottom: 1px solid rgba(243, 232, 211, 0.22) !important;
  box-shadow: 0 7px 18px rgba(31, 23, 17, 0.13) !important;
  display: grid !important;
  grid-template-columns: 1fr !important;
  height: 48px !important;
  top: var(--directory-height) !important;
  z-index: 320 !important;
}

.subpage-header .subpage-brand-group,
.subpage-header nav > .settings-link {
  display: none !important;
}

.subpage-header nav {
  gap: 22px !important;
  justify-content: flex-end !important;
  margin: 0 auto;
  max-width: 1510px;
  overflow-x: auto;
  padding: 0 max(16px, 3vw) !important;
  scrollbar-width: none;
  width: 100%;
}

.subpage-header nav::-webkit-scrollbar {
  display: none;
}

.subpage-header nav a,
.subpage-header nav button,
.subpage-header nav label,
.subpage-header nav summary {
  flex: none;
  font-family: var(--type-menu) !important;
}

.subpage-header nav a.header-back {
  height: 34px;
  min-height: 34px;
  padding: 0 12px;
}

.subpage {
  padding-top: calc(var(--directory-height) + 48px) !important;
}

.studio-hub-page .section-plugins,
.studio-hub-page .section-plugins :where(h2, p, .section-label) {
  color: var(--archive-ink) !important;
}

.studio-hub-page .section-plugins .teaser-control {
  background: rgba(51, 45, 38, 0.12);
  border-color: rgba(51, 45, 38, 0.3);
}

.home-record-library .brand-portal-card,
.home-record-library .brand-portal-card :where(h3, p, small, span) {
  color: var(--archive-ink) !important;
}

@media (max-width: 1180px) {
  :root { --directory-height: 68px; }
  .directory-header {
    grid-template-columns: minmax(0, 1fr) 64px;
    height: var(--directory-height);
  }
  .directory-brand-group { gap: 14px; padding-left: 14px; }
  .directory-wordmark { font-size: 14px; }
  .directory-wordmark img { height: 40px; width: 40px; }
  .directory-wordmark small { font-size: 7px; }
  .directory-home-link { font-size: 14px; min-height: 38px; padding: 0 14px; }
  .directory-settings-link { display: none !important; }

  .directory-menu-toggle {
    align-self: center;
    background: #75482f;
    border: 1px solid #ba8760;
    border-radius: 6px;
    box-shadow: inset 0 1px 0 #a77652, inset 0 -3px 0 #3b261a;
    color: #fff2db;
    cursor: pointer;
    display: block;
    font-size: 14px;
    font-weight: 650;
    height: 46px;
    justify-self: center;
    padding: 0;
    width: 50px;
  }
  .directory-menu-toggle[aria-expanded="true"] {
    background: #a36140;
    box-shadow: inset 0 2px 5px #442615;
  }
  .directory-nav {
    display: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    left: 8px;
    max-height: calc(100dvh - var(--directory-height) - 16px);
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 10px;
    position: absolute;
    right: 8px;
    top: calc(var(--directory-height) + 4px);
    box-shadow: 0 12px 24px rgba(0,0,0,.38);
  }
  .directory-nav.is-open { display: grid; }
  .directory-header .directory-nav a { font-size: 18px !important; min-height: 72px; }
  .directory-header .directory-nav .directory-mobile-settings {
    display: flex;
    font-size: 16px !important;
    grid-column: 1 / -1;
    min-height: 46px;
    padding: 10px;
  }
  .directory-mobile-settings::before { display: none; }

  .subpage-header {
    height: 48px !important;
    top: var(--directory-height) !important;
  }

  .subpage {
    padding-top: calc(var(--directory-height) + 48px) !important;
  }

  .subpage-header nav {
    gap: 10px !important;
    justify-content: flex-start !important;
    padding-inline: 10px !important;
  }

  .editorial-studio-workbench {
    margin-top: calc(var(--directory-height) + 12px) !important;
  }
}

@media (max-width: 520px) {
  .directory-brand-group {
    gap: 10px;
    padding-left: 12px;
  }

  .directory-wordmark {
    gap: 8px;
  }

  .directory-wordmark img {
    height: 42px;
    width: 42px;
  }

  .directory-wordmark > span {
    font-size: 12px;
  }

  .directory-home-link {
    font-size: 14px;
    min-height: 38px;
    padding: 0 13px;
  }

  .subpage-header nav a.header-back {
    width: 38px;
  }

  .subpage-header .header-back-text {
    display: none;
  }
}

html {
  background: var(--archive-paper-warm);
}

body {
  background-color: var(--archive-paper-warm);
  background-image: url("../static/home-icons/paper-texture.jpg");
  background-repeat: repeat;
  background-size: 620px 620px;
  color: var(--archive-ink);
}

:where(.subpage, .studio-hub-page) {
  background-color: var(--archive-paper-warm);
  background-image:
    linear-gradient(rgba(243, 232, 211, 0.72), rgba(243, 232, 211, 0.72)),
    url("../static/home-icons/paper-texture.jpg");
  background-repeat: repeat;
  background-size: auto, 620px 620px;
  color: var(--archive-ink);
}

/* One dark, tactile navigation shelf across every route. */
.site-header,
.subpage-header {
  background: #211c18 !important;
  border-bottom: 3px solid var(--archive-rust) !important;
  box-shadow: 0 8px 26px rgba(31, 23, 17, 0.2) !important;
  color: var(--archive-paper) !important;
}

.site-header .wordmark,
.subpage-header .wordmark {
  border-right-color: var(--archive-line-light);
}

.site-header .wordmark-logo,
.subpage-header .wordmark-logo {
  border: 1px solid rgba(246, 235, 214, 0.48);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.22);
}

.site-header .header-home-link,
.subpage-header .header-home-link {
  background: var(--archive-paper);
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: 3px 3px 0 rgba(155, 95, 67, 0.62);
  color: var(--archive-ink) !important;
  font-weight: 800;
}

/* The homepage reference uses a dark active tab; keep its label legible while
   secondary pages retain the light paper ticket treatment above. */
.home-hub-page .site-header .header-home-link,
.home-hub-page .site-header .header-home-link.is-active {
  background: transparent !important;
  box-shadow: inset 0 -3px 0 var(--archive-rust) !important;
  color: var(--archive-paper) !important;
}

.desktop-nav a,
.subpage-header nav > a:not(.header-home-link),
.sample-store-header-button,
.plugin-cart summary,
.currency-control {
  color: var(--archive-paper);
  letter-spacing: 0.04em;
}

.desktop-nav a::after {
  background: var(--archive-rust);
}

.subpage-header nav a.header-back,
.header-project-link {
  border-color: rgba(243, 232, 211, 0.34);
  min-height: 42px;
}

.subpage-header nav a.header-back:hover,
.subpage-header nav a.header-back:focus-visible,
.header-project-link:hover,
.header-project-link:focus-visible {
  background: var(--archive-paper);
  color: var(--archive-ink);
}

.site-settings-link,
.subpage-header .settings-link {
  background: var(--archive-rust) !important;
  border-color: rgba(243, 232, 211, 0.5) !important;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

/* Shared typography: strong record labels, quiet catalogue copy. */
:where(.studio-hub-page, .subpage) h1,
:where(.studio-hub-page, .subpage) h2,
:where(.studio-hub-page, .subpage) h3,
:where(.studio-hub-page, .subpage) h4 {
  color: inherit;
  font-family: var(--type-title) !important;
  font-synthesis: none;
  letter-spacing: -0.035em;
}

:where(.studio-hub-page, .subpage) p,
:where(.studio-hub-page, .subpage) li,
:where(.studio-hub-page, .subpage) dd,
:where(.studio-hub-page, .subpage) label {
  line-height: 1.72;
}

.section-label,
.subpage-kicker,
.brand-portal-meta,
.plugin-detail-index,
.course-detail-number,
.project-flow-progress,
.exchange-section-heading > span,
.exchange-join-section-heading > span,
.sample-creator-naming > span,
.account-panel > span {
  font-family: var(--type-utility) !important;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* Shared paper poster treatment for every major route intro. */
:where(
    .studio-entry-hero,
    .subpage-hero,
    .service-intro-hero,
    .project-hero,
    .plugin-product-hero,
    .exchange-hero,
    .exchange-join-hero,
    .exchange-dashboard-hero,
    .sample-creator-hero,
    .course-info-hero,
    .account-hero
  ) {
  background-color: var(--archive-paper) !important;
  background-image:
    linear-gradient(rgba(243, 232, 211, 0.8), rgba(243, 232, 211, 0.8)),
    url("../static/home-icons/paper-texture.jpg") !important;
  background-size: auto, 620px 620px !important;
  border: 1px solid var(--archive-line) !important;
  border-radius: var(--archive-radius);
  box-shadow: var(--archive-shadow-small);
  color: var(--archive-ink) !important;
  margin: var(--archive-page-gutter) !important;
  min-height: 0 !important;
  overflow: hidden;
  position: relative;
}

:where(
    .studio-entry-hero,
    .subpage-hero,
    .service-intro-hero,
    .project-hero,
    .plugin-product-hero,
    .exchange-hero,
    .exchange-join-hero,
    .exchange-dashboard-hero,
    .sample-creator-hero,
    .course-info-hero,
    .account-hero
  )::after {
  border: 1px solid rgba(66, 48, 35, 0.12);
  content: "";
  inset: 9px;
  pointer-events: none;
  position: absolute;
  z-index: 0;
}

:where(
    .studio-entry-hero,
    .subpage-hero,
    .service-intro-hero,
    .project-hero,
    .plugin-product-hero,
    .exchange-hero,
    .exchange-join-hero,
    .exchange-dashboard-hero,
    .sample-creator-hero,
    .course-info-hero,
    .account-hero
  ) > * {
  position: relative;
  z-index: 1;
}

.subpage-hero,
.studio-entry-hero,
.project-hero,
.course-info-hero,
.account-hero {
  padding: clamp(52px, 7vw, 92px) clamp(28px, 5vw, 76px) !important;
}

.subpage-hero h1,
.studio-entry-hero h1,
.project-hero-title h1,
.service-intro-hero-copy h1,
.sample-creator-hero h1,
.exchange-dashboard-hero h1,
.course-info-hero h1 {
  font-size: clamp(58px, 8vw, 116px) !important;
  line-height: 0.9 !important;
  margin-bottom: 0;
  max-width: 10ch;
}

.subpage-hero-copy,
.studio-entry-copy,
.project-hero-title + div,
.exchange-hero-note,
.exchange-dashboard-hero > div:last-child {
  border-left: 1px solid var(--archive-line);
  padding-left: clamp(22px, 3vw, 44px);
}

/* Studio as a staffed listening counter. */
.studio-entry-hero {
  background-position: center;
  margin-top: calc(78px + var(--archive-page-gutter)) !important;
}

.studio-entry-copy .button,
.service-purchase-cta .button,
.subpage-cta .button,
.course-enrollment .button {
  min-height: 54px;
  min-width: min(100%, 250px);
}

.studio-hub-page .ticker {
  background: var(--archive-ink);
  border: 1px solid var(--archive-line);
  border-radius: 4px;
  color: var(--archive-paper);
  margin: 0 var(--archive-page-gutter) var(--archive-page-gutter);
  overflow: hidden;
}

.studio-hub-page .section {
  background-color: rgba(243, 232, 211, 0.86);
  background-image: url("../static/home-icons/paper-texture.jpg");
  background-blend-mode: soft-light;
  border: 1px solid var(--archive-line);
  border-radius: var(--archive-radius);
  box-shadow: var(--archive-shadow-small);
  margin: 0 var(--archive-page-gutter) var(--archive-page-gutter);
  overflow: hidden;
  padding: clamp(54px, 7vw, 96px) clamp(26px, 5vw, 76px);
}

.studio-hub-page .section-services,
.studio-hub-page .section-equipment,
.studio-hub-page .section-courses {
  background-color: rgba(246, 237, 220, 0.92);
}

.studio-hub-page .section-pricing,
.studio-hub-page .section-plugins {
  background-color: rgba(226, 207, 174, 0.92);
}

.service-window .service-card,
.price-category-card,
.booking-category-card,
.equipment-card,
.course-card,
.plugin-card {
  background: rgba(248, 240, 224, 0.9) !important;
  border: 1px solid var(--archive-line) !important;
  border-radius: 5px !important;
  box-shadow: 5px 6px 0 rgba(122, 86, 58, 0.1);
  color: var(--archive-ink) !important;
}

.service-window .service-card:hover,
.price-category-card:hover,
.equipment-card:hover,
.course-card:hover,
.plugin-card:hover {
  box-shadow: 7px 10px 0 rgba(122, 86, 58, 0.16);
  transform: translateY(-3px);
}

.service-card-link,
.price-category-bottom,
.course-meta,
.plugin-meta {
  border-top-color: var(--archive-line) !important;
}

.service-window-controls button,
.testimonial-controls button,
.testimonial-modal-nav {
  background: var(--archive-paper) !important;
  border: 1px solid var(--archive-line) !important;
  color: var(--archive-ink) !important;
  box-shadow: var(--archive-shadow-small);
}

/* Generic catalogue cards and forms. */
:where(
    .service-intro-principles article,
    .service-method-grid article,
    .project-package,
    .course-detail-card,
    .course-info-empty,
    .plugin-product-points article,
    .plugin-manual-library,
    .sample-creator-rules article,
    .sample-creator-form-card,
    .account-panel,
    .exchange-category-grid article,
    .exchange-listing,
    .exchange-level-grid article,
    .exchange-order-steps article,
    .exchange-dashboard-summary article,
    .exchange-join-step-grid article,
    .exchange-join-trust > div,
    .exchange-message-tabs a,
    .creator-card-intro,
    .creator-card-details,
    .creator-card-requirements,
    .creator-card-portfolio,
    .booking-dialog,
    .exchange-brief-dialog
  ) {
  background-color: rgba(248, 240, 224, 0.92) !important;
  background-image: url("../static/home-icons/paper-texture.jpg");
  background-blend-mode: soft-light;
  border-color: var(--archive-line) !important;
  border-radius: 6px;
  color: var(--archive-ink) !important;
}

:where(
    .project-package,
    .course-detail-card,
    .plugin-product-points article,
    .sample-creator-form-card,
    .account-panel,
    .exchange-listing
  ) {
  box-shadow: var(--archive-shadow-small);
}

:where(
    .account-form,
    .exchange-form-grid,
    .project-form,
    .booking-form,
    .sample-creator-form-card form
  ) input,
:where(
    .account-form,
    .exchange-form-grid,
    .project-form,
    .booking-form,
    .sample-creator-form-card form
  ) select,
:where(
    .account-form,
    .exchange-form-grid,
    .project-form,
    .booking-form,
    .sample-creator-form-card form
  ) textarea {
  background: rgba(255, 249, 237, 0.88) !important;
  border: 1px solid rgba(66, 48, 35, 0.32) !important;
  border-radius: 4px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
  color: var(--archive-ink) !important;
}

:where(input, select, textarea):focus-visible {
  border-color: var(--archive-rust) !important;
  box-shadow: 0 0 0 3px rgba(155, 95, 67, 0.16) !important;
  outline: none;
}

.button,
.project-secondary-button,
.exchange-form-actions button,
.plugin-detail-actions a,
.plugin-detail-actions button,
.plugin-product-actions a,
.plugin-product-actions button,
.account-form button,
.sample-creator-form-card button {
  border-radius: 4px !important;
  font-weight: 750 !important;
  letter-spacing: 0.035em;
}

.button-primary,
.button-clay,
.exchange-form-actions button,
.account-form .button,
.sample-creator-form-card button {
  background: var(--archive-rust) !important;
  color: #fff8e9 !important;
}

.button-primary:hover,
.button-clay:hover,
.exchange-form-actions button:hover,
.account-form .button:hover,
.sample-creator-form-card button:hover {
  background: var(--archive-rust-dark) !important;
}

.button-dark,
.project-secondary-button {
  background: var(--archive-ink) !important;
  color: var(--archive-paper) !important;
}

/* Service detail pages: an indexed sleeve with compact supporting panels. */
.service-intro-page {
  padding-bottom: var(--archive-page-gutter);
}

.service-intro-hero {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.65fr) !important;
  min-height: 430px !important;
  margin-top: var(--archive-page-gutter) !important;
  padding: 0 !important;
}

.service-intro-hero-copy {
  min-width: 0;
  padding: clamp(36px, 5vw, 72px) clamp(28px, 5vw, 72px) !important;
}

.service-intro-hero-copy h1 {
  font-size: clamp(64px, 7vw, 104px) !important;
  margin: 24px 0 10px !important;
}

.service-intro-hero-copy > strong {
  margin-bottom: 24px !important;
}

.service-intro-hero-copy > p:last-child {
  font-size: clamp(16px, 1.35vw, 19px) !important;
  line-height: 1.65 !important;
}

.service-intro-mascot-stage {
  align-self: stretch;
  background: rgba(222, 203, 170, 0.5);
  border: 1px solid var(--archive-line);
  border-radius: 50%;
  justify-self: end;
  min-height: 430px !important;
  max-width: 440px;
  padding: 24px !important;
  position: relative;
  width: 100%;
}

.service-intro-mascot-stage::before {
  height: min(24vw, 320px) !important;
  width: min(24vw, 320px) !important;
}

.site-mascot.service-intro-mascot {
  bottom: 22px !important;
  max-height: 250px !important;
  width: min(19vw, 240px) !important;
}

.service-intro-section,
.service-purchase-cta {
  background: rgba(243, 232, 211, 0.9) !important;
  border: 1px solid var(--archive-line);
  border-radius: var(--archive-radius);
  margin: 0 var(--archive-page-gutter) var(--archive-page-gutter) !important;
  padding: clamp(52px, 7vw, 94px) clamp(28px, 6vw, 88px) !important;
}

/* The experience panel is the dark editorial pause between cream sections.
 * Keep its copy high-contrast after the shared archive-card override above. */
.service-intro-section.service-intro-experience {
  background: var(--archive-charcoal) !important;
  border-color: var(--archive-line-light);
  color: var(--archive-paper) !important;
}

.service-intro-experience > p,
.service-intro-experience h2,
.service-intro-experience > div > p {
  color: var(--archive-paper) !important;
}

.service-purchase-cta {
  background: var(--archive-charcoal) !important;
  color: var(--archive-paper) !important;
}

/* Project request: a clean order docket rather than a generic form page. */
.project-page {
  padding-bottom: var(--archive-page-gutter);
}

.project-hero {
  background-color: var(--archive-rust) !important;
  background-image:
    linear-gradient(rgba(155, 95, 67, 0.88), rgba(128, 76, 54, 0.88)),
    url("../static/home-icons/paper-texture.jpg") !important;
  color: #fff8e9 !important;
}

.project-workspace {
  background: rgba(243, 232, 211, 0.9) !important;
  border: 1px solid var(--archive-line);
  border-radius: var(--archive-radius);
  box-shadow: var(--archive-shadow-small);
  margin: 0 var(--archive-page-gutter) var(--archive-page-gutter) !important;
  padding: clamp(42px, 6vw, 82px) clamp(24px, 5vw, 70px) !important;
}

.project-package.is-selected,
.project-payment-option.is-selected {
  border-color: var(--archive-rust) !important;
  box-shadow: 0 0 0 3px rgba(155, 95, 67, 0.13);
}

/* Courses and demos become labelled archive shelves. */
.courses-page .subpage-hero,
.demos-page .subpage-hero {
  margin-top: var(--archive-page-gutter) !important;
}

.courses-subhero,
.demos-subhero {
  background-position: center !important;
  min-height: 430px !important;
}

.courses-subhero h1,
.demos-subhero h1 {
  font-size: clamp(56px, 7.8vw, 112px) !important;
  line-height: 0.86 !important;
  max-width: 11ch;
}

.course-detail-list,
.demo-list,
.course-info-empty,
.course-enrollment {
  background: rgba(243, 232, 211, 0.9) !important;
  border: 1px solid var(--archive-line);
  border-radius: var(--archive-radius);
  margin: 0 var(--archive-page-gutter) var(--archive-page-gutter) !important;
  overflow: hidden;
}

.course-detail-card {
  margin: 14px;
}

.demo-track {
  background: rgba(248, 240, 224, 0.9) !important;
  border-color: var(--archive-line) !important;
  color: var(--archive-ink) !important;
  margin: 14px;
}

.floating-audio-player {
  background: #211c18 !important;
  border: 1px solid rgba(243, 232, 211, 0.34) !important;
  border-radius: 6px;
  color: var(--archive-paper) !important;
}

/* Plugins are boxed like hardware in the same record shop. */
.plugin-page,
.plugin-product-page {
  background-color: var(--archive-paper-warm) !important;
}

.plugin-page .plugin-subhero {
  background-color: var(--archive-rust) !important;
  background-image:
    linear-gradient(rgba(155, 95, 67, 0.9), rgba(155, 95, 67, 0.9)),
    url("../static/home-icons/paper-texture.jpg") !important;
  color: #fff8e9 !important;
}

.plugin-detail-list {
  background: transparent !important;
  display: grid;
  gap: var(--archive-page-gutter);
  padding: 0 var(--archive-page-gutter) var(--archive-page-gutter) !important;
}

.plugin-detail {
  border: 1px solid rgba(243, 232, 211, 0.22) !important;
  border-radius: var(--archive-radius);
  box-shadow: var(--archive-shadow);
  margin: 0 !important;
  overflow: hidden;
}

.plugin-product-hero {
  margin-top: var(--archive-page-gutter) !important;
  padding: clamp(44px, 6vw, 80px) !important;
}

.plugin-product-image img,
.plugin-product-cover img {
  border-radius: 4px;
  box-shadow: var(--archive-shadow);
}

.plugin-product-body {
  background: rgba(243, 232, 211, 0.92) !important;
  border: 1px solid var(--archive-line);
  border-radius: var(--archive-radius);
  margin: 0 var(--archive-page-gutter) var(--archive-page-gutter) !important;
  padding: clamp(40px, 6vw, 82px) clamp(24px, 5vw, 72px) !important;
}

.plugin-manual-library {
  padding: clamp(22px, 3vw, 34px) !important;
}

/* Exchange: bulletin board cards, still visually honest about beta states. */
.exchange-page .exchange-hero {
  background-color: var(--archive-rust) !important;
  background-image:
    linear-gradient(rgba(155, 95, 67, 0.86), rgba(130, 79, 56, 0.88)),
    url("../static/home-icons/paper-texture.jpg") !important;
  color: #fff8e9 !important;
  margin-top: var(--archive-page-gutter) !important;
}

.exchange-beta-status,
.exchange-market,
.exchange-levels,
.exchange-order-flow,
.exchange-order-shell,
.exchange-join-trust,
.exchange-join-review,
.exchange-join-materials,
.exchange-join-application,
.exchange-dashboard-summary,
.exchange-message-tabs,
.exchange-bid-desk,
.exchange-dashboard-form-shell {
  border: 1px solid var(--archive-line);
  border-radius: var(--archive-radius);
  box-shadow: var(--archive-shadow-small);
  margin: 0 var(--archive-page-gutter) var(--archive-page-gutter) !important;
  overflow: hidden;
}

.exchange-beta-status,
.exchange-market,
.exchange-join-review,
.exchange-dashboard-summary,
.exchange-bid-desk,
.exchange-dashboard-form-shell {
  background: rgba(243, 232, 211, 0.92) !important;
}

/* Keep the beta notice readable on the light archive-paper surface. */
.exchange-page .exchange-beta-status.exchange-beta-status-compact {
  background: rgba(243, 232, 211, 0.96) !important;
  color: var(--archive-ink) !important;
}

.exchange-page .exchange-beta-status-compact > div > span,
.exchange-page .exchange-beta-status-compact dt {
  color: var(--archive-rust-dark) !important;
}

.exchange-page .exchange-beta-status-compact p,
.exchange-page .exchange-beta-status-compact dd {
  color: rgba(47, 39, 32, 0.84) !important;
}

.exchange-page .exchange-beta-status-compact dl > div {
  border-top-color: rgba(58, 52, 42, 0.28) !important;
}

.exchange-levels {
  background: var(--archive-paper-deep) !important;
}

.exchange-order-flow {
  background: #596158 !important;
  color: #fff8e9 !important;
}

.exchange-listing-cover img {
  filter: saturate(0.82) contrast(1.03);
}

.exchange-category-tabs button.is-active,
.exchange-specialty-options button.is-active {
  background: var(--archive-ink) !important;
  color: var(--archive-paper) !important;
}

.exchange-join-hero,
.exchange-dashboard-hero,
.sample-creator-hero {
  margin-top: var(--archive-page-gutter) !important;
}

.exchange-join-hero {
  background-color: var(--archive-rust) !important;
  background-image:
    linear-gradient(rgba(155, 95, 67, 0.9), rgba(155, 95, 67, 0.9)),
    url("../static/home-icons/paper-texture.jpg") !important;
  color: #fff8e9 !important;
}

.exchange-join-hero-art img,
.exchange-join-mascots img {
  filter: saturate(0.72) sepia(0.12);
}

/* Samples: the embedded library sits inside a proper catalogue sleeve. */
.samples-page {
  background: var(--archive-paper-warm) !important;
}

.sample-tool-shell {
  background: var(--archive-paper) !important;
  border: 1px solid var(--archive-line);
  border-radius: var(--archive-radius);
  box-shadow: var(--archive-shadow);
  margin: var(--archive-page-gutter) !important;
  min-height: calc(100vh - 78px - (var(--archive-page-gutter) * 2));
  overflow: hidden;
}

.sample-tool-frame {
  background: var(--archive-paper) !important;
  min-height: calc(100vh - 78px - (var(--archive-page-gutter) * 2));
}

.sample-store-header-button,
.sample-creator-link,
.plugin-cart summary,
.currency-control {
  border-color: rgba(243, 232, 211, 0.3) !important;
}

.sample-creator-hero {
  padding: clamp(48px, 7vw, 88px) clamp(28px, 6vw, 84px) !important;
}

.sample-creator-rules,
.sample-creator-form-grid,
.sample-creator-naming {
  margin-left: var(--archive-page-gutter) !important;
  margin-right: var(--archive-page-gutter) !important;
}

.sample-creator-naming {
  background: var(--archive-charcoal) !important;
  border-radius: var(--archive-radius);
  color: var(--archive-paper) !important;
}

/* Account: compact archive drawer instead of a detached admin panel. */
.account-page {
  padding-bottom: var(--archive-page-gutter);
}

.account-page[data-account-preview="settings"] > :not(.account-archive-settings):not(h1) {
  display: none !important;
}

.account-preference-strip,
.account-exchange-entry,
.account-auth-shell,
.account-dashboard {
  border: 1px solid var(--archive-line);
  border-radius: var(--archive-radius);
  box-shadow: var(--archive-shadow-small);
  margin: var(--archive-page-gutter) !important;
  overflow: hidden;
}

.account-preference-strip {
  background: rgba(243, 232, 211, 0.9) !important;
}

@media (max-width: 620px) {
  .account-preference-controls label > span {
    padding-inline: 8px;
  }

  .account-preference-strip select {
    padding-inline: 6px;
  }
}

@media (max-width: 380px) {
  .account-preference-strip {
    padding-inline: 12px;
  }

  .account-preference-controls label > span {
    padding-inline: 6px;
  }

  .account-preference-strip select {
    font-size: 12px;
    padding-inline: 4px;
  }
}

.account-exchange-entry {
  background: var(--archive-rust) !important;
  color: #fff8e9 !important;
}

.account-auth-shell,
.account-dashboard {
  background: rgba(243, 232, 211, 0.94) !important;
}

.account-auth-aside {
  background: var(--archive-charcoal) !important;
  color: var(--archive-paper) !important;
}

.account-social-grid button,
.account-mode-tabs,
.account-settings-nav a {
  border-color: var(--archive-line) !important;
}

.account-mode-tabs button.is-active,
.account-settings-nav a:hover,
.account-settings-nav a:focus-visible {
  color: var(--archive-rust-dark) !important;
}

/* Dialogs and overlays use the same paper dossier language. */
.booking-backdrop,
.exchange-brief-backdrop,
.testimonial-modal-backdrop {
  background: rgba(28, 22, 17, 0.82) !important;
  backdrop-filter: blur(9px);
}

.booking-dialog,
.exchange-brief-dialog,
.testimonial-modal {
  background-color: var(--archive-paper) !important;
  background-image: url("../static/home-icons/paper-texture.jpg") !important;
  background-blend-mode: soft-light;
  border: 1px solid rgba(243, 232, 211, 0.44) !important;
  border-radius: var(--archive-radius);
  box-shadow: 0 26px 80px rgba(20, 15, 11, 0.34);
  color: var(--archive-ink) !important;
}

.booking-close,
.exchange-brief-close,
.testimonial-modal-close {
  background: var(--archive-paper) !important;
  border-color: var(--archive-line) !important;
  color: var(--archive-ink) !important;
  z-index: 8;
}

.subpage-footer,
.exchange-footer,
.site-footer-with-mascot {
  background: #211c18 !important;
  border: 1px solid rgba(243, 232, 211, 0.18);
  border-radius: var(--archive-radius);
  color: var(--archive-paper) !important;
  margin: 0 var(--archive-page-gutter) var(--archive-page-gutter) !important;
}

/* Responsive rules: keep every screen readable before keeping decoration. */
@media (max-width: 1180px) {
  :root {
    --archive-page-gutter: 12px;
  }

  .site-header,
  .subpage-header {
    height: 68px;
  }

  .studio-entry-hero {
    margin-top: calc(var(--directory-height) + 12px) !important;
  }

  .subpage {
    padding-top: 68px;
  }

  .subpage-header nav {
    gap: 10px;
    padding-inline: 12px;
  }

  .subpage-header nav > a:not(.header-back):not(.settings-link),
  .subpage-header nav > label {
    display: none;
  }

  .service-intro-hero {
    grid-template-columns: minmax(0, 1fr) minmax(220px, 0.6fr) !important;
  }

  .exchange-beta-status,
  .exchange-market,
  .exchange-levels,
  .exchange-order-flow,
  .exchange-order-shell,
  .exchange-join-review,
  .exchange-join-materials,
  .exchange-join-application,
  .exchange-dashboard-summary,
  .exchange-bid-desk,
  .exchange-dashboard-form-shell {
    margin-bottom: 12px !important;
  }
}

@media (max-width: 760px) {
  :root {
    --archive-page-gutter: 8px;
  }

  :where(
      .studio-entry-hero,
      .subpage-hero,
      .service-intro-hero,
      .project-hero,
      .plugin-product-hero,
      .exchange-hero,
      .exchange-join-hero,
      .exchange-dashboard-hero,
      .sample-creator-hero,
      .course-info-hero,
      .account-hero
    ) {
    border-radius: 5px;
  }

  :where(
      .studio-entry-hero,
      .subpage-hero,
      .project-hero,
      .course-info-hero,
      .account-hero
    ) {
    padding: 38px 20px 42px !important;
  }

  :where(
      .studio-entry-hero,
      .subpage-hero,
      .service-intro-hero,
      .project-hero,
      .plugin-product-hero,
      .exchange-hero,
      .exchange-join-hero,
      .exchange-dashboard-hero,
      .sample-creator-hero,
      .course-info-hero,
      .account-hero
    )::after {
    inset: 5px;
  }

  .subpage-hero h1,
  .studio-entry-hero h1,
  .project-hero-title h1,
  .service-intro-hero-copy h1,
  .sample-creator-hero h1,
  .exchange-dashboard-hero h1,
  .course-info-hero h1 {
    font-size: clamp(44px, 14vw, 68px) !important;
    line-height: 0.94 !important;
    overflow-wrap: anywhere;
  }

  .courses-subhero,
  .demos-subhero {
    min-height: 330px !important;
  }

  .courses-subhero h1,
  .demos-subhero h1 {
    font-size: clamp(42px, 13vw, 66px) !important;
    line-height: 0.9 !important;
  }

  .subpage-hero-copy,
  .studio-entry-copy,
  .exchange-hero-note,
  .exchange-dashboard-hero > div:last-child {
    border-left: 0;
    border-top: 1px solid var(--archive-line);
    margin-top: 26px;
    padding-left: 0;
    padding-top: 22px;
  }

  .service-intro-hero {
    display: grid !important;
    grid-template-columns: 1fr !important;
    padding: 42px 20px !important;
  }

  .service-intro-hero-copy {
    padding: 0 !important;
  }

  .service-intro-mascot-stage {
    align-self: auto;
    justify-self: center;
    margin-top: 20px;
    max-width: 280px;
    min-height: 260px !important;
    width: min(74vw, 280px);
  }

  .studio-hub-page .section,
  .service-intro-section,
  .service-purchase-cta,
  .project-workspace,
  .plugin-product-body {
    padding: 38px 20px !important;
  }

  .service-window .service-card,
  .price-category-card,
  .booking-category-card,
  .equipment-card,
  .course-card,
  .plugin-card,
  .project-package,
  .course-detail-card,
  .account-panel,
  .exchange-listing {
    box-shadow: 3px 4px 0 rgba(122, 86, 58, 0.1);
  }

  .plugin-detail-list {
    gap: 8px;
    padding-inline: 8px !important;
  }

  .plugin-detail {
    border-radius: 5px;
  }

  .plugin-product-hero {
    padding: 34px 18px !important;
  }

  .plugin-product-heading h1 {
    overflow-wrap: anywhere;
  }

  .exchange-hero,
  .exchange-join-hero,
  .exchange-dashboard-hero,
  .sample-creator-hero {
    padding: 42px 20px !important;
  }

  .exchange-hero {
    display: block !important;
  }

  .exchange-hero-note {
    min-height: 0 !important;
  }

  .exchange-hero-actions {
    align-items: stretch !important;
    display: grid !important;
    gap: 10px !important;
    margin-top: 24px !important;
    position: static !important;
  }

  .exchange-hero-actions .button,
  .exchange-hero-actions > a:last-child {
    align-items: center;
    display: flex;
    justify-content: space-between;
    min-height: 50px;
    padding: 13px 16px !important;
    width: 100%;
  }

  .exchange-hero-actions > a:last-child {
    border: 1px solid rgba(255, 248, 233, 0.34);
  }

  .exchange-level-grid,
  .exchange-order-steps,
  .exchange-dashboard-summary,
  .exchange-join-step-grid,
  .sample-creator-rules {
    grid-template-columns: 1fr !important;
  }

  .exchange-level-grid article,
  .exchange-order-steps article,
  .exchange-dashboard-summary article,
  .exchange-join-step-grid article,
  .sample-creator-rules article {
    min-height: 0 !important;
  }

  .account-preference-strip,
  .account-exchange-entry,
  .account-auth-shell,
  .account-dashboard {
    border-radius: 5px;
  }

  .account-auth-shell,
  .account-dashboard-body,
  .account-dashboard-grid {
    grid-template-columns: 1fr !important;
  }

  .account-settings-nav {
    position: static !important;
  }

  .sample-tool-shell,
  .sample-tool-frame {
    min-height: calc(100dvh - 68px - 16px);
  }

  .testimonial-modal,
  .booking-dialog,
  .exchange-brief-dialog {
    border-radius: 5px;
    max-height: calc(100dvh - 86px) !important;
    max-width: calc(100vw - 16px) !important;
  }

  .testimonial-modal-close,
  .booking-close,
  .exchange-brief-close {
    height: 42px !important;
    right: 12px !important;
    top: 12px !important;
    width: 42px !important;
  }

  .floating-audio-player {
    bottom: max(8px, env(safe-area-inset-bottom));
    width: calc(100% - 16px);
  }

  .subpage-footer,
  .exchange-footer,
  .site-footer-with-mascot {
    border-radius: 5px;
  }
}

/* -------------------------------------------------------------------------
 * 老狗插件 / 插件杂志（selected visual direction, 2026-08-29）
 * -------------------------------------------------------------------------
 * A single editorial issue replaces the long card wall. Real product covers
 * remain the source of truth; unreleased products use an honest text state.
 */
.plugin-page {
  background:
    linear-gradient(rgba(244, 232, 209, 0.78), rgba(244, 232, 209, 0.78)),
    url("../static/home-icons/paper-texture.jpg") center / 720px auto repeat !important;
  min-height: 100vh;
  padding-top: var(--directory-height) !important;
}

.plugin-magazine {
  border-bottom: 1px solid rgba(44, 34, 26, 0.36);
  display: grid;
  gap: clamp(24px, 2.6vw, 48px);
  grid-template-columns: minmax(230px, 0.72fr) minmax(430px, 1.45fr) minmax(310px, 0.9fr);
  margin: 0 auto;
  max-width: 1540px;
  min-height: 650px;
  padding: clamp(48px, 5vw, 82px) clamp(24px, 3vw, 46px) clamp(42px, 4vw, 62px);
}

.plugin-magazine-title {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  grid-template-rows: 1fr auto auto;
  min-width: 0;
}

.plugin-magazine-title > p {
  align-self: start;
  color: var(--archive-rust-dark);
  font-family: var(--type-menu);
  font-size: 13px;
  font-weight: 700;
  grid-row: 1;
  letter-spacing: 0.28em;
  margin: 0;
  padding-top: 4px;
  writing-mode: vertical-rl;
}

.plugin-magazine-title > div {
  align-content: start;
  display: grid;
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
}

.plugin-magazine-title > div span,
.plugin-magazine-title > div strong {
  color: var(--archive-ink);
  display: block;
  font-family: "Arial Narrow", "Helvetica Neue Condensed", var(--type-title);
  font-size: clamp(76px, 8.4vw, 142px);
  font-stretch: condensed;
  font-weight: 900;
  letter-spacing: -0.08em;
  line-height: 0.82;
  overflow-wrap: normal;
  text-transform: uppercase;
  word-break: keep-all;
}

.plugin-magazine-title > div strong {
  margin-top: 0.24em;
}

.plugin-magazine-title > small {
  color: var(--archive-rust);
  font-family: var(--type-menu);
  font-size: 20px;
  font-weight: 750;
  grid-column: 2;
  letter-spacing: 0.04em;
  margin-top: 30px;
}

.plugin-magazine-title > h1 {
  border-bottom: 1px solid var(--archive-ink);
  border-top: 1px solid var(--archive-ink);
  color: var(--archive-ink);
  font-family: var(--type-title);
  font-size: clamp(25px, 2.35vw, 38px) !important;
  font-weight: 760;
  grid-column: 2;
  letter-spacing: -0.03em;
  line-height: 1.1 !important;
  margin: 15px 0 0;
  padding: 13px 0;
}

.plugin-magazine-product {
  align-items: center;
  display: flex;
  justify-content: center;
  min-width: 0;
}

.plugin-magazine-product > img,
.plugin-magazine-product .plugin-product-cover,
.plugin-magazine-product .plugin-product-cover img {
  display: block;
  max-height: 610px;
  width: 100%;
}

.plugin-magazine-product .plugin-product-cover {
  background: transparent;
  box-shadow: none;
}

.plugin-magazine-product .plugin-product-cover img,
.plugin-magazine-product > img {
  border: 0;
  border-radius: 0;
  box-shadow: 0 18px 34px rgba(52, 35, 24, 0.17);
  height: auto;
  object-fit: contain;
}

.plugin-cover-unreleased {
  align-items: center;
  aspect-ratio: 1.42;
  background: rgba(45, 37, 30, 0.94);
  border: 1px solid rgba(247, 236, 216, 0.28);
  color: var(--archive-paper);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 4vw, 64px);
  text-align: center;
  width: 100%;
}

.plugin-cover-unreleased small,
.plugin-cover-unreleased span {
  font-family: var(--type-menu);
  letter-spacing: 0.12em;
}

.plugin-cover-unreleased strong {
  font-family: var(--type-title);
  font-size: clamp(40px, 5vw, 80px);
  letter-spacing: -0.045em;
  line-height: 0.92;
  margin: 34px 0;
}

.plugin-magazine-copy {
  align-self: center;
  color: var(--archive-ink);
  min-width: 0;
}

.plugin-magazine-issue {
  border-bottom: 1px solid var(--archive-ink);
  font-family: var(--type-menu) !important;
  font-size: 13px !important;
  letter-spacing: 0.045em;
  margin: 0 0 30px !important;
  padding-bottom: 13px;
}

.plugin-magazine-issue strong {
  color: var(--archive-rust);
  font-weight: 750;
}

.plugin-magazine-copy > .plugin-magazine-motto {
  color: var(--archive-rust-dark);
  font-family: var(--type-menu) !important;
  font-size: 12px !important;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 12px !important;
}

.plugin-magazine-copy h2 {
  font-family: var(--type-title);
  font-size: clamp(38px, 4.1vw, 66px);
  font-weight: 780;
  letter-spacing: -0.055em;
  line-height: 0.98;
  margin: 0 0 22px;
}

.plugin-magazine-copy > p:not(.plugin-magazine-issue) {
  font-family: var(--type-body);
  font-size: clamp(15px, 1.15vw, 18px);
  line-height: 1.72;
  margin: 0 0 18px;
}

.plugin-magazine-copy .plugin-detail-actions {
  border-top: 1px solid rgba(47, 37, 29, 0.34);
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 26px;
  padding-top: 22px;
}

.plugin-magazine-copy .plugin-detail-actions :where(a, button) {
  align-items: center;
  background: transparent;
  border: 1px solid rgba(47, 37, 29, 0.52) !important;
  color: var(--archive-ink) !important;
  display: flex;
  font-family: var(--type-menu) !important;
  font-size: 14px;
  font-weight: 680;
  justify-content: center;
  min-height: 48px;
  padding: 10px 12px;
  text-align: center;
}

.plugin-magazine-copy .plugin-detail-actions a {
  background: var(--archive-rust);
  border-color: var(--archive-rust) !important;
  color: #fff7e7 !important;
}

.plugin-magazine-copy .plugin-detail-actions button:disabled {
  background: rgba(47, 37, 29, 0.05) !important;
  color: rgba(47, 37, 29, 0.48) !important;
}

.plugin-magazine-meta {
  border-bottom: 1px solid rgba(47, 37, 29, 0.24);
  display: flex;
  flex-wrap: wrap;
  font-family: var(--type-menu);
  font-size: 12px;
  gap: 8px 24px;
  justify-content: space-between;
  letter-spacing: 0.05em;
  padding: 18px 0;
}

.plugin-magazine-manual {
  border-bottom: 1px solid currentColor;
  color: var(--archive-ink);
  display: inline-block;
  font-family: var(--type-menu);
  font-size: 13px;
  margin-top: 18px;
  padding-bottom: 4px;
}

.plugin-issue-strip {
  display: grid;
  grid-template-columns: 122px minmax(0, 1fr) 90px;
  margin: 0 auto;
  max-width: 1540px;
  min-width: 0;
  padding: 0 clamp(24px, 3vw, 46px) 34px;
}

.plugin-issue-strip > header {
  border-right: 1px solid var(--archive-line);
  display: flex;
  flex-direction: column;
  font-family: var(--type-menu);
  gap: 8px;
  justify-content: center;
  padding-right: 18px;
}

.plugin-issue-strip > header strong {
  font-size: 13px;
}

.plugin-issue-strip > header span {
  color: rgba(36, 30, 25, 0.58);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.plugin-issue-deck {
  display: flex;
  min-width: 0;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-color: var(--archive-rust) rgba(65, 48, 36, 0.1);
  scrollbar-width: thin;
}

.plugin-issue-card {
  background: transparent;
  border: 0;
  border-right: 1px solid var(--archive-line);
  color: var(--archive-ink);
  cursor: pointer;
  display: grid;
  flex: 0 0 clamp(218px, 20vw, 300px);
  grid-template-columns: minmax(0, 1fr) 92px;
  grid-template-rows: auto 1fr auto;
  min-height: 190px;
  padding: 24px 20px;
  text-align: left;
  transition: background 160ms ease, color 160ms ease;
}

.plugin-issue-card:hover,
.plugin-issue-card:focus-visible,
.plugin-issue-card[aria-current="true"] {
  background: rgba(155, 95, 67, 0.12);
  outline: none;
}

.plugin-issue-card[aria-current="true"] {
  box-shadow: inset 0 4px 0 var(--archive-rust);
}

.plugin-issue-card > span,
.plugin-issue-card > strong,
.plugin-issue-card > small {
  grid-column: 1;
}

.plugin-issue-card > span {
  color: rgba(36, 30, 25, 0.62);
  font-family: var(--type-menu);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.plugin-issue-card > strong {
  align-self: center;
  font-family: var(--type-title);
  font-size: clamp(24px, 2vw, 34px);
  letter-spacing: -0.04em;
  line-height: 0.92;
  margin: 12px 0;
}

.plugin-issue-card > small {
  font-family: var(--type-body);
  font-size: 12px;
}

.plugin-issue-card > img {
  align-self: center;
  grid-column: 2;
  grid-row: 1 / -1;
  height: 126px;
  object-fit: contain;
  width: 88px;
}

.plugin-issue-next {
  align-self: center;
  background: var(--archive-rust);
  border: 0;
  color: #fff7e7;
  cursor: pointer;
  font-family: var(--type-menu);
  font-size: 13px;
  height: 60px;
  justify-self: end;
  width: 76px;
}

.plugin-page .subpage-footer {
  margin-top: 0;
}

@media (max-width: 1180px) {
  .plugin-page {
    padding-top: var(--directory-height) !important;
  }

  .plugin-magazine {
    grid-template-columns: minmax(190px, 0.68fr) minmax(360px, 1.35fr) minmax(280px, 0.92fr);
    min-height: 590px;
  }

  .plugin-magazine-title > div span,
  .plugin-magazine-title > div strong {
    font-size: clamp(66px, 8.3vw, 112px);
  }
}

@media (max-width: 940px) {
  .plugin-magazine {
    grid-template-columns: minmax(190px, 0.64fr) minmax(0, 1.36fr);
  }

  .plugin-magazine-copy {
    border-top: 1px solid var(--archive-line);
    grid-column: 1 / -1;
    padding-top: 30px;
  }

  .plugin-magazine-copy > p:not(.plugin-magazine-issue) {
    max-width: 54rem;
  }
}

@media (max-width: 660px) {
  .plugin-magazine {
    display: flex;
    flex-direction: column;
    gap: 26px;
    min-height: 0;
    padding: 30px 18px 34px;
  }

  .plugin-magazine-title {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
  }

  .plugin-magazine-title > p {
    grid-column: 1;
    grid-row: 1;
    padding: 0;
    writing-mode: horizontal-tb;
  }

  .plugin-magazine-title > div {
    align-items: baseline;
    display: flex;
    gap: 8px;
    grid-column: 1 / -1;
    grid-row: 2;
    margin-top: 18px;
  }

  .plugin-magazine-title > div span,
  .plugin-magazine-title > div strong {
    font-size: clamp(52px, 17.5vw, 82px);
    letter-spacing: -0.075em;
    line-height: 0.82;
    margin: 0;
  }

  .plugin-magazine-title > small {
    align-self: start;
    grid-column: 2;
    grid-row: 1;
    margin: 0;
  }

  .plugin-magazine-title > h1 {
    display: none;
  }

  .plugin-magazine-product {
    order: 2;
  }

  .plugin-magazine-product > img,
  .plugin-magazine-product .plugin-product-cover,
  .plugin-magazine-product .plugin-product-cover img {
    max-height: none;
  }

  .plugin-magazine-copy {
    order: 3;
    padding-top: 24px;
  }

  .plugin-magazine-copy h2 {
    font-size: clamp(38px, 11.5vw, 54px);
  }

  .plugin-magazine-copy .plugin-detail-actions {
    grid-template-columns: 1fr;
  }

  .plugin-issue-strip {
    grid-template-columns: 1fr 62px;
    padding: 0 18px 22px;
  }

  .plugin-issue-strip > header {
    border-bottom: 1px solid var(--archive-line);
    border-right: 0;
    grid-column: 1 / -1;
    padding: 16px 0;
  }

  .plugin-issue-deck {
    grid-column: 1;
  }

  .plugin-issue-card {
    flex-basis: min(82vw, 290px);
    min-height: 164px;
    padding: 20px 16px;
  }

  .plugin-issue-card > img {
    height: 108px;
  }

  .plugin-issue-next {
    grid-column: 2;
    height: 54px;
    width: 54px;
  }
}

@media (max-width: 430px) {
  .subpage-header {
    grid-template-columns: minmax(128px, 1fr) auto !important;
  }

  .subpage-brand-group .wordmark {
    padding-inline: 12px;
  }

  .subpage-brand-group .wordmark-logo {
    height: 42px;
    width: 42px;
  }

  .subpage-brand-group .header-home-link {
    font-size: 14px;
    min-height: 38px;
    padding-inline: 13px;
  }

  .subpage-header nav {
    padding-inline: 8px;
  }

  .subpage-header nav .header-back {
    height: 38px;
    min-height: 38px;
    padding: 0 11px;
    width: 38px;
  }

  .header-back-text {
    display: none;
  }

  .subpage-header nav > .settings-link {
    height: 40px !important;
    width: 40px !important;
  }

  .studio-entry-copy p,
  .subpage-hero-copy p,
  .service-intro-hero-copy p,
  .exchange-hero-note p,
  .sample-creator-hero p,
  .account-panel p {
    font-size: 15px !important;
  }

  .plugin-product-body,
  .project-workspace,
  .service-intro-section,
  .service-purchase-cta,
  .studio-hub-page .section {
    padding-inline: 16px !important;
  }

  .exchange-form-grid,
  .project-contact-grid,
  .booking-contact-grid,
  .sample-form-two,
  .sample-form-three {
    grid-template-columns: 1fr !important;
  }
}

/* -------------------------------------------------------------------------
 * Editorial studio desk — selected secondary-page direction (2026-08-29)
 * -------------------------------------------------------------------------
 * The homepage remains the record-library cover. Everything below it now
 * shares one working-desk grammar: cream dossiers, compact local tabs,
 * catalogue rows and a single rust action band. Product-specific behaviour
 * stays untouched; this layer only changes hierarchy, density and surfaces.
 */

.editorial-studio-workbench,
.editorial-proof-strip {
  margin-left: auto;
  margin-right: auto;
  max-width: 1510px;
  width: calc(100% - (var(--archive-page-gutter) * 2));
}

.editorial-studio-workbench {
  display: grid;
  gap: var(--archive-page-gutter);
  grid-template-columns: minmax(360px, 0.88fr) minmax(560px, 1.12fr);
  margin-top: calc(78px + var(--archive-page-gutter));
}

.editorial-studio-story,
.editorial-studio-panel,
.editorial-proof-strip > article {
  background-color: rgba(247, 239, 224, 0.96);
  background-image: url("../static/home-icons/paper-texture.jpg");
  background-blend-mode: soft-light;
  border: 1px solid var(--archive-line);
  border-radius: 10px;
  box-shadow: var(--archive-shadow-small);
  color: var(--archive-ink);
  min-width: 0;
  overflow: hidden;
  position: relative;
}

.editorial-studio-story::after,
.editorial-studio-panel::after,
.editorial-proof-strip > article::after {
  border: 1px solid rgba(66, 48, 35, 0.1);
  border-radius: 7px;
  content: "";
  inset: 8px;
  pointer-events: none;
  position: absolute;
}

.editorial-studio-story {
  display: flex;
  flex-direction: column;
  min-height: 610px;
  padding: clamp(32px, 3.2vw, 50px);
}

.editorial-studio-story > * {
  position: relative;
  z-index: 1;
}

.editorial-studio-story .section-label {
  color: var(--archive-rust-dark);
  margin: 0 0 16px;
}

.editorial-studio-story .section-label::before {
  display: none;
}

.editorial-studio-story h1 {
  font-size: clamp(56px, 5.2vw, 78px) !important;
  letter-spacing: -0.055em;
  line-height: 0.94;
  margin: 0 0 16px;
}

.editorial-studio-story > strong {
  font-family: var(--type-title);
  font-size: clamp(20px, 1.7vw, 28px);
  font-weight: 650;
  letter-spacing: 0.01em;
}

.editorial-story-rule {
  background: var(--archive-rust);
  display: block;
  height: 2px;
  margin: 20px 0 16px;
  width: 42px;
}

.editorial-studio-story > p:not(.section-label) {
  font-size: clamp(15px, 1.1vw, 17px);
  margin: 0 0 24px;
  max-width: 36rem;
}

.editorial-contact-sheet {
  background: #2a231e;
  border: 1px solid rgba(45, 34, 27, 0.35);
  box-shadow: 0 8px 20px rgba(54, 37, 25, 0.16);
  margin: auto 0 20px;
  overflow: hidden;
}

.editorial-contact-sheet img {
  display: block;
  filter: sepia(0.14) saturate(0.82) contrast(1.04);
  height: clamp(170px, 15vw, 210px);
  object-fit: cover;
  width: 100%;
}

.editorial-studio-story .button {
  align-items: center;
  align-self: flex-start;
  display: inline-flex;
  justify-content: space-between;
  min-height: 48px;
  min-width: 184px;
  padding: 12px 20px;
}

.editorial-studio-panel {
  display: grid;
  grid-template-rows: auto 1fr auto auto;
  min-height: 610px;
  padding: clamp(22px, 2.6vw, 38px);
}

.editorial-studio-panel > * {
  position: relative;
  z-index: 1;
}

.editorial-panel-tabs {
  border-bottom: 1px solid var(--archive-line);
  display: flex;
  gap: clamp(26px, 4vw, 62px);
  min-height: 54px;
}

.editorial-panel-tabs button {
  background: transparent;
  border: 0;
  color: rgba(36, 30, 25, 0.55);
  cursor: pointer;
  font-family: var(--type-menu);
  font-size: 17px;
  font-weight: 700;
  min-width: 46px;
  padding: 0 0 14px;
  position: relative;
}

.editorial-panel-tabs button::after {
  background: var(--archive-rust);
  bottom: -1px;
  content: "";
  height: 3px;
  left: 0;
  position: absolute;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 160ms ease;
  width: 100%;
}

.editorial-panel-tabs button.is-active {
  color: var(--archive-ink);
}

.editorial-panel-tabs button.is-active::after {
  transform: scaleX(1);
}

.editorial-panel-content {
  min-height: 0;
  padding: 24px 0 20px;
}

.editorial-panel-label {
  align-items: center;
  display: flex;
  font-family: var(--type-utility);
  font-size: 11px;
  font-weight: 700;
  gap: 14px;
  letter-spacing: 0.08em;
  margin: 0 0 16px;
}

.editorial-panel-label::after {
  background: var(--archive-line);
  content: "";
  flex: 1;
  height: 1px;
}

.editorial-service-list {
  display: grid;
  gap: 12px;
}

.editorial-service-list a {
  align-items: center;
  background: rgba(250, 244, 232, 0.62);
  border: 1px solid var(--archive-line);
  color: var(--archive-ink);
  display: grid;
  gap: 18px;
  grid-template-columns: 72px minmax(120px, 0.8fr) minmax(150px, 1.1fr) 22px;
  min-height: 74px;
  overflow: hidden;
  padding: 0 22px 0 0;
  text-decoration: none;
  transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.editorial-service-list a:hover,
.editorial-service-list a:focus-visible {
  border-color: rgba(113, 68, 47, 0.65);
  box-shadow: 4px 5px 0 rgba(113, 68, 47, 0.1);
  outline: none;
  transform: translateY(-2px);
}

.editorial-service-list a > span {
  align-items: center;
  align-self: stretch;
  background: var(--archive-ink);
  color: var(--archive-paper);
  display: flex;
  font-family: var(--type-utility);
  font-size: 12px;
  justify-content: center;
  letter-spacing: 0.12em;
}

.editorial-service-list strong {
  font-family: var(--type-title);
  font-size: clamp(21px, 1.65vw, 28px);
  letter-spacing: -0.02em;
}

.editorial-service-list small {
  color: rgba(36, 30, 25, 0.55);
  font-size: 13px;
  line-height: 1.45;
  text-align: right;
}

.editorial-service-list i {
  font-family: sans-serif;
  font-size: 30px;
  font-style: normal;
  font-weight: 300;
  line-height: 1;
  text-align: right;
}

.editorial-project-cta {
  align-items: center;
  background: var(--archive-rust);
  color: #fff8e9;
  display: flex;
  gap: 20px;
  justify-content: space-between;
  margin-top: auto;
  min-height: 100px;
  padding: 20px 26px;
}

.editorial-project-cta > div {
  align-items: center;
  display: flex;
  gap: 16px;
  min-width: 0;
}

.editorial-project-cta > div > span {
  align-items: center;
  border: 1px solid rgba(255, 248, 233, 0.58);
  border-radius: 50%;
  display: flex;
  flex: none;
  height: 44px;
  justify-content: center;
  width: 44px;
}

.editorial-project-cta p {
  display: grid;
  gap: 4px;
  line-height: 1.4;
  margin: 0;
}

.editorial-project-cta strong {
  font-family: var(--type-title);
  font-size: 20px;
}

.editorial-project-cta small {
  color: rgba(255, 248, 233, 0.78);
  font-size: 12px;
}

.editorial-project-cta a {
  border: 1px solid rgba(255, 248, 233, 0.64);
  color: #fff8e9;
  flex: none;
  font-family: var(--type-menu);
  font-size: 14px;
  padding: 13px 18px;
  text-decoration: none;
}

.editorial-trust-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  min-height: 46px;
}

.editorial-trust-row span {
  align-items: center;
  color: rgba(36, 30, 25, 0.58);
  display: flex;
  font-size: 11px;
  gap: 8px;
  justify-content: center;
}

.editorial-trust-row span::before {
  border: 1px solid currentColor;
  border-radius: 50%;
  content: "✓";
  display: grid;
  font-size: 9px;
  height: 16px;
  place-items: center;
  width: 16px;
}

.editorial-proof-strip {
  display: grid;
  gap: var(--archive-page-gutter);
  grid-template-columns: 1.1fr 0.75fr 1.2fr;
  margin-bottom: var(--archive-page-gutter);
  margin-top: var(--archive-page-gutter);
}

.editorial-proof-strip > article {
  min-height: 220px;
  padding: 24px;
}

.editorial-proof-strip > article > * {
  position: relative;
  z-index: 1;
}

.editorial-proof-strip header {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-bottom: 18px;
}

.editorial-proof-strip h2 {
  font-size: 21px !important;
  margin: 0;
}

.editorial-proof-strip header a {
  color: rgba(36, 30, 25, 0.62);
  font-family: var(--type-menu);
  font-size: 12px;
  text-decoration: none;
}

.editorial-work-list,
.editorial-equipment-list {
  display: grid;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}

.editorial-work-list li,
.editorial-equipment-list li {
  align-items: center;
  border-top: 1px solid var(--archive-line);
  display: grid;
  min-height: 42px;
}

.editorial-work-list li {
  gap: 12px;
  grid-template-columns: 26px 1fr auto;
}

.editorial-work-list span,
.editorial-work-list small,
.editorial-equipment-list small {
  color: rgba(36, 30, 25, 0.54);
  font-family: var(--type-utility);
  font-size: 10px;
  letter-spacing: 0.06em;
}

.editorial-proof-strip blockquote {
  font-family: var(--type-title);
  font-size: clamp(20px, 1.7vw, 27px);
  line-height: 1.55;
  margin: 10px 0 18px;
}

.editorial-proof-strip article > p {
  color: rgba(36, 30, 25, 0.55);
  font-size: 12px;
  margin: 0;
}

.editorial-equipment-list {
  grid-template-columns: repeat(2, 1fr);
}

.editorial-equipment-list li {
  padding: 8px 12px;
}

.editorial-equipment-list li:nth-child(odd) {
  border-right: 1px solid var(--archive-line);
}

.editorial-equipment-list strong,
.editorial-equipment-list small {
  display: block;
}

/* Shared secondary-page work surfaces. */
.subpage > :where(
  .subpage-hero,
  .exchange-hero,
  .exchange-beta-status,
  .exchange-market,
  .exchange-levels,
  .exchange-order-flow,
  .exchange-order-shell,
  .course-detail-list,
  .plugin-detail-list,
  .plugin-product-body,
  .service-intro-hero,
  .service-intro-section,
  .service-purchase-cta,
  .project-hero,
  .project-workspace,
  .account-preference-strip,
  .account-exchange-entry,
  .account-auth-shell,
  .account-dashboard,
  .sample-tool-shell
) {
  max-width: 1510px;
  width: calc(100% - (var(--archive-page-gutter) * 2));
}

.subpage > :where(
  .subpage-hero,
  .exchange-hero,
  .exchange-beta-status,
  .exchange-market,
  .exchange-levels,
  .exchange-order-flow,
  .exchange-order-shell,
  .course-detail-list,
  .plugin-detail-list,
  .plugin-product-body,
  .service-intro-hero,
  .service-intro-section,
  .service-purchase-cta,
  .project-hero,
  .project-workspace,
  .account-preference-strip,
  .account-exchange-entry,
  .account-auth-shell,
  .account-dashboard,
  .sample-tool-shell
) {
  margin-left: auto !important;
  margin-right: auto !important;
}

.subpage :where(.subpage-hero, .exchange-hero, .service-intro-hero, .project-hero) {
  margin-top: var(--archive-page-gutter) !important;
}

.subpage-hero,
.exchange-hero,
.service-intro-hero,
.project-hero {
  min-height: clamp(290px, 35vw, 500px) !important;
}

.courses-subhero,
.demos-subhero {
  min-height: clamp(310px, 29vw, 410px) !important;
}

.courses-subhero h1,
.demos-subhero h1 {
  font-size: clamp(58px, 7vw, 100px) !important;
  line-height: 0.94 !important;
}

.course-detail-list {
  display: grid !important;
  gap: var(--archive-page-gutter) !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: var(--archive-page-gutter) !important;
}

.course-detail-card {
  display: flex !important;
  flex-direction: column;
  margin: 0 !important;
  min-height: 480px;
  padding: clamp(24px, 3vw, 38px) !important;
}

.course-detail-copy {
  flex: 1;
}

.course-detail-price {
  margin-top: 24px;
}

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

.plugin-detail {
  background: rgba(247, 239, 224, 0.96) !important;
  color: var(--archive-ink) !important;
  gap: clamp(18px, 2.2vw, 32px) !important;
  grid-template-columns: 42px minmax(180px, 0.78fr) minmax(0, 1fr) !important;
  min-height: 0 !important;
  padding: clamp(28px, 3vw, 44px) !important;
}

.plugin-detail .detail-status {
  color: rgba(36, 30, 25, 0.52);
  position: absolute;
  right: 24px;
  top: 24px;
  writing-mode: horizontal-tb;
}

.plugin-detail-index {
  color: rgba(36, 30, 25, 0.58);
}

.plugin-detail-copy {
  min-width: 0;
  padding-top: 36px;
}

.plugin-detail-copy > p {
  color: var(--archive-rust-dark);
}

.plugin-detail-face,
.plugin-product-cover {
  align-self: center;
  color: var(--archive-ink);
}

.plugin-product-cover img {
  width: 100%;
}

.plugin-detail .control-list small,
.plugin-detail-actions a,
.plugin-detail-actions button {
  border-color: var(--archive-line) !important;
  color: var(--archive-ink) !important;
}

.plugin-detail-actions a:hover,
.plugin-detail-actions a:focus-visible,
.plugin-detail-actions button:not(:disabled):hover,
.plugin-detail-actions button:not(:disabled):focus-visible {
  background: var(--archive-ink) !important;
  color: var(--archive-paper) !important;
}

.plugin-detail-actions button:disabled {
  background: rgba(36, 30, 25, 0.05) !important;
  color: rgba(36, 30, 25, 0.42) !important;
}

.plugin-detail-copy h2 {
  font-size: clamp(38px, 4vw, 68px) !important;
  line-height: 0.96 !important;
}

.plugin-page .plugin-subhero {
  align-content: center;
  min-height: 340px !important;
  padding: clamp(42px, 5vw, 72px) !important;
}

.plugin-page .plugin-subhero h1 {
  font-size: clamp(54px, 6.5vw, 92px) !important;
  line-height: 0.92 !important;
  max-width: none;
  white-space: nowrap;
}

.plugin-page .plugin-subhero h1 br {
  display: none;
}

.plugin-detail-copy > span,
.course-detail-copy > p,
.exchange-hero-note p,
.service-intro-hero-copy > p:last-child {
  font-size: 16px !important;
  line-height: 1.72 !important;
}

.exchange-page .exchange-hero {
  align-items: stretch;
  grid-template-columns: minmax(0, 0.85fr) minmax(360px, 1.15fr) !important;
  min-height: 430px !important;
  padding: 0 !important;
}

.exchange-page .exchange-hero-title,
.exchange-page .exchange-hero-note {
  justify-content: center;
  padding: clamp(24px, 3.5vw, 52px) !important;
}

.exchange-page .exchange-hero-title::before {
  display: none;
}

.exchange-page .exchange-hero h1 {
  font-size: clamp(62px, 5.8vw, 86px) !important;
  letter-spacing: -0.055em;
  line-height: 0.9 !important;
  margin: 22px 0 28px;
  max-width: 6ch;
}

.exchange-page .exchange-hero-title > span {
  font-size: clamp(18px, 1.55vw, 24px);
}

.exchange-page .exchange-hero-note {
  gap: 18px;
}

.exchange-beta-status,
.exchange-market,
.exchange-levels,
.exchange-order-flow,
.exchange-order-shell {
  padding-top: clamp(34px, 4vw, 58px) !important;
  padding-bottom: clamp(34px, 4vw, 58px) !important;
}

.exchange-level-grid,
.exchange-order-steps {
  gap: 12px !important;
}

.exchange-level-grid article,
.exchange-order-steps article {
  min-height: 0 !important;
}

.account-preference-strip,
.account-exchange-entry,
.account-auth-shell,
.account-dashboard {
  margin-top: var(--archive-page-gutter) !important;
}

.sample-tool-shell {
  margin-top: var(--archive-page-gutter) !important;
}

@media (max-width: 1180px) {
  .editorial-studio-workbench {
    grid-template-columns: minmax(310px, 0.82fr) minmax(480px, 1.18fr);
    margin-top: 80px;
  }

  .editorial-studio-story,
  .editorial-studio-panel {
    min-height: 570px;
  }

  .editorial-service-list a {
    gap: 12px;
    grid-template-columns: 60px minmax(110px, 0.8fr) minmax(130px, 1fr) 18px;
  }

  .editorial-project-cta {
    align-items: stretch;
    flex-direction: column;
  }

  .editorial-project-cta a {
    align-items: center;
    display: flex;
    justify-content: space-between;
  }

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

@media (max-width: 900px) {
  .editorial-studio-workbench {
    grid-template-columns: 1fr;
  }

  .editorial-studio-story,
  .editorial-studio-panel {
    min-height: 0;
  }

  .editorial-studio-story {
    display: grid;
    gap: 0 24px;
    grid-template-columns: 1fr minmax(240px, 0.8fr);
  }

  .editorial-studio-story .section-label,
  .editorial-studio-story h1,
  .editorial-studio-story > strong,
  .editorial-story-rule,
  .editorial-studio-story > p:not(.section-label),
  .editorial-studio-story .button {
    grid-column: 1;
  }

  .editorial-contact-sheet {
    align-self: stretch;
    grid-column: 2;
    grid-row: 1 / span 6;
    margin: 0;
  }

  .editorial-contact-sheet img {
    height: 100%;
    min-height: 280px;
  }

  .editorial-proof-strip {
    grid-template-columns: 1fr 1fr;
  }

  .editorial-proof-strip > article:first-child {
    grid-column: 1 / -1;
  }

  .plugin-detail-list {
    grid-template-columns: 1fr;
  }

  .plugin-detail {
    grid-template-columns: 42px minmax(190px, 0.72fr) minmax(0, 1fr) !important;
  }
}

@media (max-width: 760px) {
  .editorial-studio-workbench,
  .editorial-proof-strip {
    width: calc(100% - 16px);
  }

  .editorial-studio-workbench {
    margin-top: 76px;
  }

  .editorial-studio-story,
  .editorial-studio-panel,
  .editorial-proof-strip > article {
    border-radius: 5px;
  }

  .editorial-studio-story,
  .editorial-studio-panel {
    padding: 24px 20px;
  }

  .editorial-studio-story {
    display: flex;
  }

  .editorial-studio-story h1 {
    font-size: clamp(54px, 17vw, 76px) !important;
  }

  .editorial-contact-sheet {
    margin: 6px 0 20px;
    order: initial;
  }

  .editorial-contact-sheet img {
    height: 168px;
    min-height: 0;
  }

  .editorial-studio-story .button {
    align-self: stretch;
  }

  .editorial-panel-tabs {
    justify-content: space-between;
  }

  .editorial-panel-content {
    padding-top: 18px;
  }

  .editorial-service-list a {
    gap: 12px;
    grid-template-columns: 52px minmax(0, 1fr) 20px;
    min-height: 66px;
    padding-right: 16px;
  }

  .editorial-service-list a > small {
    display: none;
  }

  .editorial-service-list strong {
    font-size: 22px;
  }

  .editorial-project-cta {
    margin-top: 8px;
    padding: 18px;
  }

  .editorial-trust-row {
    grid-template-columns: 1fr;
    padding: 10px 0;
  }

  .editorial-trust-row span {
    justify-content: flex-start;
    min-height: 30px;
  }

  .editorial-proof-strip {
    grid-template-columns: 1fr;
  }

  .editorial-proof-strip > article:first-child {
    grid-column: auto;
  }

  .editorial-proof-strip > article {
    min-height: 0;
    padding: 20px;
  }

  .course-detail-list {
    grid-template-columns: 1fr;
  }

  .course-detail-card {
    min-height: 0;
  }

  .subpage-hero,
  .exchange-hero,
  .service-intro-hero,
  .project-hero,
  .courses-subhero,
  .demos-subhero {
    min-height: 0 !important;
  }

  .subpage :where(.subpage-hero, .exchange-hero, .service-intro-hero, .project-hero) {
    padding: 34px 20px !important;
  }

  .subpage-hero h1,
  .service-intro-hero-copy h1,
  .exchange-hero h1,
  .project-hero h1 {
    font-size: clamp(42px, 13vw, 62px) !important;
    line-height: 0.96 !important;
  }

  .exchange-page .exchange-hero {
    display: grid !important;
    grid-template-columns: 1fr !important;
    min-height: 0 !important;
    padding: 18px !important;
  }

  .exchange-page .exchange-hero-title,
  .exchange-page .exchange-hero-note {
    padding: 26px 18px !important;
  }

  .exchange-page .exchange-hero h1 {
    font-size: clamp(52px, 16vw, 72px) !important;
    max-width: none;
  }

  .plugin-detail-list {
    gap: 8px !important;
  }

  .plugin-detail-copy h2 {
    font-size: clamp(34px, 11vw, 50px) !important;
  }

  .plugin-page .plugin-subhero {
    min-height: 0 !important;
  }

  .plugin-page .plugin-subhero h1 {
    font-size: clamp(48px, 15vw, 68px) !important;
    white-space: normal;
  }

  .plugin-detail {
    display: grid !important;
    grid-template-columns: 30px minmax(0, 1fr) !important;
    padding: 22px !important;
  }

  .plugin-detail-index {
    grid-column: 1;
    grid-row: 1 / span 2;
  }

  .plugin-product-cover,
  .plugin-detail-face,
  .plugin-detail-copy {
    grid-column: 2;
  }

  .plugin-detail-copy {
    padding-top: 14px;
  }

  .plugin-detail .detail-status {
    right: 18px;
    top: 18px;
  }
}

/* -------------------------------------------------------------------------
 * Account archive — selected record-folder settings direction (2026-09-05)
 * ------------------------------------------------------------------------- */
.account-page {
  background-color: #ead8b8 !important;
  background-image:
    linear-gradient(rgba(244, 232, 208, 0.74), rgba(231, 211, 175, 0.76)),
    url("../static/home-icons/paper-texture.jpg") !important;
  background-size: auto, 760px 760px !important;
  padding-top: var(--directory-height) !important;
}

.account-page > .subpage-header {
  display: none !important;
}

.account-archive-settings {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  margin: 0 !important;
  overflow: visible !important;
  padding: clamp(34px, 4.4vw, 66px) clamp(20px, 3.3vw, 52px) clamp(52px, 6vw, 88px) !important;
}

.account-archive-heading {
  margin: 0 auto 30px;
  max-width: 1440px;
  scroll-margin-top: 112px;
}

.account-archive-heading > span,
.account-panel-heading > span {
  color: var(--archive-rust-dark);
  display: block;
  font-family: var(--type-utility);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.account-archive-heading h2 {
  color: var(--archive-ink);
  font-family: var(--type-title);
  font-size: clamp(34px, 3.1vw, 48px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.08;
  margin: 7px 0 0;
}

.account-archive-heading p {
  color: rgba(36, 30, 25, 0.66);
  font-size: 14px;
  line-height: 1.6;
  margin: 9px 0 0;
}

.account-archive-heading p b {
  color: var(--archive-ink);
}

.account-folder-tabs {
  display: grid;
  gap: clamp(9px, 1.2vw, 18px);
  grid-template-columns: repeat(6, minmax(120px, 1fr));
  margin: 0 auto;
  max-width: 1440px;
  padding: 0 14px;
  position: relative;
  z-index: 2;
}

.account-folder-tabs button {
  align-items: center;
  background-color: #dfc69d;
  background-image:
    linear-gradient(rgba(240, 222, 190, 0.5), rgba(206, 173, 124, 0.2)),
    url("../static/home-icons/paper-texture.jpg");
  background-size: auto, 430px 430px;
  border: 1px solid rgba(86, 63, 42, 0.32);
  border-bottom-color: rgba(86, 63, 42, 0.18);
  border-radius: 16px 16px 2px 2px;
  box-shadow:
    0 -5px 0 -1px rgba(214, 187, 145, 0.78),
    0 -10px 0 -3px rgba(196, 163, 114, 0.52),
    0 7px 16px rgba(73, 52, 33, 0.12);
  color: rgba(49, 39, 31, 0.78);
  cursor: pointer;
  display: flex;
  font-family: var(--type-menu);
  font-size: clamp(14px, 1.25vw, 18px);
  font-weight: 750;
  gap: 10px;
  justify-content: center;
  min-height: 88px;
  padding: 20px 12px 17px;
  position: relative;
  transition: color 160ms ease, transform 160ms ease, background-color 160ms ease;
  white-space: nowrap;
}

.account-folder-tabs button::after {
  background: var(--archive-rust);
  bottom: -1px;
  content: "";
  height: 4px;
  left: 16px;
  opacity: 0;
  position: absolute;
  right: 16px;
  transition: opacity 160ms ease;
}

.account-folder-tabs button:hover,
.account-folder-tabs button:focus-visible,
.account-folder-tabs button.is-active {
  background-color: #f1dfbd;
  color: var(--archive-ink);
  outline: 0;
  transform: translateY(2px);
}

.account-folder-tabs button.is-active {
  border-bottom-color: transparent;
  z-index: 3;
}

.account-folder-tabs button.is-active::after,
.account-folder-tabs button:focus-visible::after {
  opacity: 1;
}

.account-folder-paper {
  background-color: rgba(247, 237, 218, 0.98);
  background-image:
    linear-gradient(rgba(249, 241, 225, 0.64), rgba(238, 221, 192, 0.42)),
    url("../static/home-icons/paper-texture.jpg");
  background-blend-mode: soft-light, normal;
  background-size: auto, 620px 620px;
  border: 1px solid rgba(73, 54, 39, 0.28);
  border-radius: 12px;
  box-shadow: 0 20px 42px rgba(67, 46, 28, 0.16);
  margin: -1px auto 0;
  max-width: 1440px;
  min-height: 430px;
  padding: clamp(30px, 3.7vw, 58px);
  position: relative;
  z-index: 3;
}

.account-archive-panel[hidden],
.account-inline-edit[hidden] {
  display: none !important;
}

.account-archive-panel:not([hidden]) {
  animation: account-folder-in 180ms ease both;
  display: grid !important;
}

@keyframes account-folder-in {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

.account-folder-paper .account-panel,
.account-folder-paper .account-panel:nth-child(even) {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  min-height: 0 !important;
  padding: 0 !important;
}

.account-folder-paper .account-personal {
  align-items: stretch;
  gap: clamp(28px, 3.1vw, 48px);
  grid-template-columns: minmax(190px, 0.8fr) minmax(380px, 2.3fr) minmax(180px, 0.85fr);
}

.account-identity-card {
  align-items: center;
  border-right: 1px solid rgba(67, 49, 35, 0.24);
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 10px clamp(24px, 2.5vw, 42px) 10px 0;
  text-align: center;
}

.account-identity-card img {
  aspect-ratio: 1;
  border: 2px solid rgba(65, 48, 34, 0.62);
  border-radius: 50%;
  box-shadow: inset 0 0 0 7px rgba(239, 222, 193, 0.65);
  filter: grayscale(1) sepia(0.36) contrast(0.88);
  height: auto;
  margin-bottom: 20px;
  object-fit: cover;
  opacity: 0.88;
  width: min(166px, 100%);
}

.account-identity-card strong {
  color: var(--archive-ink);
  font-size: 18px;
  overflow-wrap: anywhere;
}

.account-identity-card span {
  color: rgba(36, 30, 25, 0.58);
  font-family: var(--type-utility);
  font-size: 10px;
  letter-spacing: 0.1em;
  margin-top: 8px;
}

.account-profile-details {
  min-width: 0;
}

.account-panel-heading {
  border-bottom: 1px solid rgba(67, 49, 35, 0.2);
  margin-bottom: 8px;
  padding-bottom: 18px;
}

.account-panel-heading h3 {
  color: var(--archive-ink);
  font-family: var(--type-title) !important;
  font-size: clamp(27px, 2.4vw, 36px) !important;
  font-weight: 800 !important;
  letter-spacing: -0.03em !important;
  line-height: 1.13 !important;
  margin: 8px 0 0 !important;
}

.account-panel-heading p {
  color: rgba(36, 30, 25, 0.64) !important;
  font-size: 14px !important;
  line-height: 1.65 !important;
  margin: 9px 0 0 !important;
  max-width: 720px;
  opacity: 1 !important;
}

.account-folder-paper .account-info-list {
  border: 0;
  margin: 0;
}

.account-folder-paper .account-info-list > div {
  border-bottom: 1px solid rgba(67, 49, 35, 0.2);
  gap: 20px;
  grid-template-columns: minmax(110px, 0.38fr) minmax(0, 1fr);
  min-height: 52px;
  padding: 10px 12px;
}

.account-folder-paper .account-info-list dt,
.account-folder-paper .account-info-list dd {
  color: var(--archive-ink);
  font-size: 14px;
}

.account-folder-paper .account-info-list dt {
  font-weight: 700;
}

.account-folder-paper .account-info-list dd {
  font-weight: 500;
  text-align: right;
}

.account-profile-actions {
  border-left: 1px solid rgba(67, 49, 35, 0.24);
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-left: clamp(24px, 2.4vw, 38px);
}

.account-profile-actions button,
.account-record-card b,
.account-management-actions a {
  align-items: center;
  display: inline-flex;
  font-family: var(--type-menu);
  font-size: 13px;
  font-weight: 700;
  gap: 8px;
  justify-content: space-between;
}

.account-profile-actions button {
  background: transparent;
  border: 0;
  color: var(--archive-ink);
  cursor: pointer;
  min-height: 48px;
  padding: 10px 14px;
  text-align: left;
}

.account-profile-actions .account-primary-action {
  background: var(--archive-rust);
  color: #fff7e7;
  margin-bottom: 4px;
}

.account-profile-actions button:hover,
.account-profile-actions button:focus-visible {
  background: var(--archive-charcoal);
  color: var(--archive-paper);
  outline: 0;
}

.account-inline-edit {
  border-top: 1px solid rgba(67, 49, 35, 0.24) !important;
  grid-column: 2 / -1;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  max-width: none !important;
  padding-top: 26px !important;
}

.account-inline-edit button,
.account-folder-paper .account-single-panel form > button,
.account-management-actions a {
  align-items: center;
  background: var(--archive-charcoal) !important;
  border: 1px solid var(--archive-charcoal);
  border-radius: 0 !important;
  color: var(--archive-paper) !important;
  display: inline-flex;
  font-size: 13px !important;
  font-weight: 700;
  gap: 10px;
  justify-content: space-between;
  justify-self: start;
  min-height: 48px;
  padding: 12px 18px !important;
}

.account-inline-edit button {
  grid-column: 1 / -1;
}

.account-folder-paper input:not([type="checkbox"]),
.account-folder-paper select {
  background: rgba(255, 250, 239, 0.7);
  border: 1px solid rgba(67, 49, 35, 0.28);
  border-radius: 2px !important;
  color: var(--archive-ink);
  min-height: 50px;
}

.account-folder-paper label > span {
  color: var(--archive-ink);
  font-size: 13px;
  font-weight: 700;
}

.account-folder-paper label small {
  color: rgba(36, 30, 25, 0.58);
  font-size: 11px;
  line-height: 1.55;
}

.account-single-panel {
  gap: clamp(28px, 4vw, 70px);
  grid-template-columns: minmax(220px, 0.75fr) minmax(360px, 1.35fr);
  margin: 0 auto;
  max-width: 1050px;
}

.account-single-panel > .account-panel-heading {
  border-bottom: 0;
  border-right: 1px solid rgba(67, 49, 35, 0.24);
  margin: 0;
  padding: 18px clamp(26px, 3vw, 48px) 18px 0;
}

.account-single-panel > form,
.account-single-panel > [data-account-history],
.account-single-panel > .account-management-actions {
  align-self: center;
  margin: 0 !important;
  max-width: none !important;
}

.account-folder-paper .account-setting-row {
  border-bottom: 1px solid rgba(67, 49, 35, 0.2);
  min-height: 76px;
  padding: 12px 4px;
}

.account-folder-paper .account-setting-row input {
  accent-color: var(--archive-rust);
  height: 24px;
  width: 24px;
}

.account-folder-paper .account-preference-fields {
  gap: 18px;
}

.account-folder-paper .account-history [data-account-history] {
  border: 1px solid rgba(67, 49, 35, 0.22);
  min-height: 160px;
  padding: 6px 22px;
}

.account-folder-paper .account-version {
  align-items: start;
}

.account-folder-paper .account-version .account-panel-heading > strong {
  border-bottom: 1px solid rgba(67, 49, 35, 0.2);
  border-top: 1px solid rgba(67, 49, 35, 0.2);
  display: block;
  font-family: var(--type-utility);
  font-size: 15px;
  letter-spacing: 0.04em;
  margin-top: 22px;
  padding: 14px 0;
}

.account-folder-paper .account-danger {
  background: rgba(137, 74, 54, 0.1) !important;
  border: 1px solid rgba(116, 58, 43, 0.28) !important;
  grid-column: 1 / -1;
  margin-top: 26px;
  padding: 24px !important;
}

.account-folder-paper .account-danger > span {
  color: #854f3e;
  font-family: var(--type-utility);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.account-folder-paper .account-danger h4 {
  font-size: 22px;
  margin: 8px 0;
}

.account-folder-paper .account-danger p {
  color: rgba(36, 30, 25, 0.66);
  font-size: 13px;
  line-height: 1.6;
  margin: 0;
}

.account-folder-paper .account-danger form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.account-folder-paper .account-danger form button {
  background: #824b3b;
  grid-column: 1 / -1;
  justify-self: start;
}

.account-record-drawers {
  display: grid;
  gap: clamp(22px, 2vw, 34px);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 32px auto 0;
  max-width: 1440px;
}

.account-record-card {
  align-items: center;
  background-color: #efe0c4;
  background-image:
    linear-gradient(rgba(248, 237, 217, 0.5), rgba(220, 194, 153, 0.12)),
    url("../static/home-icons/paper-texture.jpg");
  background-size: auto, 460px 460px;
  border: 1px solid rgba(76, 56, 39, 0.3);
  border-bottom: 20px solid #99623e;
  border-radius: 16px 16px 2px 2px;
  box-shadow:
    0 -5px 0 -2px rgba(219, 193, 153, 0.88),
    0 -10px 0 -4px rgba(197, 162, 111, 0.6),
    0 10px 18px rgba(70, 48, 28, 0.14);
  color: var(--archive-ink);
  cursor: pointer;
  display: grid;
  gap: 18px;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  min-height: 132px;
  padding: 25px 30px 20px;
  text-align: left;
  transition: transform 170ms ease, box-shadow 170ms ease;
  width: 100%;
}

.account-record-card:hover,
.account-record-card:focus-visible {
  box-shadow:
    0 -5px 0 -2px rgba(219, 193, 153, 0.88),
    0 -10px 0 -4px rgba(197, 162, 111, 0.6),
    0 15px 26px rgba(70, 48, 28, 0.2);
  outline: 0;
  transform: translateY(-3px);
}

.account-record-card > svg {
  background: var(--archive-charcoal);
  border-radius: 50%;
  color: var(--archive-paper);
  padding: 10px;
  width: 56px;
  height: 56px;
}

.account-record-card > span {
  display: grid;
  gap: 6px;
}

.account-record-card > span strong {
  font-size: clamp(17px, 1.5vw, 21px);
}

.account-record-card > span small {
  color: rgba(36, 30, 25, 0.64);
  font-size: 11px;
  line-height: 1.55;
}

.account-record-card b {
  align-self: center;
  white-space: nowrap;
}

.account-archive-settings > .account-status {
  margin: 18px auto 0;
  max-width: 1440px;
}

@media (max-width: 1050px) {
  .account-folder-tabs {
    gap: 8px;
  }

  .account-folder-tabs button {
    flex-direction: column;
    gap: 6px;
    min-height: 92px;
  }

  .account-folder-paper .account-personal {
    grid-template-columns: 170px minmax(0, 1fr);
  }

  .account-profile-actions {
    border-left: 0;
    border-top: 1px solid rgba(67, 49, 35, 0.24);
    flex-direction: row;
    grid-column: 2;
    padding: 20px 0 0;
  }

  .account-profile-actions button {
    flex: 1;
  }

  .account-inline-edit {
    grid-column: 2;
  }
}

@media (max-width: 760px) {
  .account-page {
    padding-top: var(--directory-height) !important;
  }

  .account-archive-settings {
    padding: 28px 0 58px !important;
  }

  .account-archive-heading {
    margin-bottom: 22px;
    padding: 0 18px;
    scroll-margin-top: 82px;
  }

  .account-archive-heading h2 {
    font-size: 34px;
  }

  .account-folder-tabs {
    display: flex;
    gap: 8px;
    margin: 0;
    max-width: none;
    overflow-x: auto;
    padding: 10px 18px 4px;
    scroll-padding-left: 18px;
    scrollbar-width: none;
  }

  .account-folder-tabs::-webkit-scrollbar {
    display: none;
  }

  .account-folder-tabs button {
    flex: 0 0 132px;
    flex-direction: row;
    font-size: 15px;
    min-height: 72px;
    padding: 16px 10px 13px;
  }

  .account-folder-paper {
    border-left: 0;
    border-radius: 0;
    border-right: 0;
    min-height: 0;
    padding: 28px 18px 34px;
  }

  .account-folder-paper .account-personal,
  .account-single-panel {
    gap: 24px;
    grid-template-columns: minmax(0, 1fr);
  }

  .account-identity-card {
    border-bottom: 1px solid rgba(67, 49, 35, 0.22);
    border-right: 0;
    display: grid;
    gap: 4px 18px;
    grid-template-columns: 92px minmax(0, 1fr);
    justify-items: start;
    padding: 0 0 24px;
    text-align: left;
  }

  .account-identity-card img {
    grid-row: 1 / span 2;
    margin: 0;
    width: 92px;
  }

  .account-identity-card strong {
    align-self: end;
  }

  .account-identity-card span {
    align-self: start;
  }

  .account-profile-actions {
    border-top: 1px solid rgba(67, 49, 35, 0.22);
    display: grid;
    grid-column: 1;
    grid-template-columns: 1fr 1fr;
    padding-top: 18px;
  }

  .account-profile-actions .account-primary-action {
    grid-column: 1 / -1;
  }

  .account-inline-edit {
    grid-column: 1;
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .account-single-panel > .account-panel-heading {
    border-bottom: 1px solid rgba(67, 49, 35, 0.24);
    border-right: 0;
    padding: 0 0 22px;
  }

  .account-folder-paper .account-preference-fields,
  .account-folder-paper .account-danger form {
    grid-template-columns: minmax(0, 1fr);
  }

  .account-folder-paper .account-danger {
    grid-column: 1;
    margin-top: 4px;
    padding: 20px !important;
  }

  .account-record-drawers {
    gap: 24px;
    grid-template-columns: minmax(0, 1fr);
    margin: 28px 14px 0;
  }

  .account-record-card {
    gap: 13px;
    grid-template-columns: 50px minmax(0, 1fr) 22px;
    min-height: 118px;
    padding: 21px 18px 16px;
  }

  .account-record-card > svg {
    height: 50px;
    width: 50px;
  }

  .account-record-card b {
    font-size: 0;
  }

  .account-record-card b svg {
    height: 20px;
    width: 20px;
  }
}

@media (max-width: 420px) {
  .account-folder-paper .account-info-list > div {
    align-items: start;
    gap: 5px;
    grid-template-columns: minmax(0, 1fr);
  }

  .account-folder-paper .account-info-list dd {
    text-align: left;
  }

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

  .account-profile-actions .account-primary-action {
    grid-column: auto;
  }
}

/*
 * WordPress supplies the authoritative account state after the static page has
 * rendered.  Keep the public sign-in surface and the member settings archive
 * mutually exclusive so signed-in members land on the redesigned settings
 * page immediately instead of seeing both interfaces stacked together.
 */
[data-account-root][data-account-state="signed-in"] > .account-preference-strip,
[data-account-root][data-account-state="signed-in"] > .account-auth-shell,
[data-account-root][data-account-state="signed-in"] > .account-privacy-compact {
  display: none !important;
}

[data-account-root][data-account-state="signed-in"] > .account-dashboard {
  display: block !important;
}

[data-account-root][data-account-state="signed-out"] > .account-dashboard {
  display: none !important;
}

/*
 * Signed-out account entry: one compact account card with a quiet identity
 * header, region pills, and a short two-column login path on desktop.
 */
.account-auth-shell {
  background-color: #f4e8d1 !important;
  background-image:
    linear-gradient(rgba(255, 250, 239, 0.72), rgba(237, 218, 185, 0.2)),
    url("../static/home-icons/paper-texture.jpg") !important;
  background-size: auto, 520px 520px !important;
  border: 1px solid rgba(66, 48, 34, 0.28) !important;
  border-radius: 22px !important;
  box-shadow: 0 15px 36px rgba(63, 43, 28, 0.1);
  display: block !important;
  margin-inline: auto;
  max-width: 960px;
  min-height: 0 !important;
  overflow: hidden;
}

.account-auth-main {
  margin: 0 auto;
  max-width: none !important;
  padding: 0 36px 30px !important;
}

.account-auth-intro {
  align-items: center;
  border-bottom: 1px solid rgba(66, 48, 34, 0.2);
  display: grid;
  gap: 16px;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  margin-bottom: 18px;
  padding: 20px 0 16px;
}

.account-auth-intro > img {
  aspect-ratio: 1;
  border: 1px solid rgba(66, 48, 34, 0.28);
  box-shadow: 5px 5px 0 rgba(151, 93, 60, 0.14);
  object-fit: cover;
  height: 58px;
  width: 58px;
}

.account-auth-intro-copy {
  min-width: 0;
}

.account-auth-intro-copy > span,
.account-region-control > span {
  color: var(--archive-rust-dark);
  display: block;
  font-family: var(--type-utility);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.account-auth-intro-copy h2 {
  font-family: var(--type-title) !important;
  font-size: clamp(24px, 2.5vw, 32px) !important;
  font-weight: 700 !important;
  letter-spacing: -0.025em !important;
  line-height: 1.08 !important;
  margin: 4px 0 0 !important;
}

.account-region-control {
  align-items: flex-end;
  display: grid;
  gap: 8px;
  justify-items: end;
}

.account-region-switch {
  background: rgba(255, 249, 237, 0.72);
  border: 1px solid rgba(66, 48, 34, 0.24) !important;
  border-radius: 999px;
  display: inline-flex !important;
  gap: 3px;
  margin: 0 !important;
  padding: 4px;
}

.account-region-switch button {
  align-items: center;
  background: transparent !important;
  border: 0 !important;
  border-radius: 999px;
  color: rgba(48, 37, 29, 0.62) !important;
  display: inline-flex;
  font-size: 13px !important;
  font-weight: 700;
  justify-content: center;
  min-height: 34px !important;
  padding: 7px 13px !important;
  white-space: nowrap;
  width: auto !important;
}

.account-region-switch button::after {
  display: none !important;
}

.account-region-switch button + button {
  border-left: 0 !important;
}

.account-region-switch button.is-active {
  background: var(--archive-charcoal) !important;
  color: #fff8e9 !important;
}

.account-mode-tabs {
  border-bottom: 1px solid rgba(66, 48, 34, 0.18) !important;
  display: flex !important;
  gap: 24px;
  margin: 0 0 14px !important;
}

.account-mode-tabs button {
  min-height: 44px !important;
  padding: 8px 2px 12px !important;
}

.account-social-grid {
  gap: 12px !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.account-social-grid button {
  align-items: center !important;
  background: rgba(230, 207, 171, 0.52) !important;
  display: grid !important;
  gap: 10px !important;
  grid-template-columns: auto minmax(0, 1fr) auto !important;
  min-height: 58px !important;
  padding: 11px 15px !important;
}

.account-social-grid button > span {
  font-size: 9px !important;
  grid-column: 1 !important;
  letter-spacing: 0.1em;
}

.account-social-grid button > strong {
  font-size: 16px !important;
  grid-column: 2 !important;
}

.account-social-grid button > i {
  grid-column: 3 !important;
  position: static !important;
}

.account-divider {
  margin: 14px 0 !important;
}

.account-form[data-account-login] {
  align-items: end;
  display: grid;
  gap: 12px 16px;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
}

.account-form[data-account-login] > label {
  margin: 0;
}

.account-form[data-account-login] input[type="text"],
.account-form[data-account-login] input[type="password"] {
  min-height: 46px !important;
}

.account-form[data-account-login] .account-form-meta,
.account-form[data-account-login] > .button {
  grid-column: 1 / -1;
}

.account-form[data-account-login] > .button {
  min-height: 48px !important;
}

.account-privacy-compact {
  background: rgba(243, 232, 211, 0.88);
  border: 1px solid rgba(66, 48, 34, 0.22);
  border-radius: 14px;
  box-shadow: var(--archive-shadow-small);
  color: rgba(48, 37, 29, 0.78);
  margin: 14px auto var(--archive-page-gutter);
  max-width: 960px;
  padding: 0 18px;
}

.account-privacy-compact summary {
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  list-style-position: inside;
  padding: 14px 0;
}

.account-privacy-compact p {
  border-top: 1px solid rgba(66, 48, 34, 0.16);
  font-size: 13px;
  line-height: 1.65;
  margin: 0;
  padding: 13px 0 16px;
}

/* Account v1.5.09: never let layout rules override the inactive auth tab. */
.account-auth-main .account-form[hidden],
.account-auth-main [data-account-social][hidden] {
  display: none !important;
}

.account-auth-logo {
  display: block;
  height: 76px;
}

.required-mark {
  color: #b33d2e;
  font-family: inherit;
  font-size: 1em;
  font-weight: 800;
}

.account-register-form:not([hidden]) {
  display: grid;
  gap: 18px 20px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.account-register-form .account-register-username,
.account-register-form .account-register-terms,
.account-register-form .account-register-submit {
  grid-column: 1 / -1;
}

.account-register-form .account-register-submit {
  min-height: 54px !important;
}

.account-profile-form {
  align-items: start;
}

.account-profile-form .account-avatar-field,
.account-profile-form button[type="submit"] {
  grid-column: 1 / -1;
}

.account-avatar-field input[type="file"] {
  cursor: pointer;
  min-height: 0 !important;
  padding: 12px !important;
}

.account-profile-form input:disabled {
  background: rgba(82, 66, 52, 0.08) !important;
  color: rgba(36, 30, 25, 0.52) !important;
  cursor: not-allowed;
}

.account-profile-form [data-account-username-cooldown].is-locked {
  color: #9a4b37;
  font-weight: 700;
}

@media (max-width: 760px) {
  .account-auth-shell {
    border-left: 0 !important;
    border-radius: 0 !important;
    border-right: 0 !important;
  }

  .account-auth-main {
    padding: 0 16px 24px !important;
  }

  .account-auth-intro {
    gap: 12px;
    grid-template-columns: 58px minmax(0, 1fr);
    margin-bottom: 14px;
    padding: 16px 0 13px;
  }

  .account-auth-intro > img {
    height: 58px;
    width: 58px;
  }

  .account-auth-intro-copy h2 {
    font-size: 24px !important;
  }

  .account-region-control {
    align-items: center;
    border-top: 1px solid rgba(66, 48, 34, 0.16);
    display: flex;
    grid-column: 1 / -1;
    justify-content: space-between;
    padding-top: 14px;
  }

  .account-region-control > span {
    font-size: 9px;
  }

  .account-region-switch button {
    font-size: 12px !important;
    min-height: 32px !important;
    padding: 6px 11px !important;
  }

  .account-social-grid button {
    min-height: 54px !important;
    padding: 10px 12px !important;
  }

  .account-social-grid button > strong {
    font-size: 16px !important;
  }

  .account-form[data-account-login] {
    grid-template-columns: minmax(0, 1fr);
  }

  .account-form[data-account-login] .account-form-meta,
  .account-form[data-account-login] > .button {
    grid-column: 1;
  }

  .account-register-form:not([hidden]) {
    grid-template-columns: minmax(0, 1fr);
  }

  .account-register-form .account-register-username,
  .account-register-form .account-register-terms,
  .account-register-form .account-register-submit {
    grid-column: 1;
  }

  .account-privacy-compact {
    border-left: 0;
    border-radius: 0;
    border-right: 0;
    margin-bottom: 18px;
  }
}

/*
 * Account visual hierarchy: icons identify each task before the copy is read,
 * while the selected folder and the primary action carry the strongest tone.
 */
.account-folder-tabs button svg {
  flex: 0 0 auto;
  opacity: 0.68;
}

.account-folder-tabs button.is-active {
  background-color: var(--archive-charcoal) !important;
  background-image: url("../static/home-icons/paper-texture.jpg") !important;
  background-blend-mode: soft-light;
  border-color: var(--archive-charcoal);
  color: var(--archive-paper);
  transform: translateY(2px);
}

.account-folder-tabs button.is-active svg {
  color: #d69b72;
  opacity: 1;
}

.account-folder-tabs button.is-active::after {
  background: #b87553;
  height: 5px;
}

.account-panel-heading-visual {
  align-items: start;
  display: grid;
  gap: 16px;
  grid-template-columns: 58px minmax(0, 1fr);
}

.account-panel-heading-mark {
  align-items: center;
  background-color: var(--archive-rust);
  background-image: url("../static/home-icons/paper-texture.jpg");
  background-blend-mode: soft-light;
  border: 1px solid rgba(72, 43, 30, 0.24);
  border-radius: 50%;
  box-shadow: 0 5px 13px rgba(70, 45, 29, 0.16);
  color: #fff6e5;
  display: flex;
  height: 54px;
  justify-content: center;
  width: 54px;
}

.account-panel-heading-copy {
  min-width: 0;
}

.account-panel-heading-copy > span {
  color: var(--archive-rust-dark);
  display: block;
  font-family: var(--type-utility);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.account-panel-heading-copy h3 {
  margin-top: 5px !important;
}

.account-panel-heading-copy p {
  margin-top: 6px !important;
}

.account-folder-paper .account-info-list > div {
  transition: background-color 150ms ease;
}

.account-folder-paper .account-info-list > div:hover {
  background: rgba(181, 113, 78, 0.07);
}

.account-folder-paper .account-version .account-panel-heading-copy > strong {
  border-bottom: 1px solid rgba(67, 49, 35, 0.2);
  border-top: 1px solid rgba(67, 49, 35, 0.2);
  display: block;
  font-family: var(--type-utility);
  font-size: 15px;
  letter-spacing: 0.04em;
  margin-top: 18px;
  padding: 12px 0;
}

.account-record-card:first-child {
  border-bottom-color: var(--archive-rust);
}

.account-record-card:first-child > svg {
  background: var(--archive-rust);
}

@media (max-width: 760px) {
  .account-panel-heading-visual {
    gap: 13px;
    grid-template-columns: 48px minmax(0, 1fr);
  }

  .account-panel-heading-mark {
    height: 46px;
    width: 46px;
  }

  .account-panel-heading-mark svg {
    height: 25px;
    width: 25px;
  }

  .account-folder-tabs button.is-active {
    transform: none;
  }
}
