:root {
  --black: #050505;
  --obsidian: #151515;
  --panel: rgba(16, 15, 12, 0.82);
  --panel-strong: rgba(24, 21, 15, 0.9);
  --gold: #f6c43a;
  --gold-soft: #d9a831;
  --brown: #5a3817;
  --cream: #f7f0d8;
  --muted: #8a8a8a;
  --line: rgba(246, 196, 58, 0.28);
  --line-strong: rgba(246, 196, 58, 0.58);
  --shadow: 0 32px 90px rgba(0, 0, 0, 0.46);
  --radius: 8px;
  --max: 1440px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--black);
  color: var(--cream);
  font-family:
    "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
    system-ui, sans-serif;
  letter-spacing: 0;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 78% 24%, rgba(246, 196, 58, 0.13), transparent 28rem),
    radial-gradient(circle at 4% 86%, rgba(90, 56, 23, 0.26), transparent 22rem),
    linear-gradient(120deg, rgba(246, 196, 58, 0.05) 0 1px, transparent 1px 120px),
    var(--black);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(246, 196, 58, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(246, 196, 58, 0.025) 1px, transparent 1px);
  background-size: 88px 88px, 88px 88px;
  mask-image: radial-gradient(circle at 50% 45%, #000 0 42%, transparent 78%);
  opacity: 0.55;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.08) 0 0.5px, transparent 0.75px),
    linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.3));
  background-size: 4px 4px, auto;
  opacity: 0.18;
}

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

a:focus-visible {
  outline: 3px solid var(--cream);
  outline-offset: 3px;
}

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

.page-shell {
  width: min(calc(100vw - 48px), var(--max));
  margin-inline: auto;
}

.hero,
.hero-copy,
.writing-index,
.featured-writing,
.featured-copy,
.article-row,
.article-text,
.contact-grid,
.contact-methods,
.contact-row,
.qr-panel {
  min-width: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  min-height: 82px;
  padding: 0 max(24px, calc((100vw - var(--max)) / 2));
  border-bottom: 1px solid var(--line);
  background: rgba(5, 5, 5, 0.68);
  backdrop-filter: blur(18px);
  transition:
    min-height 220ms var(--ease),
    background 220ms var(--ease);
}

.site-header[data-scrolled="true"] {
  min-height: 68px;
  background: rgba(5, 5, 5, 0.9);
}

.brand,
.nav,
.site-footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  min-width: max-content;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(18px, 1.5vw, 24px);
  color: var(--cream);
}

.brand-mark {
  position: relative;
  width: 24px;
  height: 24px;
}

.brand-mark::before,
.brand-mark::after {
  content: "";
  position: absolute;
  inset: 2px 10px;
  background: var(--gold);
  box-shadow: 0 0 20px rgba(246, 196, 58, 0.4);
}

.brand-mark::after {
  transform: rotate(90deg);
}

.brand-mark {
  transform: rotate(45deg);
}

.nav {
  gap: clamp(16px, 3vw, 54px);
  color: rgba(247, 240, 216, 0.62);
  font-size: 15px;
}

.nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  transition: color 180ms var(--ease);
}

.nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 4px;
  width: 26px;
  height: 2px;
  background: var(--gold);
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  transition: transform 180ms var(--ease);
}

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

.nav a[aria-current="page"]::after {
  transform: translateX(-50%) scaleX(1);
}

.nav-cta {
  padding: 0 24px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.72fr);
  align-items: center;
  gap: clamp(36px, 6vw, 96px);
  min-height: min(720px, calc(100svh - 150px));
  padding: clamp(44px, 6vw, 82px) 0 clamp(34px, 5vw, 58px);
}

.hero::before,
.writing-index::before,
.blueprint::before,
.contact-methods::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid var(--line);
  pointer-events: none;
}

.micro-brand,
.status,
.label,
.identity-line {
  color: var(--gold);
  font-size: 14px;
  letter-spacing: 0;
}

.hero h1,
.writing-hero h1,
.system-hero h1,
.contact-intro h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", "Noto Serif SC", serif;
  font-weight: 700;
  line-height: 0.92;
  color: var(--cream);
  text-shadow: 0 0 32px rgba(246, 196, 58, 0.16);
}

.hero h1 {
  max-width: 780px;
  font-size: clamp(72px, 9.5vw, 148px);
}

.hero h1 span {
  display: block;
  margin-top: 8px;
  font-size: clamp(58px, 6.2vw, 98px);
  color: var(--gold);
}

.hero-lede {
  max-width: 720px;
  margin: 34px 0 0;
  font-size: clamp(23px, 1.85vw, 34px);
  font-weight: 650;
  line-height: 1.32;
  overflow-wrap: anywhere;
}

.hero-copy .identity-line {
  display: inline-flex;
  margin-top: 28px;
  padding-left: 32px;
  background:
    linear-gradient(var(--gold), var(--gold)) left center / 18px 1px no-repeat;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 24px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  font-weight: 700;
  transition:
    transform 180ms var(--ease),
    border-color 180ms var(--ease),
    background 180ms var(--ease);
}

.button:hover,
.article-row:hover,
.featured-writing:hover,
.contact-row:hover,
.signal-card:hover {
  transform: translateY(-2px);
}

.button.primary {
  background: var(--gold);
  color: #090805;
  border-color: var(--gold);
}

.button.ghost {
  background: rgba(247, 240, 216, 0.02);
  color: var(--cream);
}

.hero-portrait {
  position: relative;
  justify-self: center;
  width: min(34vw, 460px);
  min-width: 300px;
  aspect-ratio: 1;
  border-radius: 999px;
  display: grid;
  place-items: center;
}

.portrait-orbit {
  position: absolute;
  inset: 0;
  border: 1px solid var(--line);
  border-radius: inherit;
  box-shadow:
    0 0 0 18px rgba(246, 196, 58, 0.025),
    inset 0 0 80px rgba(246, 196, 58, 0.12),
    0 0 92px rgba(246, 196, 58, 0.16);
}

