:root {
  --ink: #13221c;
  --ink-soft: #34463f;
  --paper: #f5f2ea;
  --paper-deep: #e8e2d5;
  --green: #173a2c;
  --lime: #c9ed67;
  --coral: #e46f52;
  --line: rgba(19, 34, 28, 0.16);
  --white: #fffdf8;
  --max-width: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

::selection {
  background: var(--lime);
  color: var(--ink);
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--white);
  color: var(--ink);
  transform: translateY(-180%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px clamp(24px, 5vw, 72px);
  color: var(--white);
  transition:
    color 220ms ease,
    background-color 220ms ease,
    padding 220ms ease,
    box-shadow 220ms ease;
}

.site-header.is-scrolled,
.site-header.is-menu-open {
  padding-top: 14px;
  padding-bottom: 14px;
  color: var(--ink);
  background: rgba(245, 242, 234, 0.94);
  box-shadow: 0 1px 0 var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  font-weight: 700;
}

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 21px;
  line-height: 1;
}

.brand-name {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
}

.brand-logo {
  display: block;
  width: auto;
  max-width: 190px;
  max-height: 42px;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 34px;
  font-size: 14px;
  font-weight: 500;
}

.site-nav a {
  position: relative;
  padding: 8px 0;
}

.site-nav a:not(.nav-contact)::after {
  position: absolute;
  right: 0;
  bottom: 3px;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-contact {
  padding: 10px 18px !important;
  border: 1px solid currentColor;
  border-radius: 999px;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.menu-toggle svg {
  width: 22px;
  height: 22px;
}

.hero {
  position: relative;
  display: grid;
  min-height: 760px;
  height: 92vh;
  max-height: 980px;
  align-items: end;
  overflow: hidden;
  color: var(--white);
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-image {
  background-image: url("assets/office-hero.jpg");
  background-position: center 43%;
  background-size: cover;
  transform: scale(1.01);
}

.hero-shade {
  background: rgba(8, 20, 15, 0.52);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(100%, var(--max-width));
  margin: 0 auto;
  padding: 140px clamp(24px, 5vw, 72px) 118px;
}

.eyebrow,
.section-index {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow {
  margin-bottom: 24px;
  color: var(--lime);
}

.hero h1 {
  max-width: 880px;
  margin: 0;
  font-family: "Songti SC", STSong, "Noto Serif SC", serif;
  font-size: clamp(48px, 6.4vw, 94px);
  font-weight: 600;
  line-height: 1.08;
  text-wrap: balance;
}

.hero-copy {
  max-width: 620px;
  margin: 30px 0 0;
  color: rgba(255, 253, 248, 0.84);
  font-size: clamp(16px, 1.6vw, 20px);
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-top: 38px;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 24px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
}

.button svg,
.text-link svg,
.contact-mail svg {
  width: 18px;
  height: 18px;
}

.button-primary {
  background: var(--lime);
  color: var(--ink);
  transition:
    background-color 180ms ease,
    transform 180ms ease;
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #dcff86;
  transform: translateY(-2px);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid rgba(255, 253, 248, 0.5);
  font-size: 14px;
  font-weight: 600;
}

.hero-footer {
  position: absolute;
  z-index: 2;
  right: clamp(24px, 5vw, 72px);
  bottom: 34px;
  display: flex;
  gap: 28px;
  color: rgba(255, 253, 248, 0.65);
  font-size: 12px;
}

.hero-footer span {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-footer span::before {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--lime);
  content: "";
}

.section-wrap {
  width: min(100% - 48px, var(--max-width));
  margin: 0 auto;
}

.statement {
  padding: 118px 0 124px;
  background: var(--white);
}

.statement-grid {
  display: grid;
  grid-template-columns: minmax(180px, 0.55fr) 1.45fr;
  gap: 64px;
}

.statement h2,
.section-heading h2,
.approach h2,
.about h2,
.contact h2 {
  margin: 0;
  font-family: "Songti SC", STSong, "Noto Serif SC", serif;
  font-weight: 600;
  line-height: 1.2;
  text-wrap: balance;
}

.statement h2 {
  max-width: 820px;
  font-size: clamp(36px, 4.6vw, 64px);
}

.statement p:not(.section-index) {
  max-width: 680px;
  margin: 32px 0 0;
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 1.9;
}

.services {
  padding: 112px 0 128px;
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(180px, 0.55fr) 1.45fr;
  gap: 64px;
  align-items: start;
  margin-bottom: 56px;
}

.section-heading > div {
  max-width: 820px;
}

.section-heading h2 {
  font-size: clamp(34px, 4.2vw, 58px);
}

.section-heading div > p {
  margin: 22px 0 0;
  color: var(--ink-soft);
  font-size: 17px;
}

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

.service-card {
  display: flex;
  min-height: 430px;
  flex-direction: column;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.76);
  transition:
    background-color 220ms ease,
    transform 220ms ease;
}

.service-card:hover {
  background: var(--white);
  transform: translateY(-6px);
}

.service-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--ink-soft);
  font-size: 12px;
}

.service-top svg {
  width: 26px;
  height: 26px;
  color: var(--coral);
}

.service-card h3 {
  margin: auto 0 18px;
  font-family: "Songti SC", STSong, "Noto Serif SC", serif;
  font-size: 30px;
  font-weight: 600;
}

.service-card > p {
  margin: 0;
  color: var(--ink-soft);
}

.service-card ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.service-card li {
  padding: 6px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
}

.approach {
  padding: 120px 0;
  background: var(--green);
  color: var(--white);
}

.approach-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(360px, 1.05fr);
  gap: clamp(56px, 8vw, 112px);
  align-items: center;
}

