:root {
  --bg: #090807;
  --bg-raise: #12100e;
  --ivory: #f3efe6;
  --ivory-dim: #c9bfb2;
  --brass: #c6a56d;
  --brass-2: #e6d3ae;
  --ink: #14110e;
  --line: rgba(243, 239, 230, 0.14);
  --serif: "Fraunces", "Iowan Old Style", Palatino, Georgia, serif;
  --sans: "Outfit", "Avenir Next", "Segoe UI", Helvetica, Arial, sans-serif;
  --header: 4.6rem;
}

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

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  margin: 0;
  background-color: var(--bg);
  background-image: radial-gradient(ellipse 80% 36% at 50% -8%, rgba(198, 165, 109, 0.1), transparent 58%);
  color: var(--ivory);
  font-family: var(--sans);
  font-size: 1.0625rem;
  font-weight: 360;
  line-height: 1.65;
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}

img { max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }

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

::selection {
  background: var(--brass);
  color: var(--ink);
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 80;
  background: var(--ivory);
  color: var(--ink);
  padding: 0.55rem 0.8rem;
  text-decoration: none;
}
.skip:focus { top: 0.7rem; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.wrap {
  width: min(1180px, calc(100% - 2.4rem));
  margin-inline: auto;
}

section[id] { scroll-margin-top: calc(var(--header) + 0.6rem); }

/* Header */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 30;
  border-top: 2px solid var(--brass);
  background: rgba(9, 8, 7, 0.38);
  backdrop-filter: blur(16px);
  transition: background 0.4s ease, border-color 0.4s ease;
}
.site-header.is-scrolled {
  background: rgba(9, 8, 7, 0.88);
  border-bottom: 1px solid var(--line);
}

.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header);
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
}
.brand-mark {
  width: 0.48rem;
  height: 0.48rem;
  background: var(--brass);
  transform: rotate(45deg);
  flex: none;
}
.brand-name {
  font-family: var(--serif);
  font-weight: 520;
  font-size: 1.28rem;
  letter-spacing: -0.02em;
  line-height: 1;
}

.nav-links,
.nav-panel {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}
.nav-links a,
.nav-panel a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.3rem 0.7rem;
  text-decoration: none;
  color: var(--ivory-dim);
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.nav-links a:hover,
.nav-panel a:hover { color: var(--ivory); }

.nav-toggle { display: none; position: relative; }
.nav-toggle summary {
  list-style: none;
  cursor: pointer;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.76rem;
  font-weight: 500;
  color: var(--ivory);
}
.nav-toggle summary::-webkit-details-marker { display: none; }
.nav-panel {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: absolute;
  right: 0;
  top: calc(100% + 0.4rem);
  min-width: 14rem;
  padding: 0.4rem 0.3rem;
  background: rgba(12, 10, 8, 0.96);
  border: 1px solid var(--line);
}

/* Hero */

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 80% 45%, rgba(198, 165, 109, 0.14), transparent 55%),
    var(--bg);
}
.hero::after {
  content: "";
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: 0;
  height: 28px;
  background: url("../assets/damascus.svg") center / 240px 28px repeat-x;
  pointer-events: none;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% 42%;
  transform: scale(1.14);
  animation: ken 18s ease-out forwards;
}
.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(9, 8, 7, 0.45) 0%, rgba(9, 8, 7, 0.05) 28%, rgba(9, 8, 7, 0.55) 62%, #090807 100%),
    linear-gradient(90deg, rgba(9, 8, 7, 0.78) 0%, rgba(9, 8, 7, 0.28) 46%, rgba(9, 8, 7, 0.15) 100%);
  pointer-events: none;
}
.hero-shade::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.22;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='36' fill='none'><path d='M0 18c10-10 20-10 30 0s20 10 30 0 20-10 30 0 20 10 30 0 20-10 30 0 20 10 30 0 20-10 30 0' stroke='%23c6a56d' stroke-width='0.6'/></svg>");
  background-size: 220px 36px;
  mix-blend-mode: soft-light;
  pointer-events: none;
}
@keyframes ken {
  to { transform: scale(1); }
}

