/* =====================================================================
   DeWolfe Wyrks — Shared stylesheet
   Vibe: cigar lounge (oiled leather, mahogany, aged brass) +
         a faint Norse/Icelandic chill (iron, bone, ash).
   ===================================================================== */

:root {
  /* Surfaces */
  --ink:        #0E0A07;   /* deep oiled leather, page background */
  --ink-2:      #15100B;   /* slight lift */
  --hide:       #1F1812;   /* mahogany card */
  --hide-2:     #2A2017;   /* hover lift */
  --iron:       #3A352F;   /* Norse iron divider */

  /* Type */
  --bone:       #E8DDC8;   /* parchment text */
  --bone-soft:  #C9BFA8;   /* secondary */
  --ash:        #8C8273;   /* tertiary / labels */

  /* Brand accents */
  --brass:      #B08D57;   /* aged brass */
  --brass-hi:   #D6B380;   /* polished brass */
  --oxblood:    #5C2222;   /* burgundy leather */
  --ember:      #8C3A1C;   /* hearth ember */

  /* System */
  --rule:       rgba(176, 141, 87, 0.25);
  --shadow-lg:  0 30px 60px -20px rgba(0,0,0,0.7), 0 10px 30px -10px rgba(0,0,0,0.5);
  --shadow-md:  0 10px 25px -10px rgba(0,0,0,0.6);

  /* Type */
  --display:    "Cinzel", "Trajan Pro", "Times New Roman", serif;
  --serif:      "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans:       "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0; padding: 0;
  background: var(--ink);
  color: var(--bone);
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Subtle paper-grain noise overlay across the page */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.06;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix type='matrix' values='0 0 0 0 0.95  0 0 0 0 0.87  0 0 0 0 0.74  0 0 0 1 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

/* Soft warm vignette — like firelight in the corner of the lounge */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse at 15% 0%, rgba(176,141,87,0.10), transparent 55%),
    radial-gradient(ellipse at 85% 100%, rgba(92,34,34,0.18), transparent 55%);
}

main, header, footer { position: relative; z-index: 2; }

a { color: var(--brass-hi); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--bone); }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--bone);
  margin: 0 0 0.5em 0;
}
h1 { font-size: clamp(2.4rem, 6vw, 4.5rem); line-height: 1.05; letter-spacing: 0.05em; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.6rem); line-height: 1.15; }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }

p { margin: 0 0 1em 0; }

.eyebrow {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 1.2em;
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
}

section { padding: clamp(60px, 10vw, 120px) 0; }

/* ---------- Brass divider ---------- */
.rule {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 24px auto;
  color: var(--brass);
}
.rule::before, .rule::after {
  content: "";
  height: 1px;
  width: 64px;
  background: linear-gradient(to right, transparent, var(--brass), transparent);
}
.rule svg { width: 18px; height: 18px; opacity: 0.85; }

