:root {
  --paper: #f3eee8;
  --paper-2: #fffaf4;
  --ink: #14110e;
  --muted: #756e67;
  --line: rgba(20, 17, 14, .16);
  --gold: #b48a58;
  --dark: #12100e;
  --white: #fffaf2;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin-top: 0; }
#profile, #data, #works, #clients, #contact { scroll-margin-top: 92px; }

.floating-nav {
  position: fixed;
  top: 18px;
  right: clamp(16px, 4vw, 56px);
  left: clamp(16px, 4vw, 56px);
  z-index: 20;
  display: flex;
  height: 54px;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(255, 255, 255, .55);
  border-radius: 999px;
  padding: 0 20px;
  background: rgba(255, 250, 242, .7);
  backdrop-filter: blur(20px);
}
.floating-nav > a { font-weight: 900; }
.floating-nav nav {
  display: flex;
  gap: 24px;
  color: rgba(20, 17, 14, .7);
  font-size: 13px;
  font-weight: 800;
}
.site-switcher {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 6px;
}
.site-switcher a {
  border-radius: 999px;
  padding: 8px 11px;
  color: rgba(20, 17, 14, .62);
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}
.site-switcher a:hover,
.site-switcher a.is-active {
  background: rgba(20, 17, 14, .07);
  color: var(--ink);
}
.site-switcher a.is-active { font-weight: 900; }

.label {
  margin-bottom: 12px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  padding: 118px clamp(20px, 6vw, 86px) 70px;
}
.hero-kicker {
  max-width: 180px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.hero h1 {
  position: relative;
  z-index: 4;
  max-width: 980px;
  margin: 36px 0 0;
  font-size: clamp(80px, 16vw, 228px);
  line-height: .78;
  letter-spacing: 0;
}
.hero-copy {
  position: absolute;
  right: clamp(20px, 8vw, 120px);
  bottom: 86px;
  z-index: 4;
  max-width: 420px;
  color: #403932;
  font-size: clamp(18px, 2vw, 25px);
  line-height: 1.45;
}
.hero-portrait,
.hero-float,
.hero-color-block {
  position: absolute;
  margin: 0;
}
.hero-portrait {
  right: 13vw;
  top: 16vh;
  z-index: 2;
  width: min(34vw, 430px);
  box-shadow: 0 24px 80px rgba(20, 17, 14, .16);
}
.hero-portrait img,
.hero-float img {
  width: 100%;
  height: 100%;
  border-radius: 8px;
  object-fit: cover;
}
.hero-portrait img { aspect-ratio: 3 / 4; }
.hero-float { z-index: 3; }
.hero-float-one {
  right: 38vw;
  bottom: 12vh;
  width: min(28vw, 330px);
}
.hero-float-two {
  top: 21vh;
  left: 7vw;
  width: min(24vw, 280px);
}
.hero-float-one img { aspect-ratio: 5 / 4; }
.hero-float-two img { aspect-ratio: 4 / 5; }
.hero-color-block {
  top: 21vh;
  left: 7vw;
  z-index: 1;
  width: min(24vw, 280px);
  aspect-ratio: 4 / 5;
  border: 1px solid rgba(20, 17, 14, .1);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(180, 138, 88, .78), rgba(232, 219, 204, .92) 58%, rgba(20, 17, 14, .12)),
    #d9c7b5;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.3);
}
.hero-index {
  position: absolute;
  right: 40px;
  top: 50%;
  color: rgba(20, 17, 14, .45);
  font-size: 13px;
  transform: rotate(90deg);
}

.section-grid {
  display: grid;
  grid-template-columns: 96px minmax(0, .72fr) minmax(380px, .8fr);
  gap: clamp(22px, 4vw, 62px);
  padding: clamp(76px, 10vw, 150px) clamp(20px, 6vw, 86px);
  border-top: 1px solid var(--line);
}
.section-number {
  color: rgba(20, 17, 14, .34);
  font-size: 40px;
  font-weight: 900;
}
.section-grid h2,
.data-head h2,
.works-head h2,
.compare-copy h2,
.life-copy h2,
.client-head h2,
.feedback-section h2,
.contact-section h2 {
  font-size: clamp(38px, 7vw, 96px);
  line-height: .95;
}
.profile h2 {
  font-size: clamp(34px, 5.6vw, 76px);
  line-height: 1.02;
}
.profile-copy {
  color: #403932;
  font-size: 19px;
  line-height: 1.75;
}
.profile-copy p { margin-bottom: 18px; }
.planner-roles {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.planner-roles li {
  position: relative;
  padding-left: 18px;
}
.planner-roles li::before {
  position: absolute;
  top: .72em;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--ink);
  content: "";
}
.planner-roles strong {
  color: var(--ink);
  font-weight: 900;
}

.tag-strip {
  display: flex;
  overflow-x: auto;
  gap: 8px;
  padding: 18px clamp(20px, 6vw, 86px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.tag-strip span {
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: 800;
}

.data-section {
  padding: clamp(76px, 10vw, 142px) clamp(20px, 6vw, 86px);
  border-top: 1px solid var(--line);
  background: var(--paper-2);
}
.data-head,
.works-head {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(280px, .5fr);
  gap: 36px;
  align-items: end;
  margin-bottom: 34px;
}
.data-head h2,
.works-head h2 { margin-bottom: 0; }
.data-head > p,
.works-head > p {
  color: var(--muted);
  font-size: 16px;
}
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 12px;
}
.stat-grid article,
.chart-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}
.stat-grid article {
  min-height: 178px;
  padding: 22px;
}
.stat-grid strong {
  display: block;
  margin-bottom: 18px;
  font-size: clamp(52px, 8vw, 98px);
  line-height: .85;
}
.stat-grid span {
  color: #4d453e;
  font-weight: 800;
  line-height: 1.35;
}
.style-board {
  margin-bottom: 12px;
}
.style-board article {
  min-height: 178px;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--ink);
  color: var(--white);
}
.style-board span {
  display: block;
  margin-bottom: 12px;
  color: rgba(255, 250, 242, .58);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.style-board h3 {
  margin-bottom: 24px;
  font-size: clamp(30px, 5vw, 62px);
  line-height: .95;
}
.style-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.style-tags b {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  border: 1px solid rgba(255, 250, 242, .22);
  border-radius: 999px;
  padding: 0 22px;
  background: rgba(255, 250, 242, .06);
  color: rgba(255, 250, 242, .9);
  font-size: clamp(16px, 2vw, 22px);
  font-weight: 900;
}
.chart-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.chart-card {
  min-height: 360px;
  padding: 24px;
}
.chart-card h3 {
  margin-bottom: 22px;
  font-size: clamp(25px, 3vw, 38px);
  line-height: 1;
}
.bar-list { display: grid; gap: 16px; }
.bar-list div {
  display: grid;
  grid-template-columns: minmax(94px, 128px) 1fr;
  gap: 14px;
  align-items: center;
}
.bar-list span {
  color: #4d453e;
  font-size: 14px;
  font-weight: 800;
}
.bar-list b {
  position: relative;
  display: flex;
  min-height: 34px;
  align-items: center;
  justify-content: flex-end;
  overflow: hidden;
  border-radius: 999px;
  padding-right: 12px;
  background: #e4dbcf;
  color: var(--white);
  font-size: 13px;
}
.bar-list b::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--w);
  border-radius: inherit;
  background: var(--ink);
  content: "";
}
.bar-list b { isolation: isolate; }
.bar-list b::after {
  position: absolute;
  right: 12px;
  content: attr(style);
  color: transparent;
}
.donut {
  --size: min(220px, 44vw);
  display: grid;
  width: var(--size);
  height: var(--size);
  place-items: center;
  margin: 0 auto 24px;
  border-radius: 50%;
  background:
    radial-gradient(circle, var(--paper) 0 55%, transparent 56%),
    conic-gradient(var(--ink) calc(var(--p) * 1%), #d9cfc2 0);
}
.donut span {
  font-size: 40px;
  font-weight: 900;
}
.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  color: #514940;
  font-size: 14px;
  font-weight: 800;
}
.legend span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.legend i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--ink);
}
.legend span:nth-child(2) i { background: #d9cfc2; }

.works-section,
.compare-section,
.life-section {
  padding: clamp(76px, 10vw, 142px) clamp(14px, 4vw, 52px);
  border-top: 1px solid var(--line);
}
.full-gallery {
  columns: 4 220px;
  column-gap: 10px;
  width: min(1320px, 100%);
  margin: 0 auto;
}
.full-gallery img {
  width: 100%;
  margin: 0 0 10px;
  break-inside: avoid;
  border-radius: 8px;
  background: #e2d8cc;
}
.compare-section {
  display: grid;
  grid-template-columns: minmax(280px, .44fr) minmax(0, 1fr);
  gap: 38px;
  background: var(--paper-2);
}
.compare-copy p:last-child,
.life-copy p:last-child,
.client-head p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}
.compare-gallery {
  columns: 3 190px;
  column-gap: 10px;
}
.compare-gallery img {
  width: 100%;
  margin: 0 0 10px;
  break-inside: avoid;
  border-radius: 8px;
}

