/* Moba's Masterpieces — site styles (static rebuild of the Airo design) */
:root {
  --bg: #1b1b1d;
  --bg-deep: #141415;
  --card: #292929;
  --fg: #f5f5f5;
  --fg-soft: #f3ece2;
  --muted: #a8987f;
  --gold: #c9a94a;
  --gold-light: #e2c66f;
  --border: #3a3631;
  --ink: #1c1c1e;
  --error: #ef5350;
  --success: #5fbf8f;
  --font-sans: "Jost", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-heading: "Cormorant Garamond", Georgia, serif;
  --header-h: 80px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.container { width: 100%; max-width: 1152px; margin: 0 auto; padding: 0 24px; }
.container--wide { max-width: 1280px; }
.container--narrow { max-width: 768px; }

/* ---------- Type ---------- */
.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.h1, .h2, .h3 {
  margin: 0;
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 400;
  color: var(--fg);
  line-height: 1.1;
}
.h1 { font-size: clamp(2.8rem, 7vw, 4.5rem); }
.h2 { font-size: clamp(2.2rem, 5vw, 3rem); }
.h3 { font-size: 1.4rem; }
.lead { color: var(--muted); font-size: 1rem; line-height: 1.75; max-width: 34rem; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.rule { width: 64px; height: 1px; background: var(--gold); border: 0; margin: 24px auto; }
.rule--sm { width: 32px; margin: 0 0 12px; }
.rule--left { margin-left: 0; }
.muted { color: var(--muted); }
.small { font-size: 0.875rem; }
.gold { color: var(--gold); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 12px 30px;
  border: 1px solid var(--gold);
  background: var(--gold);
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .3s, color .3s, opacity .3s;
}
.btn:hover { background: transparent; color: var(--gold); }
.btn--ghost { background: transparent; color: var(--gold); }
.btn--ghost:hover { background: var(--gold); color: var(--ink); }
.btn[disabled], .btn[aria-disabled="true"] {
  cursor: not-allowed; background: #3a3a3a; border-color: #4a4a4a; color: #9a9a9a;
}
.text-link {
  color: var(--gold);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.text-link:hover { border-color: var(--gold); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  background: linear-gradient(to bottom, rgba(28,28,30,.85), rgba(28,28,30,0));
  transition: background .4s, border-color .4s, backdrop-filter .4s;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled, .site-header.is-open {
  background: rgba(28,28,30,.97);
  backdrop-filter: blur(12px);
  border-bottom-color: var(--border);
}
.site-header__inner {
  max-width: 1280px; margin: 0 auto; padding: 0 24px;
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.site-header__logo img { height: 46px; width: auto; }
.nav { display: flex; gap: 34px; }
.nav a {
  font-size: 0.78rem; font-weight: 400; letter-spacing: 0.15em; text-transform: uppercase;
  color: #e9e9e9; transition: color .2s;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--gold); }
.nav-toggle {
  display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--fg);
}
.nav-toggle svg { width: 26px; height: 26px; }
.mobile-nav { display: none; }

@media (max-width: 767px) {
  :root { --header-h: 68px; }
  .site-header__logo img { height: 38px; }
  .nav { display: none; }
  .nav-toggle { display: block; }
  .site-header.is-open .mobile-nav { display: block; }
  .mobile-nav { border-top: 1px solid var(--border); padding: 8px 24px 20px; }
  .mobile-nav a {
    display: block; padding: 14px 0; border-bottom: 1px solid var(--border);
    font-size: 0.85rem; letter-spacing: 0.15em; text-transform: uppercase;
  }
  .mobile-nav a[aria-current="page"] { color: var(--gold); }
}

/* ---------- Page shells ---------- */
.page { padding: calc(var(--header-h) + 56px) 0 96px; }
.section { padding: 88px 0; }
.section--card { background: var(--card); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section--deep { background: var(--bg-deep); }
.section-head { text-align: center; margin-bottom: 48px; }
.page-head { text-align: center; margin-bottom: 56px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; text-align: center;
}
.hero__bg { position: absolute; inset: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .38; filter: saturate(.85); }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(27,27,29,.35) 0%, rgba(27,27,29,.85) 70%, var(--bg) 100%);
}
.hero__content { position: relative; padding: 120px 24px 80px; max-width: 760px; }
.hero__line { width: 60px; height: 1px; background: var(--gold); margin: 0 auto 20px; }
.hero .h1 { font-size: clamp(3.2rem, 9vw, 6rem); margin-bottom: 8px; }
.hero__tagline { color: #d7d0c4; font-size: 1.05rem; max-width: 30rem; margin: 18px auto 34px; }
.hero__scroll { position: absolute; bottom: 28px; left: 50%; width: 1px; height: 44px; background: linear-gradient(var(--gold), transparent); }

/* ---------- Notice box ---------- */
.notice {
  max-width: 640px; margin: 0 auto; text-align: center;
  border: 1px solid rgba(201,169,74,.45); padding: 44px 32px; position: relative;
}
.notice::before, .notice::after {
  content: ""; position: absolute; top: 18px; width: 18px; height: 18px;
  border-top: 1px solid var(--gold);
}
.notice::before { left: 18px; border-left: 1px solid var(--gold); }
.notice::after { right: 18px; border-right: 1px solid var(--gold); }
.notice p { color: var(--muted); margin: 14px 0 26px; }

.deposit-note {
  max-width: 720px; margin: 0 auto 48px; padding: 16px 22px;
  border-left: 2px solid var(--gold); background: rgba(41,41,41,.6);
  color: var(--muted); font-size: 0.9rem;
}

/* ---------- Grids & cards ---------- */
.grid { display: grid; gap: 28px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid--3, .grid--2 { grid-template-columns: 1fr; } }

.card { border: 1px solid var(--border); background: var(--card); overflow: hidden; display: flex; flex-direction: column; }
.card__media { position: relative; aspect-ratio: 4 / 5; background: #2c2c2c; overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.card__media img.contain { object-fit: contain; }
.card:hover .card__media img { transform: scale(1.04); }
.card__tag {
  position: absolute; top: 14px; right: 14px; padding: 4px 10px;
  border: 1px solid rgba(201,169,74,.7); background: rgba(28,28,30,.75);
  color: var(--gold); font-size: 0.66rem; letter-spacing: 0.15em; text-transform: uppercase;
}
.card__tag--out { color: #d9d9d9; border-color: #6a6a6a; }
.card__body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.card__body p { color: var(--muted); font-size: 0.9rem; margin: 8px 0 0; }
.card__title { font-family: var(--font-heading); font-style: italic; font-weight: 400; font-size: 1.45rem; margin: 0; color: var(--fg); }
.card__caption { padding: 16px; text-align: center; font-family: var(--font-heading); font-style: italic; font-size: 1.15rem; }
.card__foot {
  margin-top: auto; padding-top: 18px; display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.card__price { font-family: var(--font-heading); font-style: italic; color: var(--gold); font-size: 1rem; }
.card .btn { padding: 9px 16px; font-size: 0.66rem; }

.placeholder-art {
  width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  background: radial-gradient(circle at 50% 40%, rgba(201,169,74,.18), rgba(41,41,41,0) 60%), #232323;
  color: var(--gold); text-align: center; padding: 24px;
}
.placeholder-art img { width: 84px; height: 84px; opacity: .9; }
.placeholder-art span { font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }

.info-card { border: 1px solid var(--border); background: var(--bg); padding: 34px 28px; text-align: center; }
.info-card .rule--sm { margin: 0 auto 18px; }
.info-card p { color: var(--muted); font-size: 0.9rem; margin: 10px 0 22px; }

.step { text-align: center; }
.step__num {
  width: 48px; height: 48px; margin: 0 auto 16px; display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--gold); color: var(--gold); font-family: var(--font-heading); font-size: 1.2rem;
}
.step h3 { margin: 0 0 10px; font-size: 0.85rem; font-weight: 400; letter-spacing: 0.2em; text-transform: uppercase; color: var(--fg); }
.step p { color: var(--muted); font-size: 0.9rem; max-width: 20rem; margin: 0 auto; }
.step--boxed { border: 1px solid var(--border); background: var(--card); padding: 32px 24px; }

/* ---------- Team ---------- */
.member__photo {
  aspect-ratio: 3 / 4; background: #262626; border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 12px;
}
.member__photo span { color: var(--gold); font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; }
.member__photo i { display: block; width: 64px; height: 1px; background: rgba(201,169,74,.5); }
.member { text-align: center; }
.member__name { margin: 26px 0 6px; font-family: var(--font-heading); font-style: italic; font-weight: 400; font-size: 1.75rem; }
.member__role { color: var(--gold); font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; margin: 0 0 18px; }
.member__bio p { color: var(--muted); font-size: 0.92rem; margin: 0 0 14px; }
.member__sig { font-family: var(--font-heading); font-style: italic; color: var(--fg-soft) !important; font-size: 1.05rem !important; }

/* ---------- Product page ---------- */
.product { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
@media (max-width: 860px) { .product { grid-template-columns: 1fr; gap: 32px; } }
.product__media { aspect-ratio: 1 / 1; border: 1px solid var(--border); }
.product__title { font-family: var(--font-heading); font-weight: 600; font-size: clamp(2.2rem, 5vw, 3rem); margin: 0 0 8px; line-height: 1.1; }
.product__price { font-size: 1.35rem; font-weight: 400; margin: 0 0 18px; color: var(--fg); }
.product__desc { color: #d8d2c8; margin: 0 0 22px; }
.product hr { border: 0; border-top: 1px solid var(--border); margin: 0 0 22px; }
.stock-badge {
  display: inline-block; margin: 0 0 20px; padding: 5px 12px;
  border: 1px solid #6a6a6a; color: #e0e0e0; font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase;
}
.variant-meta { margin: 10px 0 18px; font-size: 0.85rem; color: var(--muted); min-height: 1.4em; }
.variant-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
.variant-table th, .variant-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border); }
.variant-table th { color: var(--gold); font-weight: 400; font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase; }
.variant-table td { color: #ddd6cb; }
.variant-table td.status { color: #bdbdbd; }
.table-wrap { overflow-x: auto; border: 1px solid var(--border); }
.back-link { display: inline-block; margin-bottom: 28px; color: var(--gold); font-size: 0.85rem; border-bottom: 1px solid currentColor; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 22px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 620px) { .form-row { grid-template-columns: 1fr; } }
.field label, .field .label {
  display: block; margin-bottom: 8px; color: var(--gold);
  font-size: 0.7rem; font-weight: 400; letter-spacing: 0.16em; text-transform: uppercase;
}
.field .req { color: var(--gold); }
.input, .select, .textarea {
  width: 100%; padding: 13px 14px; background: #262626; border: 1px solid var(--border);
  color: var(--fg); font-size: 0.95rem; font-weight: 300; border-radius: 0; appearance: none;
  transition: border-color .2s;
}
.input::placeholder, .textarea::placeholder { color: #8f8a83; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--gold); }
.select {
  background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%);
  background-position: calc(100% - 20px) 55%, calc(100% - 15px) 55%;
  background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; padding-right: 40px;
}
.select option { background: #262626; color: var(--fg); }
.textarea { min-height: 130px; resize: vertical; }
.file-drop {
  display: flex; align-items: center; gap: 12px; padding: 16px; border: 1px dashed #5a5248; background: #232323;
  color: var(--muted); cursor: pointer; font-size: 0.9rem;
}
.file-drop:hover { border-color: var(--gold); }
.file-drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.file-list { margin: 8px 0 0; font-size: 0.82rem; color: var(--muted); }
.hint { font-size: 0.8rem; color: #8f8a83; margin: 6px 0 0; }
.form-error { color: var(--error); font-size: 0.85rem; min-height: 1.2em; margin: 0; }
.honey { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.callout {
  border-left: 2px solid var(--gold); background: rgba(41,41,41,.7); padding: 18px 20px; margin: 0 0 32px;
  color: var(--muted); font-size: 0.9rem;
}
.callout strong { color: var(--gold); font-weight: 400; }
.contact-line { color: var(--muted); font-size: 0.92rem; margin: 0 0 32px; }
.contact-line a { color: var(--gold); }

/* ---------- Footer ---------- */
.site-footer { background: #141415; border-top: 1px solid rgba(201,169,74,.35); padding: 64px 0 32px; }
.site-footer__grid { display: grid; grid-template-columns: 1.2fr 1fr 1.2fr; gap: 40px; }
@media (max-width: 760px) { .site-footer__grid { grid-template-columns: 1fr; } }
.site-footer img { height: 44px; width: auto; margin-bottom: 16px; }
.site-footer p { color: var(--muted); font-size: 0.88rem; margin: 0 0 6px; }
.site-footer h4 { margin: 0 0 16px; color: var(--gold); font-size: 0.7rem; font-weight: 400; letter-spacing: 0.2em; text-transform: uppercase; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer ul a { color: #cfc8bc; font-size: 0.9rem; }
.site-footer ul a:hover { color: var(--gold); }
.site-footer .contact a { color: var(--gold); }
.site-footer__bottom {
  margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  color: #8a8379; font-size: 0.78rem; letter-spacing: 0.04em;
}
.site-footer__bottom em { font-family: var(--font-heading); color: var(--gold); font-size: 0.9rem; }

/* ---------- Reveal animation (only when JS is running) ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .card__media img { transition: none; }
}

/* Center intro paragraphs under page and section titles */
.page-head .lead, .section-head .lead { margin-left: auto; margin-right: auto; }