/* ---------- Logo (background-image + filter so we can recolor a black PNG) ----------
   Using background-image instead of CSS mask because masks fail silently
   when the page is opened via file:// in some browsers. Filters work
   reliably in every browser and over both http(s) and file://.
*/
:root {
  /* Filter chains that recolor a pure-black PNG to our brand colors.
     Generated with the standard hex-to-CSS-filter technique. */
  --filter-bone:     brightness(0) saturate(100%) invert(95%) sepia(15%) saturate(343%) hue-rotate(338deg) brightness(98%) contrast(87%);
  --filter-brass:    brightness(0) saturate(100%) invert(58%) sepia(32%) saturate(577%) hue-rotate(355deg) brightness(96%) contrast(83%);
  --filter-brass-hi: brightness(0) saturate(100%) invert(78%) sepia(13%) saturate(947%) hue-rotate(346deg) brightness(95%) contrast(91%);
}
.logo-mark {
  display: inline-block;
  background-color: transparent;
  background-image: url("../assets/logo.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  filter: var(--filter-bone);
}
.logo-mark--brass    { filter: var(--filter-brass); }
.logo-mark--brass-hi { filter: var(--filter-brass-hi); }
.logo-mark--bone     { filter: var(--filter-bone); }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(8px);
  background: linear-gradient(to bottom, rgba(14,10,7,0.85), rgba(14,10,7,0.55));
  border-bottom: 1px solid var(--rule);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 28px;
  max-width: 1280px;
  margin: 0 auto;
  gap: 16px;
}
.nav-logo {
  display: flex; align-items: center; gap: 12px;
  color: var(--bone);
}
.nav-logo .logo-mark { width: 36px; height: 40px; filter: var(--filter-brass-hi); }
.nav-logo .wordmark {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: 0.18em;
  font-size: 1rem;
  text-transform: uppercase;
  color: var(--bone);
}
.nav-links {
  display: flex; gap: 28px;
  font-family: var(--sans);
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.nav-links a { color: var(--bone-soft); }
.nav-links a:hover, .nav-links a.is-active { color: var(--brass-hi); }
.cart-link {
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bone-soft);
  border: 1px solid var(--rule);
  padding: 8px 14px;
  border-radius: 2px;
  transition: all .2s ease;
  white-space: nowrap;
}
.cart-link:hover { color: var(--ink); background: var(--brass); border-color: var(--brass); }

@media (max-width: 760px) {
  .nav-links { display: none; }
  .nav-logo .wordmark { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 28px 100px;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(176,141,87,0.08), transparent 60%),
    linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 100%);
  z-index: 0;
}
.hero > * { position: relative; z-index: 1; }

.hero-logo {
  width: clamp(160px, 18vw, 240px);
  height: clamp(180px, 20vw, 270px);
  /* Colorize bone, then add a drop shadow */
  filter: var(--filter-bone) drop-shadow(0 6px 18px rgba(0,0,0,0.6));
  margin-bottom: 28px;
}

.hero h1 { margin-bottom: 0.2em; }
.hero .tagline {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  color: var(--bone-soft);
  max-width: 640px;
  margin: 1em auto 2.5em;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 16px 28px;
  border: 1px solid var(--brass);
  color: var(--bone);
  background: transparent;
  border-radius: 1px;
  cursor: pointer;
  transition: all .25s ease;
  text-decoration: none;
}
.btn:hover {
  background: var(--brass);
  color: var(--ink);
  transform: translateY(-1px);
}
.btn--solid {
  background: var(--brass);
  color: var(--ink);
}
.btn--solid:hover {
  background: var(--brass-hi);
  border-color: var(--brass-hi);
}
.btn--ghost {
  border-color: var(--rule);
  color: var(--bone-soft);
}
.btn--ghost:hover {
  background: transparent;
  color: var(--bone);
  border-color: var(--brass);
}
.btn--block { display: block; width: 100%; text-align: center; }

/* ---------- Page intro (sub-page hero) ---------- */
.page-intro {
  text-align: center;
  padding: clamp(80px, 12vw, 140px) 28px clamp(40px, 6vw, 80px);
  border-bottom: 1px solid var(--rule);
  background: linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 100%);
}
.page-intro h1 { font-size: clamp(2rem, 4vw, 3rem); }
.page-intro p {
  max-width: 560px;
  margin: 1em auto 0;
  color: var(--bone-soft);
  font-style: italic;
}

/* ---------- Story ---------- */
.story {
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}
.story p {
  font-size: 1.2rem;
  color: var(--bone-soft);
  line-height: 1.75;
}

/* ---------- Two doorways ---------- */
.doorways {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
@media (max-width: 820px) { .doorways { grid-template-columns: 1fr; } }

.doorway {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid var(--rule);
  background: var(--hide);
  cursor: pointer;
  transition: transform .4s ease, border-color .3s ease;
  text-decoration: none;
}
.doorway:hover { border-color: var(--brass); }
.doorway-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 1s ease;
  filter: brightness(0.55) saturate(1.1);
}
.doorway:hover .doorway-bg { transform: scale(1.04); filter: brightness(0.65) saturate(1.15); }