.life-section {
  display: grid;
  grid-template-columns: minmax(280px, .42fr) minmax(0, 1fr);
  gap: 40px;
}
.life-grid,
.workshot-grid {
  columns: 3 220px;
  column-gap: 12px;
}
.workshot-grid {
  grid-column: 2;
  margin-top: 18px;
}
.life-grid img,
.workshot-grid img {
  width: 100%;
  margin: 0 0 12px;
  break-inside: avoid;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  background: #e5dbcf;
}

.clients-section {
  padding: clamp(110px, 12vw, 174px) clamp(14px, 4vw, 52px) clamp(76px, 10vw, 142px);
  background: var(--dark);
  color: var(--white);
}
.client-head {
  width: min(1120px, 100%);
  margin: 0 auto 34px;
}
.client-head h2 {
  max-width: 1100px;
  font-size: clamp(34px, 5.8vw, 72px);
  line-height: 1;
}
.client-head p { max-width: 720px; color: rgba(255, 250, 242, .64); }
.client-wall {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  width: min(1320px, 100%);
  margin: 0 auto;
}
.client-wall img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 6px;
  opacity: .92;
}

.feedback-section {
  display: grid;
  grid-template-columns: minmax(260px, .42fr) minmax(0, 1fr);
  gap: 44px;
  padding: clamp(76px, 10vw, 142px) clamp(20px, 6vw, 86px);
  border-top: 1px solid rgba(255, 250, 242, .14);
  background: #14110e;
  color: var(--white);
}
.feedback-section h2 { font-size: clamp(42px, 8vw, 104px); }
.feedback-wall {
  columns: 3 180px;
  column-gap: 10px;
}
.feedback-wall img {
  width: 100%;
  margin: 0 0 10px;
  break-inside: avoid;
  border-radius: 8px;
  background: var(--white);
}

