:root {
  color-scheme: light;
  --ink: #202326;
  --muted: #626a6f;
  --porcelain: #fbfaf5;
  --paper: #f3efe5;
  --cinnabar: #a3362d;
  --jade: #1e756c;
  --lapis: #1f5278;
  --gold: #c59a45;
  --umber: #7a4a2f;
  --night: #111818;
  --line: rgba(32, 35, 38, 0.13);
  --shadow: 0 24px 80px rgba(32, 35, 38, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Songti SC", "Noto Serif SC", "STSong", Georgia, serif;
  background:
    linear-gradient(90deg, rgba(122, 74, 47, 0.07) 1px, transparent 1px),
    linear-gradient(180deg, rgba(30, 117, 108, 0.05) 1px, transparent 1px),
    #f5efe4;
  background-size: 42px 42px;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 18px clamp(20px, 4vw, 64px);
  background: rgba(251, 250, 245, 0.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand,
.nav,
.hero-actions,
.site-footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0;
  min-width: 0;
}

.brand span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: #fff;
  background: var(--lapis);
  border-radius: 50%;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.55);
}

.nav {
  gap: clamp(14px, 3vw, 34px);
  color: var(--muted);
  font-size: 15px;
}

.nav a:hover {
  color: var(--cinnabar);
}

.header-action {
  justify-self: end;
  padding: 10px 18px;
  color: #fff;
  background: var(--ink);
  border-radius: 999px;
  font-size: 14px;
}

.hero {
  min-height: calc(100svh - 72px);
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: clamp(28px, 6vw, 86px);
  align-items: center;
  padding: clamp(40px, 6vw, 86px) clamp(20px, 6vw, 92px) 34px;
  background:
    linear-gradient(90deg, rgba(245, 239, 228, 0.94), rgba(245, 239, 228, 0.54)),
    radial-gradient(circle at 84% 28%, rgba(122, 74, 47, 0.2), transparent 42%);
}

.eyebrow,
.section-kicker {
  margin: 0 0 16px;
  color: var(--cinnabar);
  font-family: Arial, "Noto Sans SC", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 720px;
  margin-bottom: 24px;
  font-size: clamp(42px, 7.5vw, 92px);
  line-height: 1.02;
  font-weight: 800;
}

.company-name {
  display: inline-flex;
  align-items: center;
  margin-bottom: 18px;
  padding: 9px 15px;
  color: #fff;
  background: var(--umber);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  font-family: Arial, "Noto Sans SC", sans-serif;
  font-size: clamp(14px, 1.7vw, 18px);
  font-weight: 800;
  letter-spacing: 0;
}

.hero-text {
  max-width: 620px;
  color: #3e4548;
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.85;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.primary-btn,
.ghost-btn,
.reserve-form button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid var(--ink);
  font-family: Arial, "Noto Sans SC", sans-serif;
  font-weight: 700;
}

.primary-btn,
.reserve-form button {
  color: #fff;
  background: var(--cinnabar);
  border-color: var(--cinnabar);
}

.ghost-btn {
  background: rgba(255, 255, 255, 0.36);
}

.hero-visual {
  position: relative;
  min-height: min(68vw, 700px);
  display: grid;
  place-items: center;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 7% 0 4% 12%;
  background:
    radial-gradient(circle at 24% 18%, rgba(197, 154, 69, 0.24), transparent 34%),
    linear-gradient(135deg, rgba(17, 24, 24, 0.34), rgba(122, 74, 47, 0.22));
  border: 1px solid rgba(122, 74, 47, 0.22);
  border-radius: 8px;
  transform: rotate(-3deg);
}

