/* Provenance Nuclear LLC  -  draft marketing site
   Palette: cream #FDF9F2, brown #4E3A28, gold #B08C58, grey #5F5850
   Type: Cormorant Garamond (headings) + Libre Franklin (body)
*/

:root {
  --cream: #FDF9F2;
  --cream-deep: #F4EBDC;
  --parchment: #FFFCF6;
  --brown: #4E3A28;
  --gold: #B08C58;
  --gold-deep: #8F7044;
  --grey: #5F5850;
  --line: #E5D6C2;
  --line-strong: #CDB892;
  --shadow: 0 10px 32px rgba(78, 58, 40, 0.07);
  --font-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-sans: "Libre Franklin", "Helvetica Neue", Arial, sans-serif;
  --max: 1140px;
  --header-h: 84px;
  --radius: 4px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--brown);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--gold-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--brown);
}

.nowrap {
  white-space: nowrap;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -40px;
  z-index: 200;
  background: var(--brown);
  color: var(--cream);
  padding: 8px 14px;
  font-size: 0.85rem;
}

.skip-link:focus {
  top: 12px;
  color: var(--cream);
}

.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(253, 249, 242, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--brown);
  min-width: 0;
}

.brand img {
  width: 52px;
  height: auto;
  flex-shrink: 0;
}

.brand-name {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: 0.04em;
  text-transform: none;
  line-height: 1.25;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.7rem;
}

.site-nav a {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--grey);
  white-space: nowrap;
}

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

.site-nav a[aria-current="page"] {
  box-shadow: inset 0 -1px 0 var(--gold);
}

.nav-cta {
  background: var(--brown);
  color: var(--cream) !important;
  padding: 0.7rem 1.05rem;
  letter-spacing: 0.1em !important;
  box-shadow: none !important;
  transition: background 0.2s ease;
}

.nav-cta:hover {
  background: var(--gold-deep);
  color: var(--cream) !important;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: transparent;
  padding: 10px 9px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}

.nav-toggle span {
  display: block;
  height: 1.5px;
  background: var(--brown);
  width: 100%;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  background: var(--brown);
  color: var(--cream);
  text-decoration: none;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.95rem 1.6rem;
  border: 1px solid var(--brown);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  background: var(--gold-deep);
  border-color: var(--gold-deep);
  color: var(--cream);
}

.btn-ghost {
  background: transparent;
  color: var(--brown);
}

.btn-ghost:hover {
  background: var(--brown);
  color: var(--cream);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  min-height: calc(70vh - var(--header-h));
  display: flex;
  align-items: center;
  padding: 56px 0 64px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../images/hex-pattern.svg");
  background-repeat: repeat;
  background-size: 140px 121px;
  opacity: 0.7;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, transparent 38%, rgba(0,0,0,0.35) 62%, rgba(0,0,0,0.85) 100%);
  mask-image: linear-gradient(90deg, transparent 0%, transparent 38%, rgba(0,0,0,0.35) 62%, rgba(0,0,0,0.85) 100%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 56px;
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

.hero-mark {
  width: 220px;
  flex-shrink: 0;
}

.hero-copy {
  min-width: 0;
}

.hero-name {
  margin: 0 0 18px;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(2.15rem, 4.6vw, 3.55rem);
  letter-spacing: 0.03em;
  text-transform: none;
  line-height: 1.15;
  color: var(--brown);
}

.hero-rule {
  width: 220px;
  max-width: 50%;
  height: 1px;
  background: var(--gold);
  border: 0;
  margin: 0 0 18px;
}

.hero-motto {
  margin: 0 0 16px;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
}

.hero-tagline {
  margin: 0 0 32px;
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  font-weight: 400;
  color: var(--grey);
  letter-spacing: 0.01em;
}


/* ---------- Dictionary definition ---------- */

.define {
  background: var(--cream);
  padding: 28px 0 8px;
}

.define-inner {
  width: min(700px, calc(100% - 40px));
  margin: 0 auto;
  padding: 44px 8px 48px;
  border-top: 1px solid var(--gold);
  border-bottom: 1px solid var(--gold);
  text-align: center;
}

.define-word {
  margin: 0 0 6px;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(2.6rem, 7vw, 4.15rem);
  letter-spacing: 0.03em;
  line-height: 1.05;
  text-transform: none;
  color: var(--brown);
}

.define-ipa {
  margin: 0 0 12px;
  font-family: "Gentium Book Plus", "Noto Serif", "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  color: var(--grey);
  line-height: 1.4;
}

.define-pos {
  margin: 0 0 22px;
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.define-def {
  margin: 0 auto;
  max-width: 38em;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--grey);
}

@media (max-width: 700px) {
  .define {
    padding: 8px 0 0;
  }

  .define-inner {
    padding: 36px 4px 40px;
  }
}

/* ---------- Aha callout ---------- */

.aha {
  background: var(--cream-deep);
  border-block: 1px solid var(--line);
  padding: 80px 0;
}

.aha-inner {
  width: min(760px, calc(100% - 40px));
  margin-inline: auto;
  text-align: left;
}

.aha-kicker {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin: 0 0 16px;
}

.aha h2 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(1.85rem, 3.4vw, 2.65rem);
  line-height: 1.2;
  letter-spacing: 0.01em;
  margin: 0 0 22px;
  color: var(--brown);
}

