@font-face {
  font-family: "Cinzel";
  src: url("../fonts/Cinzel-VariableFont_wght.ttf") format("truetype");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Libre Baskerville";
  src: url("../fonts/LibreBaskerville-VariableFont_wght.ttf") format("truetype");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Libre Baskerville";
  src: url("../fonts/LibreBaskerville-Italic-VariableFont_wght.ttf") format("truetype");
  font-weight: 400 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("../fonts/SourceSans3-VariableFont_wght.ttf") format("truetype");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("../fonts/SourceSans3-Italic-VariableFont_wght.ttf") format("truetype");
  font-weight: 200 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "IM Fell English SC";
  src: url("../fonts/IMFellEnglishSC-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #0c0c0d;
  --bg-2: #131314;
  --bg-3: #1a1a1b;
  --charcoal: #2d2d2d;
  --bone: #e8dcc8;
  --bone-2: #f3eadb;
  --cream: #f7f1e6;
  --muted: #9a948a;
  --dim: #6e6a64;
  --line: rgba(232, 220, 200, 0.14);
  --line-strong: rgba(232, 220, 200, 0.28);
  --gold: #b08d57;
  --gold-2: #c4a574;
  --text: #e8dcc8;
  --ink: #141414;
  --danger: #c4a574;
  --radius: 2px;
  --wrap: 1180px;
  --header-h: 72px;
  --banner-h: 36px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Source Sans 3", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }

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

/* Preview banner — on every page, always visible at the top */
.preview-banner {
  position: sticky;
  top: 0;
  z-index: 200;
  min-height: var(--banner-h);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gold);
  color: var(--ink);
  font-family: "Source Sans 3", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: center;
  padding: 8px 16px;
  text-decoration: none;
}
.preview-banner:hover { filter: brightness(1.06); }

/* Header */
.site-header {
  position: relative;
  z-index: 150;
  border-bottom: 1px solid var(--line);
  background: rgba(12, 12, 13, 0.94);
  backdrop-filter: blur(8px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand-mark {
  font-family: "Cinzel", serif;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--bone);
}
.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav a {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  position: relative;
  padding: 6px 0;
}
.nav a:hover,
.nav a.is-active { color: var(--bone); }
.nav a.is-active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--gold);
}
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  color: var(--bone);
  width: 40px;
  height: 40px;
  padding: 0;
  position: relative;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 18px;
  height: 1px;
  background: currentColor;
  position: absolute;
  left: 11px;
}
.nav-toggle span { top: 19px; }
.nav-toggle span::before { content: ""; top: -6px; }
.nav-toggle span::after { content: ""; top: 6px; }

