@font-face {
  font-family: Cormorant;
  src: url(/assets/cormorant-medium.woff) format('woff');
  font-display: swap;
  font-weight: 400 600;
}
@font-face {
  font-family: Cormorant;
  src: url(/assets/cormorant-italic.woff) format('woff');
  font-display: swap;
  font-style: italic;
}
@font-face {
  font-family: DM;
  src: url(/assets/dm-sans.woff) format('woff');
  font-display: swap;
  font-weight: 400;
}
@font-face {
  font-family: DM;
  src: url(/assets/dm-sans-semibold.woff) format('woff');
  font-display: swap;
  font-weight: 600 800;
}
:root {
  --ink: #172936;
  --night: #152630;
  --muted: #5d686d;
  --paper: #fbfaf7;
  --stone: #f2f0eb;
  --line: #d8d8d1;
  --brass: #a58759;
  --serif: Cormorant, Georgia, serif;
  --gutter: clamp(20px, 5.6vw, 100px);
  font-family: DM, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
}
body:has(dialog[open]) {
  overflow: hidden;
}
button,
input,
select {
  font: inherit;
  color: inherit;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
  background: none;
  border: 0;
}
button:disabled {
  opacity: 0.42;
  cursor: default;
}
a {
  color: inherit;
  text-decoration: none;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
summary:focus-visible,
select:focus-visible {
  outline: 2px solid #ae8448;
  outline-offset: 3px;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2 {
  font-family: var(--serif);
  font-weight: 500;
}
button svg,
a svg,
label svg {
  flex: none;
  width: 18px;
  height: 18px;
  stroke-width: 1.5;
}
i[data-icon] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
[hidden] {
  display: none !important;
}
.wrap {
  max-width: 1720px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.skip {
  position: fixed;
  z-index: 9;
  top: -80px;
  background: white;
  padding: 12px;
}
.skip:focus {
  top: 5px;
}
.mast {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.mast-inner {
  display: flex;
  align-items: center;
  min-height: 73px;
  gap: 56px;
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}
.wordmark img {
  flex: none;
  width: 30px;
  height: auto;
}
.wordmark span,
.footer-brand {
  font: 500 34px/0.9 var(--serif);
  letter-spacing: -1.7px;
}
.mast nav,
.mast-actions,
.mast nav button,
.selection-link,
.tools,
.outlined,
.hero-cta,
.text-action,
.dark {
  display: flex;
  align-items: center;
  gap: 10px;
}
.mast nav {
  gap: 28px;
}
.mast nav button,
.mast nav a,
.selection-link {
  font-size: 13px;
  font-weight: 600;
}
.mast nav button {
  padding: 12px 0;
}
.mast nav svg {
  width: 13px;
}
.mast-actions {
  margin-left: auto;
  gap: 16px;
}
.icon-button {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
}
.icon-button:hover {
  background: var(--stone);
}
.selection-link {
  border-left: 1px solid var(--line);
  padding: 4px 0 4px 20px;
}
.selection-link b {
  display: grid;
  place-items: center;
  font-size: 10px;
  border-radius: 50%;
  min-width: 20px;
  height: 20px;
  background: #e9e8e1;
}
.hero {
  display: grid;
  grid-template-columns: 47% 53%;
  background: var(--night);
  color: #f7f3e9;
  max-width: 1840px;
  margin: auto;
}
.hero-copy {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-height: clamp(354px, 29vw, 475px);
  padding: 42px clamp(30px, 4vw, 70px) 44px
    max(var(--gutter), calc((100vw - 1720px) / 2 + var(--gutter)));
  background: radial-gradient(ellipse at 0 10%, #243b49 0, transparent 70%);
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  letter-spacing: 2.15px;
  text-transform: uppercase;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.5;
}
.hairline {
  display: inline-block;
  width: 30px;
  height: 1px;
  background: var(--brass);
}
.hero-copy .eyebrow {
  color: #e4d1ad;
}
.hero h1 {
  font-size: clamp(61px, 5.7vw, 96px);
  line-height: 0.91;
  letter-spacing: -0.041em;
  margin: 20px 0 17px;
}
.hero h1 em {
  font-weight: 400;
  color: #ead8b8;
}
.hero-intro {
  color: #d4dadc;
  font-size: 14px;
  line-height: 1.62;
  max-width: 350px;
}
.hero-cta {
  padding: 12px 17px;
  margin-top: 24px;
  align-items: center;
  gap: 25px;
  background: #f2ebdc;
  color: #162832;
  font-size: 12px;
  font-weight: 600;
  transition: background 0.15s;
}
.hero-cta:hover {
  background: white;
}
.hero-cta svg {
  width: 16px;
}
.hero-photo {
  display: block;
  position: relative;
  overflow: hidden;
  min-width: 0;
}
.hero-photo img {
  width: 100%;
  height: 100%;
  position: absolute;
  object-fit: cover;
  object-position: 55% 47%;
}
.collection {
  padding-block: 45px 64px;
  min-height: 480px;
  scroll-margin: 16px;
}
.section-label {
  color: #6d614e;
  font-size: 9px;
}
.section-label .hairline {
  width: 22px;
}
.collection-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 8px 0 20px;
}
.heading-pair {
  display: flex;
  gap: 14px;
  align-items: baseline;
}
.heading-pair h2,
.admin h1 {
  font-size: clamp(40px, 3.5vw, 62px);
  letter-spacing: -0.047em;
  line-height: 1.05;
}
.heading-pair span {
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
}
.tools {
  gap: 8px;
}
.search,
.outlined,
.admin-actions button,
.kanban-column-add,
.kanban-card-actions button {
  border: 1px solid var(--line);
  border-radius: 3px;
}
.search {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 13px;
  height: 39px;
  min-width: 0;
}
.search svg {
  width: 15px;
}
.search input {
  width: 185px;
  border: 0;
  background: none;
  outline: 0;
  min-width: 0;
  font-size: 12px;
}
.search:focus-within {
  outline: 2px solid var(--brass);
  outline-offset: 1px;
}
.outlined,
.dark,
.admin-actions button,
.kanban-column-add {
  padding: 10px 15px;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  min-height: 39px;
}
.outlined:hover,
.admin-actions button:not(.dark):hover {
  background: #edece5;
}
.dark {
  background: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 3px;
  color: white;
  justify-content: center;
}
.dark:hover:enabled {
  background: #314955;
}
.tabs {
  display: flex;
  align-items: stretch;
  gap: clamp(14px, 2vw, 30px);
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
  scrollbar-width: thin;
}
.tabs button {
  font-size: 12px;
  white-space: nowrap;
  padding: 9px 0 12px;
  color: #556167;
  border-bottom: 2px solid transparent;
}
.tabs button[aria-current='true'] {
  font-weight: 600;
  color: var(--ink);
  border-bottom-color: var(--ink);
}
.tabs .all-cats {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 7px;
}
.all-cats svg {
  width: 14px;
  height: 14px;
}
.status-line {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}
.status-line:not(:empty) {
  margin: 8px 0;
}
.status-line:has(#status:empty):has(#retry[hidden]) {
  display: none;
}
.grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px 18px;
  margin-top: 21px;
}
.product {
  min-width: 0;
}
.product-button {
  width: 100%;
  display: block;
  text-align: left;
  padding: 0;
}
.product-photo {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1.16;
  overflow: hidden;
  background: #eeede8;
  border: 1px solid #e6e4dd;
  border-radius: 3px;
}
.product-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
  transition: transform 0.3s;
}
.product-button:hover img {
  transform: scale(1.035);
}
.product-button[aria-pressed='true'] .product-photo {
  border-color: var(--ink);
}
.add-mark {
  position: absolute;
  right: 10px;
  bottom: 10px;
  border: 1px solid #d2d2c9;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #fbfaf7;
  display: grid;
  place-items: center;
}
.add-mark svg {
  width: 15px;
}
.product-button[aria-pressed='true'] .add-mark {
  background: var(--ink);
  color: white;
  border-color: var(--ink);
}
.product-code {
  display: block;
  margin: 12px 0 4px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.15px;
  color: #6c665c;
}
.product-name {
  display: block;
  font: 500 clamp(19px, 1.52vw, 28px)/1.12 var(--serif);
  letter-spacing: -0.02em;
}
.more {
  margin: 30px auto 0;
}
.empty {
  grid-column: 1/-1;
  border: 1px solid var(--line);
  padding: 38px 22px;
  text-align: center;
}
.empty h3 {
  font: 500 30px var(--serif);
  margin-bottom: 5px;
}
.empty p,
.note {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
}
.text-action {
  font-size: 12px;
  padding: 5px 0;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.empty .text-action {
  margin: 10px auto 0;
}
.skeleton {
  aspect-ratio: 1.16;
  background: linear-gradient(110deg, #efeee9, #f7f6f1 50%, #efeee9);
  border-radius: 2px;
}
.photo-error {
  padding: 12px;
  text-align: center;
  color: var(--muted);
  font-size: 12px;
}
footer.wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--line);
  padding-block: 23px;
}
footer .footer-brand {
  font-size: 23px;
  letter-spacing: -1px;
}
footer .text-action svg {
  width: 14px;
}
.drawer {
  padding: 0;
  background: var(--paper);
  color: var(--ink);
  border: 0;
  margin: 0 0 0 auto;
  width: min(440px, 100%);
  max-width: 100%;
  height: 100dvh;
  max-height: 100dvh;
  overflow: hidden;
}
.drawer[open] {
  display: flex;
  flex-direction: column;
}
.drawer::backdrop {
  background: rgb(10 22 29 / 0.47);
}
.drawer-head,
.drawer-foot {
  padding: 22px 24px;
  flex: none;
}
.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.drawer-head h2,
.login h2 {
  font-size: 36px;
  letter-spacing: -1.4px;
  line-height: 1.05;
}
.drawer-head .eyebrow {
  font-size: 9px;
  color: #74644b;
  margin-bottom: 5px;
}
.drawer-body {
  overflow: auto;
  padding: 22px 24px;
  min-height: 0;
  flex: 1;
}
.drawer-body h3 {
  font-size: 14px;
  margin-bottom: 14px;
}
.drawer-body details {
  border-bottom: 1px solid var(--line);
  padding: 2px 0;
}
.drawer-body summary {
  font-size: 14px;
  cursor: pointer;
  padding: 10px 0;
}
.cat-option {
  display: block;
  width: 100%;
  padding: 8px 12px;
  text-align: left;
  font-size: 13px;
}
.cat-option:hover,
.cat-option[aria-current='true'] {
  background: #eae8df;
}
.words {
  margin-top: 24px;
}
.words #wordChips {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.word {
  border: 1px solid var(--line);
  padding: 5px 8px;
  font-size: 12px;
  border-radius: 20px;
}
.word[aria-pressed='true'] {
  background: var(--ink);
  color: white;
}
.drawer-foot {
  border-top: 1px solid var(--line);
  padding-block: 14px max(18px, env(safe-area-inset-bottom));
}
.selection-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
}
.export-button {
  width: 100%;
  margin-top: 10px;
}
.bulk {
  display: flex;
  align-items: end;
  gap: 8px;
  padding-bottom: 17px;
  border-bottom: 1px solid var(--line);
}
.bulk label {
  flex: 1;
}
.drawer label,
.admin label {
  display: grid;
  gap: 5px;
  font-size: 12px;
}
.drawer input,
.admin input,
.admin select {
  min-width: 0;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: white;
  padding: 9px 10px;
  font-size: 13px;
}
.selection-row {
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}
.entry-main {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.entry-main img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  background: var(--stone);
  mix-blend-mode: multiply;
}
.entry-main h3 {
  font: 500 21px/1.06 var(--serif);
  margin: 0;
}
.entry-main .product-code {
  margin: 0 0 4px;
}
.entry-fields {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 8px;
}
.entry-actions,
.photo-options {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 8px;
}
.photo-options button {
  width: 43px;
  height: 43px;
  padding: 2px;
  border: 1px solid var(--line);
}
.photo-options img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.photo-options [aria-pressed='true'] {
  border-color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--ink);
}
#toast {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  padding: 12px 17px;
  border-radius: 3px;
  z-index: 4;
  text-align: center;
  width: max-content;
  max-width: 90vw;
  pointer-events: none;
}
.admin {
  padding-block: 46px;
  min-height: 65vh;
}
.admin h1 {
  font-size: 44px;
}
.login {
  max-width: 370px;
  display: grid;
  gap: 16px;
  padding: 22px;
  border: 1px solid var(--line);
}
.login h2 {
  font-size: 29px;
}
.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.kanban-board {
  display: flex;
  overflow: auto;
  gap: 12px;
  align-items: flex-start;
}
.kanban-column {
  width: min(290px, 80vw);
  flex-shrink: 0;
  background: #eeede8;
  padding: 12px;
  border: 1px solid var(--line);
}
.kanban-column-meta,
.kanban-card-top,
.kanban-card-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
}
.kanban-column-meta {
  font-size: 10px;
  color: var(--muted);
  margin: 7px 0;
}
.kanban-column-add {
  background: var(--paper);
  width: 100%;
  margin: 6px 0;
}
.kanban-card {
  background: var(--paper);
  padding: 12px;
  margin-top: 8px;
  display: grid;
  gap: 9px;
}
.kanban-card.inactive {
  background: #e7e5de;
}
.kanban-active {
  display: flex !important;
  align-items: center;
  gap: 4px;
}
.kanban-active input {
  width: auto;
}
.kanban-card-actions button {
  font-size: 14px;
  padding: 3px 7px;
}
.drop-target {
  outline: 2px solid var(--brass);
}
.admin .note {
  margin: 12px 0;
}
.error {
  color: #8a382c;
}
@media (min-width: 1840px) {
  .hero-copy {
    padding-left: calc(60px + var(--gutter));
  }
}
@media (max-width: 990px) {
  .mast-inner {
    gap: 32px;
  }
  .hero-copy {
    min-height: 330px;
  }
  .hero h1 {
    font-size: 63px;
  }
  .grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .heading-pair {
    gap: 8px;
  }
  .tools input {
    width: 145px;
  }
}
@media (max-width: 730px) {
  .mast-inner {
    min-height: 62px;
    gap: 14px;
  }
  .mast nav {
    display: none;
  }
  .mast-actions {
    gap: 3px;
  }
  .selection-link {
    padding-left: 10px;
    gap: 6px;
  }
  .wordmark span {
    font-size: 28px;
  }
  .wordmark img {
    width: 23px;
  }
  .hero-copy {
    padding: 28px var(--gutter);
    min-height: 300px;
  }
  .hero h1 {
    font-size: 52px;
  }
  .hero-intro {
    font-size: 12px;
  }
  .collection {
    padding-block: 30px 46px;
  }
  .collection-head {
    flex-wrap: wrap;
    gap: 14px;
  }
  .tools {
    width: 100%;
  }
  .search {
    flex: 1;
  }
  .tools input {
    width: 100%;
  }
  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 12px;
  }
  .tabs {
    gap: 20px;
  }
  .grid {
    margin-top: 15px;
  }
}
@media (max-width: 520px) {
  .mast-actions #navSearch {
    display: none;
  }
  .hero {
    grid-template-columns: 1fr;
    grid-template-rows: 188px auto;
  }
  .hero-photo {
    grid-row: 1;
  }
  .hero-photo img {
    object-position: 50% 43%;
  }
  .hero-copy {
    min-height: 0;
    padding-block: 23px 25px;
  }
  .hero h1 {
    font-size: clamp(42px, 11.6vw, 57px);
    margin: 9px 0 8px;
  }
  .hero-intro {
    max-width: 340px;
    font-size: 13px;
  }
  .hero-cta {
    margin-top: 15px;
    padding: 9px 12px;
    min-height: 36px;
  }
  .hero-copy .eyebrow {
    font-size: 9px;
  }
  .product-photo {
    aspect-ratio: 1.04;
  }
  .collection-head {
    margin-bottom: 10px;
  }
  .heading-pair h2 {
    font-size: 39px;
  }
  .add-mark {
    width: 28px;
    height: 28px;
    right: 6px;
    bottom: 6px;
  }
  .product-code {
    font-size: 9px;
  }
  .product-name {
    font-size: 19px;
  }
  .drawer-body,
  .drawer-head,
  .drawer-foot {
    padding-inline: 18px;
  }
  .mast .selection-link {
    font-size: 12px;
  }
  .mast .selection-link .icon {
    width: 16px;
  }
  .wordmark {
    gap: 5px;
  }
  .wordmark span {
    font-size: 25px;
    letter-spacing: -1px;
  }
  .wordmark img {
    width: 20px;
  }
  footer .text-action {
    font-size: 11px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