.approach-visual {
  position: relative;
  align-self: stretch;
  min-height: 610px;
  overflow: hidden;
  border-radius: 8px;
}

.approach-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}

.visual-note {
  position: absolute;
  right: 20px;
  bottom: 20px;
  left: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  background: rgba(19, 34, 28, 0.86);
  backdrop-filter: blur(12px);
}

.visual-note span {
  color: rgba(255, 253, 248, 0.68);
  font-size: 12px;
}

.visual-note strong {
  font-size: 14px;
}

.approach-content .section-index {
  color: var(--lime);
}

.approach h2 {
  max-width: 600px;
  margin-top: 24px;
  font-size: clamp(38px, 4.4vw, 62px);
}

.approach-content > p:not(.section-index) {
  max-width: 560px;
  margin: 26px 0 0;
  color: rgba(255, 253, 248, 0.68);
  font-size: 17px;
}

.process-list {
  margin: 48px 0 0;
  padding: 0;
  list-style: none;
}

.process-list li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 18px;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 253, 248, 0.18);
}

.process-list li:last-child {
  border-bottom: 1px solid rgba(255, 253, 248, 0.18);
}

.process-list li > span {
  color: var(--lime);
  font-size: 12px;
}

.process-list h3 {
  margin: 0;
  font-size: 18px;
}

.process-list p {
  margin: 4px 0 0;
  color: rgba(255, 253, 248, 0.62);
  font-size: 14px;
}

.about {
  padding: 128px 0 136px;
  background: var(--white);
}

.about-inner {
  display: grid;
  grid-template-columns: minmax(160px, 0.45fr) 1.05fr minmax(260px, 0.7fr);
  gap: 64px;
}

.about-copy h2 {
  font-size: clamp(36px, 4.4vw, 60px);
}

.about-copy p {
  max-width: 700px;
  margin: 26px 0 0;
  color: var(--ink-soft);
  font-size: 17px;
}

.values {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.values div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.values div:last-child {
  border-bottom: 1px solid var(--line);
}

.values strong {
  color: var(--coral);
  font-size: 12px;
}

.values span {
  font-size: 15px;
  font-weight: 600;
}

.contact {
  padding: 96px 0;
  background: var(--lime);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 64px;
  align-items: end;
}

.contact h2 {
  max-width: 760px;
  margin-top: 16px;
  font-size: clamp(42px, 5.6vw, 76px);
}

.contact-copy {
  padding-bottom: 8px;
}

.contact-copy p {
  margin: 0 0 24px;
  color: rgba(19, 34, 28, 0.72);
}

.contact-mail {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(22px, 2.8vw, 34px);
}

.insights {
  padding: 112px 0 124px;
  border-top: 1px solid var(--line);
  background: var(--paper-deep);
}

.insights-heading .text-link-dark {
  margin-top: 24px;
}

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

.insight-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  overflow: hidden;
  transition: transform 220ms ease;
}