/* Hero */
.hero {
  position: relative;
  background: #2d2d2d;
  overflow: hidden;
}
.hero-art {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
}
.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(12,12,13,0.88) 0%, rgba(12,12,13,0.15) 42%, rgba(12,12,13,0.2) 100%);
  pointer-events: none;
}
.hero-copy {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 20px 64px;
}
.hero-kicker {
  font-family: "IM Fell English SC", serif;
  letter-spacing: 0.28em;
  font-size: 0.95rem;
  color: var(--gold-2);
  margin: 0 0 14px;
}
.hero-cta {
  display: inline-block;
  margin-top: 8px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  border: 1px solid var(--bone);
  background: var(--bone);
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.btn:hover { background: var(--cream); border-color: var(--cream); }
.btn-ghost {
  background: transparent;
  color: var(--bone);
}
.btn-ghost:hover { background: var(--bone); color: var(--ink); }
.btn:disabled, .btn.is-disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

/* Sections */
.section { padding: 88px 0; }
.section-kicker {
  font-family: "IM Fell English SC", serif;
  color: var(--gold-2);
  letter-spacing: 0.22em;
  font-size: 0.92rem;
  margin: 0 0 10px;
  text-align: center;
}
.section-title {
  font-family: "Cinzel", serif;
  font-weight: 600;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: center;
  margin: 0 0 12px;
}
.section-rule {
  width: 72px;
  height: 1px;
  background: var(--gold);
  margin: 0 auto 36px;
  border: 0;
}

/* Story */
.story {
  background: var(--bg);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.story-body {
  max-width: 38rem;
  margin: 0 auto;
  text-align: center;
  font-family: "Libre Baskerville", serif;
  font-size: 1.08rem;
  line-height: 1.8;
  color: var(--bone-2);
}
.story-body p { margin: 0 0 1.15em; }
.story-body p:last-child { margin-bottom: 0; }

/* Collections */
.collection-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.collection-card {
  position: relative;
  display: block;
  background: var(--bg-2);
  overflow: hidden;
  border: 1px solid var(--line);
  group-name: collection;
}
.collection-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  transition: transform 0.5s ease;
}
.collection-card:hover img { transform: scale(1.04); }
.collection-card figcaption,
.collection-card .cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 28px 16px 16px;
  background: linear-gradient(to top, rgba(0,0,0,0.82), transparent);
  font-family: "Cinzel", serif;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.collection-card .cap small {
  display: block;
  margin-top: 4px;
  font-family: "Source Sans 3", sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  color: var(--muted);
}

/* Featured pair */
.featured-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.product-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-2);
  border: 1px solid var(--line);
  transition: border-color 0.2s, transform 0.2s;
}
.product-card:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.product-card .thumb {
  background: #111;
  aspect-ratio: 4 / 5;
  overflow: hidden;
}
.product-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.product-card .meta {
  padding: 16px 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.product-card .cat {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dim);
}
.product-card h3 {
  font-family: "Cinzel", serif;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  margin: 0;
}
.price {
  color: var(--gold-2);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.price-note {
  font-size: 0.72rem;
  color: var(--dim);
  font-weight: 400;
  letter-spacing: 0;
}

/* Signup */
.signup {
  background: var(--bg-3);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
}
.signup-form {
  display: grid;
  gap: 12px;
  max-width: 560px;
  margin: 0 auto;
  text-align: left;
}
.signup-form .row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.signup-form label {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 6px;
}
.signup-form input[type="text"],
.signup-form input[type="email"] {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--line-strong);
  padding: 12px 14px;
  outline: none;
}
.signup-form input:focus { border-color: var(--bone); }
.signup-form input::placeholder { color: var(--dim); }
.signup-form .btn { width: 100%; border: 1px solid var(--bone); }
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}
.form-note {
  margin: 14px 0 0;
  font-size: 0.85rem;
  color: var(--gold-2);
  min-height: 1.2em;
}

/* Footer */
.site-footer {
  padding: 48px 0 36px;
  border-top: 1px solid var(--line);
  text-align: center;
}
.footer-brand {
  font-family: "Cinzel", serif;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.85rem;
  margin: 0 0 16px;
}
.footer-nav {
  display: flex;
  justify-content: center;
  gap: 22px;
  margin-bottom: 22px;
}
.footer-nav a {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.footer-nav a:hover { color: var(--bone); }
.footer-note {
  font-size: 0.72rem;
  color: var(--dim);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0;
}

/* Shop */
.page-head {
  padding: 56px 0 12px;
  text-align: center;
}
.page-head h1 {
  font-family: "Cinzel", serif;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  margin: 0 0 8px;
}
.filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  padding: 8px 0 36px;
}
.filter-btn {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--muted);
  padding: 7px 14px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.filter-btn:hover,
.filter-btn.is-on {
  border-color: var(--bone);
  color: var(--bone);
  background: rgba(232, 220, 200, 0.06);
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding-bottom: 80px;
}
.product-grid.is-empty::after {
  content: "No marks in this filter.";
  grid-column: 1 / -1;
  text-align: center;
  color: var(--muted);
  padding: 40px 0;
}

