:root {
  color-scheme: light;
  --ink: #15130f;
  --muted: #746f65;
  --paper: #fbfaf6;
  --warm: #f2ecdf;
  --line: #e7dfd1;
  --deep: #15100e;
  --gold: #b88a3c;
  --cyan: #8ed6c8;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--paper);
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
button { font: inherit; }

.site-header {
  position: fixed;
  z-index: 10;
  inset: 0 0 auto;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(18px, 4vw, 54px);
  background: rgba(251, 250, 246, 0.78);
  border-bottom: 1px solid rgba(231, 223, 209, 0.78);
  backdrop-filter: blur(18px);
}
.brand-link img { display: block; width: 42px; height: auto; }
.nav {
  display: flex;
  gap: clamp(16px, 3vw, 32px);
  color: rgba(21, 19, 15, 0.66);
  font-size: 14px;
}
.nav a:hover { color: var(--ink); }

.hero {
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(320px, 0.72fr) minmax(0, 1.28fr);
  align-items: center;
  gap: clamp(32px, 6vw, 86px);
  width: min(1260px, calc(100% - 40px));
  margin: 0 auto;
  padding: 108px 0 68px;
  position: relative;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 72px -3vw 48px;
  z-index: -1;
  background:
    linear-gradient(rgba(21, 19, 15, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(21, 19, 15, 0.035) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at 72% 44%, #000 0, transparent 56%);
}
.eyebrow {
  margin: 0;
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
}
h1, h2, p { margin-top: 0; }
.hero h1 {
  margin: 14px 0 22px;
  font-size: clamp(58px, 8vw, 110px);
  line-height: 0.96;
  letter-spacing: 0;
}
.hero-copy > p:last-of-type {
  max-width: 500px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.76;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}
.hero-actions a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0 16px;
  border: 1px solid rgba(21, 19, 15, 0.16);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.52);
  font-size: 14px;
  font-weight: 600;
}
.hero-actions a:first-child {
  color: #fff;
  background: var(--deep);
  border-color: var(--deep);
}
.hero-visual {
  margin: 0;
  min-height: 650px;
  position: relative;
  overflow: hidden;
  background: var(--deep);
}
.hero-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-visual figcaption {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 15px;
  color: #fff;
  background: rgba(12, 8, 7, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(16px);
}
.hero-visual figcaption span {
  color: var(--cyan);
  font-size: 12px;
  font-weight: 700;
}
.hero-visual figcaption strong { font-size: 14px; }

.meaning,
.ai-section,
.gallery-section,
.contact-section {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(82px, 12vw, 150px) 0;
  border-top: 1px solid var(--line);
}
.meaning {
  display: grid;
  grid-template-columns: 0.35fr 0.9fr 1fr;
  gap: clamp(24px, 5vw, 70px);
  align-items: start;
}
.meaning h2,
.ai-copy h2,
.gallery-heading h2,
.contact-section h2 {
  margin: 14px 0 0;
  font-size: clamp(36px, 6vw, 76px);
  line-height: 1.08;
  letter-spacing: 0;
}
.meaning > p,
.ai-copy p,
.gallery-heading p,
.contact-section p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 23px);
  line-height: 1.82;
}

.ai-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.66fr);
  gap: clamp(32px, 7vw, 90px);
  align-items: center;
}
.ai-copy p { max-width: 640px; margin-top: 24px; }
.profile-card {
  padding: 28px;
  color: #eaf7f3;
  background:
    linear-gradient(rgba(142, 214, 200, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(142, 214, 200, 0.08) 1px, transparent 1px),
    linear-gradient(150deg, #14100e, #223326 58%, #15130f);
  background-size: 22px 22px, 22px 22px, auto;
  border: 1px solid rgba(142, 214, 200, 0.22);
  box-shadow: 0 28px 80px rgba(23, 16, 14, 0.18);
}
.profile-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
.profile-head span,
.profile-head b { font-size: 12px; font-weight: 700; }
.profile-head span { color: var(--cyan); }
.profile-card dl { margin: 26px 0 0; display: grid; gap: 20px; }
.profile-card dl div {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 44px;
  align-items: center;
  gap: 12px;
}
.profile-card dt,
.profile-card em {
  font-size: 13px;
  font-style: normal;
  color: rgba(234, 247, 243, 0.72);
}
.profile-card dd {
  margin: 0;
  height: 6px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}
.profile-card dd span {
  display: block;
  width: var(--v);
  height: 100%;
  background: linear-gradient(90deg, var(--cyan), var(--gold));
}

.gallery-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 70px);
  margin-bottom: clamp(32px, 6vw, 64px);
}
.gallery-heading p:last-child { margin-top: 22px; }
.gallery-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 16px;
  align-items: start;
}
.gallery-feature,
.gallery-thumbs button {
  appearance: none;
  padding: 0;
  border: 1px solid var(--line);
  background: #fff;
  cursor: zoom-in;
  overflow: hidden;
}
.gallery-feature {
  display: block;
}
.gallery-feature img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.gallery-thumbs {
  display: grid;
  grid-template-rows: repeat(3, 146px) 54px;
  gap: 16px;
}
.gallery-thumbs img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
}
.view-all {
  color: #fff;
  background: var(--deep) !important;
  border-color: var(--deep) !important;
  cursor: pointer !important;
  font-size: 14px;
  font-weight: 700;
}

.contact-section {
  min-height: 420px;
  display: grid;
  place-items: center;
  text-align: center;
}
.contact-section img {
  width: 68px;
  height: auto;
  margin-bottom: 28px;
}
.contact-section h2 {
  max-width: 820px;
  margin-top: 0;
}
.contact-section p { margin-top: 22px; }

.site-footer {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 18px 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  background: #fff;
}
.site-footer a:hover { color: var(--ink); }
.police { display: inline-flex; align-items: center; gap: 6px; }
.police img { display: block; width: 18px; height: 20px; }
.divider { color: #aaa197; }

.image-dialog {
  width: min(900px, calc(100vw - 32px));
  max-height: calc(100svh - 32px);
  padding: 0;
  border: 0;
  background: transparent;
}
.image-dialog::backdrop {
  background: rgba(10, 8, 7, 0.76);
  backdrop-filter: blur(8px);
}
.dialog-bar {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.dialog-bar button,
.dialog-count {
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  background: rgba(10, 8, 7, 0.62);
}
.dialog-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
}
.image-dialog img {
  display: block;
  max-width: 100%;
  max-height: calc(100svh - 84px);
  margin: 0 auto;
  object-fit: contain;
  background: #0b0807;
}

@media (max-width: 920px) {
  .hero,
  .meaning,
  .ai-section,
  .gallery-heading,
  .gallery-layout {
    grid-template-columns: 1fr;
  }
  .hero {
    padding-top: 92px;
  }
  .hero-copy {
    text-align: center;
  }
  .hero-copy > p:last-of-type,
  .ai-copy p {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-visual {
    min-height: auto;
    aspect-ratio: 1.2 / 1;
  }
  .gallery-thumbs {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 150px 48px;
  }
  .view-all {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .site-header { height: 56px; }
  .brand-link img { width: 36px; }
  .nav { gap: 12px; font-size: 13px; }
  .hero h1 { font-size: 52px; }
  .gallery-thumbs { grid-template-rows: 112px 48px; }
  .dialog-bar { grid-template-columns: 1fr 1fr; }
  .dialog-count { order: -1; grid-column: 1 / -1; }
  .site-footer { font-size: 12px; }
}