.hero-copy {
  position: relative;
  z-index: 1;
  padding: 6.5rem 0 4.6rem;
  max-width: 18em;
}
.eyebrow {
  margin: 0 0 1rem;
  color: var(--brass);
  font-size: 0.74rem;
  font-weight: 560;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.eyebrow span { color: var(--ivory-dim); }

h1, h2, .pull, .footer-mark {
  font-family: var(--serif);
  font-weight: 520;
  letter-spacing: -0.035em;
  line-height: 0.92;
}
h1 {
  margin: 0;
  font-size: clamp(3.3rem, 12vw, 7.4rem);
}
h1::after {
  content: "";
  display: block;
  width: min(12rem, 46%);
  height: 2px;
  margin-top: 1.15rem;
  background: linear-gradient(90deg, var(--brass-2), var(--brass), transparent);
}
.lede {
  margin: 1.4rem 0 0;
  max-width: 34rem;
  color: var(--ivory-dim);
  font-size: 1.08rem;
  font-weight: 360;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.8rem;
}
.btn, .buy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  min-height: 48px;
  padding: 0.75rem 1.15rem;
  text-decoration: none;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.74rem;
  font-weight: 560;
}
.btn-gold, .buy {
  background: linear-gradient(180deg, #f0e2c4 0%, #c6a56d 55%, #a8884e 100%);
  color: #1a140c;
  box-shadow: 0 10px 30px rgba(198, 165, 109, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}
.btn-gold:hover, .buy:hover {
  background: linear-gradient(180deg, #fff6e4, #d4b483);
  color: #1a140c;
}
.btn-ghost {
  border: 1px solid rgba(243, 239, 230, 0.4);
  color: var(--ivory);
  background: transparent;
}
.btn-ghost:hover {
  border-color: var(--brass);
  color: var(--brass-2);
}
.scroll-cue {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-top: 2.4rem;
  color: var(--ivory-dim);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
}
.scroll-cue i {
  display: block;
  width: 1px;
  height: 2.4rem;
  background: linear-gradient(var(--brass), transparent);
}

/* Sections */

.section { padding: 5rem 0; background: var(--bg); }
.section-head::before {
  content: "";
  display: block;
  width: 9.5rem;
  height: 14px;
  margin-bottom: 0.85rem;
  background: url("../assets/damascus.svg") left center / 152px 14px no-repeat;
}
.section-head { max-width: 40rem; margin-bottom: 2.2rem; }
h2 {
  margin: 0.35rem 0 0;
  font-size: clamp(2.5rem, 6vw, 4.6rem);
}
.prose p { margin: 0 0 1rem; max-width: 38rem; color: var(--ivory-dim); }
.prose a { color: var(--brass-2); }

.pull {
  margin: 1.6rem 0 0;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--ivory);
  max-width: 12em;
}

.story-grid {
  display: grid;
  gap: 1.6rem;
}
.story-photo { margin: 0; }
.story-photo img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid rgba(198, 165, 109, 0.35);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}
.story-photo figcaption {
  margin-top: 0.7rem;
  color: var(--ivory-dim);
  font-size: 0.95rem;
}
.story-photo figcaption span,
.step figcaption span {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--brass);
  font-size: 0.72rem;
  font-weight: 560;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.notes {
  margin-top: 1.4rem;
  border-top: 1px solid var(--line);
}
.notes div {
  display: grid;
  grid-template-columns: 7rem 1fr;
  gap: 0.75rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line);
}
.notes dt { color: var(--brass); font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; }
.notes dd { margin: 0; }

/* Collection */

.intro {
  max-width: 40rem;
  margin: -0.4rem 0 2.4rem;
  color: var(--ivory-dim);
}
.piece {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.15rem;
  margin: 0 0 1.35rem;
  padding: 0.85rem;
  background:
    linear-gradient(160deg, rgba(198, 165, 109, 0.16), transparent 28%),
    #141210;
  border: 1px solid rgba(198, 165, 109, 0.28);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}