.portrait-orbit::before,
.portrait-orbit::after {
  content: "";
  position: absolute;
  inset: 13%;
  border: 1px solid rgba(246, 196, 58, 0.12);
  border-radius: inherit;
}

.portrait-orbit::after {
  inset: -8%;
  border-color: rgba(246, 196, 58, 0.08);
}

.hero-portrait img {
  width: 82%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: inherit;
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow);
}

.proof-strip {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 0;
  border: 1px solid var(--line);
  background: rgba(5, 5, 5, 0.55);
}

.proof-strip div {
  min-height: 92px;
  padding: 24px 32px;
}

.proof-strip div + div {
  border-left: 1px solid var(--line);
}

.proof-strip strong,
.signal-card strong,
.article-row h2,
.featured-copy h2,
.blueprint h2,
.case-band h2,
.contact-row strong {
  display: block;
  color: var(--cream);
  font-weight: 700;
}

.proof-strip span,
.signal-card span,
.article-row p,
.featured-copy p,
.blueprint p,
.case-band p,
.contact-intro p,
.system-hero p,
.writing-hero p,
.hero-copy p:not(.hero-lede),
.contact-row em {
  color: var(--muted);
}

.proof-strip span {
  display: block;
  margin-top: 8px;
  font-size: 14px;
}

.home-band {
  padding: 92px 0 110px;
}

.section-heading {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 28px;
}

.section-rule {
  width: 52px;
  height: 1px;
  background: var(--gold);
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(26px, 3vw, 48px);
  font-family: Georgia, "Times New Roman", "Noto Serif SC", serif;
}

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

.signal-card {
  min-height: 180px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(246, 196, 58, 0.08), transparent 42%),
    rgba(16, 15, 12, 0.72);
  transition: transform 180ms var(--ease);
}

.signal-card span {
  display: block;
  margin-bottom: 24px;
  color: var(--gold);
  font-size: 13px;
}

.signal-card strong {
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.35;
}

.writing-page,
.system-page,
.contact-page {
  padding: clamp(54px, 7vw, 92px) 0 110px;
}

.writing-hero,
.system-hero,
.contact-intro {
  margin-bottom: 36px;
}

.writing-hero h1 {
  font-size: clamp(74px, 12vw, 174px);
  color: var(--gold);
}

.writing-hero p,
.system-hero p,
.contact-intro p {
  max-width: 680px;
  margin: 14px 0 0;
  font-size: clamp(18px, 1.8vw, 24px);
  line-height: 1.65;
}

.writing-index {
  position: relative;
  display: grid;
  grid-template-columns: minmax(360px, 0.86fr) minmax(560px, 1.14fr);
  border: 1px solid var(--line);
  background: rgba(5, 5, 5, 0.45);
  box-shadow: var(--shadow);
}

.featured-writing {
  display: grid;
  align-content: end;
  min-height: 620px;
  position: relative;
  overflow: hidden;
  border-right: 1px solid var(--line);
  transition: transform 180ms var(--ease);
}

.featured-art {
  position: absolute;
  inset: 0;
}

.featured-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 20%, rgba(5, 5, 5, 0.9) 82%);
}

.featured-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-copy {
  position: relative;
  z-index: 1;
  padding: clamp(28px, 4vw, 58px);
}

.featured-copy h2 {
  max-width: 680px;
  margin: 18px 0 18px;
  font-family: Georgia, "Times New Roman", "Noto Serif SC", serif;
  font-size: clamp(34px, 4vw, 62px);
  line-height: 1.14;
  overflow-wrap: anywhere;
}

.featured-copy p {
  max-width: 680px;
  line-height: 1.75;
}

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

.article-meta span,
.article-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 12px;
  border: 1px solid rgba(246, 196, 58, 0.2);
  border-radius: 999px;
  color: rgba(247, 240, 216, 0.72);
  font-size: 13px;
}

.article-list {
  display: grid;
}

.article-row {
  display: grid;
  grid-template-columns: 86px minmax(260px, 1fr) 176px;
  align-items: center;
  gap: 22px;
  min-height: 206px;
  padding: 28px 28px 28px 30px;
  border-bottom: 1px solid var(--line);
  transition:
    transform 180ms var(--ease),
    background 180ms var(--ease);
}

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

.article-row:hover {
  background: rgba(246, 196, 58, 0.035);
}

.article-number {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(64px, 4.8vw, 92px);
  color: rgba(247, 240, 216, 0.13);
  line-height: 1;
}

.article-row h2 {
  margin: 0 0 12px;
  font-family: Georgia, "Times New Roman", "Noto Serif SC", serif;
  font-size: clamp(22px, 1.55vw, 30px);
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.article-row p {
  margin: 0;
  line-height: 1.55;
}

.article-row img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.system-page {
  position: relative;
}

.system-hero {
  position: relative;
  display: grid;
  justify-items: center;
  text-align: center;
  padding-top: 44px;
  overflow: hidden;
}

.avatar-watermark {
  position: absolute;
  right: -4%;
  top: 0;
  width: min(360px, 34vw);
  opacity: 0.26;
  filter: saturate(1.1);
  mask-image: linear-gradient(90deg, transparent 0, #000 45%, #000 100%);
}

.avatar-watermark img {
  border-radius: 50%;
}

.status {
  margin: 0 0 18px;
  text-transform: uppercase;
  font-size: 12px;
}

.system-hero h1,
.contact-intro h1 {
  font-size: clamp(56px, 8vw, 112px);
}

.system-state {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  margin-top: 26px;
  color: rgba(247, 240, 216, 0.54);
}

.system-state span + span::before {
  content: "/";
  margin-right: 18px;
  color: rgba(246, 196, 58, 0.45);
}

.blueprint {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  margin-top: 54px;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(246, 196, 58, 0.06) 1px, transparent 1px),
    linear-gradient(rgba(246, 196, 58, 0.045) 1px, transparent 1px),
    rgba(8, 8, 7, 0.66);
  background-size: 34px 34px;
}

.blueprint article {
  position: relative;
  min-height: 280px;
  padding: 28px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(9, 9, 8, 0.76);
}

.blueprint article:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -18px;
  top: 50%;
  width: 18px;
  height: 1px;
  background: var(--gold);
}

