
:root {
  --ink: #11110f;
  --paper: #f2efe7;
  --paper-2: #e9e5dc;
  --red: #e33a2c;
  --line: rgba(17, 17, 15, .18);
  --background: var(--paper);
  --foreground: var(--ink);
  --primary: var(--red);
  --primary-foreground: #fff;
  --card: #ebe7dd;
  --card-foreground: var(--ink);
  --muted: #ded9cf;
  --muted-foreground: #67645e;
  --border: rgba(17, 17, 15, .18);
  --radius: 0;
}

@theme inline {
  --color-background: var(--background);
  --color-foreground: var(--foreground);
  --color-primary: var(--primary);
  --color-primary-foreground: var(--primary-foreground);
  --color-card: var(--card);
  --color-card-foreground: var(--card-foreground);
  --color-muted: var(--muted);
  --color-muted-foreground: var(--muted-foreground);
  --color-border: var(--border);
  --font-sans: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  font-size: 16px;
}
a { color: inherit; text-decoration: none; }
main { overflow: hidden; }

.site-nav {
  position: absolute; inset: 0 0 auto 0; z-index: 20;
  height: 92px; padding: 0 clamp(24px, 5vw, 76px);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  color: white; border-bottom: 1px solid rgba(255,255,255,.2);
}
.brand { display: flex; align-items: center; gap: 12px; width: fit-content; }
.brand-mark {
  display: grid; place-items: center; width: 39px; height: 39px;
  background: var(--red); color: white; font-family: serif; font-size: 21px;
}
.brand b, .brand small { display: block; }
.brand b { font-size: 17px; letter-spacing: .08em; }
.brand small { margin-top: 2px; font-size: 9px; letter-spacing: .22em; opacity: .65; }
.nav-links { display: flex; gap: 34px; font-size: 14px; }
.nav-links a { opacity: .78; transition: opacity .2s; }
.nav-links a:hover { opacity: 1; }
.nav-cta { justify-self: end; display: flex; align-items: center; gap: 7px; font-size: 14px; }