.piece:last-child { margin-bottom: 0; }
.visual {
  position: relative;
  background:
    radial-gradient(ellipse at 50% 42%, #fff 0%, #f3efe6 62%, #e7dfd2 100%);
  overflow: hidden;
  aspect-ratio: 4 / 5;
}
.visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  padding: 4%;
  transition: transform 0.8s ease;
}
.visual.wide { aspect-ratio: 3 / 2; }
.visual.square { aspect-ratio: 1; }
.visual.field {
  background: #10100e;
}
.visual.field img {
  object-fit: cover;
  padding: 0;
}
.piece-visual,
.piece-copy,
.visual,
.main-photo,
.thumbs { min-width: 0; max-width: 100%; }
.main-photo { display: block; color: inherit; text-decoration: none; height: 100%; }
.view-label {
  position: absolute;
  z-index: 1;
  left: 0.8rem;
  bottom: 0.8rem;
  padding: 0.4rem 0.55rem;
  background: rgba(9, 8, 7, 0.72);
  color: var(--ivory);
  font-size: 0.68rem;
  font-weight: 560;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.thumbs {
  display: flex;
  gap: 0.45rem;
  overflow-x: auto;
  margin-top: 0.7rem;
  padding-bottom: 0.2rem;
}
.shot {
  position: relative;
  flex: 0 0 3.6rem;
  width: 3.6rem;
  height: 3.6rem;
  overflow: hidden;
  border: 1px solid transparent;
  background: #111;
}
.shot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.shot[aria-current="true"] { border-color: var(--brass); }
.shot.is-chart img { object-fit: contain; background: #fff; }
.chart-tag {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  background: rgba(9, 8, 7, 0.88);
  color: var(--ivory);
  text-align: center;
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.12rem;
}
.piece-copy h3 {
  margin: 0.35rem 0 0;
  font-family: var(--serif);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 520;
  letter-spacing: -0.03em;
  line-height: 0.95;
}
.role { margin: 0.45rem 0 0; color: var(--ivory-dim); }
.flag {
  display: inline-block;
  margin: 0;
  padding: 0.28rem 0.5rem;
  background: var(--brass);
  color: var(--ink);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.knife-lead { margin: 1rem 0 0; max-width: 36rem; }
.specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem 1.2rem;
  margin: 1.15rem 0 0;
  max-width: 26rem;
}
.specs dt {
  margin: 0;
  color: var(--brass);
  font-size: 0.68rem;
  font-weight: 560;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.specs dd { margin: 0.18rem 0 0; }
.rating {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 0.8rem;
  margin: 1rem 0 0;
  color: var(--ivory-dim);
  font-size: 0.95rem;
}
.stars { display: inline-flex; gap: 0.18rem; }
.stars i {
  width: 0.82rem;
  height: 0.82rem;
  background: rgba(198, 165, 109, 0.28);
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}
.stars i.on { background: var(--brass); }
.stars i.part {
  background: linear-gradient(90deg, var(--brass) 40%, rgba(198, 165, 109, 0.28) 40%);
}
.chart-note { margin: 0.8rem 0 0; color: var(--ivory-dim); font-size: 0.92rem; }
.buy { margin-top: 1.3rem; }
.buy-market { font-weight: 450; letter-spacing: 0.08em; opacity: 0.62; }

/* Craft */

.steps {
  display: grid;
  gap: 1.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.step { margin: 0; }
.step {
  padding: 0.7rem;
  background: #141210;
  border: 1px solid rgba(198, 165, 109, 0.22);
  overflow: hidden;
}
.step img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  transition: transform 0.7s ease;
}
.step h3 {
  margin: 0.8rem 0 0.3rem;
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 520;
  letter-spacing: -0.02em;
}
.step p { margin: 0; color: var(--ivory-dim); }
.step .num {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--brass);
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 560;
  letter-spacing: 0.16em;
}

/* Wholesale + footer */

.band {
  background:
    radial-gradient(ellipse 50% 80% at 100% 0%, rgba(198, 165, 109, 0.09), transparent 50%),
    #100e0b;
  border-block: 1px solid var(--line);
}
.email-link {
  display: inline-block;
  margin: 0.6rem 0 0.7rem;
  color: var(--ivory);
  font-family: var(--serif);
  font-size: clamp(1.5rem, 4.4vw, 2.6rem);
  font-weight: 520;
  letter-spacing: -0.03em;
  line-height: 1.15;
  text-underline-offset: 0.14em;
  overflow-wrap: anywhere;
}
.email-link:hover { color: var(--brass-2); }
.fine { margin: 0; max-width: 36rem; color: var(--ivory-dim); }

.site-footer {
  padding: 3.5rem 0 2.4rem;
  border-top: 1px solid var(--line);
}
.footer-mark {
  margin: 0 0 1rem;
  font-size: clamp(2.2rem, 6vw, 3.6rem);
}
.site-footer address { font-style: normal; margin-bottom: 1rem; }
.site-footer p { max-width: 40rem; color: var(--ivory-dim); }
.footer-links, .footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1.1rem;
  margin: 1rem 0;
  padding: 0;
  list-style: none;
}
.footer-links a, .footer-nav a { color: var(--ivory); text-decoration: none; }
.footer-links a:hover, .footer-nav a:hover { color: var(--brass-2); }
.copy { margin-top: 1.6rem; font-size: 0.92rem; }

.missing { min-height: 100svh; display: grid; align-items: center; padding: 7rem 0 4rem; }
.missing h1 { font-size: clamp(2.8rem, 8vw, 5rem); max-width: 10em; }

/* Lightbox */

#lightbox {
  width: min(1040px, calc(100vw - 1rem));
  max-height: calc(100dvh - 1rem);
  margin: auto;
  padding: 0.85rem 0.9rem 1rem;
  border: 1px solid rgba(243, 239, 230, 0.18);
  background: #0c0b09;
  color: var(--ivory);
}
#lightbox::backdrop { background: rgba(0, 0, 0, 0.82); }
.lb-top, .lb-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
.lb-top p, .lb-count {
  margin: 0;
  color: var(--brass);
  font-size: 0.72rem;
  font-weight: 560;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.lb-close, .lb-prev, .lb-next {
  min-height: 44px;
  padding: 0.4rem 0.8rem;
  border: 1px solid rgba(243, 239, 230, 0.28);
  background: transparent;
  cursor: pointer;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.72rem;
}
.lb-close:hover, .lb-prev:hover, .lb-next:hover {
  border-color: var(--brass);
  color: var(--brass-2);
}
.lb-img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: calc(100dvh - 11.5rem);
  height: auto;
  margin: 0.75rem auto;
  object-fit: contain;
  background: #080706;
  touch-action: pan-y;
}
.lb-cap { margin: 0 0 0.75rem; color: var(--ivory-dim); }
.swipe-hint {
  display: none;
  margin: 0;
  color: var(--ivory-dim);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Reveal */

.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}
.js .reveal.is-in { opacity: 1; transform: none; }
.js .steps .step:nth-child(2) { transition-delay: 0.08s; }
.js .steps .step:nth-child(3) { transition-delay: 0.16s; }
.js .steps .step:nth-child(4) { transition-delay: 0.24s; }