.insight-card:hover {
  transform: translateY(-5px);
}

.insight-card > img,
.insight-placeholder {
  width: 100%;
  height: clamp(190px, 20vw, 250px);
  object-fit: cover;
}

.insight-card > img {
  object-position: center;
}

.insight-placeholder {
  display: grid;
  place-items: center;
  background: var(--green);
}

.insight-placeholder span {
  color: var(--lime);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 72px;
}

.insight-card > div:last-child {
  padding: 24px;
}

.insight-card time,
.article-index-copy time,
.article-detail-header time {
  color: var(--coral);
  font-size: 11px;
  font-weight: 700;
}

.insight-card h3 {
  margin: 12px 0;
  font-family: "Songti SC", STSong, "Noto Serif SC", serif;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.35;
}

.insight-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
}

.text-link-dark {
  border-color: var(--ink);
  color: var(--ink);
}

.icp-link {
  margin-left: 10px;
  border-bottom: 1px solid rgba(255, 253, 248, 0.3);
}

.article-page {
  background: var(--paper);
}

.article-nav {
  display: flex;
  width: min(100% - 48px, var(--max-width));
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 0 auto;
  padding: 26px 0;
  color: var(--ink);
}

.article-nav .brand {
  color: var(--ink);
}

.article-index {
  min-height: 70vh;
  padding: 70px 0 120px;
  border-top: 1px solid var(--line);
}

.article-index h1 {
  max-width: 900px;
  margin: 18px 0 16px;
  font-family: "Songti SC", STSong, "Noto Serif SC", serif;
  font-size: clamp(48px, 7vw, 88px);
  font-weight: 600;
  line-height: 1.1;
}

.article-index-intro {
  max-width: 580px;
  margin: 0 0 60px;
  color: var(--ink-soft);
  font-size: 17px;
}

.article-index-grid {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.article-index-card {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px);
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

.article-index-card > img,
.article-index-placeholder {
  width: 100%;
  height: 180px;
  border-radius: 6px;
  object-fit: cover;
}

.article-index-card > img {
  object-position: center;
}

.article-index-placeholder {
  display: grid;
  place-items: center;
  background: var(--green);
  color: var(--lime);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 64px;
}

.article-index-copy {
  align-self: center;
}

.article-index-copy h2 {
  margin: 10px 0 12px;
  font-family: "Songti SC", STSong, "Noto Serif SC", serif;
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 600;
  line-height: 1.3;
}

.article-index-copy p {
  max-width: 680px;
  margin: 0;
  color: var(--ink-soft);
}

.article-index-copy > span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  font-size: 13px;
  font-weight: 700;
}

.article-index-copy svg,
.article-back svg {
  width: 17px;
  height: 17px;
}

.article-empty {
  padding: 70px 0;
  color: var(--ink-soft);
}

.article-empty h1 {
  color: var(--ink);
}

.article-detail {
  padding: 50px 0 120px;
  border-top: 1px solid var(--line);
}

.article-detail-inner {
  max-width: 920px;
}

.article-detail-header {
  max-width: 780px;
}

.article-detail-header h1 {
  margin: 16px 0 22px;
  font-family: "Songti SC", STSong, "Noto Serif SC", serif;
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 600;
  line-height: 1.18;
  text-wrap: balance;
}

.article-detail-header p {
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 1.8;
}

.article-detail-cover {
  width: 100%;
  max-height: 520px;
  margin: 34px 0 48px;
  border-radius: 8px;
  object-fit: cover;
}

.article-body {
  max-width: 760px;
  margin: 44px auto 0;
  color: #26352f;
  font-size: 17px;
  line-height: 1.95;
}

