:root {
  --ink: #15181f;
  --muted: #676f7a;
  --soft: #eef1f4;
  --line: rgba(21, 24, 31, 0.12);
  --panel: #ffffff;
  --panel-2: #f7f8fa;
  --accent: #0e7a64;
  --accent-2: #f0b44c;
  --blue: #1e5fbf;
  --shadow: 0 24px 80px rgba(15, 18, 28, 0.12);
  --font-display: "Songti SC", "Noto Serif CJK SC", "Source Han Serif SC", "STSong", serif;
  --font-body: "Avenir Next", "Helvetica Neue", "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fbfbfa;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.82;
  letter-spacing: 0.01em;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  outline: none;
}

input {
  min-height: 48px;
  padding: 0 14px;
}

textarea {
  min-height: 150px;
  padding: 13px 14px;
  resize: vertical;
}

input:focus,
textarea:focus {
  border-color: rgba(14, 122, 100, 0.55);
  box-shadow: 0 0 0 4px rgba(14, 122, 100, 0.1);
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

p,
h1,
h2,
h3 {
  margin-top: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
  background: rgba(251, 251, 250, 0.86);
  backdrop-filter: blur(18px);
}

.brand {
  display: grid;
  gap: 3px;
}

.brand span,
.eyebrow,
.case-kicker {
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.brand strong {
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 600;
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.4vw, 32px);
  color: #2f3540;
  font-size: 0.94rem;
  font-weight: 500;
}

.hero {
  min-height: calc(100vh - 72px);
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.78fr);
  align-items: end;
  gap: clamp(28px, 5vw, 72px);
  padding: clamp(28px, 5vw, 72px) clamp(18px, 4vw, 56px) clamp(36px, 5vw, 72px);
}

.hero-media {
  min-height: min(680px, 76vh);
  overflow: hidden;
  border-radius: 8px;
  background: var(--soft);
  box-shadow: var(--shadow);
}

.hero-copy {
  padding-bottom: clamp(12px, 5vh, 64px);
}

.home-hero {
  min-height: min(720px, calc(100vh - 72px));
  display: flex;
  align-items: flex-end;
  padding: clamp(86px, 14vw, 168px) clamp(18px, 5vw, 72px) clamp(58px, 8vw, 104px);
  background: #fbfbfa;
}

.home-hero-copy h1 {
  max-width: 980px;
  font-size: clamp(3.4rem, 8vw, 8.4rem);
  line-height: 0.98;
}

.home-note {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.92;
}

.eyebrow {
  margin-bottom: 12px;
}

h1 {
  max-width: 680px;
  margin-bottom: 22px;
  font-family: var(--font-display);
  font-size: 4.85rem;
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-family: var(--font-display);
  font-size: 3.72rem;
  font-weight: 500;
  line-height: 1.16;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 600;
  line-height: 1.36;
}

.lead,
.section-heading p,
.intro-band p,
.brand-section p,
.service-section p,
.case-card p,
td {
  color: var(--muted);
  line-height: 1.86;
}

.lead {
  max-width: 620px;
  margin-bottom: 28px;
  font-size: 1.22rem;
  line-height: 1.9;
}

.signature {
  margin: -10px 0 28px;
  color: #8a6d38;
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.04em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 36px;
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 8px;
  font-weight: 600;
}

.button.primary {
  color: #fff;
  background: var(--ink);
}

.button.secondary {
  border: 1px solid var(--line);
  background: #fff;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
}

