/* ============================================================
   GZ 光追 / GZ LIGHT CHASER
   Editorial interior-visual studio site
   ============================================================ */

:root {
  --bg: #f2eee6;
  --bg-deep: #e8e2d7;
  --paper: #fbf8f2;
  --ink: #171613;
  --ink-soft: #27251f;
  --muted: #746e64;
  --line: rgba(23, 22, 19, 0.18);
  --line-strong: rgba(23, 22, 19, 0.58);
  --accent: #a94f2f;
  --accent-dark: #8e3f24;
  --sage: #dce5c8;
  --acid: #dce8b0;
  --white: #fbf8f2;
  --serif: "Songti SC", "STSong", "Noto Serif SC", "SimSun", "Times New Roman", serif;
  --sans: "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --pad: clamp(20px, 4vw, 64px);
  --max: 1560px;
  --ease: cubic-bezier(0.22, 0.75, 0.2, 1);
  --header-h: 76px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
}

html.is-locked,
body.is-locked,
body.nav-open {
  overflow: hidden;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

::selection {
  background: var(--accent);
  color: var(--white);
}

h1,
h2,
h3,
p,
figure,
figcaption,
dl,
dd,
ol,
ul {
  margin: 0;
}

ol,
ul {
  padding: 0;
  list-style: none;
}

img,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

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

button,
input,
textarea,
select {
  margin: 0;
  color: inherit;
  font: inherit;
}

button {
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

[hidden] {
  display: none !important;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: fixed;
  z-index: 3000;
  top: 10px;
  left: 10px;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--white);
  font-size: 12px;
  transform: translateY(-150%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.mono-label {
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9.5px;
  font-weight: 400;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 18px;
  height: 1px;
  background: currentColor;
  content: "";
}

.eyebrow-light {
  color: rgba(251, 248, 242, 0.55);
}

/* ---------- buttons ---------- */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1;
  white-space: nowrap;
  transition:
    background-color 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease,
    transform 0.25s var(--ease);
}

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

.button-dark {
  background: var(--ink);
  color: var(--white);
}

.button-dark:hover {
  background: var(--accent);
  border-color: var(--accent);
}

.button-outline {
  background: transparent;
  color: var(--ink);
}

.button-outline:hover {
  background: var(--ink);
  color: var(--white);
}

.button-acid {
  background: var(--acid);
  border-color: var(--acid);
  color: var(--ink);
}

.button-acid:hover {
  background: var(--white);
  border-color: var(--white);
}

.button-block {
  width: 100%;
}

.button-small {
  min-height: 38px;
  padding: 0 15px;
  font-size: 10px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 3px;
  border-bottom: 1px solid var(--line-strong);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.03em;
  transition:
    color 0.2s ease,
    border-color 0.2s ease;
}

.text-link:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.text-button {
  padding: 0;
  border-bottom: 1px solid currentColor;
  font-size: 10px;
  line-height: 1.5;
  opacity: 0.7;
  transition: opacity 0.2s ease;
}

.text-button:hover {
  opacity: 1;
}

/* ---------- header ---------- */

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: var(--header-h);
  padding: 0 var(--pad);
  border-bottom: 1px solid var(--line);
  background: rgba(242, 238, 230, 0.9);
  backdrop-filter: blur(14px);
  transition:
    background-color 0.3s ease,
    box-shadow 0.3s ease;
}

.site-header.is-scrolled {
  background: rgba(242, 238, 230, 0.97);
  box-shadow: 0 1px 20px rgba(23, 22, 19, 0.05);
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 11px;
  width: max-content;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  background: var(--ink);
  color: var(--acid);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: -0.06em;
}

.brand-word {
  display: flex;
  flex-direction: column;
  gap: 1px;
  line-height: 1;
}

.brand-word strong {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.brand-word small {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 6.5px;
  letter-spacing: 0.18em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 34px);
}

.main-nav a {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 8px 0;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.03em;
}

.main-nav a span {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0;
}

.main-nav a::after {
  position: absolute;
  right: 0;
  bottom: 3px;
  left: 0;
  height: 1px;
  background: var(--ink);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s var(--ease);
}

.main-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 18px;
}

.header-contact {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.03em;
}

.header-contact:hover {
  color: var(--accent);
}

.login-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 35px;
  padding: 0 14px;
  border: 1px solid var(--ink);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.03em;
  transition:
    background-color 0.2s ease,
    color 0.2s ease;
}

.login-button:hover {
  background: var(--ink);
  color: var(--white);
}

.wechat-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #3f9d58;
  box-shadow: 0 0 0 3px rgba(63, 157, 88, 0.16);
}

.user-menu {
  position: relative;
}

.user-trigger {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 35px;
  padding: 0 10px 0 5px;
  border: 1px solid var(--line);
  font-size: 10px;
}

.user-trigger:hover {
  border-color: var(--ink);
}

.user-avatar {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  background: var(--ink);
  color: var(--acid);
  font-family: var(--mono);
  font-size: 9px;
}

