:root {
  color-scheme: light;
  --canvas: #f1f5f1;
  --paper: #fffefa;
  --ink: #243b31;
  --muted: #56695e;
  --line: #d9e3da;
  --moss: #4e6b55;
  --petal: #a84336;
  --complete: #45674d;
  --pending: #80531f;
  --display: "Songti SC", "STSong", "Noto Serif CJK SC", "Source Han Serif SC", serif;
  --body: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
}

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

html {
  min-width: 320px;
  background: var(--canvas);
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(ellipse at 93% 4%, rgb(218 232 220 / 46%), transparent 31rem),
    var(--canvas);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

a:focus-visible {
  outline: 3px solid var(--petal);
  outline-offset: 5px;
  border-radius: 3px;
}

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

.site-width {
  width: min(1120px, calc(100% - 64px));
  margin-inline: auto;
}

.site-header {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgb(72 100 80 / 13%);
}

.brand {
  font-size: 15px;
  font-weight: 650;
  letter-spacing: 0.035em;
}

.header-link {
  color: var(--muted);
  font-size: 14px;
  transition: color 160ms ease;
}

.header-link:hover,
.breadcrumb a:hover,
.footer-brand:hover {
  color: var(--petal);
}

.intro {
  display: flex;
  min-height: 242px;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  padding: 52px 0 40px;
}

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

.intro h1,
.detail-copy h1 {
  margin-bottom: 12px;
  font-family: var(--display);
  font-size: clamp(42px, 6vw, 68px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.16;
}

.intro-copy {
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(16px, 1.8vw, 19px);
}

.intro-note {
  max-width: 230px;
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 13px;
  text-align: right;
}

.product-list {
  display: grid;
  gap: 22px;
  padding-bottom: 72px;
}

.product-row {
  display: grid;
  min-height: 330px;
  overflow: hidden;
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
  align-items: stretch;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper);
  box-shadow: 0 14px 38px rgb(47 74 53 / 4%);
}

.product-row--courtyard {
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
}

.product-art {
  display: block;
  min-height: 330px;
  overflow: hidden;
  background: #e2ebe2;
}

.product-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms ease;
}

.product-art--bloom img {
  object-position: center 48%;
}

.product-art--courtyard img {
  object-position: center 80%;
}

.product-art:hover img {
  transform: scale(1.025);
}

.product-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(28px, 5vw, 58px);
}

.product-kind {
  margin-bottom: 12px;
  color: var(--moss);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.product-copy h2 {
  margin-bottom: 12px;
  font-family: var(--display);
  font-size: clamp(31px, 3.6vw, 43px);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.25;
}

.product-summary {
  max-width: 430px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.9;
}

.product-status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 20px 0 15px;
  color: var(--complete);
  font-size: 13px;
  font-weight: 550;
}

.product-status > span {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: currentColor;
}

.product-status--pending {
  color: var(--pending);
}

.text-link,
.back-link {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  gap: 10px;
  color: var(--petal);
  font-size: 14px;
  font-weight: 600;
}

.text-link span {
  display: inline-block;
  transition: transform 160ms ease;
}

.text-link:hover span {
  transform: translateX(4px);
}

.site-footer {
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgb(72 100 80 / 13%);
  color: var(--muted);
  font-size: 12px;
}

.footer-brand {
  color: var(--ink);
  font-weight: 650;
  transition: color 160ms ease;
}

.detail-page {
  padding-top: 26px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 13px;
}

.breadcrumb > span[aria-hidden="true"] {
  color: #9eaea1;
}

.detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.78fr);
  align-items: center;
  gap: clamp(40px, 8vw, 104px);
  padding: 42px 2px 56px;
}

.detail-copy {
  padding: 20px 0;
}

.detail-copy h1 {
  margin-bottom: 20px;
}

.detail-copy .product-kind {
  margin-bottom: 14px;
}

.detail-lead,
.detail-supporting {
  max-width: 550px;
  color: var(--muted);
  font-size: clamp(17px, 1.7vw, 20px);
  line-height: 1.9;
}

.detail-supporting {
  margin: -5px 0 0;
  font-size: 16px;
}

.detail-copy .product-status {
  margin-top: 24px;
  margin-bottom: 0;
}

.detail-art {
  width: 100%;
  aspect-ratio: 1 / 1;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgb(58 86 64 / 9%);
  border-radius: 20px;
  background: #e3ebe2;
  box-shadow: 0 20px 44px rgb(47 74 53 / 9%);
}

.detail-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-art--bloom img {
  object-position: center 46%;
}

.detail-hero--courtyard {
  grid-template-columns: minmax(0, 0.94fr) minmax(340px, 0.86fr);
}

.detail-art--courtyard {
  aspect-ratio: 0.82 / 1;
  border-radius: 180px 180px 18px 18px;
}

.detail-art--courtyard img {
  object-position: center 76%;
}

.highlights {
  margin-bottom: 36px;
  padding: 29px 0 34px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.highlights > h2 {
  margin-bottom: 25px;
  font-family: var(--display);
  font-size: clamp(23px, 3vw, 31px);
  font-weight: 500;
  letter-spacing: -0.025em;
}

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

.highlight h3 {
  margin-bottom: 7px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 650;
}

.highlight p {
  max-width: 320px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.85;
}

.back-link {
  margin: 2px 0 42px;
}

@media (max-width: 760px) {
  .site-width {
    width: min(100% - 40px, 560px);
  }

  .intro {
    min-height: unset;
    display: block;
    padding: 46px 0 30px;
  }

  .intro-note {
    max-width: unset;
    margin: 15px 0 0;
    text-align: left;
  }

  .product-list {
    gap: 18px;
    padding-bottom: 50px;
  }

  .product-row,
  .product-row--courtyard {
    grid-template-columns: minmax(0, 1fr);
  }

  .product-art {
    min-height: unset;
    aspect-ratio: 1.45 / 1;
  }

  .product-art--courtyard {
    order: -1;
    aspect-ratio: 1.45 / 1;
  }

  .product-copy {
    padding: 25px 26px 28px;
  }

  .product-copy h2 {
    margin-bottom: 8px;
  }

  .product-status {
    margin: 16px 0 9px;
  }

  .detail-page {
    padding-top: 22px;
  }

  .detail-hero,
  .detail-hero--courtyard {
    grid-template-columns: minmax(0, 1fr);
    gap: 23px;
    padding: 34px 0 36px;
  }

  .detail-copy {
    padding: 0;
  }

  .detail-copy h1 {
    margin-bottom: 14px;
  }

  .detail-art {
    width: min(100%, 430px);
    justify-self: center;
  }

  .detail-art--courtyard {
    width: min(100%, 390px);
    aspect-ratio: 0.9 / 1;
  }

  .highlight-list {
    grid-template-columns: minmax(0, 1fr);
    gap: 21px;
  }

  .highlights {
    padding: 25px 0 29px;
  }

  .highlights > h2 {
    margin-bottom: 21px;
  }
}

@media (max-width: 420px) {
  .site-width {
    width: calc(100% - 32px);
  }

  .site-header {
    min-height: 66px;
  }

  .intro h1,
  .detail-copy h1 {
    font-size: 42px;
  }

  .product-copy {
    padding-inline: 21px;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