.blueprint span {
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
}

.blueprint h2 {
  margin: 54px 0 16px;
  font-size: 24px;
}

.blueprint p {
  margin: 0;
  line-height: 1.68;
}

.case-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
  margin-top: 38px;
  padding: 34px 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgba(246, 196, 58, 0.08), transparent),
    rgba(13, 12, 10, 0.72);
}

.case-band h2 {
  margin: 0;
  font-size: clamp(26px, 3vw, 44px);
}

.case-band p {
  margin: 0;
}

.case-icon {
  display: inline-block;
  width: 38px;
  height: 38px;
  margin-bottom: 18px;
  border: 2px solid var(--gold);
  border-radius: 4px;
  transform: rotate(45deg);
}

.contact-page {
  min-height: calc(100svh - 82px);
}

.contact-intro h1 span {
  display: block;
  font-size: 0.52em;
  color: var(--cream);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.65fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: stretch;
  margin-top: 44px;
}

.contact-methods {
  position: relative;
  display: grid;
  gap: 22px;
  padding: clamp(28px, 4vw, 56px);
  border: 1px solid var(--line);
  background: rgba(12, 11, 9, 0.72);
  box-shadow: var(--shadow);
}

.contact-row {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  min-height: 112px;
  padding: 20px 24px;
  border: 1px solid rgba(246, 196, 58, 0.2);
  border-radius: var(--radius);
  background: rgba(247, 240, 216, 0.025);
  transition:
    transform 180ms var(--ease),
    border-color 180ms var(--ease);
}

.contact-row:hover {
  border-color: var(--line-strong);
}