.user-name {
  max-width: 85px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.user-trigger svg {
  width: 9px;
  transition: transform 0.2s ease;
}

.user-trigger[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.user-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 210px;
  padding: 14px;
  border: 1px solid var(--ink);
  background: var(--paper);
  box-shadow: 0 16px 40px rgba(23, 22, 19, 0.12);
}

.user-dropdown p {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.user-dropdown p span {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.user-dropdown p strong {
  overflow: hidden;
  font-size: 12px;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.user-dropdown button {
  display: block;
  width: 100%;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  font-size: 10.5px;
  text-align: left;
}

.user-dropdown button:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.user-dropdown button:hover {
  color: var(--accent);
}

.menu-toggle {
  position: relative;
  display: none;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  place-items: center;
  gap: 0;
}

.menu-toggle > span:not(.visually-hidden) {
  display: block;
  width: 15px;
  height: 1px;
  margin: 2px auto;
  background: var(--ink);
  transition: transform 0.25s ease;
}

.menu-toggle[aria-expanded="true"] > span:first-child {
  transform: translateY(2.5px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] > span:nth-child(2) {
  transform: translateY(-2.5px) rotate(-45deg);
}

/* ---------- hero ---------- */

.hero {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(26px, 4vw, 54px) var(--pad) 0;
}

.hero-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 17px;
  border-bottom: 1px solid var(--line);
}

.hero-place {
  display: flex;
  align-items: baseline;
  gap: 16px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.06em;
}

.hero-place span {
  color: var(--muted);
}

.hero-title {
  padding: clamp(30px, 5vw, 62px) 0 clamp(30px, 4vw, 50px);
  font-family: var(--serif);
  font-size: clamp(4.4rem, 11.6vw, 11.8rem);
  font-weight: 500;
  letter-spacing: -0.09em;
  line-height: 0.88;
}

.hero-line {
  display: block;
  overflow: hidden;
}

.hero-line > span {
  display: block;
  animation: line-rise 1.05s var(--ease) both;
}

.hero-line-indent {
  padding-left: clamp(34px, 10vw, 178px);
}

.hero-line-indent > span {
  animation-delay: 0.1s;
}

.hero-line em {
  position: relative;
  color: var(--accent);
  font-style: normal;
}

.hero-line em::after {
  position: absolute;
  right: 0;
  bottom: 0.02em;
  left: 0.02em;
  height: 0.035em;
  background: var(--accent);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  animation: underline 1.1s 0.8s var(--ease) forwards;
}

@keyframes line-rise {
  from {
    opacity: 0;
    transform: translateY(105%);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes underline {
  to {
    transform: scaleX(1);
  }
}

.hero-body {
  display: grid;
  grid-template-columns: minmax(260px, 0.74fr) minmax(0, 1.26fr);
  gap: clamp(34px, 6vw, 100px);
  align-items: stretch;
}

.hero-aside {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 38px;
  padding: 8px 0 10px;
}

.hero-lead {
  max-width: 430px;
  font-size: clamp(12px, 1.1vw, 14px);
  font-weight: 400;
  line-height: 1.95;
}

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

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.hero-stats div {
  display: flex;
  flex-direction: column-reverse;
  gap: 3px;
}

.hero-stats dt {
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.04em;
}

.hero-stats dd {
  font-family: var(--serif);
  font-size: 29px;
  line-height: 1;
}

.hero-visual {
  position: relative;
  min-height: 440px;
  overflow: hidden;
  background: var(--bg-deep);
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: hero-image 1.4s var(--ease) both;
}

@keyframes hero-image {
  from {
    opacity: 0;
    transform: scale(1.04);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.hero-visual::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.02) 55%, rgba(0, 0, 0, 0.44));
  content: "";
}

.hero-visual figcaption {
  position: absolute;
  z-index: 2;
  right: 20px;
  bottom: 18px;
  left: 20px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: rgba(255, 255, 255, 0.84);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.06em;
}

.hero-stamp {
  position: absolute;
  z-index: 3;
  top: 18px;
  left: 18px;
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  background: rgba(23, 22, 19, 0.55);
  color: var(--white);
  font-family: var(--mono);
  font-size: 10px;
  line-height: 1.1;
  text-align: center;
  backdrop-filter: blur(8px);
}

.hero-stamp small {
  font-size: 6px;
  letter-spacing: 0.1em;
}

.chapter-nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: clamp(44px, 6vw, 82px);
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line);
}

.chapter-nav a {
  position: relative;
  display: grid;
  grid-template-columns: 26px 1fr;
  grid-template-rows: auto auto;
  gap: 7px 12px;
  padding: 21px 20px 23px 0;
  border-right: 1px solid var(--line);
  transition:
    background-color 0.25s ease,
    padding-left 0.25s var(--ease);
}

.chapter-nav a:last-child {
  border-right: 0;
  padding-right: 0;
}

.chapter-nav a:hover {
  padding-left: 12px;
  background: rgba(23, 22, 19, 0.025);
}

.chapter-no {
  grid-row: 1 / span 2;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
}

.chapter-nav strong {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.chapter-nav small {
  color: var(--muted);
  font-size: 9.5px;
  letter-spacing: 0.02em;
}

/* ---------- section frame ---------- */

.section {
  width: 100%;
  padding: clamp(82px, 10vw, 150px) var(--pad);
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.section > * {
  width: 100%;
  max-width: var(--max);
  margin-right: auto;
  margin-left: auto;
}

.section-head {
  display: grid;
  grid-template-columns: 58px minmax(260px, 1fr) minmax(280px, 390px);
  gap: clamp(20px, 4vw, 58px);
  align-items: start;
  padding-bottom: clamp(34px, 5vw, 66px);
}

.section-index {
  padding-top: 6px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.06em;
}

.section-heading h2 {
  margin-top: 12px;
  font-family: var(--serif);
  font-size: clamp(3.3rem, 6.4vw, 6.4rem);
  font-weight: 500;
  letter-spacing: -0.075em;
  line-height: 0.95;
}

.section-intro {
  max-width: 390px;
  padding-top: 28px;
  color: var(--ink-soft);
  font-size: 12.5px;
  line-height: 1.95;
}

.section-intro span {
  display: block;
  margin-top: 12px;
  color: var(--muted);
  font-size: 10.5px;
}

.section-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-top: 30px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.section-foot p {
  color: var(--muted);
  font-size: 10px;
}

/* ---------- resources ---------- */

.section-resources {
  background: var(--paper);
}

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

.filter-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.filter-button {
  min-height: 31px;
  padding: 0 13px;
  border: 1px solid transparent;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.02em;
  transition:
    border-color 0.2s ease,
    background-color 0.2s ease,
    color 0.2s ease;
}

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

.filter-button.is-active {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
}

.resource-count {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.resource-count span {
  color: var(--ink);
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(26px, 3.2vw, 48px) clamp(18px, 2.4vw, 34px);
  padding-top: 34px;
  align-items: start;
}

.asset-card {
  min-width: 0;
  border-top: 1px solid var(--ink);
  padding-top: 13px;
}

.asset-card:nth-child(2),
.asset-card:nth-child(5) {
  margin-top: 36px;
}

.asset-media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-deep);
  text-align: left;
}

.asset-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.88) contrast(1.02);
  transition:
    transform 0.8s var(--ease),
    filter 0.4s ease;
}

.asset-card:hover .asset-media img {
  filter: saturate(1) contrast(1);
  transform: scale(1.04);
}

.asset-code {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 7px;
  background: rgba(251, 248, 242, 0.92);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.04em;
  backdrop-filter: blur(4px);
}

.asset-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 4px 7px;
  background: var(--acid);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.04em;
}

.asset-hover {
  position: absolute;
  right: 12px;
  bottom: 12px;
  left: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  background: rgba(23, 22, 19, 0.9);
  color: var(--white);
  font-size: 9px;
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 0.3s ease,
    transform 0.35s var(--ease);
}

.asset-card:hover .asset-hover {
  opacity: 1;
  transform: translateY(0);
}

.asset-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 13px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.asset-title {
  margin-top: 8px;
  font-family: var(--serif);
  font-size: clamp(1.45rem, 2vw, 1.95rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.asset-title button {
  text-align: left;
}

.asset-title button:hover {
  color: var(--accent);
}

.asset-desc {
  display: -webkit-box;
  overflow: hidden;
  margin-top: 8px;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.75;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.asset-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 13px;
}

.asset-tags span {
  padding: 3px 6px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 8px;
  line-height: 1.3;
}

.asset-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
  padding-top: 11px;
  border-top: 1px solid var(--line);
}

.asset-foot-meta {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.03em;
}

.download-button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 32px;
  padding: 0 11px;
  border: 1px solid var(--ink);
  font-size: 9px;
  letter-spacing: 0.02em;
  transition:
    background-color 0.2s ease,
    color 0.2s ease;
}

.download-button:hover {
  background: var(--ink);
  color: var(--white);
}

.download-button svg {
  width: 11px;
  height: 11px;
}

.download-button.is-loading {
  opacity: 0.55;
  pointer-events: none;
}

.empty-state {
  grid-column: 1 / -1;
  padding: 60px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

/* ---------- tutorials ---------- */

.section-tutorials {
  background: var(--bg-deep);
}

.tutorial-feature {
  display: grid;
  grid-template-columns: 1.24fr 0.76fr;
  min-height: 430px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--white);
}

.feature-media {
  position: relative;
  min-height: 100%;
  overflow: hidden;
  border-right: 1px solid rgba(251, 248, 242, 0.18);
  background: #222;
}

.feature-media img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
  filter: saturate(0.84) brightness(0.82);
  transition:
    transform 1s var(--ease),
    filter 0.5s ease;
}