.contact-section {
  padding: clamp(76px, 10vw, 142px) clamp(20px, 6vw, 86px);
  background: var(--paper-2);
}
.contact-section h2 {
  max-width: 980px;
  margin-bottom: 22px;
  font-size: clamp(44px, 8vw, 118px);
}
.contact-section p:not(.label) {
  color: #514940;
  font-size: 22px;
  font-weight: 800;
}
footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 24px clamp(20px, 6vw, 86px);
  background: #0d0a08;
  color: rgba(255, 250, 242, .5);
  font-size: 13px;
}

@media (max-width: 900px) {
  .floating-nav {
    position: sticky;
    top: 10px;
    margin: 10px;
    right: auto;
    left: auto;
  }
  .floating-nav nav { gap: 12px; font-size: 12px; }
  .hero { min-height: 980px; }
  .hero-portrait {
    top: 282px;
    right: 20px;
    width: 56vw;
  }
  .hero-float-one {
    right: auto;
    left: 20px;
    bottom: 280px;
    width: 44vw;
  }
  .hero-float-two {
    top: 456px;
    left: 18px;
    width: 36vw;
  }
  .hero-color-block {
    top: 456px;
    left: 18px;
    width: 36vw;
  }
  .hero-copy {
    right: 20px;
    bottom: 72px;
    left: 20px;
  }
  .section-grid,
  .data-head,
  .chart-grid,
  .works-head,
  .compare-section,
  .life-section,
  .feedback-section {
    grid-template-columns: 1fr;
  }
  .stat-grid { grid-template-columns: 1fr; }
  .works-section,
  .compare-section,
  .life-section,
  .feedback-section,
  .data-section {
    padding-right: 18px;
    padding-left: 18px;
  }
  .full-gallery,
  .compare-gallery,
  .feedback-wall {
    columns: 2 150px;
  }
  .life-grid,
  .workshot-grid {
    grid-column: auto;
    columns: 2 150px;
  }
  .life-grid img:nth-child(n),
  .workshot-grid img:nth-child(n) {
    margin-top: 0;
    height: auto;
  }
  .client-wall {
    grid-template-columns: repeat(3, 1fr);
  }
  .bar-list div {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  footer { flex-direction: column; }
}

@media (max-width: 520px) {
  .floating-nav {
    height: auto;
    min-height: 54px;
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    border-radius: 22px;
    padding: 12px 16px;
  }
  .site-switcher {
    width: 100%;
    justify-content: space-between;
  }
  .site-switcher a { padding: 8px 10px; }
  .floating-nav nav {
    width: 100%;
    justify-content: space-between;
  }
  .hero h1 { font-size: clamp(72px, 22vw, 112px); }
  .hero-portrait { width: 62vw; }
  .hero-float-one { width: 50vw; }
  .hero-color-block { width: 38vw; }
  .full-gallery,
  .compare-gallery,
  .life-grid,
  .workshot-grid,
  .feedback-wall {
    columns: 1;
  }
}
