:root {
  --bg: #080808;
  --bg-soft: #101010;
  --bg-card: #141414;
  --cream: #f0dab4;
  --cream-nd: #e4a230;
  --cream-dim: #b8b0a2;
  --gold: #c9a66b;
  --gold-bright: #e2c48a;
  --line: rgba(243, 236, 224, 0.12);
  --line-strong: rgba(243, 236, 224, 0.22);
  --danger: #c45c4a;
  --header-h: 76px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --serif: "Noto Serif SC", "Cormorant Garamond", "Songti SC", serif;
  --sans: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --display: "Cormorant Garamond", "Noto Serif SC", serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  overflow-x: hidden;
}

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--cream);
  line-height: 1.7;
  font-weight: 300;
  min-height: 100vh;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font-family: inherit;
}

button {
  cursor: pointer;
  border: 0;
  background: none;
  color: inherit;
}

::selection {
  background: var(--gold);
  color: #111;
}

.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 80;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.container {
  width: min(1280px, calc(100% - 48px));
  margin-inline: auto;
}

.container-wide {
  width: min(1440px, calc(100% - 32px));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  height: var(--header-h);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 28px;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease), backdrop-filter 0.4s;
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  background: rgba(8, 8, 8, 0.86);
  backdrop-filter: blur(16px);
  border-bottom-color: var(--line);
}

.menu-btn,
.header-action {
  width: max-content;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cream);
}

.menu-btn .bars {
  width: 18px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.menu-btn .bars span {
  display: block;
  height: 1px;
  background: var(--cream);
  transition: transform 0.35s var(--ease), opacity 0.2s;
}

.menu-btn.is-open .bars span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-btn.is-open .bars span:nth-child(2) {
  opacity: 0;
}

.menu-btn.is-open .bars span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
}

.hero-logo {
  width: clamp(72px, 12vw, 120px);
  height: clamp(72px, 12vw, 120px);
  margin-bottom: 22px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
}

.logo-name {
  font-family: var(--serif);
  font-size: 15px;
  letter-spacing: 0.38em;
  font-weight: 500;
}

.header-action {
  justify-self: end;
}

.header-action:hover {
  color: var(--gold);
}

/* Drawer */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 40;
  opacity: 0;
  visibility: hidden;
  transition: 0.35s var(--ease);
}

.nav-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: min(420px, 88vw);
  background: #0c0c0c;
  z-index: 45;
  padding: 110px 48px 48px;
  transform: translateX(-100%);
  transition: transform 0.5s var(--ease);
  border-right: 1px solid var(--line);
}

.site-nav.is-open {
  transform: none;
}

.site-nav a {
  display: block;
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.35;
  color: var(--cream-dim);
  transition: color 0.25s, padding-left 0.25s;
  margin-bottom: 20px;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--cream-nd);
  padding-left: 8px;
}

.site-nav .nav-meta {
  margin-top: 48px;
  color: var(--cream-dim);
  font-size: 13px;
  letter-spacing: 0.08em;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: end start;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: -8% -2%;
  width: 108%;
  height: 108%;
  animation: kenburns 5s ease-in-out infinite alternate;
}

.hero-media img,
.statement > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blur-layer {
  inset: -56px;
  width: calc(100% + 112px);
  height: calc(100% + 112px);
  filter: blur(12px);
  transform: scale(1.01);
  pointer-events: none;
  -webkit-mask-image: linear-gradient(
    180deg,
    #000 0%,
    #000 22%,
    rgba(0, 0, 0, 0.55) 48%,
    transparent 78%
  );
  mask-image: linear-gradient(
    180deg,
    #000 0%,
    #000 22%,
    rgba(0, 0, 0, 0.55) 48%,
    transparent 78%
  );
}

.n-blur-layer {
  inset: -56px;
  width: calc(100% + 112px);
  height: calc(100% + 112px);
  filter: blur(12px);
  transform: scale(1.01);
  pointer-events: none;
  -webkit-mask-image: linear-gradient(
    -90deg,
    #000 0%,
    #000 32%,
    rgba(0, 0, 0, 0.55) 68%,
    transparent 78%
  );
  mask-image: linear-gradient(
    -90deg,
    #000 0%,
    #000 32%,
    rgba(0, 0, 0, 0.55) 68%,
    transparent 78%
  );
}

@keyframes kenburns {
  to {
    transform: scale(1.08) translate(-1.2%, -0.8%);
  }
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(8, 8, 8, 0.35) 0%, rgba(8, 8, 8, 0.15) 35%, rgba(8, 8, 8, 0.82) 100%),
    linear-gradient(90deg, rgba(8, 8, 8, 0.45) 0%, transparent 50%);
}

.hero-wireframe {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: auto;
  height: auto;
  transform: none;
  cursor: grab;
  touch-action: none;
  user-select: none;
  pointer-events: auto;
}

.hero-wireframe.is-dragging {
  cursor: grabbing;
}

.hero-wireframe canvas {
  width: 100%;
  height: 100%;
  display: block;
  background: transparent;
}