.contact-logo {
  display: block;
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.contact-logo-gmail {
  height: 36px;
}

.contact-logo-x {
  padding: 7px;
}

.contact-row strong {
  font-size: clamp(22px, 2vw, 32px);
}

.contact-row em {
  display: block;
  margin-top: 6px;
  font-style: normal;
  overflow-wrap: anywhere;
}

.qr-panel {
  padding: clamp(26px, 4vw, 46px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(12, 11, 9, 0.72);
  box-shadow: var(--shadow);
}

.qr-panel h2 {
  margin: 0 0 22px;
  color: var(--gold);
  font-family: Georgia, "Times New Roman", "Noto Serif SC", serif;
  font-size: clamp(24px, 2.5vw, 36px);
  text-align: center;
}

.qr-panel img {
  width: min(100%, 420px);
  aspect-ratio: 1;
  margin-inline: auto;
  object-fit: contain;
  border-radius: var(--radius);
  background: #fff;
  padding: 16px;
}

.site-footer {
  min-height: 96px;
  gap: 22px;
  justify-content: center;
  border-top: 1px solid var(--line);
  color: rgba(247, 240, 216, 0.58);
}

.site-footer a:hover {
  color: var(--gold);
}

@media (max-width: 1120px) {
  .hero,
  .writing-index,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-portrait {
    grid-row: 2;
  }

  .featured-writing {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

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

  .blueprint article:not(:last-child)::after {
    display: none;
  }
}

@media (max-width: 760px) {
  .page-shell {
    width: auto;
    max-width: calc(100vw - 28px);
    margin-inline: 14px;
  }

  .site-header {
    position: static;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 18px 14px;
  }

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

  .nav a {
    min-width: max-content;
  }

  .nav-cta {
    padding: 0 16px;
  }

  .hero {
    gap: 24px;
    padding-top: 46px;
  }

  .hero h1 {
    font-size: clamp(58px, 22vw, 92px);
  }

  .hero h1 span {
    font-size: clamp(44px, 15vw, 72px);
  }

  .hero-lede {
    max-width: 18em;
    font-size: 18px;
    line-height: 1.42;
  }

  .hero-portrait {
    width: min(86vw, 390px);
    min-width: 0;
  }

  .proof-strip,
  .signal-grid,
  .blueprint,
  .case-band {
    grid-template-columns: 1fr;
  }

  .proof-strip div + div {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .featured-writing {
    display: block;
    min-height: 0;
  }

  .featured-art {
    position: relative;
    height: 310px;
  }

  .featured-art::after {
    background: linear-gradient(180deg, transparent 10%, rgba(5, 5, 5, 0.38) 100%);
  }

  .featured-copy {
    position: relative;
    padding: 26px;
    background: rgba(5, 5, 5, 0.92);
  }

  .featured-copy h2 {
    font-size: 25px;
    line-height: 1.22;
    word-break: break-all;
  }

  .writing-hero p,
  .system-hero p,
  .contact-intro p,
  .featured-copy p,
  .article-row p {
    max-width: calc(100vw - 56px);
    word-break: break-all;
  }

  .featured-copy p {
    max-width: calc(100vw - 104px);
    font-size: 15px;
  }

  .writing-hero p {
    max-width: 20em;
    font-size: 17px;
  }

  .contact-intro p,
  .system-hero p {
    max-width: 19em;
    font-size: 17px;
  }

  .writing-index,
  .featured-writing,
  .article-list,
  .contact-grid,
  .contact-methods,
  .qr-panel {
    width: 100%;
    max-width: calc(100vw - 28px);
    overflow: hidden;
  }

  .featured-copy h2,
  .article-row h2 {
    max-width: calc(100vw - 104px);
  }

  .article-row {
    grid-template-columns: 74px 1fr;
    gap: 16px;
    padding: 24px 18px;
  }

  .article-row img {
    grid-column: 1 / -1;
  }

  .article-number {
    font-size: 64px;
  }

  .blueprint article {
    min-height: 220px;
  }

  .avatar-watermark {
    opacity: 0.13;
    width: 72vw;
  }

  .contact-row {
    grid-template-columns: 48px 1fr;
    gap: 16px;
    padding: 16px;
  }

}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}

/* 2026-07-28 vertical single-page revision */

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

body.single-page {
  background: var(--black);
  scroll-snap-type: y proximity;
}

body.single-page::before {
  background-image:
    linear-gradient(rgba(246, 196, 58, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(246, 196, 58, 0.02) 1px, transparent 1px);
  background-size: 112px 112px;
  mask-image: linear-gradient(180deg, #000, transparent 44%);
  opacity: 0.42;
}

body.single-page::after {
  opacity: 0.1;
}

body.single-page .site-header {
  min-height: 72px;
  border-bottom-color: rgba(246, 196, 58, 0.16);
  background: rgba(5, 5, 5, 0.76);
}

body.single-page .site-header[data-scrolled="true"] {
  min-height: 64px;
  background: rgba(5, 5, 5, 0.92);
}

body.single-page .nav a:hover,
body.single-page .nav a[aria-current="location"] {
  color: var(--gold);
}

body.single-page .nav a[aria-current="location"]::after {
  transform: translateX(-50%) scaleX(1);
}

.site-story {
  position: relative;
  isolation: isolate;
}

.story-section {
  position: relative;
  scroll-margin-top: 72px;
  scroll-snap-align: start;
  overflow: hidden;
  border-bottom: 1px solid rgba(246, 196, 58, 0.14);
}

.story-home {
  min-height: calc(100svh - 240px);
  background:
    radial-gradient(ellipse at 78% 45%, rgba(246, 196, 58, 0.24), transparent 34%),
    radial-gradient(ellipse at 91% 56%, rgba(90, 56, 23, 0.34), transparent 44%),
    linear-gradient(108deg, #050505 0 44%, #0a0906 66%, #050505 100%);
}

.story-home::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.98) 0 22%, rgba(5, 5, 5, 0.68) 42%, transparent 68%),
    linear-gradient(0deg, rgba(5, 5, 5, 0.92), transparent 28%);
  z-index: 1;
}

body.single-page .hero {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  min-height: calc(100svh - 240px);
  padding: clamp(52px, 7vw, 96px) 0;
}

body.single-page .hero::before {
  content: none;
}

body.single-page .hero-copy {
  position: relative;
  z-index: 3;
  width: min(55%, 720px);
}

body.single-page .hero h1 {
  max-width: 700px;
  font-size: clamp(72px, 8.4vw, 126px);
  line-height: 0.88;
}

body.single-page .hero h1 span {
  margin-top: 14px;
  font-size: 0.64em;
  color: var(--gold);
}

body.single-page .hero-lede {
  max-width: 610px;
  margin-top: 34px;
  color: rgba(247, 240, 216, 0.82);
  font-size: clamp(19px, 1.55vw, 25px);
  font-weight: 500;
  line-height: 1.62;
}

body.single-page .hero-copy .identity-line {
  margin-top: 24px;
  padding: 0;
  background: none;
  color: rgba(246, 196, 58, 0.78);
  font-size: 13px;
}

body.single-page .hero-actions {
  margin-top: 30px;
}

body.single-page .button {
  min-height: 48px;
  border-radius: 4px;
}

body.single-page .hero-portrait {
  position: absolute;
  z-index: 1;
  top: 0;
  right: min(-4vw, -28px);
  bottom: 0;
  width: min(56vw, 820px);
  min-width: 0;
  height: auto;
  aspect-ratio: auto;
  display: block;
  border-radius: 0;
  pointer-events: none;
}

body.single-page .hero-portrait::before {
  content: "";
  position: absolute;
  inset: 8% 4% 6% 8%;
  border-radius: 50%;
  background: rgba(246, 196, 58, 0.22);
  filter: blur(70px);
}

body.single-page .hero-portrait img {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 48%;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  filter: saturate(1.08) contrast(1.04);
  -webkit-mask-image: radial-gradient(
    ellipse 72% 70% at 58% 48%,
    #000 0 40%,
    rgba(0, 0, 0, 0.96) 49%,
    rgba(0, 0, 0, 0.46) 64%,
    transparent 79%
  );
  mask-image: radial-gradient(
    ellipse 72% 70% at 58% 48%,
    #000 0 40%,
    rgba(0, 0, 0, 0.96) 49%,
    rgba(0, 0, 0, 0.46) 64%,
    transparent 79%
  );
}

.story-writing {
  background:
    linear-gradient(180deg, rgba(246, 196, 58, 0.035), transparent 18%),
    #080807;
}

.story-system {
  background:
    linear-gradient(rgba(246, 196, 58, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(246, 196, 58, 0.025) 1px, transparent 1px),
    radial-gradient(circle at 50% 12%, rgba(246, 196, 58, 0.08), transparent 34rem),
    #0a0907;
  background-size: 72px 72px, 72px 72px, auto, auto;
}

.story-contact {
  background:
    radial-gradient(circle at 88% 45%, rgba(90, 56, 23, 0.26), transparent 28rem),
    linear-gradient(135deg, #070706, #0c0a07 70%, #050505);
}

body.single-page .writing-page,
body.single-page .system-page,
body.single-page .contact-page {
  min-height: calc(100svh - 72px);
  padding: clamp(82px, 8vw, 118px) 0;
}

.section-intro {
  position: relative;
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: clamp(22px, 4vw, 58px);
  align-items: end;
}

.section-index {
  color: rgba(247, 240, 216, 0.16);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(56px, 6vw, 92px);
  line-height: 0.82;
}

body.single-page .writing-hero,
body.single-page .system-hero,
body.single-page .contact-intro {
  margin-bottom: 46px;
}

body.single-page .writing-hero h1 {
  font-size: clamp(68px, 8vw, 118px);
}

body.single-page .writing-hero p,
body.single-page .system-hero p,
body.single-page .contact-intro p {
  margin-top: 16px;
  font-size: clamp(17px, 1.45vw, 22px);
}

body.single-page .writing-index::before,
body.single-page .blueprint::before,
body.single-page .contact-methods::before {
  content: none;
}

body.single-page .writing-index,
body.single-page .contact-methods,
body.single-page .qr-panel {
  border-color: rgba(246, 196, 58, 0.2);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.3);
}

body.single-page .system-hero {
  display: block;
  padding-top: 0;
  overflow: visible;
}

body.single-page .system-hero .section-index {
  position: absolute;
  top: 12px;
  left: 0;
}

body.single-page .system-hero > div {
  display: grid;
  justify-items: center;
}

body.single-page .system-hero h1 {
  font-size: clamp(58px, 7.2vw, 104px);
}

body.single-page .blueprint {
  margin-top: 0;
  border-color: rgba(246, 196, 58, 0.2);
  background: rgba(5, 5, 5, 0.42);
}

body.single-page .blueprint article {
  background: rgba(9, 9, 8, 0.68);
}

body.single-page .contact-intro h1 {
  font-size: clamp(56px, 7vw, 102px);
}

body.single-page .site-footer {
  width: 100%;
  max-width: none;
  min-height: 82px;
  margin: 0;
  padding-inline: 24px;
  background: #050505;
}

@media (max-width: 1120px) {
  body.single-page .hero-copy {
    width: min(62%, 650px);
  }

  body.single-page .hero-portrait {
    right: -10vw;
    width: 70vw;
  }

  body.single-page .writing-index {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  html {
    scroll-padding-top: 100px;
  }

  body.single-page .site-header,
  body.single-page .site-header[data-scrolled="true"] {
    position: sticky;
    top: 0;
    min-height: 98px;
    padding: 12px 14px 10px;
    background: rgba(5, 5, 5, 0.94);
  }

  body.single-page .brand {
    gap: 9px;
    font-size: 16px;
  }

  body.single-page .brand-mark {
    width: 20px;
    height: 20px;
  }

  body.single-page .nav {
    justify-content: space-between;
    gap: 4px;
    padding-bottom: 0;
  }

  body.single-page .nav a {
    min-height: 34px;
    font-size: 13px;
  }

  body.single-page .nav-cta {
    padding: 0 11px;
  }

  .story-section {
    scroll-margin-top: 98px;
  }

  .story-home {
    min-height: calc(100svh - 195px);
    background:
      radial-gradient(ellipse at 76% 20%, rgba(246, 196, 58, 0.23), transparent 34%),
      linear-gradient(180deg, #0a0805, #050505 74%);
  }

  .story-home::before {
    background:
      linear-gradient(0deg, #050505 0 34%, rgba(5, 5, 5, 0.38) 58%, transparent 78%),
      linear-gradient(90deg, rgba(5, 5, 5, 0.38), transparent 58%);
  }

  body.single-page .hero {
    align-items: flex-start;
    min-height: calc(100svh - 195px);
    padding: 0 0 38px;
  }

  body.single-page .hero-copy {
    width: 100%;
    padding-top: min(40vh, 298px);
  }

  body.single-page .hero h1 {
    font-size: clamp(56px, 19vw, 78px);
  }

  body.single-page .hero h1 span {
    margin-top: 8px;
    font-size: 0.62em;
  }

  body.single-page .hero-lede {
    max-width: 20em;
    margin-top: 22px;
    font-size: 17px;
    line-height: 1.54;
  }

  body.single-page .hero-copy .identity-line {
    margin-top: 17px;
  }

  body.single-page .hero-actions {
    gap: 10px;
    margin-top: 22px;
  }

  body.single-page .button {
    min-height: 44px;
    padding-inline: 18px;
    font-size: 14px;
  }

  body.single-page .hero-portrait {
    top: -42px;
    right: -18vw;
    bottom: auto;
    width: 118vw;
    height: 410px;
  }

  body.single-page .hero-portrait img {
    object-position: 50% 45%;
    -webkit-mask-image: radial-gradient(
      ellipse 66% 67% at 58% 44%,
      #000 0 42%,
      rgba(0, 0, 0, 0.86) 55%,
      transparent 78%
    );
    mask-image: radial-gradient(
      ellipse 66% 67% at 58% 44%,
      #000 0 42%,
      rgba(0, 0, 0, 0.86) 55%,
      transparent 78%
    );
  }

  body.single-page .writing-page,
  body.single-page .system-page,
  body.single-page .contact-page {
    min-height: calc(100svh - 98px);
    padding: 48px 0 76px;
  }

  .section-intro {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .section-index {
    font-size: 46px;
  }

  body.single-page .writing-hero,
  body.single-page .system-hero,
  body.single-page .contact-intro {
    margin-bottom: 30px;
  }

  body.single-page .writing-hero h1 {
    font-size: clamp(58px, 20vw, 82px);
  }

  body.single-page .system-hero .section-index {
    position: static;
    margin-bottom: 20px;
  }

  body.single-page .system-hero > div {
    justify-items: start;
    text-align: left;
  }

  body.single-page .system-state {
    justify-content: flex-start;
  }

  body.single-page .system-hero h1,
  body.single-page .contact-intro h1 {
    font-size: clamp(48px, 15vw, 66px);
  }
}

/* 2026-07-28 recent work, transparent portrait, and business revision */

.story-section {
  scroll-margin-top: 0;
}

.story-home {
  min-height: calc(100svh - 132px);
  background:
    linear-gradient(102deg, #050505 0 46%, rgba(5, 5, 5, 0.84) 58%, transparent 74%),
    linear-gradient(132deg, #090705 0 54%, #2a1908 72%, #d89b18 100%);
}

.story-home::before {
  background:
    linear-gradient(90deg, #050505 0 28%, rgba(5, 5, 5, 0.78) 48%, transparent 72%),
    linear-gradient(0deg, #050505 0 5%, rgba(5, 5, 5, 0.62) 18%, transparent 42%);
}

.story-home::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent 0 66%, rgba(246, 196, 58, 0.13) 66% 66.1%, transparent 66.1%),
    linear-gradient(0deg, transparent 0 18%, rgba(246, 196, 58, 0.08) 18% 18.1%, transparent 18.1%);
  opacity: 0.72;
}

body.single-page .hero {
  min-height: calc(100svh - 132px);
}

body.single-page .hero-copy {
  width: min(53%, 700px);
}

body.single-page .hero-portrait {
  top: -4%;
  right: -4vw;
  bottom: -3%;
  width: min(66vw, 980px);
}

body.single-page .hero-portrait::before {
  inset: 8% 2% 4% 23%;
  border-radius: 0;
  background: linear-gradient(
    132deg,
    transparent 0 18%,
    rgba(246, 196, 58, 0.1) 45%,
    rgba(246, 196, 58, 0.22) 100%
  );
  filter: blur(56px);
}

body.single-page .hero-portrait img {
  object-fit: contain;
  object-position: right center;
  filter:
    saturate(1.03)
    contrast(1.03)
    drop-shadow(-34px 26px 54px rgba(0, 0, 0, 0.56))
    drop-shadow(0 0 22px rgba(246, 196, 58, 0.12));
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0,
    rgba(0, 0, 0, 0.7) 8%,
    #000 22% 91%,
    rgba(0, 0, 0, 0.88) 96%,
    transparent 100%
  );
  mask-image: linear-gradient(
    90deg,
    transparent 0,
    rgba(0, 0, 0, 0.7) 8%,
    #000 22% 91%,
    rgba(0, 0, 0, 0.88) 96%,
    transparent 100%
  );
}

body.single-page .writing-page,
body.single-page .business-page,
body.single-page .contact-page {
  min-height: calc(100svh - 72px);
  padding: clamp(82px, 8vw, 118px) 0;
}

.writing-hero h1,
.business-hero h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", "Noto Serif SC", serif;
  font-weight: 700;
  line-height: 0.92;
  color: var(--gold);
  text-shadow: 0 0 32px rgba(246, 196, 58, 0.13);
}

.business-hero {
  margin-bottom: 46px;
}

.business-hero h1 {
  font-size: clamp(66px, 8vw, 116px);
}

.business-hero p {
  max-width: 760px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 1.45vw, 22px);
  line-height: 1.65;
}

body.single-page .writing-index {
  grid-template-columns: minmax(350px, 0.82fr) minmax(620px, 1.18fr);
}

body.single-page .featured-writing {
  min-height: 820px;
}

body.single-page .featured-copy h2 {
  font-size: clamp(36px, 3.7vw, 58px);
}

.article-data {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 18px;
  color: rgba(247, 240, 216, 0.62);
  font-size: 13px;
}

.article-data span + span {
  position: relative;
}

.article-data span + span::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -12px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--gold);
}

body.single-page .article-row {
  grid-template-columns: 64px minmax(280px, 1fr) 150px;
  gap: 18px;
  min-height: 164px;
  padding: 22px 24px;
}

body.single-page .article-number {
  font-size: 56px;
}

body.single-page .article-row h2 {
  margin-bottom: 8px;
  font-size: clamp(20px, 1.35vw, 26px);
}

body.single-page .article-row p {
  font-size: 14px;
}

body.single-page .article-row img,
.article-mark {
  width: 150px;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  border-radius: 4px;
}

.article-mark {
  display: grid;
  place-items: center;
  background:
    linear-gradient(135deg, rgba(246, 196, 58, 0.18), transparent 55%),
    #12100b;
  color: rgba(246, 196, 58, 0.82);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 26px;
}

.article-mark-photo {
  color: rgba(247, 240, 216, 0.74);
  font-size: 18px;
}

.story-business {
  background:
    linear-gradient(90deg, rgba(246, 196, 58, 0.025) 1px, transparent 1px),
    linear-gradient(rgba(246, 196, 58, 0.02) 1px, transparent 1px),
    linear-gradient(135deg, #070706, #0c0a07 68%, #171006);
  background-size: 88px 88px, 88px 88px, auto;
}

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

.business-row {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr) 128px;
  gap: clamp(22px, 4vw, 56px);
  align-items: center;
  min-height: 210px;
  padding: 34px 18px;
  border-bottom: 1px solid var(--line);
  transition:
    background 180ms var(--ease),
    transform 180ms var(--ease);
}

.business-row:hover {
  background: rgba(246, 196, 58, 0.035);
}

.business-number {
  color: rgba(247, 240, 216, 0.16);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 72px;
  line-height: 1;
}

.business-row h2 {
  margin: 0;
  color: var(--cream);
  font-family: Georgia, "Times New Roman", "Noto Serif SC", serif;
  font-size: clamp(30px, 3vw, 46px);
}

.business-row p {
  max-width: 820px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.72;
}

.business-row > a {
  justify-self: end;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--gold);
  color: var(--gold);
  font-size: 14px;
}

.business-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-top: 48px;
  padding: 36px 40px;
  border-left: 3px solid var(--gold);
  background: rgba(247, 240, 216, 0.035);
}

.business-cta span {
  color: var(--gold);
  font-size: 13px;
}

.business-cta h2 {
  margin: 8px 0 0;
  color: var(--cream);
  font-size: clamp(24px, 2.6vw, 38px);
}

.business-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

@media (max-width: 1120px) {
  body.single-page .hero-copy {
    width: min(59%, 650px);
  }

  body.single-page .hero-portrait {
    right: -12vw;
    width: 82vw;
  }

  body.single-page .writing-index {
    grid-template-columns: 1fr;
  }

  body.single-page .featured-writing {
    min-height: 660px;
  }
}

@media (max-width: 760px) {
  body.single-page .nav {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    width: calc(100vw - 28px);
    max-width: calc(100vw - 28px);
    gap: 0;
    overflow: visible;
  }

  body.single-page .nav a {
    justify-content: center;
    min-width: 0;
    padding-inline: 0;
  }

  .story-home {
    min-height: calc(100svh - 98px);
    background:
      linear-gradient(0deg, #050505 0 43%, rgba(5, 5, 5, 0.64) 66%, transparent 84%),
      linear-gradient(132deg, #080604 0 45%, #4b2f0d 75%, #d79b19 100%);
  }

  .story-home::before {
    background: linear-gradient(0deg, #050505 0 40%, rgba(5, 5, 5, 0.44) 62%, transparent 82%);
  }

  .story-home::after {
    opacity: 0.36;
  }

  body.single-page .hero {
    min-height: calc(100svh - 98px);
    padding-bottom: 42px;
  }

  body.single-page .hero-copy {
    width: 100%;
    padding-top: min(42vh, 330px);
  }

  body.single-page .hero-portrait {
    top: -68px;
    right: 0;
    width: 128vw;
    height: 460px;
  }

  body.single-page .hero-portrait::before {
    inset: 9% 0 8% 31%;
  }

  body.single-page .hero-portrait img {
    object-position: right top;
    -webkit-mask-image: linear-gradient(
      180deg,
      #000 0 72%,
      rgba(0, 0, 0, 0.72) 82%,
      transparent 100%
    );
    mask-image: linear-gradient(
      180deg,
      #000 0 72%,
      rgba(0, 0, 0, 0.72) 82%,
      transparent 100%
    );
  }

  body.single-page .writing-page,
  body.single-page .business-page,
  body.single-page .contact-page {
    min-height: calc(100svh - 98px);
    padding: 54px 0 78px;
  }

  body.single-page .writing-hero h1,
  .business-hero h1 {
    font-size: 60px;
  }

  .business-hero {
    margin-bottom: 30px;
  }

  .business-hero p {
    max-width: 20em;
    font-size: 17px;
  }

  body.single-page .featured-writing {
    min-height: 0;
  }

  body.single-page .featured-copy h2 {
    max-width: none;
    font-size: 27px;
    word-break: normal;
  }

  body.single-page .featured-copy p {
    max-width: none;
  }

  body.single-page .article-row {
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 14px;
    min-height: 0;
    padding: 24px 18px;
  }

  body.single-page .article-number {
    font-size: 48px;
  }

  body.single-page .article-row h2 {
    max-width: none;
    font-size: 21px;
  }

  body.single-page .article-row p {
    max-width: none;
    word-break: normal;
  }

  body.single-page .article-row img,
  .article-mark {
    grid-column: 1 / -1;
    width: 100%;
  }

  .business-row {
    grid-template-columns: 60px minmax(0, 1fr);
    gap: 16px;
    min-height: 0;
    padding: 28px 0;
  }

  .business-number {
    align-self: start;
    font-size: 48px;
  }

  .business-row h2 {
    font-size: 30px;
  }

  .business-row p {
    font-size: 15px;
  }

  .business-row > a {
    grid-column: 2;
    justify-self: start;
  }

  .business-cta {
    align-items: flex-start;
    flex-direction: column;
    padding: 28px 24px;
  }

  .business-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 760px) and (max-height: 700px) {
  html {
    scroll-padding-top: 88px;
  }

  body.single-page .site-header,
  body.single-page .site-header[data-scrolled="true"] {
    min-height: 88px;
    padding: 8px 14px 7px;
  }

  body.single-page .brand {
    font-size: 15px;
  }

  body.single-page .nav a {
    min-height: 30px;
    font-size: 12px;
  }

  .story-home,
  body.single-page .hero {
    min-height: calc(100svh - 104px);
  }

  body.single-page .hero {
    padding-bottom: 12px;
  }

  body.single-page .hero-copy {
    padding-top: min(30vh, 170px);
  }

  body.single-page .hero h1 {
    font-size: clamp(48px, 17vw, 64px);
  }

  body.single-page .hero-lede {
    margin-top: 16px;
    font-size: 16px;
    line-height: 1.45;
  }

  body.single-page .hero-copy .identity-line {
    margin-top: 12px;
  }

  body.single-page .hero-actions {
    margin-top: 16px;
  }

  body.single-page .hero-portrait {
    top: -60px;
    width: 120vw;
    height: 360px;
  }
}

/* 2026-08-20 works, compact business, contact, and analytics revision */

body.single-page .writing-page,
body.single-page .business-page,
body.single-page .contact-page {
  min-height: auto;
  padding: clamp(72px, 7vw, 96px) 0;
}

body.single-page .writing-hero,
body.single-page .business-hero,
body.single-page .contact-intro {
  margin-bottom: 46px;
}

body.single-page .writing-hero h1,
body.single-page .business-hero h1,
body.single-page .contact-intro h1 {
  margin: 0;
  color: var(--gold);
  font-family: Georgia, "Times New Roman", "Noto Serif SC", serif;
  font-size: clamp(66px, 8vw, 116px);
  font-weight: 700;
  line-height: 0.92;
  text-shadow: 0 0 32px rgba(246, 196, 58, 0.13);
}

body.single-page .writing-hero p,
body.single-page .business-hero p,
body.single-page .contact-intro p {
  max-width: 760px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 1.45vw, 22px);
  line-height: 1.65;
}

body.single-page .writing-index.writing-list-only {
  display: block;
  border: 1px solid rgba(246, 196, 58, 0.2);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.26);
}

.writing-list-only .article-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 1fr;
}

body.single-page .writing-list-only .article-row {
  grid-template-columns: 68px minmax(0, 1fr) 34px;
  gap: 22px;
  min-height: 224px;
  padding: 30px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

body.single-page .writing-list-only .article-row:nth-child(2n) {
  border-right: 0;
}

body.single-page .writing-list-only .article-row:nth-last-child(-n + 2) {
  border-bottom: 0;
}

body.single-page .writing-list-only .article-number {
  align-self: start;
  font-size: 52px;
}

body.single-page .writing-list-only .article-row h2 {
  max-width: 24em;
  font-size: clamp(23px, 1.7vw, 31px);
  line-height: 1.3;
}

body.single-page .writing-list-only .article-row p {
  max-width: 46em;
  font-size: 15px;
  line-height: 1.68;
}

.article-arrow {
  align-self: start;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(246, 196, 58, 0.24);
  border-radius: 50%;
  color: var(--gold);
  font-size: 17px;
  transition:
    background 180ms var(--ease),
    color 180ms var(--ease);
}

.article-row:hover .article-arrow {
  background: var(--gold);
  color: #090805;
}

.business-compact {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid var(--line);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.26);
}

.business-compact .business-row {
  grid-template-columns: 72px minmax(0, 1fr);
  align-content: start;
  min-height: 268px;
  padding: 34px;
  border-bottom: 0;
}

.business-compact .business-row + .business-row {
  border-left: 1px solid var(--line);
}

.business-compact .business-number {
  align-self: start;
  font-size: 56px;
}

.business-status {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  margin-bottom: 18px;
  padding: 0 10px;
  border: 1px solid rgba(247, 240, 216, 0.18);
  border-radius: 999px;
  color: rgba(247, 240, 216, 0.58);
  font-size: 12px;
}

.business-status.is-live {
  border-color: rgba(110, 202, 195, 0.4);
  color: #6ecac3;
}

.business-compact .business-row h2 {
  font-size: clamp(30px, 2.5vw, 42px);
}

.business-compact .business-row > a,
.business-pending {
  grid-column: 2;
  justify-self: start;
  align-self: end;
  margin-top: 22px;
}

.business-pending {
  color: rgba(247, 240, 216, 0.4);
  font-size: 14px;
}

.business-compact .business-cta {
  grid-column: 1 / -1;
  margin-top: 0;
  padding: 28px 32px;
  border-top: 1px solid var(--line);
  border-left: 0;
}

body.single-page .contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  align-items: stretch;
  margin-top: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(12, 11, 9, 0.6);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.26);
}

body.single-page .contact-methods {
  position: static;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

body.single-page .contact-row {
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 18px;
  min-height: 156px;
  padding: 28px;
  border: 0;
  border-right: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
}

body.single-page .contact-row:last-child {
  border-right: 0;
}

body.single-page .contact-row:hover {
  transform: none;
  background: rgba(246, 196, 58, 0.035);
}

body.single-page .contact-row strong {
  font-size: clamp(19px, 1.6vw, 25px);
}

.wechat-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding: 30px 34px;
  border-top: 1px solid var(--line);
  background: rgba(247, 240, 216, 0.018);
}

.wechat-copy {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.wechat-copy strong {
  display: block;
  color: var(--cream);
  font-size: clamp(24px, 2.2vw, 34px);
}

.wechat-copy em {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-style: normal;
}

.wechat-copy:focus-visible {
  outline: 3px solid var(--cream);
  outline-offset: 8px;
}

.wechat-qr {
  display: grid;
  justify-items: stretch;
  width: 220px;
}

.wechat-qr img {
  width: 220px;
  height: 220px;
  aspect-ratio: 1;
  padding: 8px;
  object-fit: contain;
  border-radius: var(--radius);
  background: #fff;
}

.qr-actions {
  display: grid;
  justify-items: center;
  gap: 12px;
  margin-top: 14px;
}

.qr-actions span {
  color: var(--muted);
  font-size: 14px;
}

.qr-actions .button {
  width: 100%;
}

@media (max-width: 960px) {
  .writing-list-only .article-list,
  .business-compact {
    grid-template-columns: 1fr;
  }

  body.single-page .writing-list-only .article-row,
  body.single-page .writing-list-only .article-row:nth-child(2n),
  body.single-page .writing-list-only .article-row:nth-last-child(-n + 2) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  body.single-page .writing-list-only .article-row:last-child {
    border-bottom: 0;
  }

  .business-compact .business-row + .business-row {
    border-top: 1px solid var(--line);
    border-left: 0;
  }
}

@media (max-width: 760px) {
  body.single-page .writing-list-only .article-row {
    grid-template-columns: 48px minmax(0, 1fr) 30px;
    gap: 13px;
    min-height: 0;
    padding: 24px 16px;
  }

  body.single-page .writing-list-only .article-number {
    font-size: 42px;
  }

  body.single-page .writing-list-only .article-row h2 {
    font-size: 21px;
  }

  body.single-page .writing-list-only .article-row p {
    font-size: 14px;
  }

  .article-arrow {
    width: 30px;
    height: 30px;
  }

  .business-compact .business-row {
    grid-template-columns: 50px minmax(0, 1fr);
    min-height: 0;
    padding: 26px 18px;
  }

  .business-compact .business-number {
    font-size: 44px;
  }

  .business-compact .business-cta {
    padding: 26px 20px;
  }

  body.single-page .writing-hero,
  body.single-page .business-hero,
  body.single-page .contact-intro {
    margin-bottom: 30px;
  }

  body.single-page .writing-hero h1,
  body.single-page .business-hero h1,
  body.single-page .contact-intro h1 {
    font-size: 60px;
  }

  body.single-page .writing-hero p,
  body.single-page .business-hero p,
  body.single-page .contact-intro p {
    max-width: 20em;
    font-size: 17px;
  }

  body.single-page .contact-methods {
    grid-template-columns: 1fr;
  }

  body.single-page .contact-row,
  body.single-page .contact-row:last-child {
    min-height: 0;
    padding: 22px 18px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .wechat-panel {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 24px 18px;
    border-top: 0;
  }

  .wechat-qr {
    justify-self: center;
  }
}
