:root {
  color-scheme: dark;
  --bg: #070706;
  --bg-soft: #11100e;
  --bg-panel: #171511;
  --ink: #f1ece2;
  --muted: #a8a094;
  --line: rgba(241, 236, 226, 0.15);
  --line-strong: rgba(241, 236, 226, 0.28);
  --platinum: #d9d0bd;
  --gold: #b69a64;
  --copper: #9b5d45;
  --teal: #5f8a88;
  --shadow: rgba(0, 0, 0, 0.55);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family:
    "Inter", "Avenir Next", "Helvetica Neue", Arial, "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  line-height: 1.65;
  letter-spacing: 0;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  background:
    linear-gradient(120deg, rgba(182, 154, 100, 0.08), transparent 36%),
    linear-gradient(180deg, #070706 0%, #0d0c0a 42%, #080807 100%);
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 18px clamp(20px, 4vw, 56px);
  color: rgba(241, 236, 226, 0.88);
  transition:
    background 180ms ease,
    border-color 180ms ease,
    backdrop-filter 180ms ease;
}

.site-header.is-scrolled {
  border-bottom: 1px solid var(--line);
  background: rgba(7, 7, 6, 0.76);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.brand-mark {
  width: 24px;
  height: 24px;
  border: 1px solid var(--line-strong);
  background:
    linear-gradient(45deg, transparent 0 38%, var(--gold) 39% 42%, transparent 43%),
    linear-gradient(135deg, transparent 0 44%, var(--teal) 45% 48%, transparent 49%),
    #100f0d;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.4vw, 34px);
  color: var(--muted);
  font-size: 0.82rem;
}

.nav-links a {
  transition: color 150ms ease;
}

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

.hero {
  position: relative;
  z-index: 0;
  min-height: 92vh;
  overflow: hidden;
  display: grid;
  align-items: end;
  padding: 120px clamp(20px, 5vw, 72px) 34px;
  border-bottom: 1px solid var(--line);
}

.hero-media,
.hero-scrim {
  position: absolute;
  inset: 0;
}

.hero-media {
  z-index: -2;
  background-image: url("assets/meteorite-hero.png");
  background-position: center center;
  background-size: cover;
  transform: scale(1.02);
}

.hero-scrim {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(7, 7, 6, 0.96) 0%, rgba(7, 7, 6, 0.72) 34%, rgba(7, 7, 6, 0.08) 68%),
    linear-gradient(180deg, rgba(7, 7, 6, 0.2) 0%, rgba(7, 7, 6, 0.04) 54%, rgba(7, 7, 6, 0.88) 100%);
}

.hero-content {
  width: min(760px, 100%);
  padding-bottom: clamp(64px, 10vh, 120px);
}

.eyebrow,
.section-kicker {
  margin: 0 0 18px;
  color: var(--gold);
  font-family:
    "SFMono-Regular", "Cascadia Mono", "Roboto Mono", Consolas, monospace;
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 12ch;
  margin-bottom: 24px;
  font-family: Georgia, "Times New Roman", "Songti SC", serif;
  font-size: clamp(4rem, 9vw, 9.5rem);
  font-weight: 400;
  line-height: 0.88;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 22px;
  font-family: Georgia, "Times New Roman", "Songti SC", serif;
  font-size: clamp(2.25rem, 5vw, 5.8rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.02rem;
  font-weight: 650;
  letter-spacing: 0;
}

.hero-copy {
  width: min(680px, 100%);
  margin-bottom: 32px;
  color: rgba(241, 236, 226, 0.82);
  font-size: clamp(1rem, 1.55vw, 1.24rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 680;
  transition:
    transform 150ms ease,
    border-color 150ms ease,
    background 150ms ease,
    color 150ms ease;
}

.button span {
  margin-left: 10px;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  border-color: rgba(217, 208, 189, 0.88);
  background: var(--platinum);
  color: #14110c;
}

.button.ghost {
  background: rgba(7, 7, 6, 0.2);
  color: var(--ink);
}

.hero-proof {
  position: absolute;
  left: clamp(20px, 5vw, 72px);
  right: clamp(20px, 5vw, 72px);
  bottom: 34px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
  box-shadow: 0 24px 80px var(--shadow);
}

.hero-proof > div {
  min-width: 0;
  padding: 18px;
  background: rgba(11, 10, 8, 0.72);
  backdrop-filter: blur(12px);
}

.proof-value {
  display: block;
  color: var(--ink);
  font-family:
    "SFMono-Regular", "Cascadia Mono", "Roboto Mono", Consolas, monospace;
  font-size: clamp(1.15rem, 2vw, 1.7rem);
}

.proof-label {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  white-space: normal;
}

.intro-band {
  padding: clamp(30px, 5vw, 64px) clamp(20px, 5vw, 72px);
  border-bottom: 1px solid var(--line);
  background: #0d0c0a;
}

.intro-band p {
  width: min(1060px, 100%);
  margin: 0 auto;
  color: var(--platinum);
  font-family: Georgia, "Times New Roman", "Songti SC", serif;
  font-size: clamp(1.55rem, 3.5vw, 3.8rem);
  line-height: 1.08;
}

.section {
  padding: clamp(72px, 10vw, 140px) clamp(20px, 5vw, 72px);
  border-bottom: 1px solid var(--line);
}

.origin-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
}

.origin-grid p,
.story-copy p,
.provenance-copy p,
.contact-copy p {
  max-width: 680px;
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.15rem);
}

.pattern-panel {
  position: relative;
  min-height: clamp(360px, 56vw, 620px);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background:
    linear-gradient(115deg, transparent 0 9%, rgba(217, 208, 189, 0.82) 9.4% 10.4%, transparent 10.8% 100%),
    linear-gradient(28deg, transparent 0 24%, rgba(95, 138, 136, 0.55) 24.6% 25.4%, transparent 26% 100%),
    linear-gradient(145deg, transparent 0 43%, rgba(155, 93, 69, 0.64) 43.4% 44.6%, transparent 45.1% 100%),
    repeating-linear-gradient(58deg, #15130f 0 28px, #221f18 29px 31px, #0b0a08 32px 76px),
    #12100d;
  box-shadow: inset 0 0 90px rgba(0, 0, 0, 0.55);
}

.pattern-panel::before,
.pattern-panel::after {
  position: absolute;
  inset: -12%;
  content: "";
  mix-blend-mode: screen;
}

.pattern-panel::before {
  opacity: 0.48;
  background:
    repeating-linear-gradient(134deg, transparent 0 46px, rgba(217, 208, 189, 0.45) 47px 50px, transparent 51px 104px),
    repeating-linear-gradient(16deg, transparent 0 58px, rgba(182, 154, 100, 0.34) 59px 62px, transparent 63px 120px);
}

.pattern-panel::after {
  opacity: 0.16;
  background-image: url("assets/meteorite-hero.png");
  background-position: center;
  background-size: cover;
  filter: grayscale(1) contrast(1.2);
}

.panel-label {
  position: absolute;
  left: 20px;
  bottom: 18px;
  z-index: 1;
  color: rgba(241, 236, 226, 0.72);
  font-family:
    "SFMono-Regular", "Cascadia Mono", "Roboto Mono", Consolas, monospace;
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.material-story {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.7fr);
  gap: clamp(28px, 6vw, 90px);
  align-items: end;
  background: #100f0d;
}

.quote-block {
  border-left: 1px solid var(--gold);
  padding: 28px 0 28px 28px;
}

.quote-block p {
  margin: 0;
  color: var(--platinum);
  font-family: Georgia, "Times New Roman", "Songti SC", serif;
  font-size: clamp(1.4rem, 3vw, 3.1rem);
  line-height: 1.12;
}

.section-heading {
  display: grid;
  grid-template-columns: 0.34fr minmax(0, 1fr);
  gap: clamp(20px, 5vw, 80px);
  margin-bottom: clamp(34px, 6vw, 72px);
}

.section-heading h2 {
  margin-bottom: 0;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.product-card {
  min-height: 280px;
  padding: 24px;
  background: var(--bg-panel);
}

.product-index,
.process-list span {
  display: inline-block;
  margin-bottom: 76px;
  color: var(--gold);
  font-family:
    "SFMono-Regular", "Cascadia Mono", "Roboto Mono", Consolas, monospace;
  font-size: 0.76rem;
}

.product-card p,
.process-list p {
  margin-bottom: 0;
  color: var(--muted);
}

.process {
  background:
    linear-gradient(180deg, rgba(95, 138, 136, 0.08), transparent 45%),
    #0b0b09;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
  background: var(--line);
  border: 1px solid var(--line);
}

.process-list li {
  min-height: 300px;
  padding: 24px;
  background: #11100d;
}

.provenance {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.54fr);
  gap: clamp(32px, 7vw, 112px);
  align-items: center;
}

.provenance-points {
  display: grid;
  gap: 12px;
}

.provenance-points div {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: rgba(23, 21, 17, 0.78);
  color: var(--platinum);
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1fr);
  gap: clamp(32px, 7vw, 112px);
  padding: clamp(72px, 10vw, 140px) clamp(20px, 5vw, 72px);
  background:
    linear-gradient(120deg, rgba(182, 154, 100, 0.12), transparent 44%),
    #0c0b0a;
}

.text-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--platinum);
  border-bottom: 1px solid rgba(217, 208, 189, 0.45);
}