.hero-stats div {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.hero-stats dt {
  margin-bottom: 4px;
  font-size: 2.2rem;
  font-family: var(--font-display);
  font-weight: 600;
}

.hero-stats dd {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.section {
  padding: clamp(54px, 8vw, 108px) clamp(18px, 4vw, 56px);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 30px;
}

.section-heading.compact {
  max-width: 900px;
}

.intro-band,
.brand-section,
.service-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
  background: var(--panel-2);
}

.intro-grid,
.service-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.intro-grid article,
.service-list article,
.case-card,
.logo-list span {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.intro-grid article,
.service-list article {
  padding: 22px;
}

.intro-grid span {
  display: inline-flex;
  margin-bottom: 22px;
  color: var(--blue);
  font-weight: 700;
}

.upcoming-section {
  background: #fff;
}

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

.upcoming-grid article {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.upcoming-grid article img {
  height: 260px;
  background: #dfe8ed;
}

.upcoming-grid article > span,
.upcoming-grid article > h3,
.upcoming-grid article > p {
  margin-left: clamp(24px, 4vw, 38px);
  margin-right: clamp(24px, 4vw, 38px);
}

.upcoming-grid span {
  display: inline-flex;
  margin-top: 26px;
  margin-bottom: 18px;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.upcoming-grid h3 {
  margin-bottom: 12px;
  font-size: 2.15rem;
}

.upcoming-grid p {
  max-width: 560px;
  margin-bottom: 30px;
  color: var(--muted);
}

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

.case-card {
  overflow: hidden;
}

.case-card img {
  height: 260px;
}

.case-card > div {
  padding: 22px;
}

.case-card.featured {
  grid-column: span 3;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.9fr);
}

.case-card.featured img {
  height: 100%;
  min-height: 420px;
}

.case-kicker {
  margin-bottom: 8px;
}

.case-card ul {
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.case-card li {
  position: relative;
  padding-left: 18px;
  color: #343b46;
  line-height: 1.72;
}

.case-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 7px;
  height: 7px;
  border-radius: 99px;
  background: var(--accent-2);
}

.home-about,
.home-work,
.home-links,
.home-contact {
  display: grid;
  grid-template-columns: minmax(220px, 0.42fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.home-about {
  background: #fff;
}

.home-about-copy p,
.home-contact p {
  max-width: 760px;
  color: var(--muted);
  line-height: 1.9;
}

.home-tags {
  display: grid;
  gap: 10px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.home-tags li {
  padding: 14px 0;
  border-top: 1px solid var(--line);
  font-size: 1.12rem;
}

.home-work {
  background: #15181f;
  color: #fff;
}

.home-work .eyebrow {
  color: #7dd5bf;
}

.home-work-card {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(280px, 0.78fr);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
}

.home-work-card > div:first-child {
  display: grid;
  align-content: end;
  min-height: 360px;
  padding: clamp(24px, 4vw, 42px);
}

.home-work-card span,
.home-link-list span {
  display: inline-flex;
  margin-bottom: 14px;
  color: #d9b367;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.home-work-card h3 {
  max-width: 620px;
  margin-bottom: 18px;
  color: #fff;
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  font-weight: 500;
  line-height: 1.08;
}

.home-work-card p {
  max-width: 520px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.7);
}

.home-work-media img {
  min-height: 360px;
}

.home-links {
  background: #f6f7f8;
}

.home-link-list {
  display: grid;
  gap: 12px;
}

.home-link-list a {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}

.home-link-list strong {
  font-weight: 500;
}

.home-contact {
  background: #fbfbfa;
}

.home-contact-actions {
  display: grid;
  justify-items: start;
  gap: 14px;
}

.home-contact-actions .button {
  width: fit-content;
}

.home-contact-actions span {
  color: var(--muted);
}

.material-section {
  background: #f6f7f8;
}

.material-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 18px;
}

.material-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.material-card.large {
  grid-row: span 2;
}

.material-card img {
  height: 260px;
  background: #11151d;
}

.material-card.large img {
  height: 520px;
}

.material-card > div {
  padding: 22px;
}

.material-card p {
  color: var(--muted);
  line-height: 1.78;
}

.exhibitions {
  background: #11151d;
  color: #fff;
}

.exhibitions .eyebrow {
  color: #7dd5bf;
}

.exhibitions .section-heading p {
  color: rgba(255, 255, 255, 0.72);
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

table {
  width: 100%;
  min-width: 920px;
  border-collapse: collapse;
}

th,
td {
  padding: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  text-align: left;
  vertical-align: top;
}

th {
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.9rem;
}

td {
  color: rgba(255, 255, 255, 0.72);
}

td:first-child {
  color: #fff;
  font-weight: 700;
}

tr:last-child td {
  border-bottom: 0;
}

.brand-section {
  background: #fff;
}

.pricing-section {
  background: #faf7f1;
}

.pricing-hero {
  display: grid;
  grid-template-columns: minmax(280px, 0.74fr) minmax(0, 1fr);
  gap: clamp(22px, 4vw, 48px);
  align-items: stretch;
  margin-bottom: 18px;
  padding: clamp(22px, 4vw, 42px);
  border: 1px solid rgba(21, 24, 31, 0.1);
  border-radius: 8px;
  background: #15181f;
  color: #fff;
}

.pricing-hero span {
  display: inline-flex;
  margin-bottom: 16px;
  color: #d9b367;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pricing-hero h3 {
  max-width: 520px;
  margin-bottom: 16px;
  font-size: 2rem;
}

.pricing-hero p {
  max-width: 540px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
}

.pricing-hero dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}

.pricing-hero dl div {
  display: grid;
  align-content: center;
  min-height: 150px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.pricing-hero dt {
  margin-bottom: 8px;
  font-family: var(--font-display);
  font-size: 1.68rem;
  font-weight: 600;
}

.pricing-hero dd {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.56;
}

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

.pricing-grid article {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.pricing-grid article > p {
  margin-bottom: 6px;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
}

.pricing-grid h3 {
  margin-bottom: 18px;
  font-size: 2.3rem;
}

.pricing-grid ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.pricing-note {
  max-width: 980px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.86;
}

.logo-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.logo-list span {
  min-height: 104px;
  display: grid;
  place-items: center;
  padding: 18px;
  font-family: var(--font-display);
  font-size: 1.26rem;
  font-weight: 600;
}

.gallery {
  background: var(--panel-2);
}

.masonry {
  columns: 3 260px;
  column-gap: 18px;
}

figure {
  break-inside: avoid;
  margin: 0 0 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

figure img {
  height: auto;
  aspect-ratio: auto;
}

figcaption {
  padding: 12px 14px;
  color: #46505e;
  font-size: 0.92rem;
  font-weight: 500;
}

.service-section {
  background: #f4efe7;
}

.service-copy {
  position: sticky;
  top: 104px;
}

.service-copy a {
  color: var(--ink);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: clamp(22px, 4vw, 36px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 60px rgba(15, 18, 28, 0.08);
}

.contact-form label {
  display: grid;
  gap: 8px;
}

.contact-form label span {
  color: #343b46;
  font-size: 0.9rem;
  font-weight: 600;
}

.contact-form .full,
.contact-form button,
.form-note {
  grid-column: 1 / -1;
}

.contact-form button {
  width: fit-content;
  min-width: 160px;
}

.form-note {
  margin: -4px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 24px clamp(18px, 4vw, 56px);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer p {
  margin: 0;
}

.footer a {
  color: var(--ink);
  font-weight: 600;
}

@media (max-width: 980px) {
  h1 {
    max-width: 620px;
    font-size: 3.55rem;
  }

  h2 {
    font-size: 2.82rem;
  }

  .hero,
  .home-about,
  .home-work,
  .home-links,
  .home-contact,
  .intro-band,
  .brand-section,
  .service-section,
  .case-card.featured {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    align-items: start;
  }

  .home-hero {
    min-height: auto;
    align-items: start;
  }

  .home-work-card {
    grid-template-columns: 1fr;
  }

  .hero-media {
    min-height: 480px;
  }

  .hero-copy {
    padding-bottom: 0;
  }

  .case-card.featured img {
    min-height: 340px;
  }

  .intro-grid,
  .service-list,
  .upcoming-grid,
  .project-index-grid,
  .pricing-grid,
  .case-grid,
  .logo-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .material-card.large {
    grid-row: auto;
  }

  .pricing-hero {
    grid-template-columns: 1fr;
  }

  .case-card.featured {
    grid-column: span 2;
  }

  .project-index-card.featured {
    grid-row: auto;
  }

  .service-copy {
    position: static;
  }
}

@media (max-width: 700px) {
  h1 {
    font-size: 2.55rem;
  }

  h2 {
    font-size: 2.15rem;
  }

  .lead {
    font-size: 1.06rem;
  }

  .hero-stats dt {
    font-size: 1.8rem;
  }

  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  .site-header nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
    white-space: nowrap;
  }

  .hero {
    padding-top: 18px;
  }

  .hero-media {
    min-height: 360px;
  }

  .hero-stats,
  .intro-grid,
  .service-list,
  .upcoming-grid,
  .project-index-grid,
  .pricing-grid,
  .case-grid,
  .logo-list,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .upcoming-grid article {
    min-height: auto;
  }

  .material-card.large img {
    height: 360px;
  }

  .pricing-hero dl {
    grid-template-columns: 1fr;
  }

  .pricing-hero dl div {
    min-height: auto;
  }

  .case-card.featured {
    grid-column: auto;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .home-contact .button {
    width: 100%;
  }

  .home-link-list a {
    display: grid;
  }

  .contact-form button {
    width: 100%;
  }

  th,
  td {
    padding: 16px;
  }

  .footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