.tutorial-feature:hover .feature-media img {
  filter: saturate(1) brightness(0.9);
  transform: scale(1.025);
}

.feature-play {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  border: 1px solid rgba(251, 248, 242, 0.7);
  border-radius: 50%;
  background: rgba(23, 22, 19, 0.25);
  color: var(--white);
  transform: translate(-50%, -50%);
  backdrop-filter: blur(6px);
  transition:
    background-color 0.25s ease,
    transform 0.3s var(--ease);
}

.feature-play svg {
  width: 17px;
  margin-left: 3px;
}

.tutorial-feature:hover .feature-play {
  background: var(--accent);
  border-color: var(--accent);
  transform: translate(-50%, -50%) scale(1.06);
}

.feature-duration {
  position: absolute;
  right: 14px;
  bottom: 14px;
  padding: 5px 8px;
  background: rgba(23, 22, 19, 0.75);
  color: var(--white);
  font-family: var(--mono);
  font-size: 8px;
  backdrop-filter: blur(4px);
}

.feature-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(28px, 3.4vw, 54px);
}

.feature-kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--acid);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.08em;
}

.feature-kicker::before {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--acid);
  content: "";
}

.feature-title {
  max-width: 420px;
  margin-top: 22px;
  font-family: var(--serif);
  font-size: clamp(2rem, 3vw, 3.1rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.18;
}

.feature-desc {
  max-width: 390px;
  margin-top: 16px;
  color: rgba(251, 248, 242, 0.6);
  font-size: 11px;
  line-height: 1.9;
}

.feature-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
  padding-top: 15px;
  border-top: 1px solid rgba(251, 248, 242, 0.18);
  color: rgba(251, 248, 242, 0.5);
  font-family: var(--mono);
  font-size: 7.5px;
  letter-spacing: 0.04em;
}

.feature-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(251, 248, 242, 0.5);
  color: var(--white);
  font-size: 10px;
}

.feature-link:hover {
  color: var(--acid);
  border-color: var(--acid);
}

.workflow-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: clamp(34px, 4.5vw, 64px) 0 0;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line);
}

.workflow-strip li {
  padding: 20px 20px 22px 0;
  border-right: 1px solid var(--line);
}

.workflow-strip li:last-child {
  border-right: 0;
  padding-right: 0;
}

.workflow-strip span {
  display: block;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 8px;
}

.workflow-strip strong {
  display: block;
  margin-top: 8px;
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 500;
}

.workflow-strip small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 9px;
}

.tutorial-list {
  margin-top: clamp(34px, 4.5vw, 60px);
  border-top: 1px solid var(--ink);
}

.tutorial-row {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 230px 24px;
  gap: clamp(14px, 2.6vw, 40px);
  align-items: center;
  width: 100%;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  transition:
    background-color 0.25s ease,
    padding 0.3s var(--ease);
}

.tutorial-row:hover {
  padding-right: 12px;
  padding-left: 12px;
  background: rgba(251, 248, 242, 0.56);
}

.tutorial-row-index {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
  align-self: start;
  padding-top: 5px;
}

.tutorial-row-copy {
  min-width: 0;
}

.tutorial-row-type {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 7.5px;
  letter-spacing: 0.05em;
}

.tutorial-row-type::before {
  width: 5px;
  height: 5px;
  border: 1px solid currentColor;
  border-radius: 50%;
  content: "";
}

.tutorial-row-type.is-video::before {
  background: currentColor;
}

.tutorial-row-title {
  display: block;
  max-width: 650px;
  margin-top: 8px;
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.25;
}

.tutorial-row:hover .tutorial-row-title {
  color: var(--accent);
}

.tutorial-row-desc {
  max-width: 620px;
  margin-top: 6px;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.7;
}

.tutorial-row-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 10px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.03em;
}

.tutorial-row-thumb {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--bg);
}

.tutorial-row-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.72);
  transition:
    transform 0.7s var(--ease),
    filter 0.3s ease;
}

.tutorial-row:hover .tutorial-row-thumb img {
  filter: saturate(1);
  transform: scale(1.04);
}

.tutorial-row-thumb .video-mark {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  background: rgba(23, 22, 19, 0.4);
  color: var(--white);
  transform: translate(-50%, -50%);
  backdrop-filter: blur(4px);
}

.tutorial-row-thumb .video-mark svg {
  width: 9px;
  margin-left: 2px;
}

.tutorial-row-arrow {
  font-size: 16px;
  text-align: right;
  transition: transform 0.25s var(--ease);
}

.tutorial-row:hover .tutorial-row-arrow {
  color: var(--accent);
  transform: translate(3px, -3px);
}

/* ---------- community ---------- */

.section-community {
  background: var(--paper);
}

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

.community-note {
  display: flex;
  align-items: center;
  gap: 9px;
}

.live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4f8a4b;
  box-shadow: 0 0 0 3px rgba(79, 138, 75, 0.12);
}