.hero-visual img {
  position: relative;
  width: min(580px, 100%);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.seal-card {
  position: absolute;
  right: 2%;
  bottom: 8%;
  width: 138px;
  padding: 18px;
  color: #fff;
  background: rgba(32, 35, 38, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
}

.seal-card span,
.seal-card small {
  display: block;
  color: rgba(255, 255, 255, 0.72);
  font-family: Arial, "Noto Sans SC", sans-serif;
  font-size: 12px;
}

.seal-card strong {
  display: block;
  margin: 8px 0 4px;
  color: var(--gold);
  font-size: 28px;
}

.intro-band,
.craft,
.artwork,
.gallery,
.media-showcase,
.ai-studio,
.series,
.details,
.reserve {
  padding-inline: clamp(20px, 6vw, 92px);
}

.intro-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 8px;
  background: var(--line);
  border-block: 1px solid var(--line);
}

.intro-band article {
  min-height: 220px;
  padding: clamp(24px, 4vw, 44px);
  background: rgba(251, 250, 245, 0.9);
}

.intro-band span {
  color: var(--gold);
  font-family: Arial, "Noto Sans SC", sans-serif;
  font-weight: 800;
}

.intro-band h2,
.craft h2,
.artwork h2,
.gallery h2,
.media-showcase h2,
.ai-studio h2,
.series h2,
.details h2,
.reserve h2 {
  font-size: clamp(28px, 4vw, 52px);
  line-height: 1.18;
}

.intro-band p,
.section-heading p,
.artwork-copy p,
.gallery-copy p,
.media-heading p,
.ai-copy p,
.ai-card p,
.series-copy p,
.care-panel p,
.reserve p,
.product-card p,
.step p {
  color: var(--muted);
  line-height: 1.78;
}

.craft,
.artwork,
.gallery,
.media-showcase,
.ai-studio,
.series,
.details,
.reserve {
  padding-top: clamp(72px, 9vw, 126px);
  padding-bottom: clamp(72px, 9vw, 126px);
}

.artwork {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(320px, 1.18fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

.artwork-copy {
  max-width: 560px;
}

.detail-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.detail-list span {
  padding: 9px 13px;
  color: #fff;
  background: var(--umber);
  border-radius: 999px;
  font-family: Arial, "Noto Sans SC", sans-serif;
  font-size: 13px;
}

.artwork-image {
  margin: 0;
}

.artwork-image img,
.gallery img {
  width: 100%;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.artwork-image figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-family: Arial, "Noto Sans SC", sans-serif;
  font-size: 13px;
}

.gallery {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: end;
  background:
    linear-gradient(115deg, rgba(17, 24, 24, 0.94), rgba(32, 35, 38, 0.82)),
    var(--night);
  color: #fff;
}

.gallery-copy {
  padding-bottom: clamp(0px, 4vw, 54px);
}

.gallery .section-kicker,
.gallery-copy p {
  color: rgba(255, 255, 255, 0.74);
}

.media-showcase {
  background: #171311;
  color: #fff;
}

.media-heading {
  align-items: start;
}

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

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

.motion-card {
  position: relative;
  min-height: 320px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: #090b0b;
}

.motion-card img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

.motion-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 46%, rgba(0, 0, 0, 0.64));
}

.motion-meta {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 20px;
  z-index: 1;
}

.motion-meta span {
  display: block;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.68);
  font-family: Arial, "Noto Sans SC", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.motion-meta h3 {
  margin-bottom: 0;
  font-size: clamp(24px, 3vw, 38px);
}

.carousel {
  position: relative;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 48px;
  gap: 12px;
  align-items: center;
}

.carousel-viewport {
  overflow: hidden;
  border-radius: 8px;
}

.carousel-track {
  display: flex;
  transition: transform 520ms ease;
  will-change: transform;
}

.carousel-slide {
  position: relative;
  flex: 0 0 100%;
  margin: 0;
  background: #0c0f0e;
}

.carousel-slide img {
  width: 100%;
  height: clamp(360px, 58vw, 680px);
  object-fit: cover;
}

.carousel-slide figcaption {
  position: absolute;
  left: 22px;
  bottom: 20px;
  padding: 9px 13px;
  color: #fff;
  background: rgba(17, 19, 17, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  font-family: Arial, "Noto Sans SC", sans-serif;
  font-size: 14px;
}

.carousel-btn {
  width: 48px;
  height: 48px;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  cursor: pointer;
  font-size: 34px;
  line-height: 1;
}

.carousel-btn:hover {
  background: rgba(197, 154, 69, 0.28);
}

.carousel-dots {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  gap: 9px;
  margin-top: 4px;
}

.carousel-dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  background: rgba(255, 255, 255, 0.28);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}

.carousel-dots button.is-active {
  width: 28px;
  background: var(--gold);
  border-radius: 999px;
}

.ai-studio {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: clamp(28px, 5vw, 64px);
  background:
    radial-gradient(circle at 80% 18%, rgba(197, 154, 69, 0.18), transparent 32%),
    #f3eadb;
}

.ai-copy {
  align-self: start;
  position: sticky;
  top: 110px;
}

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

.ai-card {
  min-height: 240px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid rgba(32, 35, 38, 0.12);
  border-radius: 8px;
}

.ai-card span {
  display: block;
  margin-bottom: 28px;
  color: var(--gold);
  font-family: Arial, "Noto Sans SC", sans-serif;
  font-weight: 800;
}

.ai-card h3 {
  font-size: 24px;
}

.ai-tool {
  grid-column: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
  padding: clamp(20px, 3vw, 30px);
  color: #fff;
  background: linear-gradient(135deg, rgba(17, 24, 24, 0.96), rgba(122, 74, 47, 0.9));
  border-radius: 8px;
}

.ai-tool > div,
.ai-tool button,
.ai-result {
  grid-column: 1 / -1;
}

.ai-tool .section-kicker {
  color: var(--gold);
}

.ai-tool h3 {
  margin-bottom: 0;
  font-size: clamp(28px, 4vw, 44px);
}

.ai-tool label {
  display: grid;
  gap: 8px;
  color: rgba(255, 255, 255, 0.74);
  font-family: Arial, "Noto Sans SC", sans-serif;
  font-size: 13px;
}

.ai-tool select {
  width: 100%;
  min-height: 48px;
  padding: 0 12px;
  color: var(--ink);
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  font: inherit;
}

.ai-tool button {
  min-height: 50px;
  color: var(--ink);
  background: var(--gold);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-family: Arial, "Noto Sans SC", sans-serif;
  font-weight: 800;
}

.ai-result {
  min-height: 76px;
  padding: 16px 18px;
  color: rgba(255, 255, 255, 0.86);
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  line-height: 1.72;
}

.ai-assistant {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 18px;
  margin-top: 18px;
}

.ai-assistant-copy,
.ai-chat {
  padding: clamp(22px, 3vw, 34px);
  border-radius: 8px;
}

.ai-assistant-copy {
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid rgba(32, 35, 38, 0.12);
}

.ai-assistant-copy h3 {
  font-size: clamp(28px, 3.8vw, 46px);
  line-height: 1.18;
}

.ai-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 28px;
}

