/* SharpKnife Works LLC — wholesale landing */
:root {
  --ground: #F5F2F7;
  --band: #ECE6F1;
  --surface: #FFFFFF;
  --line: #DDD4E4;
  --line-soft: #EEE8F2;
  --ink: #241A30;
  --muted: #54495F;
  --muted-2: #62576D;
  --accent: #7A3FB0;
  --accent-dark: #5E2C8C;
  --dark: #2A1E38;
  --dark-line: #463857;
  --dark-text: #DDD3E6;
  --dark-muted: #B7A9C6;
  --display: 'Bricolage Grotesque', 'Helvetica Neue', Arial, sans-serif;
  --body: 'IBM Plex Sans', 'Helvetica Neue', Arial, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, Menlo, monospace;
  --pad: clamp(20px, 5.5vw, 80px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: var(--body); color: var(--ink); background: var(--ground); line-height: 1.5; }
img { max-width: 100%; display: block; }
a { color: var(--accent); }
a:hover { color: var(--accent-dark); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.wrap { padding-left: var(--pad); padding-right: var(--pad); max-width: 1440px; margin: 0 auto; }
.eyebrow { font-family: var(--mono); font-size: 13px; letter-spacing: .12em; color: var(--accent); }
h1, h2 { font-family: var(--display); font-weight: 700; letter-spacing: -.01em; margin: 0; }
h2 { font-size: clamp(34px, 4.4vw, 52px); line-height: 1.05; }
h3 { margin: 0; }
p { margin: 0; }
.lead { font-size: 17px; line-height: 1.55; color: var(--muted); max-width: 440px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 28px; border-radius: 999px; font: 600 16px var(--body); text-decoration: none; cursor: pointer; border: 1.5px solid transparent; }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-dark); color: #fff; }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-dark { background: var(--ink); color: #fff; min-height: 44px; padding: 0 20px; font-size: 15px; }
.btn-dark:hover { color: #fff; background: #000; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: var(--ground); border-bottom: 1px solid var(--line); }
.site-header .wrap { height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-family: var(--display); font-weight: 700; font-size: 21px; letter-spacing: .02em; }
.logo span { color: var(--accent); font-weight: 600; }
.nav { display: flex; align-items: center; gap: 32px; font-weight: 500; font-size: 15px; }
.nav a:not(.btn) { color: var(--ink); text-decoration: none; }
.nav a:not(.btn):hover { color: var(--accent); }
.menu-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; width: 44px; height: 44px; cursor: pointer; }

/* Hero */
.hero .wrap { display: grid; grid-template-columns: 7fr 4fr; gap: 64px; align-items: center; padding-top: 88px; padding-bottom: 80px; }
.hero-copy { display: flex; flex-direction: column; gap: 26px; }
.hero h1 { font-size: clamp(46px, 6.2vw, 84px); line-height: .98; letter-spacing: -.02em; }
.hero-copy > p { font-size: 20px; line-height: 1.55; color: var(--muted); max-width: 600px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 6px; }
.terms-card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 28px 30px; }
.terms-card .eyebrow { color: var(--muted-2); font-size: 12px; display: block; margin-bottom: 8px; }
.terms-card dl { margin: 0; }
.terms-card .row { display: flex; justify-content: space-between; gap: 16px; padding: 15px 0; border-bottom: 1px solid var(--line-soft); }
.terms-card .row:last-child { border-bottom: 0; }
.terms-card dt { color: var(--muted-2); font-size: 15px; }
.terms-card dd { margin: 0; font-weight: 600; font-size: 16px; text-align: right; }