.community-note p {
  color: var(--muted);
  font-size: 10px;
}

.community-bar .button svg {
  width: 13px;
  height: 13px;
}

.community-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(26px, 3.2vw, 48px);
  margin-top: 34px;
  align-items: start;
}

.community-card {
  border-top: 1px solid var(--ink);
  padding-top: 13px;
}

.community-card:nth-child(even) {
  margin-top: 56px;
}

.community-media {
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--bg-deep);
}

.community-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.85);
  transition:
    transform 0.8s var(--ease),
    filter 0.4s ease;
}

.community-card:hover .community-media img {
  filter: saturate(1);
  transform: scale(1.03);
}

.community-head {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 13px;
}

.community-avatar {
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--acid);
  font-family: var(--mono);
  font-size: 9px;
}

.community-author {
  font-size: 10.5px;
  font-weight: 500;
}

.community-role {
  color: var(--muted);
  font-size: 8.5px;
}

.community-tag {
  margin-left: auto;
  padding: 3px 7px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 8px;
}

.community-text {
  margin-top: 12px;
  font-size: 12.5px;
  line-height: 1.85;
  white-space: pre-wrap;
}

.community-footer {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 16px;
  padding-top: 11px;
  border-top: 1px solid var(--line);
}

.like-button {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 0;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
  transition: color 0.2s ease;
}

.like-button:hover,
.like-button.is-liked {
  color: var(--accent);
}

.like-button svg {
  width: 13px;
  height: 13px;
}

.community-time {
  margin-left: auto;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 7.5px;
}

.community-mine {
  color: var(--accent);
  font-family: var(--mono);
  font-size: 7px;
}

.community-empty {
  grid-column: 1 / -1;
  padding: 60px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  text-align: center;
}

/* ---------- services ---------- */

.section-services {
  padding-bottom: clamp(40px, 5vw, 70px);
  background: var(--ink);
  color: var(--white);
}

.services-top {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 50px;
  align-items: end;
  padding-bottom: clamp(38px, 5vw, 68px);
}

.services-top h2 {
  margin-top: 18px;
  font-family: var(--serif);
  font-size: clamp(3.5rem, 7.2vw, 7.2rem);
  font-weight: 500;
  letter-spacing: -0.075em;
  line-height: 0.95;
}

.title-dot {
  color: var(--accent);
}

.services-lead {
  max-width: 360px;
  padding-bottom: 6px;
  color: rgba(251, 248, 242, 0.58);
  font-size: 11.5px;
  line-height: 1.9;
}

.services-showcase {
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: clamp(30px, 5vw, 76px);
  align-items: start;
}

.services-visual {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #222;
}

.services-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.7) brightness(0.82);
}

.services-visual figcaption {
  position: absolute;
  right: 18px;
  bottom: 16px;
  left: 18px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: rgba(251, 248, 242, 0.62);
  font-family: var(--mono);
  font-size: 7.5px;
  letter-spacing: 0.04em;
}

.service-list {
  border-top: 1px solid rgba(251, 248, 242, 0.34);
}

.service-row {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: start;
  padding: 21px 0;
  border-bottom: 1px solid rgba(251, 248, 242, 0.18);
  transition: padding-left 0.3s var(--ease);
}

.service-row:hover {
  padding-left: 9px;
}

.service-no {
  color: rgba(251, 248, 242, 0.38);
  font-family: var(--mono);
  font-size: 8px;
}

.service-copy strong {
  display: block;
  font-family: var(--serif);
  font-size: clamp(1.4rem, 1.9vw, 1.85rem);
  font-weight: 500;
  letter-spacing: -0.02em;
}

.service-copy small {
  display: block;
  margin-top: 2px;
  color: rgba(251, 248, 242, 0.38);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.08em;
}

.service-copy p {
  max-width: 380px;
  margin-top: 7px;
  color: rgba(251, 248, 242, 0.56);
  font-size: 10.5px;
  line-height: 1.7;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 8px;
}

.service-tags span {
  padding: 2px 5px;
  border: 1px solid rgba(251, 248, 242, 0.2);
  color: rgba(251, 248, 242, 0.48);
  font-size: 7px;
}

.service-arrow {
  padding-top: 4px;
  color: rgba(251, 248, 242, 0.4);
  font-size: 15px;
  transition:
    color 0.2s ease,
    transform 0.25s var(--ease);
}

.service-row:hover .service-arrow {
  color: var(--acid);
  transform: translate(2px, -2px);
}

.inline-cta {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(251, 248, 242, 0.34);
}

.inline-cta span {
  color: rgba(251, 248, 242, 0.45);
  font-size: 9.5px;
}

.inline-cta strong {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 500;
  transition: color 0.2s ease;
}

.inline-cta:hover strong {
  color: var(--acid);
}

.studio-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 3vw, 44px);
  margin-top: clamp(54px, 7vw, 100px);
}

.course-panel,
.process-panel {
  padding: clamp(24px, 3vw, 38px);
  border: 1px solid rgba(251, 248, 242, 0.24);
}

.panel-head {
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(251, 248, 242, 0.24);
}

.panel-head h3 {
  margin-top: 12px;
  font-family: var(--serif);
  font-size: clamp(2rem, 2.8vw, 2.8rem);
  font-weight: 500;
  letter-spacing: -0.04em;
}

.panel-head > p:last-child {
  max-width: 380px;
  margin-top: 10px;
  color: rgba(251, 248, 242, 0.52);
  font-size: 10px;
  line-height: 1.8;
}

.course-list {
  margin-top: 6px;
}

.course-row {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) auto;
  gap: 13px;
  align-items: start;
  padding: 17px 0;
  border-bottom: 1px solid rgba(251, 248, 242, 0.15);
}

.course-no {
  color: rgba(251, 248, 242, 0.34);
  font-family: var(--mono);
  font-size: 7.5px;
}

.course-copy strong {
  display: block;
  font-size: 12px;
  font-weight: 500;
}

.course-copy small {
  display: block;
  margin-top: 1px;
  color: rgba(251, 248, 242, 0.34);
  font-family: var(--mono);
  font-size: 6.5px;
  letter-spacing: 0.06em;
}

.course-copy p {
  max-width: 280px;
  margin-top: 5px;
  color: rgba(251, 248, 242, 0.48);
  font-size: 9px;
  line-height: 1.65;
}

.course-status {
  padding: 3px 6px;
  border: 1px solid rgba(251, 248, 242, 0.3);
  color: rgba(251, 248, 242, 0.55);
  font-family: var(--mono);
  font-size: 6.5px;
  white-space: nowrap;
}

