:root {
  --black: #080a09;
  --black-soft: #111513;
  --paper: #f2f2ed;
  --paper-2: #e7e9e3;
  --ink: #171c19;
  --muted: #68716c;
  --line: #cbd0cc;
  --acid: #b9f46d;
  --cream: #f5f2e8;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 0;
  width: 100%;
  height: 78px;
  padding: 0 4.5vw;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  color: #f5f5ef;
  border-bottom: 1px solid #ffffff24;
}
.brand {
  display: flex;
  align-items: baseline;
  gap: 9px;
  width: fit-content;
  font-size: 13px;
  letter-spacing: .04em;
}
.brand em {
  color: var(--acid);
  font: italic 15px Georgia, serif;
}
.site-header nav { display: flex; gap: 34px; }
.site-header nav a,
.edition {
  font: 500 9px/1.2 Consolas, "SFMono-Regular", monospace;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.site-header nav a { transition: color .2s; }
.site-header nav a:hover { color: var(--acid); }
.edition { justify-self: end; color: #ffffff73; }

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  color: var(--cream);
  background:
    radial-gradient(circle at 76% 28%, #334537 0, #18221c 13%, transparent 33%),
    radial-gradient(circle at 68% 74%, #253b2b 0, transparent 27%),
    linear-gradient(118deg, #050605 0%, #080b09 54%, #111a14 100%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .16;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E");
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #050605 0%, #050605e8 36%, transparent 76%);
}
.hero-orbit {
  position: absolute;
  border: 1px solid #ffffff20;
  border-radius: 50%;
  z-index: 1;
}
.orbit-one {
  width: min(74vw, 1050px);
  aspect-ratio: 1;
  right: -19vw;
  top: -33vw;
}
.orbit-two {
  width: min(49vw, 720px);
  aspect-ratio: 1;
  right: 4vw;
  top: 17vh;
  border-color: #b9f46d30;
}
.hero-copy {
  position: relative;
  z-index: 3;
  width: min(860px, 73vw);
  padding: 0 4.5vw 10vh;
}
.eyebrow,
.overline {
  margin: 0 0 24px;
  color: var(--acid);
  font: 500 9px/1.4 Consolas, "SFMono-Regular", monospace;
  letter-spacing: .16em;
}
.hero h1 {
  margin: 0;
  max-width: 850px;
  font-family: Georgia, "Noto Serif SC", "Songti SC", serif;
  font-size: clamp(42px, 6.2vw, 88px);
  font-weight: 400;
  line-height: 1.18;
  letter-spacing: -.055em;
}
.hero-foot {
  margin-top: 50px;
  display: flex;
  align-items: center;
  gap: 70px;
}
.hero-foot p {
  margin: 0;
  max-width: 380px;
  color: #ffffffa6;
  font-size: 13px;
  line-height: 1.8;
}
.hero-foot a {
  padding: 12px 0 8px;
  border-bottom: 1px solid #ffffff80;
  font: 500 10px Consolas, "SFMono-Regular", monospace;
  letter-spacing: .08em;
}
.hero-foot a span { margin-left: 16px; color: var(--acid); }
.hero-index {
  position: absolute;
  z-index: 3;
  right: 4.5vw;
  bottom: 9vh;
  display: grid;
  grid-template-columns: auto auto;
  gap: 11px 24px;
  color: #ffffff64;
  font: 500 8px/1 Consolas, "SFMono-Regular", monospace;
  letter-spacing: .12em;
}
.hero-index span:nth-child(odd) { color: var(--acid); }

.section { padding: 110px 4.5vw 125px; }
.section-head {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  align-items: start;
  gap: 40px;
  margin-bottom: 72px;
}
.section-label {
  display: flex;
  gap: 15px;
  align-items: center;
  color: var(--muted);
  font: 500 9px/1 Consolas, "SFMono-Regular", monospace;
  letter-spacing: .13em;
}
.section-label span {
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  color: #527238;
  border: 1px solid var(--line);
  border-radius: 50%;
}
.section-label p { margin: 0; }
.section-head h2 {
  margin: 0;
  font-size: clamp(45px, 6vw, 82px);
  font-weight: 500;
  line-height: .95;
  letter-spacing: -.065em;
}
.section-head .overline { margin-bottom: 22px; color: #527238; }
.section-note {
  margin: 29px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}

.agent-section { background: var(--paper); }
.featured-project {
  display: grid;
  grid-template-columns: minmax(280px, .8fr) minmax(600px, 2fr);
  gap: 5vw;
  align-items: start;
  padding-top: 42px;
  border-top: 1px solid var(--ink);
}
.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 34px;
}
.project-meta span {
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 99px;
  color: var(--muted);
  font: 500 8px Consolas, monospace;
  letter-spacing: .07em;
}
.project-intro h3 {
  margin: 0 0 28px;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1.05;
  font-weight: 500;
  letter-spacing: -.06em;
}
.project-intro h3 span {
  color: var(--muted);
  font: italic 50%/1.5 Georgia, serif;
  letter-spacing: 0;
}
.project-intro > p,
.project-intro li {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.85;
}
.project-intro ul {
  margin: 25px 0 32px;
  padding: 23px 0 0 18px;
  border-top: 1px solid var(--line);
}
.project-intro li + li { margin-top: 5px; }
.download-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 20px;
  color: #f2f5ef;
  background: var(--black-soft);
  transition: background .2s, transform .2s;
  font-size: 12px;
}
.download-button:hover { background: #273229; transform: translateY(-2px); }
.download-button small {
  color: var(--acid);
  font: 500 8px Consolas, monospace;
  letter-spacing: .06em;
}
.project-intro .source-note { margin: 11px 0 0; font-size: 9px; line-height: 1.55; }
.project-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.shot {
  margin: 0;
  padding: 9px;
  background: #dfe2dc;
}
.shot-main { grid-column: 1 / -1; }
.shot img {
  width: 100%;
  border: 1px solid #00000012;
  filter: saturate(.88);
}
.shot figcaption {
  display: flex;
  gap: 12px;
  padding: 11px 3px 3px;
  color: var(--muted);
  font: 500 8px Consolas, monospace;
  letter-spacing: .07em;
}
.shot figcaption span { color: #527238; }

.finance-section { background: var(--paper-2); }
.report-list { border-top: 1px solid var(--ink); }
.report {
  min-height: 132px;
  display: grid;
  grid-template-columns: .45fr 4fr .7fr auto;
  gap: 24px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  transition: padding .22s, background .22s;
}
.report:hover { padding: 0 18px; background: #ffffff78; }
.report-no,
.report-pages {
  color: var(--muted);
  font: 500 8px Consolas, monospace;
  letter-spacing: .1em;
}
.report p {
  margin: 0 0 9px;
  color: #527238;
  font: 500 8px Consolas, monospace;
  letter-spacing: .09em;
}
.report h3 {
  margin: 0;
  font-size: clamp(18px, 2.3vw, 31px);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -.035em;
}
.arrow {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  transition: .22s;
}
.report:hover .arrow { color: var(--black); background: var(--acid); border-color: var(--acid); }

.literature-section { background: var(--paper); }
.writing-groups {
  display: grid;
  grid-template-columns: 1.3fr .7fr .7fr;
  gap: 24px;
}
.writing-group {
  min-width: 0;
  padding: 28px;
  border: 1px solid var(--line);
  background: #f7f7f3;
}
.writing-group header {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding-bottom: 29px;
  border-bottom: 1px solid var(--ink);
}
.writing-group header > span {
  color: #527238;
  font: 500 8px Consolas, monospace;
}
.writing-group header p {
  margin: 0 0 7px;
  color: var(--muted);
  font: 500 8px Consolas, monospace;
  letter-spacing: .1em;
}
.writing-group header h3 {
  margin: 0;
  font: 400 32px/1.1 Georgia, "Noto Serif SC", "Songti SC", serif;
}
.writing-links a {
  min-height: 69px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  line-height: 1.45;
}
.writing-links a:hover { color: #46642f; }
.writing-links small {
  flex: 0 0 auto;
  color: var(--muted);
  font: 500 8px Consolas, monospace;
}

.about {
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: 6vw;
  padding: 120px 4.5vw;
  color: #edf0e9;
  background:
    radial-gradient(circle at 82% 24%, #263529 0, transparent 29%),
    var(--black-soft);
}
.section-label.light { color: #9ca69f; }
.section-label.light span { color: var(--acid); border-color: #ffffff25; }
.about-copy {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 8vw;
}
.about-lead {
  margin: 0;
  font: 400 clamp(35px, 5vw, 70px)/1.3 Georgia, "Noto Serif SC", "Songti SC", serif;
  letter-spacing: -.045em;
}
.about-detail {
  align-self: end;
  color: #aeb7b0;
  font-size: 12px;
  line-height: 1.9;
}
.about-detail p + p {
  margin-top: 23px;
  padding-top: 23px;
  border-top: 1px solid #ffffff1d;
}

footer {
  min-height: 140px;
  padding: 40px 4.5vw;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  color: #edf0e9;
  background: var(--black-soft);
  border-top: 1px solid #ffffff1c;
}
.footer-name { margin: 0; font-size: 18px; }
.footer-name em { margin-left: 5px; color: var(--acid); font: italic 20px Georgia, serif; }
.copyright {
  margin: 14px 0 0;
  color: #7d8881;
  font: 500 8px Consolas, monospace;
  letter-spacing: .1em;
}
.footer-links {
  display: flex;
  gap: 42px;
  color: #aeb7b0;
  font-size: 10px;
}
.footer-links a:hover { color: var(--acid); }

@media (max-width: 980px) {
  .featured-project { grid-template-columns: 1fr; }
  .project-intro { max-width: 590px; }
  .writing-groups { grid-template-columns: 1fr 1fr; }
  .writing-group:first-child { grid-row: span 2; }
}

@media (max-width: 720px) {
  .site-header { height: 67px; grid-template-columns: 1fr auto; }
  .site-header nav { gap: 15px; }
  .site-header nav a:nth-child(4), .edition { display: none; }
  .brand span { display: none; }
  .hero { min-height: 760px; }
  .hero-copy { width: 100%; padding-bottom: 150px; }
  .hero h1 { font-size: clamp(40px, 12vw, 58px); line-height: 1.23; }
  .hero h1 br { display: none; }
  .hero-foot { margin-top: 35px; display: grid; gap: 23px; }
  .hero-index { left: 4.5vw; right: auto; bottom: 45px; }
  .section { padding: 77px 4.5vw 88px; }
  .section-head { grid-template-columns: 1fr auto; gap: 28px; margin-bottom: 47px; }
  .section-head > div:nth-child(2) { grid-column: 1 / -1; grid-row: 2; }
  .section-note { margin-top: 0; max-width: 190px; font-size: 10px; }
  .featured-project { padding-top: 29px; gap: 42px; }
  .project-gallery { grid-template-columns: 1fr; }
  .shot-main { grid-column: auto; }
  .report { grid-template-columns: 27px 1fr 34px; gap: 9px; min-height: 115px; }
  .report:hover { padding: 0 4px; }
  .report-pages { display: none; }
  .report h3 { font-size: 19px; }
  .arrow { width: 32px; height: 32px; }
  .writing-groups { grid-template-columns: 1fr; }
  .writing-group:first-child { grid-row: auto; }
  .writing-group { padding: 23px; }
  .about { grid-template-columns: 1fr; padding: 83px 4.5vw; }
  .about-copy { grid-template-columns: 1fr; gap: 45px; }
  footer { align-items: flex-start; }
  .footer-links { flex-direction: column; gap: 13px; text-align: right; }
}

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


/* Portfolio section revision v6 */
.writing-groups {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.writing-links a {
  display: block;
  min-height: 72px;
  padding: 20px 0;
  transition: color .24s, padding .35s;
}

.writing-entry-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.writing-summary {
  display: block;
  max-height: 0;
  margin-top: 0;
  overflow: hidden;
  opacity: 0;
  color: var(--muted);
  font: italic 11px/1.75 Georgia, "Noto Serif SC", "Songti SC", serif;
  transform: translateY(-5px);
  transition: max-height .42s ease, margin-top .32s ease, opacity .28s ease, transform .36s ease;
}

.writing-links a:hover,
.writing-links a:focus-visible {
  padding-left: 8px;
  padding-right: 5px;
  outline: none;
}

.writing-links a:hover .writing-summary,
.writing-links a:focus-visible .writing-summary {
  max-height: 96px;
  margin-top: 12px;
  opacity: 1;
  transform: translateY(0);
}

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

.insight-group {
  min-width: 0;
  padding: 25px;
  border: 1px solid #bdc4be;
  background: rgba(255, 255, 255, .42);
}

.insight-group header {
  display: flex;
  gap: 16px;
  min-height: 94px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--ink);
}

.insight-group header > span {
  color: #527238;
  font: 500 8px Consolas, monospace;
}

.insight-group header p {
  margin: 0 0 7px;
  color: var(--muted);
  font: 500 7px Consolas, monospace;
  letter-spacing: .09em;
}

.insight-group header h3 {
  margin: 0;
  font: 400 clamp(25px, 2.25vw, 34px)/1.1 Georgia, "Noto Serif SC", "Songti SC", serif;
}

.insight-links a {
  min-height: 102px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 15px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  line-height: 1.55;
  transition: color .22s, padding .25s, background .22s;
}

.insight-links a:hover,
.insight-links a:focus-visible {
  padding-left: 8px;
  color: #46642f;
  outline: none;
}

.insight-links a span > small {
  display: block;
  margin-bottom: 8px;
  color: #527238;
  font: 500 7px Consolas, monospace;
  letter-spacing: .08em;
}

.insight-links b {
  color: var(--muted);
  font: 500 7px Consolas, monospace;
  letter-spacing: .08em;
}

.insight-group-dynamics {
  color: #eef1ea;
  background:
    linear-gradient(145deg, transparent 0 44%, rgba(185, 244, 109, .08) 44.4% 44.8%, transparent 45.2%),
    repeating-linear-gradient(0deg, transparent 0 52px, rgba(255, 255, 255, .035) 52px 53px),
    var(--black-soft);
  border-color: var(--black-soft);
}

.insight-group-dynamics header { border-color: rgba(255, 255, 255, .22); }
.insight-group-dynamics header p { color: rgba(238, 241, 234, .52); }
.insight-group-dynamics header h3 { color: #eef1ea; }

.insight-coming {
  min-height: 285px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: 34px;
}

.insight-coming > span {
  width: fit-content;
  padding: 6px 9px;
  color: var(--acid);
  border: 1px solid rgba(185, 244, 109, .3);
  border-radius: 99px;
  font: 500 7px Consolas, monospace;
  letter-spacing: .1em;
}

.insight-coming h4 {
  margin: 27px 0 14px;
  font: 400 23px/1.25 Georgia, "Noto Serif SC", "Songti SC", serif;
}

.insight-coming p {
  margin: 0;
  color: rgba(238, 241, 234, .62);
  font-size: 11px;
  line-height: 1.8;
}

.insight-coming small {
  margin-top: 28px;
  color: rgba(238, 241, 234, .38);
  font: 500 7px Consolas, monospace;
  letter-spacing: .1em;
}

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

.agent-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  background: #f7f7f3;
}

.agent-card > header {
  min-height: 54px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 13px;
  padding: 0 20px;
  border-bottom: 1px solid var(--line);
  font: 500 7px Consolas, monospace;
  letter-spacing: .1em;
}

.agent-card > header span { color: #527238; }
.agent-card > header p { margin: 0; color: var(--muted); }
.agent-card > header strong { color: #527238; font-weight: 500; }

.agent-card-visual {
  position: relative;
  height: 220px;
  margin: 0;
  overflow: hidden;
  background: #151b17;
}

.agent-visual-autumn { padding: 14px; }
.agent-visual-autumn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left top;
  opacity: .8;
  filter: grayscale(.65) saturate(.7) contrast(1.08);
}

.agent-visual-autumn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 48%, rgba(8, 10, 9, .76));
}

.agent-visual-weekly {
  background:
    repeating-linear-gradient(0deg, transparent 0 43px, rgba(255,255,255,.05) 43px 44px),
    linear-gradient(145deg, #101612, #1c2920);
}

.agent-visual-weekly span {
  position: absolute;
  left: 11%;
  right: 11%;
  height: 1px;
  background: linear-gradient(90deg, var(--acid) 0 19%, rgba(255,255,255,.18) 19% 100%);
}
.agent-visual-weekly span:nth-child(1) { top: 30%; }
.agent-visual-weekly span:nth-child(2) { top: 50%; left: 19%; }
.agent-visual-weekly span:nth-child(3) { top: 70%; right: 22%; }

.agent-visual-payment {
  background:
    linear-gradient(120deg, transparent 0 49.7%, rgba(185,244,109,.14) 50%, transparent 50.3%),
    linear-gradient(35deg, transparent 0 49.7%, rgba(255,255,255,.08) 50%, transparent 50.3%),
    #111713;
}

.agent-visual-payment span {
  position: absolute;
  width: 12px;
  height: 12px;
  border: 1px solid rgba(185,244,109,.6);
  border-radius: 50%;
  background: #111713;
  box-shadow: 0 0 18px rgba(185,244,109,.18);
}
.agent-visual-payment span:nth-child(1) { left: 17%; top: 30%; }
.agent-visual-payment span:nth-child(2) { left: 42%; top: 58%; }
.agent-visual-payment span:nth-child(3) { left: 69%; top: 24%; }
.agent-visual-payment span:nth-child(4) { left: 79%; top: 70%; }
.agent-visual-payment span:nth-child(5) { left: 25%; top: 78%; }

.agent-card-copy {
  flex: 1;
  padding: 28px 25px 24px;
}

.agent-eyebrow {
  margin: 0 0 13px;
  color: #527238;
  font: 500 7px Consolas, monospace;
  letter-spacing: .11em;
}

.agent-card-copy h3 {
  margin: 0 0 20px;
  font: 400 clamp(28px, 2.5vw, 39px)/1.1 Georgia, "Noto Serif SC", "Songti SC", serif;
  letter-spacing: -.035em;
}

.agent-card-copy h3 small {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font: italic 11px/1.3 Georgia, serif;
  letter-spacing: 0;
}

.agent-card-copy > p:not(.agent-eyebrow),
.agent-card-copy li {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.8;
}

.agent-card-copy ul {
  margin: 24px 0 0;
  padding: 20px 0 0 17px;
  border-top: 1px solid var(--line);
}

.agent-card-copy li + li { margin-top: 4px; }

.agent-action {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 21px;
  color: #f2f5ef;
  background: var(--black-soft);
  font-size: 11px;
  transition: background .22s;
}

.agent-action:hover { background: #273229; }
.agent-action small { color: var(--acid); font: 500 7px Consolas, monospace; letter-spacing: .08em; }
.agent-action-muted { color: var(--muted); background: #e7e9e3; }
.agent-action-muted small { color: #527238; }
.agent-action-muted:hover { background: #e7e9e3; }

@media (max-width: 1100px) {
  .insight-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 980px) {
  .writing-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .writing-group:first-child { grid-row: auto; }
  .agent-grid { grid-template-columns: 1fr; }
  .agent-card { display: grid; grid-template-columns: minmax(250px, .8fr) 1.2fr; }
  .agent-card > header,
  .agent-action { grid-column: 1 / -1; }
  .agent-card-visual { height: 100%; min-height: 300px; }
}

@media (max-width: 720px) {
  .writing-groups,
  .insight-groups { grid-template-columns: 1fr; }
  .writing-links a:hover,
  .writing-links a:focus-visible { padding-left: 0; padding-right: 0; }
  .writing-summary { max-height: none; margin-top: 10px; opacity: 1; transform: none; }
  .insight-group { padding: 23px; }
  .agent-card { display: flex; }
  .agent-card-visual { min-height: 220px; height: 220px; }
}

@media (prefers-reduced-motion: reduce) {
  .writing-summary,
  .writing-links a { transition: none; }
}