.ai-metrics span {
  display: grid;
  gap: 4px;
  padding: 14px;
  background: rgba(122, 74, 47, 0.1);
  border-radius: 8px;
  color: var(--muted);
  font-family: Arial, "Noto Sans SC", sans-serif;
  font-size: 12px;
}

.ai-metrics b {
  color: var(--umber);
  font-size: 22px;
}

.ai-chat {
  display: grid;
  gap: 14px;
  background: #121716;
  color: #fff;
}

.ai-chat-log {
  min-height: 230px;
  max-height: 330px;
  overflow: auto;
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
}

.chat-message {
  max-width: 86%;
  padding: 12px 14px;
  border-radius: 8px;
  line-height: 1.65;
}

.chat-message.assistant {
  justify-self: start;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(197, 154, 69, 0.15);
  border: 1px solid rgba(197, 154, 69, 0.22);
}

.chat-message.user {
  justify-self: end;
  color: var(--ink);
  background: var(--gold);
}

.quick-prompts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.quick-prompts button,
.ai-chat > button {
  cursor: pointer;
  font-family: Arial, "Noto Sans SC", sans-serif;
  font-weight: 800;
}

.quick-prompts button {
  min-height: 38px;
  padding: 0 13px;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
}

.ai-chat label {
  display: grid;
  gap: 8px;
  color: rgba(255, 255, 255, 0.7);
  font-family: Arial, "Noto Sans SC", sans-serif;
  font-size: 13px;
}

.ai-chat input {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  color: var(--ink);
  background: #fff;
  border: 0;
  border-radius: 8px;
  font: inherit;
}

.ai-chat > button {
  min-height: 48px;
  color: var(--ink);
  background: var(--gold);
  border: 0;
  border-radius: 999px;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(260px, 0.55fr);
  gap: 36px;
  align-items: end;
  margin-bottom: 42px;
}

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