@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .actions { flex-direction: column; align-items: stretch; }
  .notes div { grid-template-columns: 1fr; gap: 0.15rem; }
}

@media (min-width: 720px) {
  .steps { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 900px) {
  .hero { align-items: center; }
  .hero-media { left: 34%; }
  .hero-shade {
    background:
      linear-gradient(90deg, #090807 0%, rgba(9, 8, 7, 0.88) 18%, rgba(9, 8, 7, 0.28) 42%, rgba(9, 8, 7, 0.05) 68%, rgba(9, 8, 7, 0.55) 100%),
      linear-gradient(180deg, rgba(9, 8, 7, 0.55), transparent 18% 78%, #090807);
  }
  .hero-copy { padding: 7rem 0; max-width: min(34rem, 48vw); }
  .section { padding: 7rem 0; }
  .story-grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 3.5rem;
    align-items: end;
  }
  .piece {
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
    gap: 3.2rem;
    align-items: center;
    padding: 3.5rem 0;
  }
  .piece.flip { grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.15fr); }
  .piece.flip .piece-visual { order: 2; }
  .steps { grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
}

@media (pointer: coarse) {
  .swipe-hint { display: block; }
}

@media (hover: hover) and (pointer: fine) {
  .piece,
  .step {
    transition: transform 0.45s ease, box-shadow 0.45s ease, border-color 0.45s ease;
  }
  .piece:hover,
  .step:hover {
    transform: translateY(-10px);
    border-color: rgba(230, 211, 174, 0.9);
    box-shadow:
      0 26px 54px rgba(0, 0, 0, 0.46),
      0 0 0 1px rgba(230, 211, 174, 0.28),
      0 0 46px rgba(198, 165, 109, 0.24);
  }
  .piece:hover .visual img,
  .step:hover img { transform: scale(1.07); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-media img { animation: none; transform: none; }
  .visual img, .step img, .piece, .step { transition: none; }
  .piece:hover, .step:hover { transform: none; }
  .piece:hover .visual img, .step:hover img { transform: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}