.article-body h2,
.article-body h3,
.article-body h4 {
  margin: 2em 0 0.6em;
  color: var(--ink);
  font-family: "Songti SC", STSong, "Noto Serif SC", serif;
  line-height: 1.35;
}

.article-body h2 {
  font-size: 32px;
}

.article-body h3 {
  font-size: 25px;
}

.article-body p {
  margin: 0 0 1.3em;
}

.article-body a {
  border-bottom: 1px solid currentColor;
}

.article-body blockquote {
  margin: 2em 0;
  padding: 18px 24px;
  border-left: 3px solid var(--coral);
  background: var(--paper-deep);
  color: var(--ink-soft);
}

.article-body ul,
.article-body ol {
  padding-left: 1.3em;
}

.article-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 56px;
  border-bottom: 1px solid var(--ink);
  font-size: 13px;
  font-weight: 700;
}

.button-dark {
  margin-top: 24px;
  background: var(--ink);
  color: var(--white);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px clamp(24px, 5vw, 72px);
  background: var(--ink);
  color: rgba(255, 253, 248, 0.72);
}

.site-footer p {
  margin: 0;
  font-size: 12px;
}

.footer-brand {
  color: var(--white);
}

.back-top {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 253, 248, 0.22);
  border-radius: 50%;
}

.back-top svg {
  width: 18px;
  height: 18px;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 700ms ease,
    transform 700ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .statement-grid,
  .section-heading,
  .about-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 320px;
  }

  .approach-grid {
    grid-template-columns: 1fr;
  }

  .approach-visual {
    min-height: 480px;
  }

  .about-inner {
    grid-template-columns: 1fr;
  }

  .values {
    max-width: 520px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .insight-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .site-header {
    padding: 18px 20px;
  }

  .menu-toggle {
    display: grid;
    place-items: center;
  }

  .site-nav {
    position: fixed;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 18px;
    padding: 76px 28px 36px;
    background: var(--paper);
    color: var(--ink);
    font-family: "Songti SC", STSong, "Noto Serif SC", serif;
    font-size: 34px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition:
      opacity 220ms ease,
      transform 220ms ease;
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav a {
    padding: 5px 0;
  }

  .nav-contact {
    padding: 0 !important;
    border: 0;
    border-radius: 0;
  }

  .hero {
    min-height: 720px;
    height: auto;
  }

  .hero-image {
    background-position: 64% center;
  }

  .hero-content {
    padding: 150px 20px 112px;
  }

  .hero h1 {
    font-size: clamp(42px, 12vw, 64px);
  }

  .hero-copy {
    max-width: 95%;
    font-size: 16px;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }

  .hero-footer {
    right: 20px;
    bottom: 24px;
    left: 20px;
    justify-content: space-between;
    gap: 10px;
  }

  .hero-footer span {
    gap: 6px;
  }

  .section-wrap {
    width: min(100% - 40px, var(--max-width));
  }

  .statement,
  .services,
  .about {
    padding: 84px 0;
  }

  .approach {
    padding: 84px 0;
  }

  .service-card {
    min-height: 350px;
    padding: 24px;
  }

  .approach-visual {
    min-height: 430px;
  }

  .visual-note {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .contact {
    padding: 76px 0;
  }

  .insights {
    padding: 76px 0;
  }

  .article-nav {
    width: calc(100% - 40px);
  }

  .article-index {
    padding: 46px 0 84px;
  }

  .article-index-card {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .article-index-card > img,
  .article-index-placeholder {
    height: 210px;
  }

  .article-detail {
    padding: 34px 0 84px;
  }

  .article-detail-header h1 {
    font-size: 42px;
  }

  .article-body {
    margin-top: 30px;
    font-size: 16px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    padding: 28px 20px;
  }

  .back-top {
    position: absolute;
    right: 20px;
  }
}

@media (max-width: 430px) {
  .hero-footer {
    display: grid;
    grid-template-columns: repeat(3, auto);
    font-size: 11px;
  }

  .hero-footer span::before {
    width: 4px;
    height: 4px;
  }

  .statement h2,
  .section-heading h2,
  .approach h2,
  .about h2 {
    font-size: 36px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