/* Product detail */
.product-detail {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: start;
  padding: 48px 0 88px;
}
.product-gallery {
  background: #111;
  border: 1px solid var(--line);
}
.product-gallery img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: contain;
}
.thumbs {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}
.thumbs button {
  border: 1px solid var(--line);
  background: #111;
  padding: 0;
  width: 72px;
  height: 90px;
  overflow: hidden;
}
.thumbs button img { width: 100%; height: 100%; object-fit: contain; }
.thumbs button.is-on { border-color: var(--bone); }
.crumb {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dim);
  margin: 0 0 12px;
}
.crumb a:hover { color: var(--bone); }
.product-info h1 {
  font-family: "Cinzel", serif;
  font-weight: 600;
  letter-spacing: 0.08em;
  font-size: 1.7rem;
  margin: 0 0 8px;
}
.product-info .price { font-size: 1.05rem; margin-bottom: 18px; }
.product-info .desc {
  font-family: "Libre Baskerville", serif;
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--bone-2);
  margin: 0 0 28px;
}
.option-label {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 8px;
}
.size-row, .color-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}
.size-row button {
  min-width: 48px;
  padding: 8px 10px;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--bone);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
}
.size-row button.is-on,
.color-row button.is-on {
  border-color: var(--bone);
  background: rgba(232, 220, 200, 0.08);
}
.swatch {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  padding: 0;
  background: var(--swatch, #111);
}
.swatch.is-on { outline: 1px solid var(--bone); outline-offset: 3px; }
.cart-row { margin-top: 8px; }
.placeholder-msg {
  margin: 12px 0 0;
  color: var(--gold-2);
  font-size: 0.88rem;
}

/* About / Contact */
.prose {
  max-width: 38rem;
  margin: 0 auto;
  padding: 12px 0 80px;
  font-family: "Libre Baskerville", serif;
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--bone-2);
}
.prose p { margin: 0 0 1.15em; }
.contact-form {
  max-width: 520px;
  margin: 0 auto 80px;
  display: grid;
  gap: 14px;
}
.contact-form label {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  background: var(--bg-2);
  border: 1px solid var(--line);
  padding: 12px 14px;
  outline: none;
}
.contact-form input:focus,
.contact-form textarea:focus { border-color: var(--line-strong); }
.contact-form textarea { min-height: 140px; resize: vertical; }
.contact-disclaimer {
  text-align: center;
  color: var(--dim);
  font-size: 0.88rem;
  margin: -40px auto 64px;
  max-width: 36rem;
}

/* Notice toast */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--bone);
  color: var(--ink);
  padding: 12px 20px;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s, transform 0.25s;
  z-index: 300;
  text-align: center;
  max-width: calc(100% - 32px);
}
.toast.is-on { opacity: 1; transform: translateX(-50%) translateY(0); }

@media (max-width: 900px) {
  .collection-grid,
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .featured-grid,
  .product-detail { grid-template-columns: 1fr; gap: 28px; }
  .hero { min-height: 70vh; }
}
@media (max-width: 680px) {
  .nav-toggle { display: block; }
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--bg-2);
    border-bottom: 1px solid var(--line);
    padding: 8px 0 16px;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px 20px; }
  .collection-grid,
  .product-grid { grid-template-columns: 1fr; }
  .signup-form { flex-direction: column; }
  .brand-mark { font-size: 0.88rem; letter-spacing: 0.14em; }
  .hero { min-height: 62vh; }
}

/* Winter Gear */
.winter-lookbook {
  display: block;
  border: 1px solid var(--line);
  background: #ececec;
  margin-bottom: 18px;
  overflow: hidden;
}
.winter-lookbook img {
  width: 100%;
  height: auto;
  display: block;
}
.winter-lookbook .meta {
  padding: 16px 18px 18px;
  background: var(--bg-2);
}
.beanie-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

/* Product thumbs: mixed dark mockups and light studio photos */
.product-card .thumb { background: #161616; }

@media (max-width: 900px) {
  .beanie-grid { grid-template-columns: repeat(2, 1fr); }
  .signup-form .row { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .signup-form { flex-direction: column; }
}

.thanks-block {
  max-width: 36rem;
  margin: 0 auto;
  padding: 48px 0 88px;
  text-align: center;
  font-family: "Libre Baskerville", serif;
  font-size: 1.08rem;
  line-height: 1.8;
  color: var(--bone-2);
}
.thanks-block .btn { margin-top: 12px; }