.aha p {
  margin: 0 0 1rem;
  color: var(--grey);
  font-size: 1.05rem;
}

.aha .closer {
  margin-top: 22px;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.35rem;
  color: var(--brown);
}

.aha-desktop { display: block; }
.aha-mobile { display: none; }

/* ---------- Sections ---------- */

.section {
  padding: 96px 0;
}

.section-alt {
  background: var(--parchment);
  border-block: 1px solid var(--line);
}

.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px;
}

.section-head h2,
.page-title {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(1.7rem, 3vw, 2.15rem);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin: 0 0 16px;
  color: var(--brown);
  line-height: 1.25;
}

.section-rule {
  width: 72px;
  height: 1px;
  background: var(--gold);
  border: 0;
  margin: 0 auto 20px;
}

.section-head p,
.lead {
  margin: 0;
  color: var(--grey);
  font-size: 1.05rem;
}

.who-copy {
  width: min(720px, 100%);
  margin: 0 auto;
  text-align: center;
  font-size: 1.12rem;
  color: var(--grey);
}

/* ---------- How it works ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 72px;
}

.step {
  background: var(--parchment);
  border: 1px solid var(--line);
  padding: 32px 28px 36px;
  text-align: left;
}

.step-num {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 10px;
}

.step h3 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.55rem;
  margin: 0 0 12px;
  letter-spacing: 0.04em;
}

.step p {
  margin: 0;
  color: var(--grey);
  font-size: 0.98rem;
}

/* Timeline + sample QR */

.journey {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 48px;
  align-items: center;
  padding: 36px 40px;
  border: 1px solid var(--line);
  background: var(--cream);
}

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

.qr-block img {
  width: 168px;
  height: 168px;
  margin: 0 auto 12px;
  border: 1px solid var(--line);
  padding: 8px;
  background: var(--cream);
}

.qr-label {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cream);
  background: var(--gold);
  padding: 4px 10px;
}

.qr-caption {
  margin: 10px 0 0;
  font-size: 0.8rem;
  color: var(--grey);
}

.timeline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  position: relative;
  padding-top: 8px;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 30px;
  left: 12%;
  right: 12%;
  height: 1px;
  background: var(--line-strong);
}

.handoff {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
}

.check {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--cream);
  border: 1.5px solid var(--gold);
  display: grid;
  place-items: center;
  color: var(--gold-deep);
}

.check svg {
  width: 20px;
  height: 20px;
}

.handoff-name {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: 0.03em;
  color: var(--brown);
}

.handoff-status {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

/* ---------- Industries ---------- */

.industry-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px 20px;
  margin-bottom: 48px;
}

.industry-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  color: var(--brown);
}

.hex-frame {
  width: 138px;
  height: 154px;
  position: relative;
  display: grid;
  place-items: center;
  color: var(--brown);
}

.hex-frame .hex-shape {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  color: var(--gold);
}

.hex-frame .icon {
  width: 62px;
  height: 62px;
  position: relative;
  z-index: 1;
}

.industry-card h3 {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.2rem;
  letter-spacing: 0.04em;
}

.also-serving {
  text-align: center;
  color: var(--grey);
  font-size: 1.02rem;
  margin: 0;
}

