:root {
  --paper: #f5f1e9;
  --paper-deep: #ebe5da;
  --ink: #202321;
  --muted: #666a65;
  --line: rgba(32, 35, 33, 0.14);
  --white: #fffdf9;
  --orange: #c86f3d;
  --orange-soft: #efc7ad;
  --blue: #496d8f;
  --blue-soft: #c8d7e3;
  --radius: 22px;
  --shadow: 0 22px 60px rgba(43, 39, 31, 0.09);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

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

:focus-visible {
  outline: 3px solid rgba(73, 109, 143, 0.42);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 8px 12px;
  color: var(--white);
  background: var(--ink);
  border-radius: 8px;
  transform: translateY(-150%);
}

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

.container {
  width: min(1160px, calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(245, 241, 233, 0.92);
  backdrop-filter: blur(14px);
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  max-width: min(54vw, 520px);
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand-mark {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--ink);
  border-radius: 9px;
  font-family: Georgia, serif;
  font-size: 15px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav a {
  padding: 8px 13px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--ink);
  background: var(--white);
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink);
  background: var(--white);
  font: inherit;
  font-size: 12px;
  white-space: nowrap;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--orange);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero {
  min-height: 700px;
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(420px, 0.97fr);
  align-items: center;
  gap: clamp(40px, 6vw, 88px);
  padding-block: 88px 98px;
}

.hero h1,
.page-hero h1,
.not-found h1 {
  margin: 0;
  font-family: Georgia, "Songti SC", "SimSun", serif;
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.1;
}

.hero h1 {
  max-width: 700px;
  font-size: clamp(50px, 6.4vw, 88px);
}

.hero h1 span {
  color: var(--orange);
}

.hero-lead {
  max-width: 650px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 1.65vw, 21px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 11px 22px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(32, 35, 33, 0.16);
}

.availability-note {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 13px;
}

.availability-note::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--orange);
  border-radius: 50%;
}

.hero-art {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  background: #dfe5e5;
  border-radius: 34px;
  box-shadow: var(--shadow);
}

.hero-art::before,
.hero-art::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.hero-art::before {
  width: 360px;
  height: 360px;
  right: -80px;
  top: -90px;
  background: var(--orange-soft);
}

.hero-art::after {
  width: 270px;
  height: 270px;
  left: -80px;
  bottom: -80px;
  border: 48px solid var(--blue);
}

.hero-art img {
  position: absolute;
  z-index: 2;
  width: 76%;
  left: 12%;
  bottom: -4%;
  filter: drop-shadow(0 32px 25px rgba(32, 35, 33, 0.18));
}

.art-note {
  position: absolute;
  z-index: 3;
  top: 24px;
  left: 24px;
  max-width: 180px;
  padding: 12px 15px;
  color: var(--white);
  background: var(--ink);
  border-radius: 12px;
  font-size: 12px;
  line-height: 1.5;
}

.section {
  padding-block: 100px;
}

.section--line {
  border-top: 1px solid var(--line);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(300px, 0.45fr);
  justify-content: space-between;
  gap: 48px;
  align-items: end;
  margin-bottom: 42px;
}

