:root {
  --ink: #12100e;
  --ink-soft: #2a2622;
  --ivory: #f3eee6;
  --stone: #ebe6de;
  --bronze: #8f7858;
  --bronze-soft: #c4b194;
  --muted: #6b6358;
  --line: rgba(243, 238, 230, 0.22);
  --max: 1180px;
  --header-h: 5.25rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background: var(--ink);
  color: var(--ink);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

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

h1,
h2,
h3,
.brand-wordmark {
  font-family: "Marcellus", "Songti SC", "Noto Serif SC", serif;
  font-weight: 400;
}

.container {
  width: min(var(--max), calc(100% - 2.5rem));
  margin-inline: auto;
}

/* —— Header (floating over hero) —— */
.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 40;
  color: var(--ivory);
  transition: background 0.35s var(--ease), backdrop-filter 0.35s var(--ease);
}

.site-header.is-solid {
  position: fixed;
  background: rgba(18, 16, 14, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(243, 238, 230, 0.08);
}

.page-header {
  position: sticky;
  top: 0;
  background: rgba(18, 16, 14, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(243, 238, 230, 0.08);
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  min-height: var(--header-h);
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  z-index: 2;
}

.brand img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.brand-wordmark {
  font-size: 0.95rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ivory);
}

.nav-toggle {
  display: none;
  justify-self: end;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--line);
  background: transparent;
  padding: 0;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 1.1rem;
  height: 1px;
  background: var(--ivory);
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.site-nav {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: clamp(1.25rem, 3vw, 2.75rem);
}

.site-nav a {
  position: relative;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(243, 238, 230, 0.78);
  padding: 0.4rem 0;
  transition: color 0.25s var(--ease);
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--bronze-soft);
  transform: scaleX(0);
  transition: transform 0.3s var(--ease);
}

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

.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

/* —— Home hero —— */
.hero-home {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--ivory);
}

.hero-home__media {
  position: absolute;
  inset: 0;
}

.hero-home__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  animation: hero-zoom 18s var(--ease) both;
}

.hero-home__veil {
  position: absolute;
  inset: 0;
  /* background: */
    linear-gradient(180deg, rgba(18, 16, 14, 0.55) 0%, rgba(18, 16, 14, 0.35) 40%, rgba(18, 16, 14, 0.62) 100%);
}

.hero-home__content {
  position: relative;
  z-index: 1;
  width: min(42rem, calc(100% - 2.5rem));
  text-align: center;
  padding: calc(var(--header-h) + 1.5rem) 1.25rem 3rem;
  animation: rise 1.1s var(--ease) both;
}

.hero-home__content::before {
  content: "";
  position: absolute;
  inset: 8% -4% 4%;
  z-index: -1;
  background: radial-gradient(
    ellipse at center,
    rgba(18, 16, 14, 0.62) 0%,
    rgba(18, 16, 14, 0.28) 55%,
    transparent 75%
  );
  pointer-events: none;
}

.hero-home__eyebrow {
  margin: 0 0 1rem;
  font-size: 0.72rem;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--bronze-soft);
}

.hero-home__title {
  margin: 0;
  font-size: clamp(2.1rem, 5.5vw, 3.6rem);
  line-height: 1.15;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-home__lead,
.hero-home__body {
  margin: 1.15rem auto 0;
  max-width: 36rem;
  font-size: clamp(0.95rem, 1.6vw, 1.05rem);
  color: rgba(243, 238, 230, 0.9);
  font-weight: 300;
}

.hero-home__tag {
  margin: 1.6rem 0 0;
  font-family: "Marcellus", serif;
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  font-style: italic;
  color: var(--bronze-soft);
}

/* —— Homepage editorial —— */
.editorial-intro {
  background: #faf8f4;
  padding: clamp(5.5rem, 14vw, 9.5rem) 0;
}

.editorial-intro__inner {
  max-width: 32rem;
  text-align: center;
}

.editorial-intro__line {
  margin: 0;
  font-family: "Marcellus", serif;
  font-size: clamp(1.45rem, 3.2vw, 2.15rem);
  line-height: 1.45;
  letter-spacing: 0.04em;
  color: var(--ink);
}

.editorial-intro__sub {
  margin: 1.75rem 0 0;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 300;
}

.fabric-duo {
  background: #faf8f4;
  padding: 0 0 clamp(5rem, 12vw, 8.5rem);
}

.fabric-duo__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}

.fabric-card {
  margin: 0;
}