.also-serving strong {
  font-weight: 500;
  color: var(--brown);
}

/* ---------- Why ---------- */

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.why-card {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 28px 26px;
  border: 1px solid var(--line);
  background: var(--cream);
}

.why-icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  color: var(--gold-deep);
}

.why-card h3 {
  margin: 0 0 6px;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.25rem;
  letter-spacing: 0.03em;
}

.why-card p {
  margin: 0;
  color: var(--grey);
  font-size: 0.98rem;
}

/* ---------- Data protection page ---------- */

.page-hero {
  padding: 72px 0 24px;
  text-align: center;
}

.page-hero .lead {
  width: min(640px, 100%);
  margin: 0 auto;
}

.protect-list {
  width: min(760px, 100%);
  margin: 0 auto;
  padding: 24px 0 80px;
}

.protect-item {
  padding: 32px 0;
  border-top: 1px solid var(--line);
}

.protect-item:last-of-type {
  border-bottom: 1px solid var(--line);
}

.protect-item h2 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.55rem;
  letter-spacing: 0.02em;
  margin: 0 0 12px;
}

.protect-item p {
  margin: 0;
  color: var(--grey);
}

.protect-closer {
  text-align: center;
  margin: 40px 0 0;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--brown);
}

/* ---------- Quote ---------- */

.quote-layout {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 40px;
  align-items: start;
  padding-bottom: 96px;
}

.quote-form {
  background: var(--parchment);
  border: 1px solid var(--line);
  padding: 36px 32px 40px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.field {
  margin-bottom: 18px;
}

.field label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brown);
  margin-bottom: 7px;
}

.optional {
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: none;
  color: var(--grey);
}

.field input,
.field textarea,
.field select {
  width: 100%;
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--brown);
  background: var(--cream);
  border: 1px solid var(--line-strong);
  padding: 11px 12px;
  border-radius: var(--radius);
}

.field textarea {
  min-height: 120px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  outline: 2px solid var(--gold);
  outline-offset: 0;
  border-color: var(--gold);
}

.field input[type="file"] {
  padding: 10px;
  background: var(--cream);
  font-size: 0.9rem;
}

.contact-card {
  background: var(--cream-deep);
  border: 1px solid var(--line);
  padding: 32px 28px;
}

.contact-card h2 {
  font-family: var(--font-serif);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 1.1rem;
  margin: 0 0 16px;
}

.contact-card p,
.contact-card a {
  margin: 0 0 10px;
  color: var(--grey);
  text-decoration: none;
}

.contact-card a:hover {
  color: var(--brown);
}

.nowrap {
  white-space: nowrap;
}

.contact-card .phone {
  font-size: 1.2rem;
  color: var(--brown);
  font-weight: 500;
}

/* ---------- Footer ---------- */

.site-footer {
  background: #f3eadc;
  border-top: 1px solid var(--line);
  padding: 56px 0 32px;
  text-align: center;
}

.footer-mark {
  width: 72px;
  margin: 0 auto 18px;
}

.footer-motto {
  margin: 0 0 8px;
  font-family: var(--font-serif);
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-size: 0.95rem;
}

.footer-tagline {
  margin: 0 0 22px;
  color: var(--grey);
  font-size: 0.95rem;
}

.footer-meta {
  margin: 0 0 6px;
  color: var(--grey);
  font-size: 0.9rem;
}

.footer-meta a {
  color: var(--grey);
  text-decoration: none;
}

.footer-meta a:hover {
  color: var(--brown);
}

.nowrap {
  white-space: nowrap;
}

.footer-copy {
  margin: 18px 0 0;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--grey);
}


/* ---------- Storage and Handling ---------- */

#storage-handling {
  scroll-margin-top: calc(var(--header-h) + 16px);
}

.storage-handling {
  background: var(--cream-deep);
  border-block: 1px solid var(--line);
}

.storage-headline {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.45rem, 3vw, 1.85rem);
  color: var(--brown);
  margin: 0 0 16px;
  letter-spacing: 0.01em;
  line-height: 1.3;
}

.storage-sub {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-align: center;
  margin: 8px 0 12px;
  color: var(--brown);
}