.doorway-content {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 36px 32px;
  background: linear-gradient(to top, rgba(14,10,7,0.95) 30%, transparent);
}
.doorway-content .eyebrow { margin-bottom: 0.6em; }
.doorway-content h2 { margin-bottom: 0.3em; color: var(--bone); }
.doorway-content p {
  color: var(--bone-soft);
  font-size: 1.05rem;
  margin-bottom: 1.2em;
}
.doorway-link {
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--brass-hi);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.doorway-link::after {
  content: "→";
  transition: transform .2s ease;
}
.doorway:hover .doorway-link::after { transform: translateX(4px); }

/* ---------- Section heading ---------- */
.section-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 56px;
}
.section-head h2 { margin-bottom: 0.2em; }
.section-head p { color: var(--ash); max-width: 560px; }

/* ---------- Product grid ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
@media (max-width: 980px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .product-grid { grid-template-columns: 1fr; } }

.product-grid--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 880px) { .product-grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .product-grid--3 { grid-template-columns: 1fr; } }

.piece {
  background: var(--hide);
  border: 1px solid var(--rule);
  overflow: hidden;
  transition: border-color .25s ease, transform .25s ease;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}
.piece:hover {
  border-color: var(--brass);
  transform: translateY(-3px);
}
.piece-img {
  aspect-ratio: 1;
  position: relative;
  background:
    radial-gradient(ellipse at center, rgba(176,141,87,0.08), transparent 60%),
    linear-gradient(135deg, #221710, #14100B);
  overflow: hidden;
}
.piece-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s ease;
}
.piece:hover .piece-img img { transform: scale(1.05); }
.piece-info { padding: 18px 20px 22px; flex: 1; display: flex; flex-direction: column; }
.piece-info .label {
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ash);
  margin-bottom: 6px;
}
.piece-info h3 {
  font-size: 1.15rem;
  margin: 0 0 6px;
  letter-spacing: 0.02em;
}
.piece-info .price {
  color: var(--brass-hi);
  font-family: var(--sans);
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  margin-top: auto;
}

/* ---------- Filter chips ---------- */
.filters {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.chip {
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 10px 22px;
  border: 1px solid var(--rule);
  color: var(--bone-soft);
  background: transparent;
  cursor: pointer;
  border-radius: 1px;
  transition: all .2s ease;
}
.chip:hover { color: var(--brass-hi); border-color: var(--brass); }
.chip.is-active { background: var(--brass); color: var(--ink); border-color: var(--brass); }

/* ---------- Workshop / About ---------- */
.workshop {
  background: linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 100%);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.workshop-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 820px) { .workshop-grid { grid-template-columns: 1fr; gap: 32px; } }