.fabric-card--offset {
  margin-top: clamp(3rem, 8vw, 7rem);
}

.fabric-card__media {
  overflow: hidden;
  background: var(--ink);
}

.fabric-card__media img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}

.fabric-card:hover .fabric-card__media img {
  transform: scale(1.03);
}

.fabric-card figcaption {
  padding: 1.75rem 0.15rem 0;
  max-width: 22rem;
}

.fabric-card__index {
  display: block;
  margin-bottom: 0.85rem;
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  color: var(--bronze);
}

.fabric-card h2 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  letter-spacing: 0.06em;
}

.fabric-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.75;
}

.story-bleed {
  position: relative;
  min-height: min(92vh, 860px);
  display: grid;
  align-items: end;
  color: var(--ivory);
  overflow: hidden;
}

.story-bleed__media {
  position: absolute;
  inset: 0;
}

.story-bleed__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.story-bleed__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(18, 16, 14, 0.72) 0%,
      rgba(18, 16, 14, 0.28) 42%,
      rgba(18, 16, 14, 0.12) 100%
    ),
    linear-gradient(0deg, rgba(18, 16, 14, 0.55) 0%, transparent 45%);
}

.story-bleed__copy {
  position: relative;
  z-index: 1;
  width: min(var(--max), calc(100% - 2.5rem));
  margin: 0 auto;
  padding: clamp(4rem, 10vw, 7rem) 0;
  max-width: 27rem;
  justify-self: start;
  margin-left: max(calc((100% - var(--max)) / 2), 1.25rem);
}

.story-bleed__kicker {
  margin: 0 0 1rem;
  font-size: 0.68rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--bronze-soft);
}

.story-bleed__copy h2 {
  margin: 0 0 1.1rem;
  font-size: clamp(2rem, 4.5vw, 3.1rem);
  line-height: 1.2;
  letter-spacing: 0.06em;
}

.story-bleed__copy p {
  margin: 0;
  color: rgba(243, 238, 230, 0.82);
  font-size: 1.02rem;
  font-weight: 300;
  max-width: 18rem;
}

.editorial-split {
  background: #faf8f4;
  padding: clamp(5.5rem, 12vw, 9rem) 0;
}

.editorial-split__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2.5rem, 7vw, 6.5rem);
  align-items: center;
}

.editorial-split__copy {
  max-width: 26rem;
  padding-block: 1rem;
}

.editorial-split__copy .section-title {
  margin-bottom: 1.5rem;
}

.editorial-split__copy p {
  margin: 0 0 2.25rem;
  color: var(--muted);
  font-size: 1.02rem;
  font-weight: 300;
  line-height: 1.85;
}

.editorial-split__media {
  overflow: hidden;
}

.editorial-split__media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 20%;
}

/* —— Page sections —— */
.page-hero {
  position: relative;
  min-height: 48vh;
  display: grid;
  place-items: center;
  color: var(--ivory);
  overflow: hidden;
}

.page-hero__media {
  position: absolute;
  inset: 0;
}

.page-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero__veil {
  position: absolute;
  inset: 0;
  background: rgba(18, 16, 14, 0.45);
}

.page-hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 5rem 1.25rem 3.5rem;
}

