:root {
  --ink: #132722;
  --ink-soft: #29443b;
  --paper: #f5f2eb;
  --paper-deep: #e9e4d9;
  --copper: #bd7745;
  --mint: #b7d3c0;
  --line: rgba(19, 39, 34, .18);
  --white: #fffefa;
  --serif: "Songti SC", "STSong", "Noto Serif CJK SC", ui-serif, serif;
  --sans: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", Arial, sans-serif;
  --shell: min(1180px, calc(100vw - 64px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); font-size: 16px; line-height: 1.7; text-rendering: optimizeLegibility; }
body::before { position: fixed; z-index: -1; inset: 0; background-image: linear-gradient(rgba(19, 39, 34, .022) 1px, transparent 1px), linear-gradient(90deg, rgba(19, 39, 34, .022) 1px, transparent 1px); background-size: 36px 36px; content: ""; pointer-events: none; }
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
::selection { background: var(--ink); color: var(--white); }
.shell { width: var(--shell); margin-inline: auto; }
.screen-reader-text, .honeypot { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.skip-link { position: fixed; z-index: 999; top: -60px; left: 20px; padding: 9px 14px; background: var(--white); color: var(--ink); box-shadow: 0 4px 18px rgba(0,0,0,.2); }
.skip-link:focus { top: 16px; }

.site-header { position: fixed; z-index: 20; top: 0; right: 0; left: 0; color: var(--white); transition: background .25s ease, color .25s ease, box-shadow .25s ease; }
.site-header.is-scrolled { color: var(--ink); background: rgba(245, 242, 235, .96); box-shadow: 0 1px 0 rgba(19,39,34,.12); backdrop-filter: blur(12px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 76px; }
.brand { display: inline-flex; gap: 11px; align-items: center; }
.brand-mark { display: block; width: 34px; height: 34px; }
.brand-logo { width: 100%; height: 100%; }
.site-header:not(.is-scrolled) .brand-logo { filter: brightness(0) invert(1); }
.brand-type { display: flex; flex-direction: column; gap: 1px; line-height: 1; }
.brand-type strong { font-size: 17px; letter-spacing: .12em; }
.brand-type small { font-size: 7px; letter-spacing: .18em; opacity: .7; }
.primary-nav { display: flex; gap: clamp(18px, 2.2vw, 32px); align-items: center; font-size: 14px; }
.primary-nav > a:not(.nav-contact) { position: relative; padding-block: 26px; }
.primary-nav > a:not(.nav-contact)::after { position: absolute; right: 0; bottom: 20px; left: 0; height: 1px; background: currentColor; content: ""; transform: scaleX(0); transform-origin: right; transition: transform .22s ease; }
.primary-nav > a:not(.nav-contact):hover::after, .primary-nav > a:not(.nav-contact):focus-visible::after { transform: scaleX(1); transform-origin: left; }
.nav-contact { padding: 8px 13px; border: 1px solid currentColor; font-weight: 700; }
.nav-contact span { margin-left: 4px; color: var(--copper); }
.nav-toggle { display: none; color: inherit; border: 0; background: none; }

.hero { position: relative; display: grid; min-height: min(800px, 100vh); overflow: hidden; color: var(--white); place-items: center; }
.hero-media, .hero-wash { position: absolute; inset: 0; }
.hero-media img { height: 100%; object-fit: cover; object-position: center; }
.hero-wash { background: linear-gradient(90deg, rgba(10, 31, 26, .88) 0%, rgba(13, 37, 31, .65) 37%, rgba(13, 37, 31, .08) 70%), linear-gradient(0deg, rgba(9,24,20,.42), transparent 48%); }
.hero::after { position: absolute; right: -10vw; bottom: -26vw; width: 60vw; height: 60vw; border: 1px solid rgba(255,255,255,.32); border-radius: 50%; content: ""; }
.hero-content { position: relative; z-index: 1; padding-top: 130px; padding-bottom: 86px; }
.eyebrow { display: flex; gap: 9px; align-items: center; margin: 0 0 20px; font-size: 12px; font-weight: 700; letter-spacing: .2em; }
.eyebrow span { display: inline-block; width: 28px; height: 1px; background: currentColor; }
.light { color: var(--white); }
.hero h1 { max-width: 780px; margin: 0; font-family: var(--serif); font-size: clamp(46px, 6.2vw, 88px); font-weight: 600; line-height: 1.17; letter-spacing: -.055em; }
.hero h1 em { color: #d1e2d6; font-style: normal; }
.hero-intro { max-width: 420px; margin: 30px 0; font-size: 17px; line-height: 1.9; color: rgba(255,255,255,.86); }
.hero-actions { display: flex; gap: 26px; align-items: center; }
.button { display: inline-flex; gap: 22px; align-items: center; justify-content: space-between; min-width: 165px; padding: 12px 14px 12px 18px; border: 1px solid transparent; font-size: 14px; font-weight: 700; line-height: 1.4; transition: transform .18s ease, background .18s ease, color .18s ease; }
.button:hover { transform: translateY(-3px); }
.button-light { color: var(--ink); background: var(--white); }
.button-dark { color: var(--white); background: var(--ink); }
.button span { font-size: 19px; font-weight: 400; }
.text-link { display: inline-flex; gap: 9px; align-items: center; padding-bottom: 3px; border-bottom: 1px solid currentColor; font-size: 14px; font-weight: 700; }
.hero-ledger { position: absolute; right: 0; bottom: 54px; display: flex; align-items: stretch; border-top: 1px solid rgba(255,255,255,.55); border-bottom: 1px solid rgba(255,255,255,.55); }
.hero-ledger span { min-width: 76px; padding: 7px 13px; border-right: 1px solid rgba(255,255,255,.55); font-size: 12px; letter-spacing: .16em; text-align: center; }
.hero-ledger span:first-child { border-left: 1px solid rgba(255,255,255,.55); }

.intro-band { padding: 58px 0; border-bottom: 1px solid var(--line); background: var(--paper-deep); }
.intro-grid { display: grid; grid-template-columns: 1fr 2.3fr 1fr; gap: 32px; align-items: start; }
.intro-statement { margin: 0; font-family: var(--serif); font-size: clamp(24px, 2.65vw, 38px); line-height: 1.55; letter-spacing: -.025em; }
.intro-statement strong { font-weight: 600; color: var(--copper); }
.intro-caption { margin: 6px 0 0; color: #5c685f; font-size: 13px; line-height: 1.9; }
.section { padding: clamp(78px, 10vw, 142px) 0; }
.section-heading { display: flex; gap: 48px; align-items: end; justify-content: space-between; margin-bottom: 52px; }
.section-heading h2, .about-copy h2, .rhythm-copy h2, .partners h2, .contact h2, .footer-brand h2 { margin: 0; font-family: var(--serif); font-size: clamp(34px, 4.1vw, 58px); font-weight: 600; line-height: 1.2; letter-spacing: -.05em; }
.section-heading > p { max-width: 270px; margin: 0 0 7px; color: #66736a; font-size: 14px; line-height: 1.9; }

.services { background: var(--white); }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service-card { position: relative; min-height: 295px; padding: 29px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--white); transition: background .2s ease, color .2s ease; }
.service-card:hover, .service-card.featured { color: var(--white); background: var(--ink); }
.service-symbol { width: 47px; height: 47px; margin-bottom: 59px; padding: 10px; border: 1px solid currentColor; }
.service-symbol svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-linecap: square; stroke-linejoin: miter; stroke-width: 1.55; }
.service-card h3 { margin: 0 0 8px; font-family: var(--serif); font-size: 25px; font-weight: 600; }
.service-card p { margin: 0; color: #637169; font-size: 13px; line-height: 1.9; transition: color .2s ease; }
.service-card:hover p, .service-card.featured p { color: rgba(255,255,255,.72); }
.service-line { position: absolute; right: 28px; bottom: 29px; left: 28px; height: 1px; background: var(--line); }
.service-card:hover .service-line, .service-card.featured .service-line { background: rgba(255,255,255,.3); }

.rhythm-section { color: var(--white); background: var(--ink); }
.rhythm-layout { display: grid; grid-template-columns: 1.1fr .9fr; gap: 12vw; align-items: center; }
.rhythm-copy p:not(.eyebrow) { max-width: 430px; margin: 26px 0 32px; color: rgba(255,255,255,.72); }
.rhythm-list { border-top: 1px solid rgba(255,255,255,.35); }
.rhythm-list div { display: grid; grid-template-columns: 62px 1fr; gap: 20px; align-items: center; min-height: 90px; border-bottom: 1px solid rgba(255,255,255,.35); }
.rhythm-list b { color: var(--mint); font-family: var(--serif); font-size: 24px; font-weight: 400; }
.rhythm-list span { font-size: 16px; }

.about { background: var(--paper); }
.about-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(45px, 9vw, 140px); align-items: center; }
.about-images { position: relative; min-height: 550px; }
.about-images::before { position: absolute; top: 30px; bottom: 0; left: -30px; width: 42%; border-top: 1px solid var(--copper); border-left: 1px solid var(--copper); content: ""; }
.about-main { position: absolute; z-index: 1; top: 0; left: 0; width: 64%; height: 400px; margin: 0; }
.about-secondary { position: absolute; z-index: 2; right: 0; bottom: 0; width: 56%; height: 310px; margin: 0; border: 10px solid var(--paper); }
.about-images img { height: 100%; object-fit: cover; }
.about-main img { object-position: 48% center; }
.about-secondary img { object-position: 55% center; }
.about-stamp { position: absolute; z-index: 3; top: 224px; left: 43%; display: grid; width: 136px; height: 136px; place-content: center; border-radius: 50%; color: var(--white); background: var(--copper); text-align: center; transform: rotate(-12deg); }
.about-stamp span { font-size: 8px; letter-spacing: .22em; }
.about-stamp b { margin: 7px 0; font-family: var(--serif); font-size: 23px; line-height: 1.08; font-weight: 500; }
.about-stamp i { font-size: 9px; font-style: normal; line-height: 1.2; }
.about-copy > p:not(.eyebrow) { margin: 23px 0 0; color: #56655d; }
.about-copy .button { margin-top: 36px; }

.cases { background: var(--white); }
.case-grid { display: grid; grid-template-columns: 1.15fr .85fr .72fr; gap: 16px; align-items: stretch; }
.case-card { position: relative; min-height: 410px; overflow: hidden; color: var(--white); background: var(--ink); }
.case-card.case-large { min-height: 530px; }
.case-card.case-tall { min-height: 530px; }
.case-card img { height: 100%; object-fit: cover; opacity: .9; transition: transform .5s ease; }
.case-card:hover img { transform: scale(1.045); }
.case-card::after { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8,21,18,.9), rgba(8,21,18,0) 60%); content: ""; }
.case-caption { position: absolute; z-index: 1; right: 23px; bottom: 20px; left: 23px; }
.case-caption span { display: inline-block; margin-bottom: 8px; color: var(--mint); font-size: 11px; font-weight: 700; letter-spacing: .18em; }
.case-caption h3 { margin: 0; font-family: var(--serif); font-size: clamp(18px, 1.8vw, 24px); font-weight: 500; line-height: 1.35; }
.case-card.case-large img { object-position: center 40%; }
.case-card.case-tall img { object-position: 45% center; }

.partners { padding: clamp(76px, 9vw, 125px) 0; color: var(--white); background: #244139; }
.partners-grid { display: grid; grid-template-columns: .85fr 1.4fr; gap: clamp(45px, 10vw, 160px); align-items: start; }
.partners h2 { font-size: clamp(31px, 3.6vw, 52px); }
.partner-list { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid rgba(255,255,255,.35); border-left: 1px solid rgba(255,255,255,.35); }
.partner-list span { display: flex; min-height: 82px; align-items: center; padding: 16px 21px; border-right: 1px solid rgba(255,255,255,.35); border-bottom: 1px solid rgba(255,255,255,.35); color: rgba(255,255,255,.89); font-size: 13px; line-height: 1.6; }

.contact { position: relative; overflow: hidden; padding: clamp(78px, 10vw, 140px) 0; background: var(--paper-deep); }
.contact::after { position: absolute; top: -190px; right: -140px; width: 480px; height: 480px; border: 1px solid rgba(19,39,34,.18); border-radius: 50%; content: ""; }
.contact-grid { position: relative; z-index: 1; display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(45px, 8vw, 125px); align-items: start; }
.contact-lead > p:not(.eyebrow) { max-width: 320px; margin: 22px 0; color: #58675e; }
.contact-ornament { display: grid; grid-template-columns: repeat(4, 1fr); width: 218px; margin-top: 54px; border: 1px solid var(--ink); }
.contact-ornament span { display: grid; height: 54px; place-items: center; border-right: 1px solid var(--ink); font-family: var(--serif); font-size: 22px; }
.contact-ornament span:last-child { border-right: 0; }
.contact-details { padding: 34px; background: var(--white); box-shadow: 14px 14px 0 var(--mint); }
.contact-details dl { display: grid; gap: 0; margin: 0; }
.contact-details dl > div { display: grid; grid-template-columns: 116px 1fr; gap: 20px; padding: 21px 0; border-bottom: 1px solid var(--line); }
.contact-details dl > div:first-child { padding-top: 0; }
.contact-details dt { color: #718078; font-size: 12px; font-weight: 700; letter-spacing: .12em; }
.contact-details dd { margin: 0; font-family: var(--serif); font-size: 18px; line-height: 1.65; }
.contact-details address { font-style: normal; }
.contact-phone { display: block; width: max-content; font-family: var(--sans); font-size: clamp(24px, 2.5vw, 32px); font-weight: 700; letter-spacing: .035em; line-height: 1.25; }
.contact-phone:hover, .contact-phone:focus-visible { color: var(--copper); }
.contact-details small { display: block; margin-top: 4px; color: #718078; font-family: var(--sans); font-size: 12px; }
.contact-call { margin-top: 28px; }

.site-footer { padding: 57px 0 30px; color: var(--white); background: #0c1c18; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .55fr .85fr; gap: 46px; align-items: end; }
.footer-kicker { margin: 0 0 14px; color: var(--mint); font-size: 11px; font-weight: 700; letter-spacing: .17em; }
.footer-brand h2 { font-size: clamp(25px, 2.6vw, 37px); }
.footer-links { display: grid; gap: 8px; font-size: 13px; }
.footer-links a { width: max-content; border-bottom: 1px solid transparent; }
.footer-links a:hover { border-color: var(--mint); color: var(--mint); }
.footer-note { color: rgba(255,255,255,.6); font-size: 11px; line-height: 1.8; text-align: right; }
.footer-note p { margin: 0; }
.icp-link { border-bottom: 1px solid transparent; transition: color .18s ease, border-color .18s ease; }
.icp-link:hover, .icp-link:focus-visible { color: var(--mint); border-color: currentColor; }

.generic-page { min-height: 70vh; padding-top: 160px; }
.generic-page h1 { max-width: 800px; margin: 0 0 24px; font-family: var(--serif); font-size: clamp(37px,5vw,70px); line-height: 1.2; }
.entry-content { max-width: 750px; }
.entry-content a { color: var(--copper); text-decoration: underline; }

:focus-visible { outline: 3px solid var(--copper); outline-offset: 3px; }
@media (max-width: 920px) {
  :root { --shell: min(100% - 44px, 760px); }
  .site-header { color: var(--ink); background: rgba(245,242,235,.96); box-shadow: 0 1px 0 rgba(19,39,34,.12); }
  .header-inner { min-height: 68px; }
  .nav-toggle { position: relative; z-index: 3; display: flex !important; width: 40px; height: 40px; flex-direction: column; gap: 5px; align-items: center; justify-content: center; padding: 0; border: 1px solid rgba(19, 39, 34, .48); color: var(--ink); background: transparent; }
  .nav-toggle span { display: block; width: 18px; height: 1px; flex: 0 0 1px; background: currentColor; }
  .primary-nav { position: absolute; top: 68px; right: 0; left: 0; display: none; padding: 14px 22px 24px; border-top: 1px solid var(--line); background: var(--paper); }
  .primary-nav.is-open { display: grid; gap: 0; }
  .primary-nav > a:not(.nav-contact) { padding: 12px 0; }
  .primary-nav > a:not(.nav-contact)::after { display: none; }
  .nav-contact { width: max-content; margin-top: 9px; }
  .hero { min-height: 730px; }
  .hero-content { padding-top: 120px; }
  .intro-grid, .rhythm-layout, .about-grid, .partners-grid, .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .intro-grid .eyebrow { margin-bottom: 0; }
  .intro-caption { max-width: 430px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { gap: 66px; }
  .about-images { width: min(100%, 620px); min-height: 530px; }
  .case-grid { grid-template-columns: 1fr 1fr; }
  .case-card.case-large { grid-column: span 2; }
  .case-card.case-tall { min-height: 410px; }
  .contact-details { box-shadow: 10px 10px 0 var(--mint); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: span 2; }
  .footer-note { text-align: left; }
}
@media (max-width: 600px) {
  :root { --shell: calc(100vw - 34px); }
  .brand-type strong { font-size: 16px; }
  .hero { min-height: 690px; }
  .hero-media img { object-position: 65% center; }
  .hero-wash { background: linear-gradient(90deg, rgba(10,31,26,.9), rgba(13,37,31,.5) 74%, rgba(13,37,31,.15)); }
  .hero h1 { font-size: clamp(38px, 10.2vw, 46px); }
  .hero-intro { max-width: 290px; font-size: 15px; }
  .hero-actions { gap: 19px; align-items: flex-start; flex-direction: column; }
  .hero-ledger { right: auto; bottom: 30px; left: 0; }
  .hero-ledger span { min-width: 66px; padding-inline: 8px; font-size: 11px; }
  .intro-band { padding: 42px 0; }
  .section { padding: 74px 0; }
  .section-heading { display: grid; gap: 21px; margin-bottom: 35px; }
  .section-heading > p { margin: 0; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 245px; padding: 25px; }
  .service-symbol { margin-bottom: 35px; }
  .rhythm-layout { gap: 43px; }
  .rhythm-list div { grid-template-columns: 48px 1fr; min-height: 78px; gap: 12px; }
  .rhythm-list span { font-size: 14px; }
  .about-images { min-height: 455px; }
  .about-main { width: 70%; height: 320px; }
  .about-secondary { width: 63%; height: 245px; }
  .about-stamp { top: 180px; left: 40%; width: 117px; height: 117px; }
  .about-stamp b { font-size: 20px; }
  .case-grid { grid-template-columns: 1fr; }
  .case-card.case-large { grid-column: span 1; min-height: 390px; }
  .case-card, .case-card.case-tall { min-height: 330px; }
  .partners-grid { gap: 35px; }
  .partner-list { grid-template-columns: 1fr; }
  .partner-list span { min-height: 64px; padding: 13px 15px; }
  .contact-details { padding: 25px 20px; }
  .contact-details dl > div { grid-template-columns: 1fr; gap: 6px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: span 1; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