.workshop-art {
  aspect-ratio: 1;
  background:
    radial-gradient(ellipse at 30% 30%, rgba(176,141,87,0.18), transparent 60%),
    linear-gradient(135deg, #1B130D, #0E0A07);
  border: 1px solid var(--rule);
  display: grid;
  place-items: center;
  color: var(--brass);
  overflow: hidden;
}
.workshop-art img { width: 100%; height: 100%; object-fit: cover; }
.workshop-art svg { width: 50%; height: 50%; opacity: 0.55; }
.workshop p {
  font-size: 1.1rem;
  color: var(--bone-soft);
  line-height: 1.8;
}

/* ---------- Newsletter ---------- */
.field-notes {
  text-align: center;
  max-width: 620px;
  margin: 0 auto;
}
.field-notes h2 { margin-bottom: 0.3em; }
.field-notes p { color: var(--bone-soft); margin-bottom: 1.6em; }
.field-notes form {
  display: flex;
  gap: 10px;
  max-width: 480px;
  margin: 0 auto;
}
.field-notes input {
  flex: 1;
  background: transparent;
  border: 1px solid var(--rule);
  color: var(--bone);
  padding: 14px 16px;
  font-family: var(--sans);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  border-radius: 1px;
  outline: none;
  transition: border-color .2s ease;
}
.field-notes input:focus { border-color: var(--brass); }
.field-notes input::placeholder { color: var(--ash); }
@media (max-width: 540px) { .field-notes form { flex-direction: column; } }

/* ---------- Product detail page ---------- */
.product-detail {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: start;
  padding: clamp(40px, 6vw, 80px) 0;
}
@media (max-width: 880px) { .product-detail { grid-template-columns: 1fr; gap: 40px; } }

.gallery {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.gallery-main {
  aspect-ratio: 1;
  background: var(--hide);
  border: 1px solid var(--rule);
  overflow: hidden;
  display: grid; place-items: center;
}
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
  gap: 10px;
}
.gallery-thumb {
  aspect-ratio: 1;
  border: 1px solid var(--rule);
  background: var(--hide);
  overflow: hidden;
  cursor: pointer;
  padding: 0;
  transition: border-color .2s ease;
}
.gallery-thumb:hover, .gallery-thumb.is-active { border-color: var(--brass); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }

.product-meta {
  position: sticky;
  top: 100px;
}
.product-meta .label {
  font-family: var(--sans);
  font-size: 0.75rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 14px;
}
.product-meta h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 0.3em;
}
.product-meta .price {
  font-family: var(--sans);
  font-size: 1.5rem;
  color: var(--brass-hi);
  letter-spacing: 0.04em;
  margin-bottom: 24px;
}
.product-meta .description {
  color: var(--bone-soft);
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 28px;
}
.product-meta .description p { margin-bottom: 1em; }
.product-detail .field-label {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ash);
  margin-bottom: 10px;
  display: block;
}
.variant-options { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 24px; }
.variant-option {
  font-family: var(--sans);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  padding: 10px 18px;
  border: 1px solid var(--rule);
  background: transparent;
  color: var(--bone-soft);
  cursor: pointer;
  border-radius: 1px;
  transition: all .2s ease;
}
.variant-option:hover { border-color: var(--brass); color: var(--bone); }
.variant-option.is-active { background: var(--brass); color: var(--ink); border-color: var(--brass); }

.qty-row { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.qty-btn {
  background: transparent;
  border: 1px solid var(--rule);
  color: var(--bone);
  width: 36px; height: 36px;
  font-family: var(--sans);
  font-size: 1.1rem;
  cursor: pointer;
  border-radius: 1px;
  transition: all .2s ease;
}
.qty-btn:hover { border-color: var(--brass); color: var(--brass-hi); }
.qty-display {
  font-family: var(--sans);
  min-width: 32px;
  text-align: center;
  color: var(--bone);
}

.product-notes {
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--rule);
  font-family: var(--sans);
  font-size: 0.85rem;
  color: var(--ash);
  line-height: 1.7;
}
.product-notes strong { color: var(--bone-soft); font-weight: 600; }