.course-status.is-open {
  border-color: var(--acid);
  background: var(--acid);
  color: var(--ink);
}

.panel-note {
  margin-top: 16px;
  color: rgba(251, 248, 242, 0.34);
  font-size: 8.5px;
  line-height: 1.6;
}

.process-list {
  margin-top: 6px;
}

.process-row {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) auto;
  gap: 13px;
  align-items: baseline;
  padding: 14px 0;
  border-bottom: 1px solid rgba(251, 248, 242, 0.15);
}

.process-no {
  color: var(--accent);
  font-family: var(--mono);
  font-size: 7.5px;
}

.process-row strong {
  font-size: 11.5px;
  font-weight: 500;
}

.process-row small {
  color: rgba(251, 248, 242, 0.45);
  font-size: 8.5px;
  text-align: right;
}

.contact-card {
  margin-top: 22px;
  padding: 20px;
  background: var(--acid);
  color: var(--ink);
}

.contact-card > p:first-child {
  font-family: var(--mono);
  font-size: 7.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.contact-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 11px;
}

.contact-wechat {
  display: flex;
  flex-direction: column;
  gap: 1px;
  color: rgba(23, 22, 19, 0.55);
  font-size: 8px;
}

.contact-wechat b {
  color: var(--ink);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.contact-hint {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(23, 22, 19, 0.18);
  color: rgba(23, 22, 19, 0.55);
  font-size: 8px;
}

.contact-card .button {
  min-height: 36px;
  padding: 0 13px;
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
  font-size: 9px;
}

.contact-card .button:hover {
  background: var(--accent);
  border-color: var(--accent);
}

.delivery-note {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  gap: 20px;
  margin-top: clamp(40px, 5vw, 70px);
  padding-top: 16px;
  border-top: 1px solid rgba(251, 248, 242, 0.18);
}

.delivery-note span {
  color: var(--accent);
  font-family: var(--mono);
  font-size: 7.5px;
  letter-spacing: 0.06em;
}

.delivery-note p {
  max-width: 750px;
  color: rgba(251, 248, 242, 0.42);
  font-size: 9.5px;
  line-height: 1.7;
}

/* ---------- footer ---------- */

.site-footer {
  padding: 58px var(--pad) 22px;
  background: #11100e;
  color: var(--white);
}

.footer-main,
.footer-bottom {
  max-width: var(--max);
  margin: 0 auto;
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 50px;
  align-items: end;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(251, 248, 242, 0.16);
}

.footer-wordmark {
  margin-top: 14px;
  color: var(--acid);
  font-family: var(--serif);
  font-size: clamp(5rem, 13vw, 12rem);
  font-weight: 500;
  letter-spacing: -0.1em;
  line-height: 0.78;
}

.footer-wordmark span {
  margin-left: 10px;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0;
  vertical-align: top;
}

.footer-links {
  display: flex;
  gap: clamp(40px, 6vw, 100px);
  padding-bottom: 6px;
}

.footer-links > div {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.footer-links p {
  margin-bottom: 6px;
  color: rgba(251, 248, 242, 0.32);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.1em;
}

.footer-links a,
.footer-links button {
  color: rgba(251, 248, 242, 0.62);
  font-size: 10px;
  text-align: left;
  transition: color 0.2s ease;
}

.footer-links a:hover,
.footer-links button:hover {
  color: var(--acid);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 16px;
  color: rgba(251, 248, 242, 0.28);
  font-family: var(--mono);
  font-size: 7.5px;
  letter-spacing: 0.03em;
}

/* ---------- modal base ---------- */

.modal {
  position: fixed;
  inset: 0;
  width: min(calc(100% - 36px), 980px);
  max-width: none;
  height: fit-content;
  max-height: min(92vh, 960px);
  margin: auto;
  padding: 0;
  overflow: auto;
  border: 0;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.3);
  animation: modal-in 0.28s var(--ease) both;
}

.modal::backdrop {
  background: rgba(18, 17, 14, 0.66);
  backdrop-filter: blur(4px);
}

@keyframes modal-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modal-close {
  position: absolute;
  z-index: 10;
  top: 15px;
  right: 15px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  background: rgba(251, 248, 242, 0.92);
  color: var(--ink);
  transition:
    background-color 0.2s ease,
    color 0.2s ease;
}

.modal-close:hover {
  background: var(--ink);
  color: var(--white);
}

.modal-close svg {
  width: 15px;
  height: 15px;
}

/* login */

.modal-login {
  width: min(calc(100% - 36px), 900px);
}

.login-layout {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  min-height: 545px;
}

.login-qr-side {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 44px 30px;
  border-right: 1px solid var(--ink);
  background-color: var(--bg-deep);
  background-image: radial-gradient(rgba(23, 22, 19, 0.12) 0.7px, transparent 0.7px);
  background-size: 14px 14px;
}

.login-qr-side .eyebrow {
  margin-bottom: 20px;
  color: var(--muted);
}

.qr-frame {
  position: relative;
  display: grid;
  place-items: center;
  width: 218px;
  height: 218px;
  padding: 13px;
  background: var(--white);
  box-shadow: 0 0 0 1px var(--ink);
}

#qrCode {
  display: grid;
  place-items: center;
  width: 192px;
  height: 192px;
}

#qrCode canvas,
#qrCode img,
#qrCode table {
  width: 100% !important;
  height: 100% !important;
}

.qr-loading {
  position: absolute;
  inset: 13px;
  display: grid;
  place-items: center;
  background: var(--white);
  color: var(--muted);
  font-size: 9px;
}

.qr-corner {
  position: absolute;
  width: 16px;
  height: 16px;
  border-color: var(--accent);
  border-style: solid;
  pointer-events: none;
}

.qr-corner-tl {
  top: -4px;
  left: -4px;
  border-width: 1px 0 0 1px;
}

.qr-corner-tr {
  top: -4px;
  right: -4px;
  border-width: 1px 1px 0 0;
}

.qr-corner-bl {
  bottom: -4px;
  left: -4px;
  border-width: 0 0 1px 1px;
}

.qr-corner-br {
  right: -4px;
  bottom: -4px;
  border-width: 0 1px 1px 0;
}

.qr-caption {
  margin-top: 17px;
  font-family: var(--serif);
  font-size: 15px;
  letter-spacing: 0.08em;
}

.login-qr-side .text-button {
  margin-top: 10px;
  color: var(--muted);
}

.login-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(36px, 4.5vw, 58px);
}

.login-copy h2 {
  margin-top: 17px;
  font-family: var(--serif);
  font-size: clamp(2.6rem, 4vw, 3.8rem);
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 1.06;
}