.hero { position: relative; min-height: 760px; height: 100svh; color: white; background: #080908; }
.hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(3,4,4,.88) 0%, rgba(3,4,4,.68) 34%, rgba(3,4,4,.12) 70%), linear-gradient(0deg, rgba(0,0,0,.52), transparent 45%); }
.hero-copy { position: absolute; z-index: 2; left: clamp(24px, 8vw, 122px); top: 50%; transform: translateY(-46%); max-width: 760px; }
.eyebrow, .kicker { font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.eyebrow { display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,.7); }
.eyebrow span { width: 28px; height: 2px; background: var(--red); }
.hero h1 { margin: 26px 0 25px; font-size: clamp(56px, 7.2vw, 108px); line-height: .98; letter-spacing: -.06em; font-weight: 850; }
.hero h1 span { color: var(--red); }
.hero-lead { max-width: 590px; margin: 0; color: rgba(255,255,255,.7); font-size: clamp(17px, 1.5vw, 21px); line-height: 1.8; }
.hero-actions { display: flex; gap: 12px; margin-top: 40px; }
.button { min-height: 52px; padding: 0 22px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; font-weight: 700; font-size: 14px; transition: transform .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.button.primary { background: var(--red); color: white; }
.button.ghost { border: 1px solid rgba(255,255,255,.35); background: rgba(0,0,0,.12); backdrop-filter: blur(8px); }
.hero-note { position: absolute; z-index: 2; right: clamp(24px, 5vw, 76px); bottom: 70px; width: 275px; padding-top: 13px; border-top: 1px solid rgba(255,255,255,.3); }
.hero-note span { font: 700 10px/1 Arial; letter-spacing: .18em; color: var(--red); }
.hero-note p { font-size: 13px; line-height: 1.7; color: rgba(255,255,255,.68); }
.scroll-cue { position: absolute; z-index: 2; left: 25px; bottom: 45px; display: flex; align-items: center; gap: 12px; writing-mode: vertical-rl; font: 700 9px/1 Arial; letter-spacing: .18em; color: rgba(255,255,255,.5); }
.scroll-cue span { width: 1px; height: 42px; background: rgba(255,255,255,.35); }

.ticker { height: 68px; display: flex; align-items: center; justify-content: center; gap: clamp(14px, 2vw, 34px); background: var(--red); color: white; font-size: 13px; font-weight: 800; letter-spacing: .1em; white-space: nowrap; }
.ticker i { font-style: normal; opacity: .55; }
.section { padding: clamp(90px, 10vw, 150px) clamp(24px, 7vw, 108px); }
.section-head { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(260px, .65fr); gap: 70px; align-items: end; }
.kicker { margin: 0 0 26px; color: var(--red); }
.section h2, .projects h2, .contact h2 { margin: 0; font-size: clamp(38px, 5vw, 70px); line-height: 1.12; letter-spacing: -.045em; }
.section h2 span, .projects h2 span, .contact h2 span { color: var(--red); }
.section-intro { margin: 0; padding-top: 20px; border-top: 1px solid var(--line); color: #5d5a55; line-height: 1.9; }
.service-grid { margin-top: 70px; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.service-card { min-height: 440px; padding: 34px 32px; border-right: 1px solid var(--line); transition: background .25s, color .25s, transform .25s; }
.service-card:last-child { border-right: 0; }
.service-card:hover { background: var(--ink); color: white; transform: translateY(-7px); }
.card-top { display: flex; justify-content: space-between; align-items: start; }
.service-symbol { font-size: 28px; font-weight: 300; line-height: 1; }
.service-no { color: var(--red); font: 800 13px/1 Arial; letter-spacing: .12em; }
.service-card h3 { margin: 95px 0 22px; font-size: 29px; letter-spacing: -.03em; }
.service-card > p { min-height: 100px; margin: 0; color: #66635e; line-height: 1.85; }
.service-card:hover > p { color: rgba(255,255,255,.64); }
.tag-row { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 28px; }
.tag-row span { padding: 6px 10px; border: 1px solid currentColor; font-size: 11px; opacity: .6; }

.projects { padding: clamp(90px, 10vw, 150px) clamp(24px, 7vw, 108px); background: var(--ink); color: white; }
.projects-title { max-width: 850px; margin-bottom: 65px; }
.project-list { display: grid; grid-template-columns: 1.05fr .95fr; grid-template-rows: repeat(2, minmax(260px, auto)); gap: 12px; }
.project-card { position: relative; padding: 30px; display: grid; grid-template-columns: 85px 1fr; overflow: hidden; }
.project-card:first-child { grid-row: 1 / 3; min-height: 600px; }
.project-card.red { background: var(--red); }
.project-card.dark { background: #282824; }
.project-card.light { background: var(--paper); color: var(--ink); }
.project-meta span { font: 800 12px/1 Arial; opacity: .62; }
.project-meta p { margin-top: 25px; font-size: 11px; letter-spacing: .1em; writing-mode: vertical-rl; opacity: .64; }
.project-body { align-self: end; max-width: 540px; }
.project-body h3 { margin: 0 0 13px; font-size: clamp(37px, 4vw, 64px); letter-spacing: -.05em; }
.project-card:not(:first-child) .project-body h3 { font-size: clamp(30px, 3vw, 46px); }
.project-body h4 { margin: 0 0 20px; font-size: 18px; line-height: 1.5; }
.project-body > p { max-width: 500px; margin: 0; line-height: 1.8; font-size: 14px; opacity: .65; }
.project-arrow { position: absolute; right: 28px; top: 28px; transition: transform .2s; }
.project-card:hover .project-arrow { transform: translate(5px, -5px); }

.about-statement { max-width: 1030px; }
blockquote { margin: 0; font-size: clamp(34px, 4.2vw, 62px); font-weight: 800; line-height: 1.35; letter-spacing: -.04em; }
blockquote span { color: var(--red); }
.about-grid { margin-top: 90px; padding-top: 45px; border-top: 1px solid var(--line); display: grid; grid-template-columns: .85fr 1.15fr; gap: 90px; }
.about-copy p { margin: 0 0 22px; color: #56534e; font-size: 17px; line-height: 2; }
.proof-grid { display: grid; grid-template-columns: 1fr 1fr; }
.proof-grid > div { min-height: 155px; padding: 20px 24px; border-left: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.proof-grid strong { display: block; color: var(--red); font-size: 37px; letter-spacing: -.05em; }
.proof-grid span { display: block; margin-top: 13px; color: #65615b; font-size: 13px; }

.contact { padding: clamp(80px, 9vw, 130px) clamp(24px, 7vw, 108px); background: var(--red); color: white; }
.contact .kicker { color: rgba(255,255,255,.65); }
.contact-main { display: grid; grid-template-columns: 1.55fr .45fr; gap: 80px; align-items: end; }
.contact h2 span { color: var(--ink); }
.contact-side { padding-top: 20px; border-top: 1px solid rgba(255,255,255,.4); }
.contact-side p { margin: 0 0 15px; line-height: 1.8; }
.contact-side .contact-note { font-size: 13px; color: rgba(255,255,255,.66); }
footer { min-height: 140px; padding: 35px clamp(24px, 7vw, 108px); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; background: var(--ink); color: white; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand b, .footer-brand small { display: block; }
.footer-brand small { margin-top: 4px; color: rgba(255,255,255,.4); font-size: 8px; letter-spacing: .12em; }
footer > p { font-family: serif; letter-spacing: .15em; color: rgba(255,255,255,.67); }
.footer-legal { justify-self: end; display: grid; gap: 7px; text-align: right; font-size: 11px; color: rgba(255,255,255,.42); }
.footer-legal a:hover { color: rgba(255,255,255,.78); }

@media (max-width: 900px) {
  .site-nav { grid-template-columns: 1fr auto; }
  .nav-links { display: none; }
  .hero-note { display: none; }
  .section-head, .about-grid, .contact-main { grid-template-columns: 1fr; gap: 38px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: auto; border-right: 0; border-bottom: 1px solid var(--line); }
  .service-card h3 { margin-top: 55px; }
  .service-card > p { min-height: auto; }
  .project-list { grid-template-columns: 1fr; grid-template-rows: auto; }
  .project-card:first-child { grid-row: auto; min-height: 460px; }
  .project-card { min-height: 330px; }
  footer { grid-template-columns: 1fr; gap: 25px; }
  footer > p, .footer-legal { justify-self: start; margin: 0; text-align: left; }
}

@media (max-width: 600px) {
  .site-nav { height: 76px; padding: 0 20px; }
  .nav-cta { font-size: 0; gap: 0; }
  .nav-cta span { font-size: 21px; }
  .nav-cta svg { width: 21px; height: 21px; }
  .hero { min-height: 720px; }
  .hero-image { object-position: 63% center; }
  .hero-shade { background: linear-gradient(90deg, rgba(3,4,4,.92), rgba(3,4,4,.5)), linear-gradient(0deg, rgba(0,0,0,.68), transparent 55%); }
  .hero-copy { left: 22px; right: 22px; top: 47%; }
  .hero h1 { font-size: clamp(50px, 16vw, 68px); }
  .hero-actions { align-items: stretch; flex-direction: column; width: min(100%, 310px); }
  .scroll-cue { display: none; }
  .ticker { justify-content: flex-start; padding: 0 22px; overflow: hidden; }
  .ticker span:nth-of-type(n+4), .ticker i:nth-of-type(n+4) { display: none; }
  .project-card { grid-template-columns: 56px 1fr; padding: 24px; }
  .project-meta p { display: none; }
  .project-arrow { right: 20px; top: 20px; }
  .proof-grid { grid-template-columns: 1fr; }
  .proof-grid > div { border-left: 0; }
  .brand b { font-size: 15px; }
  .brand small { letter-spacing: .13em; }
}

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