/* ---------- Cart page ---------- */
.cart-list { display: flex; flex-direction: column; gap: 0; border-top: 1px solid var(--rule); }
.cart-row {
  display: grid;
  grid-template-columns: 100px 1fr auto auto auto;
  gap: 24px;
  align-items: center;
  padding: 24px 0;
  border-bottom: 1px solid var(--rule);
}
.cart-row .img {
  width: 100px; height: 100px;
  background: var(--hide);
  border: 1px solid var(--rule);
  overflow: hidden;
}
.cart-row .img img { width: 100%; height: 100%; object-fit: cover; }
.cart-row .name { font-family: var(--display); font-size: 1.1rem; }
.cart-row .meta { font-family: var(--sans); font-size: 0.78rem; color: var(--ash); letter-spacing: 0.08em; text-transform: uppercase; margin-top: 4px; }
.cart-row .line-price { font-family: var(--sans); color: var(--brass-hi); white-space: nowrap; }
.cart-row .remove {
  background: transparent;
  border: none;
  color: var(--ash);
  cursor: pointer;
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.cart-row .remove:hover { color: var(--ember); }
@media (max-width: 720px) {
  .cart-row { grid-template-columns: 80px 1fr auto; grid-template-rows: auto auto; }
  .cart-row .img { width: 80px; height: 80px; grid-row: span 2; }
  .cart-row .qty-row { grid-column: 2 / 4; margin: 0; }
  .cart-row .line-price { grid-column: 3; grid-row: 1; }
  .cart-row .remove { grid-column: 2 / 4; justify-self: start; }
}

.cart-totals {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  margin-top: 32px;
}
.cart-totals .row { display: flex; gap: 60px; min-width: 280px; justify-content: space-between; }
.cart-totals .row.grand {
  font-family: var(--display);
  font-size: 1.4rem;
  color: var(--bone);
  border-top: 1px solid var(--rule);
  padding-top: 14px;
  margin-top: 6px;
  width: 100%;
}
.cart-totals .ash { color: var(--ash); font-family: var(--sans); font-size: 0.95rem; }
.cart-empty {
  text-align: center;
  padding: 80px 20px;
  color: var(--bone-soft);
}
.cart-empty p { font-size: 1.2rem; margin-bottom: 24px; font-style: italic; }

/* ---------- Forms (contact) ---------- */
.form-grid {
  display: grid;
  gap: 18px;
  max-width: 640px;
  margin: 0 auto;
}
.form-grid label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brass);
}
.form-grid input,
.form-grid textarea,
.form-grid select {
  background: transparent;
  border: 1px solid var(--rule);
  color: var(--bone);
  padding: 14px 16px;
  font-family: var(--sans);
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  border-radius: 1px;
  outline: none;
  transition: border-color .2s ease;
  text-transform: none;
}
.form-grid input:focus, .form-grid textarea:focus, .form-grid select:focus { border-color: var(--brass); }
.form-grid textarea { min-height: 160px; resize: vertical; font-family: var(--serif); font-size: 1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 540px) { .form-row { grid-template-columns: 1fr; } }

/* ---------- About page ---------- */
.about-portrait {
  aspect-ratio: 4 / 5;
  border: 1px solid var(--rule);
  overflow: hidden;
}
.about-portrait img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.95) contrast(1.05); }

.makers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 64px;
}
@media (max-width: 760px) { .makers { grid-template-columns: 1fr; gap: 32px; } }
.maker {
  padding: 32px;
  border: 1px solid var(--rule);
  background: var(--hide);
}
.maker h3 {
  font-family: var(--display);
  font-size: 1.4rem;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}
.maker .role {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 18px;
}
.maker p { color: var(--bone-soft); font-size: 1.02rem; }

/* ---------- Footer ---------- */
footer {
  padding: 48px 28px 32px;
  border-top: 1px solid var(--rule);
  background: var(--ink-2);
  position: relative;
  z-index: 2;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}
@media (max-width: 820px) { .footer-inner { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-inner { grid-template-columns: 1fr; } }

.footer-brand .logo-mark { width: 56px; height: 64px; filter: var(--filter-brass); margin-bottom: 12px; }
.footer-brand .wordmark {
  font-family: var(--display);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.95rem;
  color: var(--bone);
}
.footer-brand p {
  color: var(--ash);
  font-size: 0.92rem;
  max-width: 280px;
  margin-top: 12px;
}
.footer-col h4 {
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 18px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: var(--bone-soft); font-family: var(--sans); font-size: 0.9rem; }
.footer-col a:hover { color: var(--brass-hi); }
.footer-meta {
  max-width: 1200px;
  margin: 32px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--ash);
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
}

/* ---------- Toast (cart add confirmation) ---------- */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--hide);
  border: 1px solid var(--brass);
  color: var(--bone);
  padding: 14px 24px;
  font-family: var(--sans);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 1px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
  z-index: 100;
  box-shadow: var(--shadow-md);
}
.toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