.inquiry-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-self: start;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(18px, 3vw, 32px);
  background: rgba(18, 17, 14, 0.78);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.32);
}

label {
  display: grid;
  gap: 8px;
}

label span {
  color: var(--muted);
  font-size: 0.78rem;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #090908;
  color: var(--ink);
  outline: none;
}

input,
select {
  min-height: 46px;
  padding: 0 12px;
}

textarea {
  resize: vertical;
  padding: 12px;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(217, 208, 189, 0.68);
}

.full,
.form-button,
.form-note {
  grid-column: 1 / -1;
}

.form-button {
  width: 100%;
  margin-top: 6px;
}

.form-note {
  min-height: 1.4em;
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 24px clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family:
    "SFMono-Regular", "Cascadia Mono", "Roboto Mono", Consolas, monospace;
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 1020px) {
  .product-grid,
  .process-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section-heading,
  .material-story,
  .provenance,
  .contact-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .site-header {
    min-height: 64px;
    align-items: flex-start;
  }

  .nav-links {
    display: none;
  }

  .hero {
    min-height: auto;
    align-items: start;
    padding-top: 96px;
    padding-bottom: 32px;
  }

  .hero-scrim {
    background:
      linear-gradient(90deg, rgba(7, 7, 6, 0.96), rgba(7, 7, 6, 0.44)),
      linear-gradient(180deg, rgba(7, 7, 6, 0.08), rgba(7, 7, 6, 0.9));
  }

  h1 {
    max-width: 10ch;
    font-size: clamp(3.25rem, 17vw, 6rem);
  }

  h2 {
    font-size: clamp(2rem, 11vw, 3.5rem);
  }

  .hero-content {
    padding-bottom: 22px;
  }

  .hero-proof {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    grid-template-columns: 1fr;
  }

  .hero-proof > div {
    padding: 12px 14px;
  }

  .product-grid,
  .process-list,
  .origin-grid,
  .inquiry-form {
    grid-template-columns: 1fr;
  }

  .product-card,
  .process-list li {
    min-height: 220px;
  }

  .product-index,
  .process-list span {
    margin-bottom: 44px;
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