.section-heading h2 {
  margin: 0;
  font-family: Georgia, "Songti SC", "SimSun", serif;
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.section-heading p,
.section-intro {
  margin: 0;
  color: var(--muted);
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 22px;
}

.work-card {
  grid-column: span 4;
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(32, 35, 33, 0.09);
  border-radius: var(--radius);
  box-shadow: 0 8px 26px rgba(43, 39, 31, 0.045);
}

.work-visual {
  position: relative;
  min-height: 390px;
  overflow: hidden;
  display: grid;
  place-items: center;
  isolation: isolate;
}

.work-visual img {
  position: relative;
  z-index: 2;
  width: 82%;
  aspect-ratio: 1;
  object-fit: contain;
  transition: transform 350ms ease;
}

.work-card:hover .work-visual img {
  transform: scale(1.025);
}

.visual-blue { background: #cad8e3; }
.visual-orange { background: #edc2a5; }
.visual-sand { background: #e6dcc8; }
.visual-ink { background: #303638; }
.visual-sage { background: #cfd9ce; }
.visual-lilac { background: #d8d3df; }

.visual-blue::before,
.visual-orange::before,
.visual-sand::before,
.visual-ink::before,
.visual-sage::before,
.visual-lilac::before {
  content: "";
  position: absolute;
  width: 72%;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
}

.work-label {
  position: absolute;
  z-index: 4;
  top: 16px;
  left: 16px;
  padding: 7px 10px;
  color: var(--ink);
  background: rgba(255, 253, 249, 0.9);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
}

.work-index {
  position: absolute;
  z-index: 3;
  right: 18px;
  bottom: 13px;
  color: rgba(255, 255, 255, 0.82);
  font-family: Georgia, serif;
  font-size: 54px;
  line-height: 1;
}

.work-copy {
  padding: 24px 24px 26px;
}

.work-copy h3 {
  margin: 0 0 8px;
  font-size: 20px;
  line-height: 1.35;
}

.work-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.work-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.work-meta li {
  padding: 5px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 11px;
}

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

.scope-card {
  padding: 30px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.scope-card span {
  display: block;
  margin-bottom: 28px;
  color: var(--orange);
  font-family: Georgia, serif;
  font-size: 34px;
}

.scope-card h3 {
  margin: 0 0 10px;
  font-size: 19px;
}

.scope-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.statement {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: clamp(40px, 8vw, 120px);
  padding: clamp(40px, 6vw, 76px);
  color: var(--white);
  background: var(--ink);
  border-radius: 30px;
}

.statement h2 {
  margin: 0;
  font-family: Georgia, "Songti SC", serif;
  font-size: clamp(32px, 4vw, 50px);
  font-weight: 500;
  line-height: 1.2;
}

.statement p {
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 17px;
}

.page-hero {
  padding-block: 110px 76px;
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  max-width: 860px;
  font-size: clamp(48px, 7vw, 82px);
}

.page-hero p:not(.eyebrow) {
  max-width: 700px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.works-page .work-card:nth-child(1),
.works-page .work-card:nth-child(4) {
  grid-column: span 7;
}

.works-page .work-card:nth-child(2),
.works-page .work-card:nth-child(3) {
  grid-column: span 5;
}

.works-page .work-card:nth-child(5),
.works-page .work-card:nth-child(6) {
  grid-column: span 6;
}

.works-page .work-visual {
  min-height: 480px;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(240px, 0.65fr) minmax(0, 1.35fr);
  gap: clamp(48px, 9vw, 130px);
  align-items: start;
}

.about-aside {
  position: sticky;
  top: 110px;
  padding: 30px;
  background: var(--blue);
  color: var(--white);
  border-radius: var(--radius);
}

.about-aside strong {
  display: block;
  margin-bottom: 30px;
  font-family: Georgia, serif;
  font-size: 56px;
  line-height: 1;
}

.about-aside p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

.prose-section + .prose-section {
  margin-top: 58px;
  padding-top: 58px;
  border-top: 1px solid var(--line);
}

.prose-section h2,
.privacy-block h2 {
  margin: 0 0 18px;
  font-family: Georgia, "Songti SC", serif;
  font-size: 30px;
  font-weight: 500;
}

.prose-section p,
.privacy-block p,
.privacy-block li {
  color: var(--muted);
}

.privacy-layout {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.privacy-block {
  padding: 34px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.privacy-block p:last-child,
.privacy-block ul:last-child {
  margin-bottom: 0;
}

.privacy-block ul {
  padding-left: 1.25em;
}

.not-found {
  min-height: 64vh;
  display: grid;
  place-items: center;
  padding-block: 90px;
  text-align: center;
}

.not-found h1 {
  color: var(--orange);
  font-size: clamp(88px, 15vw, 170px);
}

.not-found h2 {
  margin: -8px 0 12px;
  font-size: 28px;
}

.not-found p {
  margin: 0 0 28px;
  color: var(--muted);
}

.site-footer {
  padding-block: 48px;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
}

.footer-title {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 800;
}

.footer-note {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.record-list {
  margin: 0;
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 7px 16px;
  font-size: 13px;
}

.record-list dt {
  color: var(--muted);
}

.record-list dd {
  margin: 0;
  overflow-wrap: anywhere;
}

.record-list a:hover {
  color: var(--orange);
}

.footer-bottom {
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

@media (max-width: 900px) {
  .hero {
    min-height: 0;
    grid-template-columns: 1fr;
    padding-block: 70px;
  }

  .hero-art {
    min-height: 500px;
  }

  .work-card,
  .works-page .work-card:nth-child(n) {
    grid-column: span 6;
  }

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

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

  .about-aside {
    position: static;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(100% - 30px, 1160px);
  }

  .header-inner {
    min-height: 68px;
  }

  .brand {
    max-width: calc(100vw - 92px);
  }

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

  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    display: none;
    padding: 12px 15px 18px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
  }

  .site-nav.is-open {
    display: grid;
  }

  .site-nav a {
    padding: 11px 13px;
  }

  .hero {
    gap: 44px;
    padding-block: 56px 66px;
  }

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

  .hero-art {
    min-height: 390px;
    border-radius: 24px;
  }

  .hero-art::before {
    width: 270px;
    height: 270px;
  }

  .hero-art::after {
    width: 210px;
    height: 210px;
    border-width: 36px;
  }

  .section {
    padding-block: 72px;
  }

  .section-heading,
  .footer-grid,
  .privacy-layout {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .work-card,
  .works-page .work-card:nth-child(n) {
    grid-column: 1 / -1;
  }

  .work-visual,
  .works-page .work-visual {
    min-height: 390px;
  }

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

  .statement {
    padding: 34px 26px;
    border-radius: 24px;
  }

  .page-hero {
    padding-block: 72px 54px;
  }

  .page-hero h1 {
    font-size: clamp(44px, 14vw, 64px);
  }

  .privacy-block {
    padding: 26px;
  }

  .record-list {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .record-list dd + dt {
    margin-top: 8px;
  }
}

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