.hero-content {
  position: relative;
  z-index: 3;
  padding: 0 6vw 10vh;
  max-width: 920px;
  pointer-events: auto;
}

.eyebrow {
  font-size: 12px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}

.hero h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(40px, 7vw, 92px);
  line-height: 1.08;
  letter-spacing: 0.08em;
}

.hero-title-main {
  display: block;
  color: rgb(223, 202, 133);
  font-size: clamp(36px, 11vw, 7rem);
  line-height: 1.08;
}

.hero-title-sub {
  display: block;
  margin-top: 0.12em;
  font-size: clamp(20px, 5.2vw, 4rem);
  font-weight: 500;
  letter-spacing: 0.08em;
}

.hero p {
  margin-top: 22px;
  max-width: 520px;
  color: var(--cream-dim);
  font-size: 16px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 28px;
  border: 1px solid var(--gold);
  letter-spacing: 0.18em;
  font-size: 12px;
  text-transform: uppercase;
  transition: 0.3s var(--ease);
}

.btn-solid {
  background: var(--gold);
  color: #1a140c;
}

.btn-solid:hover {
  background: var(--gold-bright);
}

.btn-ghost:hover {
  background: var(--gold);
  color: #1a140c;
}

/* Sections */
.section {
  padding: 96px 0;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 40px;
}

.section-head h2 {
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 500;
  letter-spacing: 0.06em;
}

.section-head a {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  border-bottom: 1px solid transparent;
}

.section-head a:hover {
  border-bottom-color: var(--gold);
}

/* Product grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px 18px;
}

.card-media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--bg-card);
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.card:hover .card-media img {
  transform: scale(1.07);
}

.badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 4px 10px;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: rgba(8, 8, 8, 0.7);
  border: 1px solid var(--line-strong);
}

.card-body {
  padding: 16px 2px 8px;
}

.card-cat {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

.card-title {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 500;
  margin: 6px 0 8px;
  letter-spacing: 0.04em;
}

.card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--cream-dim);
  font-size: 13px;
}

.card-cta {
  letter-spacing: 0.14em;
  font-size: 11px;
  text-transform: uppercase;
  color: var(--cream);
  opacity: 0.7;
}

.card:hover .card-cta {
  opacity: 1;
  color: var(--gold);
}

/* Editorial statements */
.statement {
  position: relative;
  min-height: 78vh;
  display: grid;
  place-items: center;
  text-align: center;
  overflow: hidden;
}


.statement::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(8, 8, 8, 0.55);
}

.statement-copy {
  position: relative;
  z-index: 1;
  padding: 48px 24px;
}

.statement-copy h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(36px, 7vw, 88px);
  line-height: 1.12;
  letter-spacing: 0.04em;
}

.statement-copy h2 em {
  font-style: italic;
  color: var(--gold-bright);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 72vh;
}

.split-copy {
  display: grid;
  place-items: center;
  padding: 72px 48px;
  background: var(--bg);
}

.split-copy h2 {
  font-family: var(--display);
  font-size: clamp(32px, 4.4vw, 64px);
  font-weight: 400;
  line-height: 1.18;
  max-width: 520px;
}

.split-copy p {
  max-width: 520px;
  margin-top: 24px;
  color: var(--cream-dim);
}

.split-media {
  position: relative;
  min-height: 420px;
}

.split-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.split.reverse .split-copy {
  order: 2;
}

/* Types */
.types {
  background: var(--bg-soft);
}

.type-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.type-item {
  background: var(--bg);
  padding: 36px 24px;
  min-height: 160px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: background 0.3s;
}

.type-item:hover {
  background: #161616;
}

.type-item span {
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--gold);
}

.type-item h3 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  margin-top: 18px;
}

/* Newsletter */
.newsletter {
  border-block: 1px solid var(--line);
  text-align: center;
  padding: 88px 20px;
}

.newsletter h2 {
  font-family: var(--serif);
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 500;
  letter-spacing: 0.08em;
}

.newsletter p {
  color: var(--cream-dim);
  margin: 14px auto 28px;
  max-width: 460px;
}

.news-form {
  display: flex;
  gap: 0;
  max-width: 520px;
  margin: 0 auto;
  border: 1px solid var(--line-strong);
}

.news-form input {
  flex: 1;
  background: transparent;
  border: 0;
  color: var(--cream);
  padding: 14px 18px;
  outline: none;
}

.news-form button {
  padding: 0 22px;
  background: var(--gold);
  color: #1a140c;
  letter-spacing: 0.16em;
  font-size: 12px;
  text-transform: uppercase;
}

.form-note {
  margin-top: 14px;
  font-size: 13px;
  color: var(--gold);
  min-height: 1.2em;
}

/* Page hero */
.page-hero {
  padding: calc(var(--header-h) + 72px) 0 48px;
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  font-family: var(--serif);
  font-size: clamp(36px, 6vw, 72px);
  font-weight: 500;
  letter-spacing: 0.08em;
}