.storage-lead {
  width: min(720px, 100%);
  margin: 0 auto 28px;
  text-align: center;
  color: var(--grey);
  font-size: 1rem;
}

.level-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin: 0 0 56px;
}

.level-card,
.handling-card {
  background: var(--parchment);
  border: 1px solid var(--line);
  padding: 24px 22px 28px;
}

.level-letter {
  font-family: var(--font-serif);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 8px;
}

.level-card h3,
.handling-card h3 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.2rem;
  margin: 0 0 10px;
  letter-spacing: 0.03em;
  line-height: 1.25;
}

.level-card p,
.handling-card p {
  margin: 0;
  color: var(--grey);
  font-size: 0.94rem;
}

.level-card-secondary {
  background: var(--cream);
}

.handling-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.handling-card-wide {
  grid-column: 1 / -1;
}

.storage-close {
  width: min(720px, 100%);
  margin: 48px auto 0;
  text-align: center;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--brown);
  line-height: 1.45;
}

.stage-body p + p {
  margin-top: 10px;
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .hero-inner {
    flex-direction: column;
    text-align: center;
    gap: 28px;
  }

  .hero-mark {
    width: 160px;
  }

  .hero-rule {
    margin-inline: auto;
  }

  .hero::before {
    opacity: 0.42;
    -webkit-mask-image: linear-gradient(180deg, transparent 8%, rgba(0,0,0,0.22) 45%, rgba(0,0,0,0.5) 100%);
    mask-image: linear-gradient(180deg, transparent 8%, rgba(0,0,0,0.22) 45%, rgba(0,0,0,0.5) 100%);
  }

  .steps,
  .industry-grid,
  .quote-layout {
    grid-template-columns: 1fr;
  }

  .industry-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .level-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .handling-grid {
    grid-template-columns: 1fr;
  }

  .journey {
    grid-template-columns: 1fr;
    justify-items: center;
    padding: 28px 20px 36px;
    gap: 32px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 800px) {
  .nav-toggle {
    display: flex;
    margin-left: auto;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 0 16px;
  }

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

  .site-nav a {
    padding: 12px 24px;
  }

  .site-nav a[aria-current="page"] {
    box-shadow: none;
  }

  .site-nav .nav-cta {
    margin: 8px 24px 4px;
    text-align: center;
  }

  .brand-name {
    letter-spacing: 0.03em;
    font-size: 0.86rem;
  }

  body.nav-open {
    overflow: hidden;
  }
}

@media (max-width: 700px) {
  .aha-desktop { display: none; }
  .aha-mobile { display: block; }

  .aha {
    padding: 56px 0;
  }

  .section {
    padding: 72px 0;
  }

  .level-grid {
    grid-template-columns: 1fr;
  }

  .storage-close {
    font-size: 1.2rem;
  }

  .hero {
    min-height: 0;
    padding: 48px 0 64px;
  }

  .timeline {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
    max-width: 280px;
    margin-inline: auto;
  }

  .timeline::before {
    top: 22px;
    bottom: 22px;
    left: 21px;
    right: auto;
    width: 1px;
    height: auto;
  }

  .handoff {
    flex-direction: row;
    text-align: left;
    gap: 16px;
    padding: 12px 0;
  }

  .wrap {
    width: min(var(--max), calc(100% - 32px));
  }
}

@media (max-width: 420px) {
  .industry-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px 8px;
  }

  .hex-frame {
    width: 112px;
    height: 126px;
  }

  .brand-name {
    max-width: 140px;
    white-space: normal;
  }
}


/* ---------- Verify page ---------- */

.network-badge {
  display: inline-block;
  margin: 0 0 16px;
  padding: 5px 10px;
  border: 1px solid var(--gold);
  color: var(--gold-deep);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.verify-page {
  padding: 8px 0 96px;
}

.demo-note {
  width: min(760px, 100%);
  margin: 0 auto 36px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  background: var(--parchment);
  color: var(--grey);
  font-size: 0.95rem;
}

.lookup-bar {
  width: min(860px, 100%);
  margin: 0 auto 48px;
}

.lookup-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.lookup-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.lookup-row input[type="text"] {
  flex: 1 1 240px;
  min-width: 0;
  border: 1px solid var(--line-strong);
  background: var(--parchment);
  color: var(--brown);
  font-family: var(--font-sans);
  font-size: 1rem;
  padding: 0.85rem 1rem;
}

button.btn {
  appearance: none;
  font-family: var(--font-sans);
}

.lookup-hint,
.lookup-status {
  margin: 10px 0 0;
  font-size: 0.88rem;
  color: var(--grey);
}

.lookup-status.is-error {
  color: #8a2a22;
}

.lot-card {
  border: 1px solid var(--line);
  background: var(--parchment);
  padding: 32px 32px 24px;
  margin-bottom: 48px;
}

.lot-card h2 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(1.6rem, 2.4vw, 2rem);
  letter-spacing: 0.02em;
  margin: 0 0 8px;
  text-transform: none;
}

