:root {
  --ink: #17201c;
  --muted: #66706b;
  --paper: #f3f2ed;
  --surface: #fffef9;
  --line: rgba(23, 32, 28, 0.13);
  --accent: #9dff5f;
  --accent-dark: #335820;
  --radius: 26px;
  --max: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }
.skip-link { position: fixed; left: 18px; top: -60px; z-index: 99; padding: 12px 18px; border-radius: 999px; background: var(--ink); color: white; transition: top .2s ease; }
.skip-link:focus { top: 18px; }
.nav-wrap { position: fixed; z-index: 50; top: 18px; left: 0; right: 0; padding: 0 20px; }
.nav { width: min(var(--max), 100%); margin: 0 auto; padding: 10px 12px 10px 18px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border: 1px solid rgba(255,255,255,.5); border-radius: 999px; background: rgba(250,249,244,.83); box-shadow: 0 12px 36px rgba(26,31,27,.08); backdrop-filter: blur(18px); }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: .03em; }
.brand-mark { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--ink); font-family: Georgia, serif; font-style: italic; }
.nav-links { display: flex; align-items: center; gap: 30px; font-size: 14px; }
.nav-links a { color: #39433e; }
.nav-links a:hover { color: #000; }
.nav-cta { padding: 11px 18px; border-radius: 999px; background: var(--ink); color: white !important; }
.container { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.eyebrow { margin: 0 0 18px; color: var(--accent-dark); font-size: 12px; font-weight: 750; letter-spacing: .2em; text-transform: uppercase; }
.hero { min-height: 100svh; padding: 116px 0 44px; display: flex; align-items: center; }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 48px; align-items: center; }
.hero h1 { margin: 0; max-width: 730px; font-size: clamp(46px, 6.2vw, 88px); line-height: 1.05; letter-spacing: -.055em; font-weight: 560; }
.hero h1 span { display: block; color: #7e8883; }
.hero-copy { margin: 30px 0 0; max-width: 620px; color: var(--muted); font-size: clamp(17px, 1.6vw, 21px); line-height: 1.8; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.button { min-height: 50px; padding: 0 22px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; border-radius: 999px; font-weight: 650; border: 1px solid var(--line); transition: transform .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { border-color: var(--ink); background: var(--ink); color: white; }
.button-light { background: rgba(255,255,255,.5); }
.button-accent { border-color: var(--accent); background: var(--accent); color: #16220f; }
.hero-visual { position: relative; min-height: 660px; }
.hero-image { width: 100%; height: 660px; object-fit: cover; border-radius: 42px; box-shadow: 0 28px 70px rgba(53,47,34,.18); }
.hero-note { position: absolute; left: -26px; bottom: 26px; max-width: 210px; padding: 18px 20px; border-radius: 20px; background: var(--accent); transform: rotate(-3deg); box-shadow: 0 16px 30px rgba(20,40,12,.16); font-size: 14px; line-height: 1.55; }
.hero-note strong { display: block; margin-bottom: 3px; font-size: 18px; }
.section { padding: 110px 0; }
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: 48px; }
.section h2 { margin: 0; font-size: clamp(38px, 5vw, 66px); line-height: 1.08; letter-spacing: -.045em; font-weight: 560; }
.section-lead { margin: 0; color: var(--muted); font-size: 17px; line-height: 1.8; }
.works-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.work-card { position: relative; overflow: hidden; min-height: 600px; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); transition: transform .3s ease, box-shadow .3s ease; }
.work-card:hover { transform: translateY(-6px); box-shadow: 0 28px 70px rgba(35,42,37,.13); }
.work-image { aspect-ratio: 16/10; overflow: hidden; background: #181713; }
.work-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .65s ease; }
.work-card:hover .work-image img { transform: scale(1.025); }
.work-content { padding: 28px 30px 32px; display: flex; flex: 1; flex-direction: column; }
.work-meta { display: flex; justify-content: space-between; gap: 18px; color: var(--muted); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.work-card h3 { margin: 26px 0 12px; font-size: clamp(27px, 3vw, 38px); line-height: 1.2; letter-spacing: -.03em; }
.work-card p { margin: 0 0 28px; color: var(--muted); line-height: 1.75; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-right: 34px; }
.tag { padding: 8px 12px; border-radius: 999px; background: #eff0ea; color: #4b554f; font-size: 12px; }
.work-arrow { position: absolute; right: 28px; bottom: 27px; font-size: 25px; }
.about-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 90px; }
.about-statement { font-size: clamp(28px, 3.4vw, 46px); line-height: 1.35; letter-spacing: -.03em; }
.about-copy { color: var(--muted); font-size: 17px; line-height: 1.9; }
.capabilities { margin-top: 42px; border-top: 1px solid var(--line); }
.capability { padding: 18px 0; display: flex; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line); }
.capability span:last-child { color: var(--muted); }
.contact-card { padding: clamp(34px, 7vw, 90px); border-radius: 38px; background: var(--ink); color: white; overflow: hidden; position: relative; }
.contact-card::after { content: ""; position: absolute; width: 290px; height: 290px; right: -70px; top: -80px; border-radius: 50%; background: var(--accent); filter: blur(2px); opacity: .9; }
.contact-card h2 { position: relative; z-index: 1; max-width: 800px; color: white; }
.contact-card p { position: relative; z-index: 1; max-width: 680px; margin: 24px 0 34px; color: #bcc4bf; font-size: 17px; line-height: 1.8; }
.contact-card .button { position: relative; z-index: 1; }
.footer { padding: 35px 0 46px; }
.footer-row { display: flex; justify-content: space-between; gap: 24px; align-items: center; color: var(--muted); font-size: 13px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; }
.footer a:hover { color: var(--ink); }
.detail-hero { padding: 140px 0 64px; }
.back-link { display: inline-flex; margin-bottom: 42px; color: var(--muted); }
.back-link:hover { color: var(--ink); }
.detail-title { max-width: 920px; margin: 0; font-size: clamp(48px, 7vw, 96px); line-height: 1.02; letter-spacing: -.055em; font-weight: 560; }
.detail-intro { margin: 32px 0 0; max-width: 760px; color: var(--muted); font-size: 19px; line-height: 1.8; }
.detail-cover { margin-top: 54px; width: 100%; border-radius: 34px; box-shadow: 0 28px 70px rgba(33,35,31,.14); }
.facts { margin-top: 26px; display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; overflow: hidden; border-radius: 18px; background: var(--line); border: 1px solid var(--line); }
.fact { padding: 23px; background: var(--surface); }
.fact small { display: block; color: var(--muted); margin-bottom: 8px; }
.detail-body { padding: 70px 0 120px; }
.story-row { display: grid; grid-template-columns: .7fr 1.3fr; gap: 80px; padding: 52px 0; border-top: 1px solid var(--line); }
.story-row h2 { font-size: 30px; }
.story-row p { margin: 0; color: var(--muted); font-size: 17px; line-height: 1.9; }
.story-row ul { margin: 0; padding-left: 1.2em; color: var(--muted); font-size: 17px; line-height: 2; }
.detail-action { margin-top: 26px; }
[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }
@media (max-width: 860px) {
  .nav { padding-left: 14px; }
  .brand-text { display: none; }
  .nav-links { gap: 14px; font-size: 13px; }
  .nav-links a:nth-child(2) { display: none; }
  .nav-cta { padding: 10px 14px; }
  .hero { padding-top: 108px; }
  .hero-grid, .section-head, .about-grid, .story-row { grid-template-columns: 1fr; gap: 34px; }
  .hero-visual { min-height: 520px; }
  .hero-image { height: 520px; }
  .hero-note { left: 18px; }
  .works-grid { grid-template-columns: 1fr; }
  .work-card { min-height: 0; }
  .facts { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 540px) {
  .container { width: min(100% - 28px, var(--max)); }
  .nav-wrap { top: 10px; padding: 0 10px; }
  .nav-links { gap: 10px; }
  .nav-links > a:not(.nav-cta):nth-child(1) { display: none; }
  .hero h1 { font-size: 47px; }
  .hero-copy { font-size: 16px; }
  .hero-visual, .hero-image { min-height: 460px; height: 460px; }
  .hero-actions .button { flex: 1 1 100%; }
  .section { padding: 82px 0; }
  .work-content { padding: 24px 22px 28px; }
  .facts { grid-template-columns: 1fr; }
  .footer-row { align-items: flex-start; flex-direction: column; }
  .contact-card::after { width: 180px; height: 180px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