.page-hero p {
  margin-top: 16px;
  color: var(--cream-dim);
  max-width: 640px;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: start;
}

.about-grid p + p {
  margin-top: 18px;
  color: var(--cream-dim);
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 40px;
}

.stat {
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

.stat b {
  display: block;
  font-family: var(--display);
  font-size: 36px;
  font-weight: 500;
  color: var(--gold);
}

.stat span {
  color: var(--cream-dim);
  font-size: 13px;
}

.portrait {
  aspect-ratio: 4 / 5;
  overflow: hidden;
}

.portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.team-card h3 {
  font-family: var(--serif);
  margin-top: 14px;
  font-weight: 500;
}

.team-card p {
  color: var(--cream-dim);
  font-size: 14px;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
}

.info-block + .info-block {
  margin-top: 28px;
}

.info-block h3 {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 8px;
}

.info-block p,
.info-block a {
  color: var(--cream-dim);
}

.contact-form {
  display: grid;
  gap: 16px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cream-dim);
}

.contact-form input,
.contact-form textarea {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  color: var(--cream);
  padding: 12px 14px;
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--gold);
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

/* Footer */
.site-footer {
  background: #050505;
  border-top: 1px solid var(--line);
  padding: 72px 0 28px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}

.footer-brand {
  font-family: var(--serif);
  font-size: 28px;
  letter-spacing: 0.12em;
  line-height: 1.45;
  font-weight: 500;
}

.footer-brand small {
  display: block;
  margin-top: 10px;
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--cream-dim);
  font-weight: 300;
}

.footer-col h4 {
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.footer-col a,
.footer-col p {
  display: block;
  color: var(--cream-dim);
  font-size: 14px;
  margin-bottom: 8px;
}

.footer-col a:hover {
  color: var(--cream);
}

.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--cream-dim);
  font-size: 13px;
}

.footer-bottom strong {
  color: var(--cream);
  font-weight: 400;
  letter-spacing: 0.12em;
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  animation: rise 0.9s var(--ease) forwards;
}

.delay-1 { animation-delay: 0.12s; }
.delay-2 { animation-delay: 0.24s; }
.delay-3 { animation-delay: 0.36s; }

@keyframes rise {
  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1100px) {
  .product-grid,
  .type-grid,
  .team {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-top,
  .about-grid,
  .contact-grid,
  .split {
    grid-template-columns: 1fr;
  }

  .split.reverse .split-copy {
    order: 0;
  }
}

@media (max-width: 900px) {
  .hero-content {
    padding: 0 5vw 8vh;
    max-width: 100%;
  }

  .hero-actions .btn {
    min-height: 44px;
  }
}

@media (max-width: 720px) {
  .container {
    width: calc(100% - 28px);
  }

  .site-header {
    padding: 0 14px;
    height: 64px;
  }

  .logo-name {
    font-size: 12px;
    letter-spacing: 0.18em;
  }

  .header-action span {
    display: none;
  }

  .site-nav {
    width: min(100vw, 100%);
    padding: 88px 28px 36px;
  }

  .site-nav a {
    font-size: 26px;
  }

  .hero-content {
    z-index: 5;
    padding: 0 20px calc(28px + env(safe-area-inset-bottom, 0px));
  }

  .eyebrow {
    font-size: 11px;
    letter-spacing: 0.22em;
  }

  .hero-title-main {
    font-size: clamp(32px, 12vw, 48px);
  }

  .hero-title-sub {
    font-size: clamp(18px, 6.4vw, 26px);
  }

  .hero p {
    font-size: 14px;
    margin-top: 14px;
  }

  .hero-actions {
    margin-top: 22px;
    gap: 10px;
  }

  .hero-actions .btn {
    flex: 1 1 140px;
    padding: 0 16px;
    font-size: 11px;
  }

  .product-grid,
  .type-grid,
  .team,
  .stats {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 48px 0;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 24px;
  }

  .section-head h2 {
    font-size: 28px;
  }

  .card-title {
    font-size: 18px;
  }

  .split-copy {
    padding: 40px 24px;
  }

  .split-copy h2,
  .statement-copy h2 {
    font-size: clamp(26px, 8vw, 40px);
  }

  .type-item {
    min-height: 120px;
    padding: 24px 18px;
  }

  .page-hero {
    padding: calc(64px + 48px) 0 32px;
  }

  .page-hero h1 {
    font-size: clamp(28px, 10vw, 44px);
  }

  .footer-brand {
    font-size: 22px;
    letter-spacing: 0.08em;
  }

  .footer-top {
    gap: 28px;
    padding-bottom: 32px;
  }

  .news-form {
    flex-direction: column;
  }

  .news-form button {
    min-height: 46px;
  }

  .contact-form input,
  .contact-form textarea {
    font-size: 16px;
  }
}

@media (max-width: 720px) and (max-height: 560px) {
  .hero-wireframe {
    top: 8%;
    bottom: 50%;
    width: clamp(140px, 42vw, 200px);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