.lot-sub,
.lot-source,
.lot-id {
  margin: 0 0 8px;
  color: var(--grey);
}

.ledger-status {
  margin-top: 20px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  background: var(--cream);
}

.ledger-status p {
  margin: 0;
}

.ledger-status.is-live {
  border-color: #1d6b4f;
  background: #e7f4ee;
}

.ledger-status.is-warn {
  border-color: #8a5a12;
  background: #fbf3df;
}

.live-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 8px;
  border-radius: 50%;
  background: #1d6b4f;
  vertical-align: middle;
}

.verify-heading {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.55rem;
  margin: 0 0 10px;
}

.verify-intro {
  margin: 0 0 24px;
  color: var(--grey);
  max-width: 62ch;
}

.verify-section {
  margin-bottom: 56px;
}

.custody-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  border-left: 1px solid var(--line-strong);
}

.custody-item {
  position: relative;
  padding: 0 0 28px 28px;
}

.custody-item:last-child {
  padding-bottom: 0;
}

.custody-mark {
  position: absolute;
  left: -5px;
  top: 6px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold);
  border: 1px solid var(--gold-deep);
}

.custody-item.is-live .custody-mark,
.custody-item.is-confirmed .custody-mark {
  background: #1d6b4f;
  border-color: #1d6b4f;
}

.custody-item.is-warn .custody-mark {
  background: #8a5a12;
  border-color: #8a5a12;
}

.custody-badge {
  margin: 0 0 6px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.custody-item.is-live .custody-badge,
.custody-item.is-confirmed .custody-badge {
  color: #1d6b4f;
}

.custody-item h3 {
  margin: 0 0 4px;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
}

.custody-meta,
.custody-detail,
.custody-note,
.custody-link {
  margin: 0 0 6px;
  color: var(--grey);
  font-size: 0.95rem;
}

.custody-note {
  font-size: 0.88rem;
}

.id-list {
  display: grid;
  gap: 16px;
  margin: 28px 0 0;
  padding: 24px 0 0;
  border-top: 1px solid var(--line);
}

.id-list div {
  min-width: 0;
}

.id-list dt {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 4px;
}

.id-list dd {
  margin: 0;
  overflow-wrap: anywhere;
}

.mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.82rem;
  word-break: break-all;
}

.verify-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: start;
  margin-bottom: 56px;
}

.drop-zone {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-height: 220px;
  padding: 28px;
  border: 1px dashed var(--gold);
  background: var(--parchment);
  cursor: pointer;
}

.drop-zone.is-over {
  background: var(--cream-deep);
  border-color: var(--brown);
}

.drop-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
}

.drop-copy {
  margin-top: 8px;
  color: var(--grey);
  max-width: 42ch;
}

.drop-zone input[type="file"] {
  margin-top: 18px;
  font-size: 0.9rem;
}

.verify-result {
  margin-top: 20px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  background: var(--cream);
}

.verify-result p {
  margin: 0 0 8px;
}

.verify-result p:last-child {
  margin-bottom: 0;
}

.result-title {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 600;
}

.verify-result.is-verified {
  border-color: #1d6b4f;
  background: #e7f4ee;
}

.verify-result.is-site {
  border-color: #8a5a12;
  background: #fbf3df;
}

.verify-result.is-mismatch {
  border-color: #8a2a22;
  background: #fdecec;
}

.fp-aside {
  border: 1px solid var(--line);
  background: var(--parchment);
  padding: 24px;
}

.fingerprint-list,
.sample-docs {
  list-style: none;
  margin: 0;
  padding: 0;
}