.step,
.product-card,
.detail-panel,
.care-panel,
.reserve-form {
  background: rgba(255, 255, 255, 0.64);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.step {
  padding: 26px;
  border-top: 4px solid var(--jade);
}

.step:nth-child(2) {
  border-top-color: var(--gold);
}

.step:nth-child(3) {
  border-top-color: var(--cinnabar);
}

.step:nth-child(4) {
  border-top-color: var(--lapis);
}

.step b {
  font-size: 24px;
}

.series {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: clamp(28px, 5vw, 64px);
  background:
    linear-gradient(115deg, rgba(32, 35, 38, 0.94), rgba(122, 74, 47, 0.78)),
    var(--ink);
  color: #fff;
}

.series .section-kicker,
.series-copy p,
.product-card p {
  color: rgba(255, 255, 255, 0.72);
}

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

.product-card {
  min-height: 260px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
}

.swatch {
  display: block;
  width: 52px;
  height: 52px;
  margin-bottom: 28px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.42);
}

.blue {
  background: var(--lapis);
}

.red {
  background: var(--umber);
}

.green {
  background: var(--jade);
}

.details {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 18px;
}

.detail-panel,
.care-panel {
  padding: clamp(24px, 4vw, 44px);
}

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

dt {
  color: var(--muted);
  font-family: Arial, "Noto Sans SC", sans-serif;
  font-size: 13px;
}

dd {
  margin: 6px 0 0;
  font-size: 20px;
  font-weight: 700;
}

.reserve {
  display: grid;
  grid-template-columns: 0.82fr 1fr;
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
  background: #e8dccb;
}

.reserve-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: clamp(20px, 3vw, 32px);
}

.contact-block {
  display: grid;
  gap: 8px;
  margin-top: 28px;
  font-family: Arial, "Noto Sans SC", sans-serif;
}

.contact-block a {
  width: fit-content;
  color: var(--cinnabar);
  font-size: clamp(20px, 3vw, 34px);
  font-weight: 800;
}

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

.reserve-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-family: Arial, "Noto Sans SC", sans-serif;
  font-size: 13px;
}

.reserve-form input,
.reserve-form select {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
}

.reserve-form button {
  grid-column: span 2;
  width: 100%;
  cursor: pointer;
}

.site-footer {
  justify-content: space-between;
  gap: 18px;
  padding: 26px clamp(20px, 6vw, 92px);
  color: rgba(255, 255, 255, 0.76);
  background: var(--ink);
  font-size: 14px;
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav {
    display: none;
  }

  .hero,
  .section-heading,
  .artwork,
  .gallery,
  .media-heading,
  .ai-studio,
  .ai-assistant,
  .series,
  .details,
  .reserve {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 52px;
  }

  .hero-visual {
    min-height: auto;
  }

  .intro-band,
  .timeline,
  .motion-grid,
  .ai-grid,
  .series-grid {
    grid-template-columns: 1fr;
  }

  .ai-copy {
    position: static;
  }

  .ai-tool {
    grid-column: auto;
    grid-template-columns: 1fr;
  }

  .ai-metrics {
    grid-template-columns: 1fr;
  }

  .intro-band article,
  .product-card {
    min-height: auto;
  }
}

@media (max-width: 560px) {
  .site-header {
    padding: 14px 16px;
  }

  .brand span:last-child {
    display: none;
  }

  .header-action {
    padding-inline: 14px;
  }

  .hero {
    padding-inline: 16px;
  }

  .seal-card {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    margin-top: 14px;
  }

  .intro-band,
  .craft,
  .artwork,
  .gallery,
  .media-showcase,
  .ai-studio,
  .series,
  .details,
  .reserve,
  .site-footer {
    padding-inline: 16px;
  }

  dl,
  .reserve-form {
    grid-template-columns: 1fr;
  }

  .reserve-form button {
    grid-column: span 1;
  }

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

  .motion-card,
  .motion-card img {
    min-height: 240px;
  }

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

  .carousel-btn {
    position: absolute;
    z-index: 2;
    top: 42%;
  }

  .carousel-btn.prev {
    left: 10px;
  }

  .carousel-btn.next {
    right: 10px;
  }

  .carousel-slide img {
    height: 420px;
  }
}
