:root {
  color-scheme: light;
  --color-ink: #101813;
  --color-ink-soft: #2d352e;
  --color-forest: #183527;
  --color-forest-deep: #07130f;
  --color-moss: #badf48;
  --color-lime: #dcf86a;
  --color-clay: #a66e3f;
  --color-cream: #f7f2e8;
  --color-paper: #fffaf0;
  --color-stone: #d7d0c2;
  --color-muted: #6b6f68;
  --color-white: #ffffff;
  --shadow-soft: 0 20px 55px rgba(16, 24, 19, 0.12);
  --radius-sm: 6px;
  --radius-md: 8px;
  --container: 1180px;
  --header-height: 76px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--color-cream);
  color: var(--color-ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid var(--color-lime);
  outline-offset: 4px;
}

::selection {
  background: var(--color-lime);
  color: var(--color-forest-deep);
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 100;
  transform: translateY(-160%);
  border-radius: var(--radius-sm);
  background: var(--color-lime);
  color: var(--color-forest-deep);
  padding: 10px 14px;
  font-weight: 800;
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

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

.narrow {
  max-width: 820px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: var(--header-height);
  border-bottom: 1px solid rgba(16, 24, 19, 0.12);
  background: rgba(247, 242, 232, 0.9);
  backdrop-filter: blur(18px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--color-ink);
  text-decoration: none;
}

.brand img {
  width: 48px;
  height: 48px;
  border: 1px solid rgba(16, 24, 19, 0.18);
  border-radius: 50%;
  object-fit: cover;
  background: var(--color-forest-deep);
}

.brand-copy {
  display: grid;
  gap: 0;
}

.brand-name {
  font-size: 1.05rem;
  font-weight: 850;
  line-height: 1.1;
  text-transform: uppercase;
}

.brand-note {
  color: var(--color-muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.primary-nav a {
  border-radius: 999px;
  color: var(--color-ink-soft);
  font-size: 0.94rem;
  font-weight: 750;
  padding: 10px 14px;
  text-decoration: none;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.primary-nav a:hover {
  background: rgba(24, 53, 39, 0.08);
  color: var(--color-forest-deep);
}

.primary-nav .nav-cta {
  background: var(--color-forest-deep);
  color: var(--color-paper);
}

.primary-nav .nav-cta:hover {
  background: var(--color-forest);
  color: var(--color-white);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(16, 24, 19, 0.18);
  border-radius: var(--radius-md);
  background: var(--color-paper);
  padding: 12px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  border-radius: 2px;
  background: var(--color-ink);
}

.nav-toggle span + span {
  margin-top: 6px;
}

.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: min(720px, calc(88svh - var(--header-height)));
  overflow: hidden;
  background-image: linear-gradient(
      90deg,
      rgba(247, 242, 232, 0.98) 0%,
      rgba(247, 242, 232, 0.9) 42%,
      rgba(247, 242, 232, 0.28) 72%
    ),
    url("../assets/images/collection-hero.jpg");
  background-position: center right;
  background-size: cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 9px;
  background: linear-gradient(90deg, var(--color-lime), var(--color-clay), var(--color-forest));
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-block: 92px 110px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--color-clay);
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow-inverse {
  color: var(--color-lime);
}

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

h1,
h2,
h3 {
  color: var(--color-ink);
  line-height: 1.02;
}

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: 4.5rem;
  font-weight: 900;
}

h2 {
  margin-bottom: 18px;
  font-size: 3rem;
  font-weight: 880;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.12rem;
  font-weight: 830;
}

.hero-lede {
  max-width: 650px;
  color: var(--color-ink-soft);
  font-size: 1.18rem;
  font-weight: 520;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  padding: 13px 18px;
  font-weight: 850;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

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

.button-primary {
  background: var(--color-forest-deep);
  color: var(--color-paper);
}

.button-primary:hover {
  background: var(--color-forest);
  color: var(--color-white);
}

.button-secondary {
  border-color: rgba(16, 24, 19, 0.24);
  background: rgba(255, 250, 240, 0.8);
  color: var(--color-ink);
}

.button-secondary:hover {
  border-color: rgba(16, 24, 19, 0.42);
  background: var(--color-paper);
}

.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.trust-list li {
  border: 1px solid rgba(16, 24, 19, 0.16);
  border-radius: 999px;
  background: rgba(255, 250, 240, 0.64);
  color: var(--color-ink-soft);
  padding: 8px 12px;
  font-size: 0.9rem;
  font-weight: 750;
}

.section {
  padding-block: 92px;
}

.section-light {
  background: var(--color-paper);
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  gap: 70px;
  align-items: start;
}

.content-stack p {
  color: var(--color-ink-soft);
  font-size: 1.08rem;
}

.content-stack p:last-child,
.section-heading p:last-child,
.category-card p:last-child,
.marketplace-card p:last-child,
.contact-panel p:last-child {
  margin-bottom: 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading p {
  color: var(--color-ink-soft);
  font-size: 1.06rem;
}

.category-grid,
.marketplace-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.category-card,
.marketplace-card {
  min-height: 185px;
  border: 1px solid rgba(16, 24, 19, 0.12);
  border-radius: var(--radius-md);
  background: rgba(255, 250, 240, 0.76);
  padding: 24px;
  transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.category-card:hover,
.marketplace-card:hover {
  border-color: rgba(24, 53, 39, 0.32);
  box-shadow: var(--shadow-soft);
  transform: translateY(-2px);
}

.category-card h3,
.marketplace-card h3 {
  color: var(--color-forest);
}

.category-card p,
.marketplace-card p {
  color: var(--color-muted);
}

.sell-section {
  padding-block: 92px;
  background:
    linear-gradient(135deg, rgba(220, 248, 106, 0.12), rgba(166, 110, 63, 0.08) 42%, transparent 70%),
    var(--color-forest-deep);
  color: rgba(255, 250, 240, 0.84);
}

.sell-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(460px, 1fr);
  gap: 54px;
  align-items: start;
}

.sell-intro {
  position: sticky;
  top: calc(var(--header-height) + 28px);
}

.sell-intro h2 {
  color: var(--color-paper);
  font-size: 3.35rem;
}

.sell-intro > p {
  max-width: 560px;
  color: rgba(255, 250, 240, 0.8);
  font-size: 1.08rem;
}

.process-list {
  display: grid;
  gap: 14px;
  margin-top: 34px;
}

.process-list article {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px 16px;
  border: 1px solid rgba(255, 250, 240, 0.16);
  border-radius: var(--radius-md);
  background: rgba(255, 250, 240, 0.055);
  padding: 18px;
}

.process-list span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--color-lime);
  color: var(--color-forest-deep);
  font-weight: 900;
}

.process-list h3 {
  margin-bottom: 6px;
  color: var(--color-paper);
}

.process-list p {
  grid-column: 2;
  margin-bottom: 0;
  color: rgba(255, 250, 240, 0.72);
}

.sell-form {
  border: 1px solid rgba(255, 250, 240, 0.22);
  border-radius: var(--radius-md);
  background: var(--color-paper);
  color: var(--color-ink);
  padding: 28px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
}

.form-note,
.submit-note,
.field-help {
  color: var(--color-muted);
  font-size: 0.93rem;
}

.honeypot {
  position: absolute;
  left: -100vw;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

fieldset {
  min-width: 0;
  margin: 28px 0 0;
  border: 0;
  border-top: 1px solid rgba(16, 24, 19, 0.14);
  padding: 22px 0 0;
}

legend {
  padding-right: 14px;
  color: var(--color-forest);
  font-size: 1.05rem;
  font-weight: 880;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

label {
  display: grid;
  gap: 7px;
  color: var(--color-ink-soft);
  font-weight: 760;
}

.sell-form fieldset > label + label,
.field-help + label {
  margin-top: 16px;
}

label span strong {
  color: var(--color-clay);
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
textarea {
  width: 100%;
  border: 1px solid rgba(16, 24, 19, 0.18);
  border-radius: var(--radius-sm);
  background: var(--color-white);
  color: var(--color-ink);
  padding: 12px 13px;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

textarea {
  min-height: 116px;
  resize: vertical;
}

input:focus,
textarea:focus {
  border-color: var(--color-forest);
  box-shadow: 0 0 0 4px rgba(186, 223, 72, 0.28);
  outline: none;
}

input::placeholder,
textarea::placeholder {
  color: #8a8d86;
}

.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.checkbox-grid label,
.consent-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-height: 44px;
  border: 1px solid rgba(16, 24, 19, 0.14);
  border-radius: var(--radius-sm);
  background: rgba(247, 242, 232, 0.58);
  padding: 11px 12px;
  font-weight: 720;
}

input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--color-forest);
  flex: 0 0 auto;
}

.consent-row {
  margin-top: 24px;
}

.form-submit {
  width: 100%;
  margin-top: 18px;
}

.submit-note {
  margin: 14px 0 0;
}

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

.marketplace-card {
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 230px;
  padding: 30px;
}

.text-link {
  align-self: end;
  width: fit-content;
  margin-top: 10px;
  color: var(--color-forest);
  font-weight: 850;
}

.contact-section {
  padding-top: 0;
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1fr);
  gap: 32px;
  align-items: center;
  border-top: 1px solid rgba(16, 24, 19, 0.12);
  padding-top: 64px;
}

.contact-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.contact-links a {
  display: grid;
  min-height: 110px;
  border: 1px solid rgba(16, 24, 19, 0.13);
  border-radius: var(--radius-md);
  background: var(--color-paper);
  padding: 22px;
  color: var(--color-forest);
  font-size: 1.03rem;
  font-weight: 860;
  text-decoration: none;
  overflow-wrap: anywhere;
  transition: border-color 160ms ease, transform 160ms ease;
}

.contact-links a:hover {
  border-color: rgba(24, 53, 39, 0.36);
  transform: translateY(-1px);
}

.contact-links span {
  color: var(--color-muted);
  font-size: 0.86rem;
  font-weight: 760;
}

.site-footer {
  background: var(--color-forest-deep);
  color: rgba(255, 250, 240, 0.78);
  padding-block: 54px 26px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 44px;
  align-items: start;
}

.brand-footer,
.brand-footer .brand-name {
  color: var(--color-paper);
}

.brand-footer .brand-note {
  color: rgba(255, 250, 240, 0.62);
}

.footer-brand p {
  max-width: 780px;
  margin: 20px 0 0;
  font-size: 0.9rem;
}

.footer-nav {
  display: grid;
  gap: 10px;
  min-width: 190px;
}

.footer-nav a {
  color: var(--color-paper);
  font-weight: 780;
  text-decoration-color: rgba(220, 248, 106, 0.4);
}

.footer-bottom {
  margin-top: 36px;
  border-top: 1px solid rgba(255, 250, 240, 0.12);
  padding-top: 20px;
  font-size: 0.88rem;
}

.footer-bottom p {
  margin-bottom: 0;
}

.page-hero {
  padding-block: 90px 70px;
  background:
    linear-gradient(120deg, rgba(247, 242, 232, 0.97), rgba(247, 242, 232, 0.74)),
    url("../assets/images/collection-hero.jpg");
  background-position: center right;
  background-size: cover;
}

.page-hero h1,
.not-found h1 {
  margin-bottom: 16px;
  font-size: 3.55rem;
}

.page-hero p:not(.eyebrow),
.not-found p:not(.eyebrow) {
  color: var(--color-ink-soft);
  font-size: 1.12rem;
}

.prose h2 {
  margin-top: 34px;
  margin-bottom: 10px;
  font-size: 1.55rem;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose p {
  color: var(--color-ink-soft);
}

.privacy-date {
  margin-top: 34px;
  font-weight: 760;
}

.not-found {
  display: grid;
  min-height: 100svh;
  align-items: center;
  background: var(--color-cream);
}

.not-found img {
  width: 72px;
  height: 72px;
  margin-bottom: 22px;
  border-radius: 50%;
}

@media (max-width: 980px) {
  h1 {
    font-size: 3.45rem;
  }

  h2,
  .sell-intro h2 {
    font-size: 2.45rem;
  }

  .hero {
    background-position: 62% center;
  }

  .split-layout,
  .sell-layout,
  .contact-panel {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .sell-intro {
    position: static;
  }

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

@media (max-width: 760px) {
  :root {
    --header-height: 68px;
  }

  html {
    scroll-padding-top: var(--header-height);
  }

  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .brand img {
    width: 42px;
    height: 42px;
  }

  .brand-name {
    font-size: 0.96rem;
  }

  .brand-note {
    font-size: 0.72rem;
  }

  .nav-toggle {
    display: grid;
    align-content: center;
  }

  .primary-nav {
    position: fixed;
    inset: var(--header-height) 14px auto;
    display: grid;
    gap: 6px;
    border: 1px solid rgba(16, 24, 19, 0.14);
    border-radius: var(--radius-md);
    background: var(--color-paper);
    padding: 12px;
    box-shadow: var(--shadow-soft);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 160ms ease, transform 160ms ease;
    visibility: hidden;
  }

  .primary-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    visibility: visible;
  }

  .primary-nav a {
    min-height: 46px;
    border-radius: var(--radius-sm);
    padding: 12px;
  }

  .hero {
    min-height: auto;
    background-image: linear-gradient(
        180deg,
        rgba(247, 242, 232, 0.98) 0%,
        rgba(247, 242, 232, 0.9) 48%,
        rgba(247, 242, 232, 0.38) 100%
      ),
      url("../assets/images/collection-hero.jpg");
    background-position: 66% bottom;
  }

  .hero-content {
    padding-block: 48px 170px;
  }

  h1 {
    font-size: 2.65rem;
  }

  h2,
  .sell-intro h2,
  .page-hero h1,
  .not-found h1 {
    font-size: 2.15rem;
  }

  .hero-lede,
  .content-stack p {
    font-size: 1rem;
  }

  .section,
  .sell-section {
    padding-block: 64px;
  }

  .category-grid,
  .marketplace-grid,
  .form-grid,
  .checkbox-grid,
  .contact-links,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .category-card,
  .marketplace-card,
  .sell-form {
    padding: 20px;
  }

  .process-list article {
    grid-template-columns: 38px 1fr;
    padding: 16px;
  }

  .process-list span {
    width: 38px;
    height: 38px;
  }

  .contact-section {
    padding-top: 0;
  }

  .contact-panel {
    padding-top: 48px;
  }
}

@media (max-width: 420px) {
  .brand-copy {
    max-width: 156px;
  }

  h1 {
    font-size: 2.35rem;
  }
}

@media (max-width: 760px) and (max-height: 700px) {
  .hero-content {
    padding-block: 36px 82px;
  }

  h1 {
    font-size: 2.15rem;
  }

  .hero-lede {
    font-size: 0.98rem;
  }

  .trust-list {
    margin-top: 20px;
  }
}

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