/* Brands */
.brands { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.brands .wrap { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-top: 30px; padding-bottom: 30px; flex-wrap: wrap; }
.brands ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 20px 56px; font-family: var(--display); font-weight: 700; font-size: 25px; color: #3A2C4A; }

/* How it works */
.how .wrap { padding-top: 96px; padding-bottom: 96px; display: flex; flex-direction: column; gap: 44px; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.section-head > div { display: flex; flex-direction: column; gap: 12px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; counter-reset: step; }
.steps li { border-top: 3px solid var(--ink); padding: 26px 4px 0; display: flex; flex-direction: column; gap: 10px; }
.steps li::before { counter-increment: step; content: "0" counter(step); font-family: var(--mono); font-size: 14px; color: var(--accent); }
.steps h3 { font-size: 20px; font-weight: 600; }
.steps p { font-size: 16px; color: var(--muted); }

/* Catalog */
.catalog { background: var(--band); }
.catalog .wrap { padding-top: 96px; padding-bottom: 104px; display: flex; flex-direction: column; gap: 32px; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; }
.filter { min-height: 44px; padding: 0 20px; border-radius: 999px; font: 500 15px var(--body); cursor: pointer; background: transparent; color: var(--ink); border: 1px solid #C4B6D2; }
.filter[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; }
.card-img { aspect-ratio: 1 / 0.8; padding: 16px; border-bottom: 1px solid var(--line-soft); display: flex; align-items: center; justify-content: center; background: #fff; }
.card-img img { max-height: 100%; width: auto; object-fit: contain; }
.card-body { padding: 20px; display: flex; flex-direction: column; gap: 9px; flex-grow: 1; }
.card-meta { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.brand { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; color: var(--accent); }
.tag { font-size: 12px; padding: 4px 10px; border-radius: 999px; background: #F1EBF6; color: var(--muted); white-space: nowrap; }
.card h3 { font-size: 17px; line-height: 1.3; font-weight: 600; }
.asin { font-family: var(--mono); font-size: 12px; color: #6D6178; }
.price { display: flex; align-items: baseline; gap: 8px; margin-top: 4px; }
.price strong { font-family: var(--display); font-size: 28px; }
.price span, .moq { font-size: 13px; color: var(--muted-2); }
.qty { margin-top: auto; padding-top: 12px; display: flex; align-items: center; gap: 8px; }
.qty button { height: 44px; border-radius: 10px; font: 600 15px var(--body); cursor: pointer; }
.qty .dec { width: 44px; border: 1px solid #D2C6DC; background: #fff; font-size: 20px; color: var(--ink); }
.qty .dec:disabled { opacity: .4; cursor: default; }
.qty .inc { padding: 0 16px; border: 0; background: var(--ink); color: #fff; }
.qty output { flex-grow: 1; text-align: center; font-weight: 600; font-size: 15px; }

/* Order */
.order .wrap { padding-top: 104px; padding-bottom: 104px; display: grid; grid-template-columns: 7fr 4fr; gap: 64px; align-items: start; }
.order-form { display: flex; flex-direction: column; gap: 30px; }
.order-form .head { display: flex; flex-direction: column; gap: 12px; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label, legend { font-size: 14px; font-weight: 600; }
.field input, .field select, .field textarea { min-height: 52px; padding: 0 16px; border: 1px solid #D2C6DC; border-radius: 10px; background: #fff; font: 400 16px var(--body); color: var(--ink); }
.field textarea { padding: 14px 16px; resize: vertical; }
.field input:invalid:not(:placeholder-shown) { border-color: var(--accent); }
fieldset { margin: 0; padding: 0; border: 0; display: flex; flex-direction: column; gap: 12px; }
legend { margin-bottom: 12px; padding: 0; }
.pay { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; background: #fff; border: 1px solid #D2C6DC; border-radius: 12px; cursor: pointer; }
.pay:has(input:checked) { border: 1.5px solid var(--ink); }
.pay input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--accent); }
.pay strong { display: block; font-size: 16px; }
.pay small { font-size: 14px; color: var(--muted-2); }
.agree { display: flex; gap: 12px; align-items: center; font-size: 15px; color: var(--muted); }
.agree input { width: 18px; height: 18px; accent-color: var(--accent); }
.hp { position: absolute; left: -9999px; }

.summary { position: sticky; top: 100px; background: var(--dark); color: #F4F1EA; border-radius: 18px; padding: 30px; display: flex; flex-direction: column; gap: 18px; }
.summary .eyebrow { color: var(--dark-muted); font-size: 12px; }
.summary ul { list-style: none; margin: 0; padding: 0; }
.summary li { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--dark-line); font-size: 15px; }
.summary li small { display: block; font-family: var(--mono); font-size: 12px; color: var(--dark-muted); margin-top: 3px; }
.summary li b { white-space: nowrap; }
.empty { padding: 22px; border: 1px dashed #5B4C6D; border-radius: 12px; font-size: 15px; color: #D3C8DE; }
.total-row { display: flex; justify-content: space-between; font-size: 15px; }
.total-row span:first-child { color: #D3C8DE; }
.total-row span:last-child { font-weight: 600; }
.summary .btn { width: 100%; min-height: 56px; font-size: 17px; }
.summary .btn:disabled { opacity: .6; cursor: progress; }
.status { font-size: 14px; line-height: 1.5; min-height: 1em; }
.status.ok { color: #BFE8CF; }
.status.err { color: #F5B7A3; }
.fine { font-size: 13px; color: var(--dark-muted); }

/* About */
.about { background: var(--dark); color: #F4F1EA; }
.about .wrap { padding-top: 110px; padding-bottom: 110px; display: grid; grid-template-columns: 5fr 1fr 6fr; row-gap: 60px; }
.about .eyebrow { color: #D7B8F2; }
.about-head { grid-column: 1; display: flex; flex-direction: column; gap: 16px; }
.about-head h2 { font-size: clamp(38px, 4.6vw, 56px); line-height: 1.02; }
.about-text { grid-column: 3; display: flex; flex-direction: column; gap: 20px; font-size: 18px; line-height: 1.65; color: var(--dark-text); }
.pillars { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.pillars div { padding: 28px; border: 1px solid var(--dark-line); border-radius: 14px; display: flex; flex-direction: column; gap: 10px; }
.pillars h3 { font-size: 20px; font-weight: 600; }
.pillars p { font-size: 16px; color: #D3C8DE; }

/* Footer */
.site-footer { background: #1C1426; color: #D3C8DE; }
.site-footer .wrap { padding-top: 60px; padding-bottom: 40px; display: flex; flex-direction: column; gap: 40px; }
.foot-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; font-size: 15px; }
.foot-grid div { display: flex; flex-direction: column; gap: 10px; }
.foot-grid b { color: #F4F1EA; }
.foot-grid a { color: #D3C8DE; }
.foot-grid a:hover { color: #fff; }
.foot-brand { font-family: var(--display); font-weight: 700; font-size: 20px; color: #F4F1EA; }
.copy { font-size: 13px; color: #9A8DAA; }

/* Legal pages */
.legal .wrap { max-width: 820px; padding-top: 72px; padding-bottom: 96px; }
.legal h1 { font-size: clamp(36px, 5vw, 52px); margin-bottom: 8px; }
.legal h2 { font-size: 24px; margin: 40px 0 12px; }
.legal p, .legal li { font-size: 17px; line-height: 1.7; color: #3A3044; }
.legal p + p { margin-top: 12px; }
.legal .updated { color: var(--muted-2); font-size: 15px; margin-bottom: 32px; }

/* Responsive */
@media (max-width: 1180px) {
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero .wrap, .order .wrap { gap: 40px; }
}
@media (max-width: 960px) {
  .nav { display: none; position: absolute; top: 76px; left: 0; right: 0; background: var(--ground); flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--pad) 20px; border-bottom: 1px solid var(--line); }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line-soft); }
  .nav .btn { margin-top: 14px; }
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .hero .wrap, .order .wrap { grid-template-columns: 1fr; }
  .hero .wrap { padding-top: 56px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .summary { position: static; }
  .about .wrap { grid-template-columns: 1fr; }
  .about-head, .about-text { grid-column: 1; }
  .pillars { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .grid, .steps, .fields, .foot-grid { grid-template-columns: 1fr; }
  .brands ul { font-size: 20px; gap: 12px 28px; }
  .hero-actions .btn { width: 100%; }
}