.login-desc {
  max-width: 380px;
  margin-top: 17px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.85;
}

.login-steps {
  margin-top: 22px;
  border-top: 1px solid var(--line);
}

.login-steps li {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  font-size: 10px;
}

.login-steps span {
  color: var(--accent);
  font-family: var(--mono);
  font-size: 7.5px;
}

.login-copy .button {
  margin-top: 24px;
}

.login-status {
  min-height: 16px;
  margin-top: 9px;
  color: var(--accent);
  font-size: 9.5px;
}

.login-fineprint {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 8px;
  line-height: 1.65;
}

/* resource detail */

.modal-resource {
  width: min(calc(100% - 36px), 1000px);
}

.resource-detail {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  min-height: 530px;
}

.resource-detail-media {
  position: relative;
  min-height: 100%;
  background: var(--bg-deep);
}

.resource-detail-media img {
  width: 100%;
  height: 100%;
  min-height: 530px;
  object-fit: cover;
}

.resource-detail-media .asset-code {
  top: 18px;
  left: 18px;
}

.resource-detail-copy {
  display: flex;
  flex-direction: column;
  padding: clamp(34px, 4vw, 52px);
}

.resource-detail-copy h2 {
  margin-top: 13px;
  font-family: var(--serif);
  font-size: clamp(2.2rem, 3.3vw, 3.2rem);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 1.08;
}

.resource-detail-subtitle {
  margin-top: 6px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.07em;
}

.resource-detail-desc {
  margin-top: 20px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.85;
}

.spec-table {
  margin-top: 22px;
  border-top: 1px solid var(--ink);
}

.spec-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  font-size: 9.5px;
}

.spec-row dt {
  color: var(--muted);
}

.spec-row dd {
  font-family: var(--mono);
  font-size: 8.5px;
  text-align: right;
}

.resource-detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 16px;
}

.resource-detail-tags span {
  padding: 3px 6px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 8px;
}

.resource-detail-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: auto;
  padding-top: 24px;
}

.resource-detail-actions .button {
  flex: 1;
}

.resource-detail-note {
  margin-top: 10px;
  color: var(--muted);
  font-size: 8px;
  line-height: 1.6;
}

/* tutorial article */

.modal-tutorial {
  width: min(calc(100% - 36px), 1040px);
}

.tutorial-article {
  padding: clamp(38px, 5vw, 70px) clamp(24px, 5vw, 64px) 42px;
}

.tutorial-article-head {
  max-width: 800px;
}

.tutorial-article-head h2 {
  margin-top: 17px;
  font-family: var(--serif);
  font-size: clamp(2.6rem, 4.6vw, 4.4rem);
  font-weight: 500;
  letter-spacing: -0.07em;
  line-height: 1.04;
}

.tutorial-article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 16px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 7.5px;
  letter-spacing: 0.03em;
}

.tutorial-hero-media {
  margin-top: 30px;
  overflow: hidden;
  border: 1px solid var(--ink);
  background: var(--ink);
}

.tutorial-hero-media img {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
}

.tutorial-hero-media video {
  width: 100%;
  max-height: 560px;
  background: #000;
}

.article-body {
  max-width: 720px;
  margin-top: 30px;
}

.article-body p {
  margin-top: 15px;
  font-size: 13px;
  line-height: 1.95;
}

.article-body p:first-child::first-letter {
  float: left;
  margin: 5px 8px 0 0;
  color: var(--accent);
  font-family: var(--serif);
  font-size: 47px;
  line-height: 0.8;
}

.article-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 28px;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line);
}

.article-steps li {
  padding: 13px 12px 14px 0;
  border-right: 1px solid var(--line);
  font-size: 9px;
  line-height: 1.5;
}

.article-steps li:last-child {
  border-right: 0;
}

.article-steps span {
  display: block;
  margin-bottom: 5px;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 7px;
}

.article-end {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  max-width: 720px;
  margin-top: 34px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 7.5px;
}

/* post form */

.modal-post {
  width: min(calc(100% - 36px), 640px);
}

.post-form {
  padding: clamp(30px, 4.5vw, 48px);
}

.post-form h2 {
  margin-top: 12px;
  font-family: var(--serif);
  font-size: 2.6rem;
  font-weight: 500;
  letter-spacing: -0.05em;
}

.post-form-desc {
  margin-top: 7px;
  color: var(--muted);
  font-size: 10px;
}

.tag-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 22px;
  padding: 0;
  border: 0;
}

.tag-picker legend {
  width: 100%;
  margin-bottom: 7px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 7.5px;
  letter-spacing: 0.05em;
}

.tag-picker label {
  cursor: pointer;
}

.tag-picker input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.tag-picker span {
  display: inline-flex;
  padding: 5px 10px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 9px;
  transition:
    border-color 0.2s ease,
    background-color 0.2s ease,
    color 0.2s ease;
}

.tag-picker input:checked + span {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
}

.tag-picker input:focus-visible + span {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-top: 17px;
}

.field > span {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 7.5px;
  letter-spacing: 0.04em;
}

.field > span em {
  font-style: normal;
}

.field textarea {
  width: 100%;
  min-height: 140px;
  padding: 13px;
  border: 1px solid var(--ink);
  border-radius: 0;
  outline: 0;
  background: transparent;
  font-size: 12px;
  line-height: 1.8;
  resize: vertical;
}

.field textarea:focus {
  box-shadow: inset 0 0 0 1px var(--accent);
}

.image-picker {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 13px;
}

.image-picker > span {
  color: var(--muted);
  font-size: 8px;
}

.image-picker .text-button {
  color: var(--accent);
}

.post-preview {
  margin-top: 14px;
}

.post-preview img {
  width: 100%;
  max-height: 240px;
  border: 1px solid var(--line);
  object-fit: cover;
}

.post-submit {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 22px;
  padding-top: 15px;
  border-top: 1px solid var(--line);
}

.post-submit p {
  color: var(--accent);
  font-size: 9px;
}

/* downloads */

.modal-downloads {
  width: min(calc(100% - 36px), 720px);
}

.downloads-panel {
  padding: clamp(30px, 4.5vw, 50px);
}

.downloads-panel h2 {
  margin-top: 12px;
  font-family: var(--serif);
  font-size: 2.8rem;
  font-weight: 500;
  letter-spacing: -0.05em;
}

.downloads-list {
  margin-top: 22px;
  border-top: 1px solid var(--ink);
}

.download-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 18px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.download-row strong {
  display: block;
  font-size: 11px;
  font-weight: 500;
}