.page-hero__content h1 {
  margin: 0.4rem 0 0;
  font-size: clamp(2rem, 5vw, 3.4rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.kicker {
  margin: 0;
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--bronze);
}

.section {
  padding: clamp(3.5rem, 8vw, 6rem) 0;
  background: var(--stone);
}

.section--ink {
  background: var(--ink);
  color: var(--ivory);
}

.section--ivory {
  background: var(--ivory);
}

.section-title {
  margin: 0.6rem 0 1.25rem;
  font-size: clamp(1.7rem, 3.5vw, 2.6rem);
  line-height: 1.25;
  letter-spacing: 0.03em;
}

.section p {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 1.02rem;
}

.section--ink p {
  color: rgba(243, 238, 230, 0.78);
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
}

.split--reverse > :first-child {
  order: 2;
}

.split img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.prose-block {
  max-width: 34rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  margin-top: 1.75rem;
  align-items: baseline;
}

.cta-link {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border-bottom: 1px solid currentColor;
  padding-bottom: 0.2rem;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.cta-link:hover {
  color: var(--bronze);
  border-color: var(--bronze);
}

.section--ink .cta-link:hover {
  color: var(--bronze-soft);
  border-color: var(--bronze-soft);
}

/* —— Contact —— */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}

.contact-details {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
}

.contact-details li {
  margin: 0 0 1.1rem;
  color: var(--muted);
}

.contact-details strong {
  display: block;
  margin-bottom: 0.2rem;
  font-family: "Manrope", sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
}

.contact-details a {
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.contact-details a:hover {
  color: var(--bronze);
  border-bottom-color: var(--bronze);
}

.qr-block {
  text-align: center;
  padding: 1.5rem;
  background: #fff;
  border: 1px solid rgba(18, 16, 14, 0.08);
}

.qr-block img {
  width: min(240px, 70%);
  margin: 1rem auto;
}

.qr-block p {
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* —— Footer —— */
.site-footer {
  background: var(--ink);
  color: var(--ivory);
  padding: 2.75rem 0 3rem;
  border-top: 1px solid rgba(243, 238, 230, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1.35fr auto;
  gap: 2rem;
  align-items: start;
}

.footer-qr {
  text-align: center;
}

.footer-qr img {
  width: 112px;
  height: 112px;
  margin: 0.35rem auto 0.65rem;
  background: #fff;
  padding: 0.35rem;
}

.footer-qr__caption {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(243, 238, 230, 0.55);
}

.footer-label {
  margin: 0 0 0.75rem;
  font-size: 0.68rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--bronze-soft);
}

.footer-grid h2 {
  margin: 0;
  font-size: 1.35rem;
  letter-spacing: 0.04em;
}

.footer-grid p,
.footer-grid a {
  margin: 0.35rem 0;
  color: rgba(243, 238, 230, 0.72);
  font-size: 0.95rem;
}

.footer-grid a:hover {
  color: var(--ivory);
}

.footer_icp-list {
  list-style: none;
  margin: 1.75rem auto 0;
  padding: 1.25rem 0 0;
  width: min(var(--max), calc(100% - 2.5rem));
  border-top: 1px solid rgba(243, 238, 230, 0.08);
  text-align: center;
}

.footer_icp {
  margin: 0;
}

.footer_icp-link {
  color: rgba(243, 238, 230, 0.45);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  transition: color 0.2s var(--ease);
}

.footer_icp-link:hover {
  color: rgba(243, 238, 230, 0.85);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(1.25rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-zoom {
  from {
    transform: scale(1.06);
  }
  to {
    transform: scale(1);
  }
}

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

  .hero-home__media img,
  .hero-home__content {
    animation: none;
  }

  .fabric-card:hover .fabric-card__media img {
    transform: none;
  }
}

@media (max-width: 900px) {
  .split,
  .split--reverse,
  .contact-grid,
  .footer-grid,
  .fabric-duo__grid,
  .editorial-split__grid {
    grid-template-columns: 1fr;
  }

  .footer-qr {
    justify-self: start;
    text-align: left;
  }

  .footer-qr img {
    margin-left: 0;
  }

  .split--reverse > :first-child {
    order: 0;
  }

  .split img {
    aspect-ratio: 3 / 4;
    max-height: 520px;
  }

  .fabric-card--offset {
    margin-top: 0;
  }

  .fabric-card figcaption {
    max-width: none;
    padding-top: 1.35rem;
  }

  .story-bleed {
    min-height: 72vh;
  }

  .story-bleed__copy {
    margin-left: 1.25rem;
    margin-right: 1.25rem;
    width: calc(100% - 2.5rem);
  }

  .editorial-split__media img {
    aspect-ratio: 3 / 4;
    max-height: 560px;
  }
}

@media (max-width: 760px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem 1.25rem 1.25rem;
    background: rgba(18, 16, 14, 0.96);
    border-bottom: 1px solid rgba(243, 238, 230, 0.08);
  }

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

  .site-nav a {
    padding: 0.9rem 0;
    border-bottom: 1px solid rgba(243, 238, 230, 0.08);
  }

  .site-nav a::after {
    display: none;
  }

  .hero-home__content {
    padding: calc(var(--header-h) + 0.35rem) 0.75rem 2rem;
  }

  .hero-home__content::before {
    inset: 4% -2% 0;
    background: radial-gradient(
      ellipse at center,
      rgba(18, 16, 14, 0.72) 0%,
      rgba(18, 16, 14, 0.4) 58%,
      transparent 78%
    );
  }

  .hero-home__lead,
  .hero-home__body {
    font-size: 0.9rem;
  }

  .hero-home__title {
    font-size: clamp(1.55rem, 7.2vw, 2.1rem);
  }

  .brand-wordmark {
    font-size: 0.82rem;
  }
}