.fingerprint-list li {
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.fingerprint-list li:first-child {
  border-top: 0;
  padding-top: 0;
}

.fp-name {
  margin: 0;
  font-weight: 600;
}

.fp-source {
  margin: 2px 0 6px;
  font-size: 0.82rem;
  color: var(--grey);
}

.fp-hash {
  margin: 0;
  font-size: 0.72rem;
  color: var(--brown);
}

.sample-docs li {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  align-items: baseline;
  padding: 10px 0;
  border-top: 1px solid var(--line);
}

.sample-docs li:first-child {
  border-top: 0;
}

.text-link {
  font-weight: 600;
}

.text-btn {
  appearance: none;
  border: 0;
  background: none;
  padding: 0;
  color: var(--gold-deep);
  font: inherit;
  font-size: 0.92rem;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.text-btn:hover {
  color: var(--brown);
}

.tampered-box {
  margin-top: 28px;
  padding: 20px 22px;
  border: 1px solid #c9a07a;
  background: #fbf3df;
}

.tampered-box h3 {
  margin: 0 0 8px;
  font-family: var(--font-serif);
  font-size: 1.25rem;
}

.tampered-box p {
  margin: 0 0 10px;
  color: var(--grey);
}

.tampered-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.tampered-hint {
  font-size: 0.88rem;
}

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

a.qr-block {
  text-decoration: none;
  color: inherit;
  display: block;
}

a.qr-block:hover .qr-caption {
  color: var(--brown);
}


.full-record {
  margin: 0 0 56px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--line);
}

.full-record .verify-intro {
  margin-bottom: 32px;
}

.journey-stages {
  list-style: none;
  margin: 0 0 32px;
  padding: 0;
  position: relative;
}

.journey-stages::before {
  content: "";
  position: absolute;
  left: 17px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: var(--gold);
}

.journey-stage {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 20px;
  align-items: start;
  position: relative;
  padding-bottom: 28px;
}

.journey-stage:last-child {
  padding-bottom: 0;
}

.stage-num {
  position: relative;
  z-index: 1;
  display: block;
  width: 36px;
  background: var(--cream);
  color: var(--gold);
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.15;
  text-align: center;
  padding: 2px 0;
}

.stage-body h3 {
  margin: 0 0 6px;
  font-family: var(--font-serif);
  font-size: 1.28rem;
  font-weight: 600;
  line-height: 1.3;
}

.stage-body p {
  margin: 0;
  color: var(--grey);
  font-size: 0.98rem;
  max-width: 62ch;
}

.stage-tag {
  display: inline-block;
  margin: 0 0 0 8px;
  padding: 2px 8px;
  border: 1px solid var(--gold);
  color: var(--gold-deep);
  font-family: var(--font-sans);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  vertical-align: middle;
  line-height: 1.4;
}

#money-trail {
  scroll-margin-top: calc(var(--header-h) + 16px);
}

.full-record-close {
  margin: 0;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--brown);
}


@media (max-width: 860px) {
  .verify-grid {
    grid-template-columns: 1fr;
  }

  .lot-card {
    padding: 24px 20px;
  }
}

@media (max-width: 640px) {
  .lookup-row .btn {
    width: 100%;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* ---------- Available parts ---------- */

.parts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 420px));
  gap: 28px;
  justify-content: center;
}

.part-card {
  background: var(--cream);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.part-card-image {
  display: block;
  background: var(--cream-deep);
  aspect-ratio: 4 / 5;
  overflow: hidden;
}

.part-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.part-card-body {
  padding: 28px 26px 32px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.part-card-kicker {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.part-card h3 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.45rem;
  letter-spacing: 0.02em;
  margin: 0;
  line-height: 1.25;
}

.part-card h3 a {
  color: var(--brown);
  text-decoration: none;
}

.part-card h3 a:hover {
  color: var(--gold-deep);
}

.part-card-body > p {
  margin: 0;
  color: var(--grey);
  font-size: 0.98rem;
}

.part-card-meta {
  font-size: 0.78rem !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-deep) !important;
  font-weight: 600;
}

.part-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.part-card-actions .btn {
  padding: 0.75rem 1.15rem;
}

/* ---------- Part detail page ---------- */

.part-detail {
  padding-bottom: 96px;
}

.part-detail-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 48px;
  align-items: start;
}