.download-row small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 7px;
}

.download-row span {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 7.5px;
}

.download-row button {
  padding: 3px 0;
  border-bottom: 1px solid currentColor;
  font-size: 8.5px;
}

.download-row button:hover {
  color: var(--accent);
}

.download-empty {
  padding: 30px 0;
  color: var(--muted);
  font-size: 10px;
  text-align: center;
}

/* toast */

.toast {
  position: fixed;
  z-index: 2200;
  bottom: 24px;
  left: 50%;
  max-width: calc(100vw - 36px);
  padding: 10px 15px;
  background: var(--ink);
  color: var(--white);
  font-size: 10.5px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 12px);
  transition:
    opacity 0.2s ease,
    transform 0.3s var(--ease);
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.noscript {
  position: fixed;
  z-index: 5000;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 14px;
  background: var(--accent);
  color: var(--white);
  font-size: 12px;
  text-align: center;
}

/* ---------- responsive ---------- */

@media (max-width: 1240px) {
  .main-nav {
    gap: 19px;
  }

  .header-contact {
    display: none;
  }

  .hero-body {
    gap: 44px;
  }

  .section-head {
    grid-template-columns: 44px minmax(240px, 1fr) minmax(250px, 340px);
    gap: 28px;
  }

  .tutorial-row {
    grid-template-columns: 34px minmax(0, 1fr) 195px 20px;
  }
}

@media (max-width: 980px) {
  :root {
    --header-h: 68px;
  }

  .site-header {
    grid-template-columns: 1fr auto;
  }

  .main-nav {
    position: fixed;
    z-index: 90;
    top: var(--header-h);
    right: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    min-height: calc(100svh - var(--header-h));
    max-height: calc(100svh - var(--header-h));
    overflow-y: auto;
    padding: 18px var(--pad) 26px;
    border-bottom: 1px solid var(--ink);
    background: var(--paper);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition:
      opacity 0.25s ease,
      transform 0.3s var(--ease);
  }

  .main-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .main-nav a {
    justify-content: space-between;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    font-family: var(--serif);
    font-size: 22px;
  }

  .main-nav a span {
    order: 2;
    font-size: 8px;
  }

  .main-nav a::after {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .menu-toggle > span:not(.visually-hidden) {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 15px;
    height: 1px;
    margin: 0;
    transform-origin: center;
  }

  .menu-toggle > span:first-child {
    transform: translate(-50%, -4px);
  }

  .menu-toggle > span:nth-child(2) {
    transform: translate(-50%, 4px);
  }

  .menu-toggle[aria-expanded="true"] > span:first-child {
    transform: translate(-50%, -50%) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] > span:nth-child(2) {
    transform: translate(-50%, -50%) rotate(-45deg);
  }

  .hero-title {
    font-size: clamp(4.2rem, 12.6vw, 8.6rem);
  }

  .hero-body {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .hero-aside {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 26px;
    align-items: end;
  }

  .hero-stats {
    grid-column: 1 / -1;
    max-width: 460px;
  }

  .hero-visual {
    min-height: 0;
    aspect-ratio: 16 / 10;
  }

  .chapter-nav {
    grid-template-columns: repeat(2, 1fr);
  }

  .chapter-nav a:nth-child(2) {
    border-right: 0;
  }

  .chapter-nav a:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .section-head {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 14px 20px;
  }

  .section-intro {
    grid-column: 2;
    max-width: 540px;
    padding-top: 0;
  }

  .section-heading h2 {
    font-size: clamp(3rem, 8vw, 5rem);
  }

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

  .asset-card:nth-child(2),
  .asset-card:nth-child(5) {
    margin-top: 0;
  }

  .tutorial-feature {
    grid-template-columns: 1fr;
  }

  .feature-media {
    border-right: 0;
    border-bottom: 1px solid rgba(251, 248, 242, 0.18);
    aspect-ratio: 16 / 9;
  }

  .feature-media img {
    min-height: 0;
  }

  .feature-copy {
    padding: 32px;
  }

  .tutorial-row {
    grid-template-columns: 30px minmax(0, 1fr) 160px 18px;
    gap: 14px;
  }

  .services-top {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .services-lead {
    max-width: 540px;
  }

  .services-showcase {
    grid-template-columns: 1fr;
  }

  .services-visual {
    aspect-ratio: 16 / 9;
  }

  .studio-grid {
    grid-template-columns: 1fr;
  }

  .footer-main {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .footer-links {
    padding-top: 10px;
  }

  .community-grid {
    gap: 28px;
  }

  .community-card:nth-child(even) {
    margin-top: 38px;
  }
}

@media (max-width: 720px) {
  :root {
    --pad: 20px;
  }

  body {
    font-size: 13px;
  }

  .site-header {
    height: 66px;
  }

  .brand-mark {
    width: 33px;
    height: 33px;
    font-size: 10px;
  }

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

  .brand-word small {
    display: none;
  }

  .header-actions {
    gap: 8px;
  }

  .login-button {
    min-height: 33px;
    padding: 0 10px;
    font-size: 9px;
  }

  .user-name {
    display: none;
  }

  .hero {
    padding-top: 20px;
  }

  .hero-meta {
    align-items: flex-start;
  }

  .hero-meta .eyebrow {
    max-width: 190px;
    font-size: 7px;
    line-height: 1.7;
  }

  .hero-place {
    flex-direction: column;
    gap: 1px;
    font-size: 7.5px;
    text-align: right;
  }

  .hero-title {
    padding: 28px 0 30px;
    font-size: clamp(3.5rem, 17vw, 6.6rem);
    line-height: 0.92;
  }

  .hero-line-indent {
    padding-left: 24px;
  }

  .hero-aside {
    display: flex;
    align-items: flex-start;
    gap: 25px;
  }

  .hero-lead {
    font-size: 11.5px;
  }

  .hero-actions {
    flex-wrap: wrap;
    gap: 18px;
  }

  .hero-stats {
    width: 100%;
    padding-top: 15px;
  }

  .hero-stats dd {
    font-size: 24px;
  }

  .hero-visual {
    aspect-ratio: 4 / 5;
  }

  .hero-stamp {
    width: 62px;
    height: 62px;
    font-size: 8px;
  }

  .hero-visual figcaption {
    flex-direction: column;
    gap: 3px;
    font-size: 7px;
  }

  .chapter-nav {
    margin-top: 38px;
  }

  .chapter-nav a {
    grid-template-columns: 20px 1fr;
    gap: 3px 8px;
    padding: 15px 10px 17px 0;
  }

  .chapter-nav a:nth-child(even) {
    padding-left: 12px;
  }

  .chapter-nav strong {
    font-size: 16px;
  }

  .chapter-nav small {
    font-size: 8px;
  }

  .section {
    padding-top: 70px;
    padding-bottom: 70px;
  }

  .section-head {
    grid-template-columns: 1fr;
    gap: 18px;
    padding-bottom: 34px;
  }

  .section-index {
    padding-top: 0;
  }

  .section-intro {
    grid-column: 1;
  }

  .section-heading h2 {
    font-size: clamp(3rem, 15vw, 4.4rem);
  }

  .resource-toolbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .resource-count {
    align-self: flex-end;
  }

  .resource-grid {
    grid-template-columns: 1fr;
    gap: 34px;
    padding-top: 26px;
  }

  .asset-media {
    aspect-ratio: 4 / 3;
  }

  .asset-title {
    font-size: 24px;
  }

  .section-foot {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .tutorial-feature {
    min-height: 0;
  }

  .feature-media {
    aspect-ratio: 4 / 3;
  }

  .feature-copy {
    padding: 25px 22px 28px;
  }

  .feature-title {
    margin-top: 16px;
    font-size: 29px;
  }

  .feature-play {
    width: 58px;
    height: 58px;
  }

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

  .workflow-strip li:nth-child(2) {
    border-right: 0;
  }

  .workflow-strip li:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .workflow-strip strong {
    font-size: 18px;
  }

  .tutorial-row {
    grid-template-columns: 24px minmax(0, 1fr);
    gap: 9px 12px;
    padding: 17px 0;
  }

  .tutorial-row:hover {
    padding-right: 6px;
    padding-left: 6px;
  }

  .tutorial-row-copy {
    grid-column: 2;
  }

  .tutorial-row-title {
    font-size: 21px;
  }

  .tutorial-row-desc {
    display: none;
  }

  .tutorial-row-thumb {
    grid-column: 2;
    width: 100%;
    max-width: 330px;
    margin-top: 6px;
  }

  .tutorial-row-arrow {
    display: none;
  }

  .community-bar {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .community-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-top: 26px;
  }

  .community-card:nth-child(even) {
    margin-top: 0;
  }

  .community-text {
    font-size: 12px;
  }

  .services-top h2 {
    font-size: clamp(3.1rem, 15vw, 4.6rem);
  }

  .service-row {
    grid-template-columns: 28px minmax(0, 1fr) auto;
    gap: 11px;
  }

  .service-copy strong {
    font-size: 23px;
  }

  .service-copy p {
    font-size: 9.5px;
  }

  .inline-cta {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .inline-cta strong {
    font-size: 16px;
  }

  .studio-grid {
    margin-top: 44px;
  }

  .panel-head h3 {
    font-size: 30px;
  }

  .process-row {
    grid-template-columns: 24px minmax(0, 1fr);
  }

  .process-row small {
    grid-column: 2;
    text-align: left;
  }

  .contact-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .delivery-note {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .footer-main {
    gap: 26px;
  }

  .footer-links {
    flex-wrap: wrap;
    gap: 34px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .modal {
    width: calc(100% - 20px);
    max-height: 94vh;
  }

  .modal-close {
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
  }

  .login-layout {
    grid-template-columns: 1fr;
  }

  .login-qr-side {
    padding: 32px 20px 26px;
    border-right: 0;
    border-bottom: 1px solid var(--ink);
  }

  .qr-frame {
    width: 174px;
    height: 174px;
  }

  #qrCode {
    width: 148px;
    height: 148px;
  }

  .login-copy {
    padding: 28px 22px 32px;
  }

  .login-copy h2 {
    font-size: 38px;
  }

  .login-steps {
    display: none;
  }

  .resource-detail {
    grid-template-columns: 1fr;
  }

  .resource-detail-media,
  .resource-detail-media img {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .resource-detail-copy {
    padding: 25px 22px 30px;
  }

  .resource-detail-actions {
    padding-top: 18px;
  }

  .tutorial-article {
    padding: 46px 20px 30px;
  }

  .tutorial-article-head h2 {
    font-size: 34px;
  }

  .article-body p {
    font-size: 12.5px;
  }

  .article-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .article-steps li:nth-child(2) {
    border-right: 0;
  }

  .article-steps li:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .article-end {
    flex-direction: column;
    gap: 4px;
  }

  .post-form,
  .downloads-panel {
    padding: 42px 20px 26px;
  }

  .post-form h2,
  .downloads-panel h2 {
    font-size: 34px;
  }

  .download-row {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
  }

  .download-row span:first-of-type {
    display: none;
  }
}

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

/* ------------------------------------------------------------------ */
/* commission desk                                                     */
/* ------------------------------------------------------------------ */

.community-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.commission-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(22px, 4vw, 64px);
  align-items: end;
  padding: 24px 0 28px;
  border-bottom: 1px solid var(--line);
}

.commission-lead {
  max-width: 36em;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.95;
}

.commission-lead b {
  color: var(--ink);
  font-weight: 500;
}

.commission-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.commission-facts li {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding-left: 12px;
  border-left: 1px solid var(--line);
}

.commission-facts span {
  color: var(--accent);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.06em;
}

.commission-facts strong {
  font-size: 11px;
  font-weight: 500;
  line-height: 1.5;
}

.commission-facts small {
  color: var(--muted);
  font-size: 9px;
  line-height: 1.6;
}

.modal-commission {
  width: min(calc(100% - 36px), 600px);
}

.commission-form .tag-picker {
  margin-top: 14px;
}

.commission-form .field {
  margin-top: 14px;
}

.commission-result {
  padding: clamp(30px, 4.5vw, 48px);
}

.commission-result h2 {
  margin-top: 12px;
  font-family: var(--serif);
  font-size: 2.4rem;
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 1.15;
}

.commission-result-no {
  margin-top: 8px;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
}

.commission-result pre {
  max-height: 40vh;
  margin-top: 18px;
  padding: 16px;
  overflow: auto;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.95;
  white-space: pre-wrap;
  word-break: break-word;
}

.commission-result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.commission-result .login-fineprint {
  margin-top: 16px;
}

@media (max-width: 900px) {
  .commission-strip {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .commission-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .commission-result h2 {
    font-size: 30px;
  }
}

@media (max-width: 700px) {
  .community-bar {
    flex-wrap: wrap;
    row-gap: 12px;
  }

  .community-actions {
    width: 100%;
  }

  .community-actions .button {
    flex: 1;
  }
}