.part-gallery {
  background: var(--cream-deep);
  border: 1px solid var(--line);
  padding: 16px;
}

.part-gallery img {
  width: 100%;
  height: auto;
}

.part-detail-copy h1 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  letter-spacing: 0.02em;
  line-height: 1.2;
  margin: 0 0 10px;
  text-transform: none;
}

.part-pn {
  margin: 0 0 18px;
  font-size: 0.92rem;
  color: var(--grey);
}

.part-pn strong {
  color: var(--brown);
  font-weight: 600;
}

.part-status {
  display: inline-block;
  margin: 0 0 22px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-deep);
  border: 1px solid var(--line-strong);
  padding: 6px 10px;
}

.part-detail-copy .lead {
  margin: 0 0 22px;
  text-align: left;
  width: auto;
}

.part-facts {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  border-top: 1px solid var(--line);
}

.part-facts li {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.98rem;
}

.part-facts dt,
.part-facts .fact-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey);
  padding-top: 3px;
}

.part-facts dd,
.part-facts .fact-value {
  margin: 0;
  color: var(--brown);
}

.part-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.part-actions .phone-link {
  font-size: 1rem;
  color: var(--brown);
  text-decoration: none;
  font-weight: 500;
}

.part-actions .phone-link:hover {
  color: var(--gold-deep);
}

.cert-block {
  margin-top: 64px;
}

.cert-block .section-head {
  margin-bottom: 32px;
}

.cert-note {
  max-width: 760px;
  margin: 0 auto 32px;
  text-align: center;
  color: var(--grey);
  font-size: 0.98rem;
}

.cert-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  background: var(--parchment);
  margin-bottom: 28px;
}

.cert-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.cert-table caption {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.2rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: left;
  padding: 18px 20px 8px;
  color: var(--brown);
  caption-side: top;
}

.cert-table th,
.cert-table td {
  padding: 10px 14px;
  text-align: left;
  border-top: 1px solid var(--line);
  white-space: nowrap;
}

.cert-table th {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey);
}

.cert-table td {
  color: var(--brown);
}

.cert-other {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px 24px;
  margin: 0 0 40px;
}

.cert-other div {
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

.cert-other dt {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey);
  margin: 0 0 4px;
}

.cert-other dd {
  margin: 0;
  color: var(--brown);
}

.verify-pending {
  background: var(--cream-deep);
  border: 1px solid var(--line);
  padding: 28px 32px;
  max-width: 760px;
  margin: 0 auto;
}

.verify-pending h2 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.25rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 10px;
}

.verify-pending p {
  margin: 0;
  color: var(--grey);
}

@media (max-width: 900px) {
  .part-detail-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .part-facts li {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

@media (max-width: 700px) {
  .part-detail {
    padding-bottom: 72px;
  }

  .part-gallery {
    padding: 10px;
    margin-inline: -4px;
  }
}

.part-page-title {
  text-transform: none;
  letter-spacing: 0.02em;
}

/* ---------- Terms and Conditions page ---------- */

.terms-doc {
  width: min(820px, 100%);
  margin: 0 auto;
  padding: 16px 0 80px;
  font-size: 0.98rem;
  line-height: 1.65;
}

.terms-doc p,
.terms-doc li {
  color: var(--grey);
}

.terms-doc p {
  margin: 0 0 14px;
}

.terms-doc ul {
  margin: 0 0 16px;
  padding-left: 1.3em;
}

.terms-doc strong {
  color: var(--brown);
}

.terms-notice {
  border: 1px solid var(--line-strong);
  background: rgba(205, 184, 146, 0.12);
  padding: 14px 18px;
  border-radius: 6px;
}

.terms-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  padding: 16px 0 8px;
  margin: 0 0 8px;
  border-bottom: 1px solid var(--line);
}

.terms-toc a {
  color: var(--brown);
  font-weight: 500;
}

.terms-part {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.6rem;
  letter-spacing: 0.02em;
  color: var(--brown);
  margin: 48px 0 18px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  scroll-margin-top: 96px;
}

.terms-end {
  margin-top: 40px;
  text-align: center;
}

.footer-links {
  margin-top: 6px;
}
