/* ============================================================
   BRAINMARY DIRECT — quiet-luxury leather goods
   Cormorant Garamond (display) · Montserrat (caps UI)
   ============================================================ */

:root {
  --ivory: #F7F4EF;
  --ivory-lift: #FCFAF6;
  --ink: #141310;
  --gold: #B9985A;
  --hairline: #E3DCD0;
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans: 'Montserrat', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --header-h: 78px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-weight: 400;
  background: var(--ivory);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

button { font-family: inherit; cursor: pointer; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  clip: rect(0 0 0 0); clip-path: inset(50%);
  overflow: hidden; white-space: nowrap;
}

.skip-link {
  position: absolute; left: 16px; top: -48px; z-index: 200;
  background: var(--ink); color: var(--ivory);
  padding: 10px 18px; font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
  transition: top .2s ease;
}
.skip-link:focus { top: 12px; }

/* ---------- shared type ---------- */

.eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--gold);
}

.section-eyebrow { text-align: center; margin-bottom: 44px; }

/* ---------- 01 · announcement ---------- */

.announce {
  background: var(--ink);
  color: var(--ivory);
  text-align: center;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  padding: 11px 16px;
}

/* ---------- 02 · three-part header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--ivory);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  transition: box-shadow .3s ease;
}
.site-header.is-scrolled { box-shadow: 0 10px 30px rgba(20, 19, 16, .07); }

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: var(--header-h);
  padding: 0 clamp(16px, 4vw, 48px);
}

.menu-toggle {
  display: none;
  background: none; border: 0; color: var(--ink);
  padding: 8px; margin-left: -8px;
}

.header-nav { display: flex; gap: 30px; }
.header-nav a {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .24em;
  text-transform: uppercase;
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
  transition: color .25s ease, border-color .25s ease;
}
.header-nav a:hover { color: var(--gold); border-color: var(--gold); }

.logo { text-align: center; display: inline-block; justify-self: center; }
.logo-word {
  display: block;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: .42em;
  text-transform: uppercase;
  margin-right: -.42em;
}
.logo-sub {
  display: block;
  margin-top: 3px;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .68em;
  text-transform: uppercase;
  color: var(--gold);
  margin-right: -.68em;
}

.header-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 8px;
}
.icon-btn {
  position: relative;
  background: none; border: 0;
  color: var(--ink);
  padding: 10px;
  transition: color .25s ease;
}
.icon-btn:hover { color: var(--gold); }

.cart-count {
  position: absolute;
  top: 2px; right: 0;
  min-width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--ink);
  font-size: 9px;
  font-weight: 600;
  line-height: 16px;
  text-align: center;
  padding: 0 3px;
}
.cart-count.pulse { animation: pulse .45s ease; }
@keyframes pulse {
  0% { transform: scale(1); }
  45% { transform: scale(1.45); background: var(--ink); color: var(--ivory); }
  100% { transform: scale(1); }
}

/* ---------- mobile menu ---------- */

.mobile-menu {
  position: fixed; inset: 0; z-index: 150;
  background: var(--ivory);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8px;
  opacity: 0; visibility: hidden;
  transition: opacity .35s ease, visibility .35s ease;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; }
.mobile-menu nav { display: flex; flex-direction: column; align-items: center; gap: 26px; }
.mobile-menu nav a {
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 500;
  transition: color .25s ease;
}
.mobile-menu nav a:hover { color: var(--gold); }
.mobile-menu-foot {
  position: absolute; bottom: 36px;
  font-size: 10px; letter-spacing: .22em; text-transform: uppercase;
  color: rgba(20, 19, 16, .55);
}
.menu-close {
  position: absolute; top: 22px; right: 22px;
  background: none; border: 0; color: var(--ink); padding: 8px;
}

/* ---------- 03 · hero ---------- */

.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: min(780px, calc(100svh - var(--header-h) - 40px));
}

.hero-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: clamp(56px, 8vw, 120px);
  background: var(--ivory);
}

.hero-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(58px, 7.6vw, 122px);
  line-height: .95;
  letter-spacing: -.015em;
}
.hero-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--gold);
}

.hero-sub {
  margin-top: 30px;
  max-width: 42ch;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .3em;
  text-transform: uppercase;
  line-height: 2.1;
  color: rgba(20, 19, 16, .68);
}

.cta-underline {
  margin-top: 44px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .28em;
  text-transform: uppercase;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--ink);
  transition: color .25s ease, border-color .25s ease;
}
.cta-underline svg { transition: transform .3s ease; }
.cta-underline:hover { color: var(--gold); border-color: var(--gold); }
.cta-underline:hover svg { transform: translateX(6px); }

.hero-media { overflow: hidden; }
.hero-media img {
  width: 100%; height: 100%;
  object-fit: cover;
}

/* ---------- 04 · collection index ---------- */

.collection-index {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}
.collection-index a {
  text-align: center;
  padding: 26px 12px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .26em;
  text-transform: uppercase;
  transition: color .25s ease;
}
.collection-index a + a { border-left: 1px solid var(--hairline); }
.collection-index .ci-count { color: var(--gold); font-size: 10px; vertical-align: 2px; margin-left: 4px; }
.collection-index a:hover { color: var(--gold); text-decoration: underline; text-underline-offset: 7px; text-decoration-thickness: 1px; }

/* ---------- 05 · zigzag features ---------- */

.feature-row {
  display: grid;
  grid-template-columns: 55fr 45fr;
  min-height: 420px;
}
.feature-row + .feature-row { border-top: 1px solid var(--hairline); }
.feature-row--flip .feature-media { order: 2; }

.feature-media { overflow: hidden; }
.feature-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(.19, 1, .22, 1);
}
.feature-row:hover .feature-media img { transform: scale(1.035); }

.feature-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 18px;
  padding: clamp(40px, 6vw, 92px);
  background: var(--ivory);
}

.feature-name {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(34px, 3.4vw, 52px);
  line-height: 1.05;
}

.feature-desc {
  font-size: 14px;
  line-height: 1.75;
  color: rgba(20, 19, 16, .72);
  max-width: 42ch;
}

.rating { display: flex; align-items: center; gap: 12px; }
.stars { display: inline-flex; gap: 3px; }
.stars svg { width: 14px; height: 14px; fill: var(--gold); }
.rating-meta {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(20, 19, 16, .6);
}

.price {
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 500;
}

.add-btn {
  background: none; border: 0;
  border-bottom: 1px solid var(--ink);
  padding: 0 2px 7px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--ink);
  transition: color .25s ease, border-color .25s ease;
}
.add-btn:hover { color: var(--gold); border-color: var(--gold); }
.add-btn.is-added { color: var(--gold); border-color: var(--gold); }

/* ---------- 06 · dark mantra band ---------- */

.mantra {
  background: var(--ink);
  text-align: center;
  padding: clamp(84px, 11vw, 150px) 24px;
}
.mantra-line {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(30px, 4.6vw, 58px);
  line-height: 1.2;
  color: var(--ivory);
  max-width: 22ch;
  margin: 0 auto;
}
.gold-rule {
  width: 72px; height: 1px;
  background: var(--gold);
  margin: 38px auto 0;
}

/* ---------- 07 · craft story ---------- */

.craft { padding: clamp(76px, 9vw, 130px) clamp(20px, 5vw, 48px); }
.craft-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 7vw, 110px);
  align-items: start;
}

.craft-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(38px, 4.2vw, 58px);
  line-height: 1.05;
  margin-top: 18px;
}
.craft-copy {
  margin-top: 24px;
  font-size: 14px;
  line-height: 1.8;
  color: rgba(20, 19, 16, .72);
  max-width: 46ch;
}
.craft-photo {
  margin-top: 38px;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.craft-list { list-style: none; }
.craft-list li {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 18px;
  padding: 30px 0;
}
.craft-list li + li { border-top: 1px solid var(--hairline); }
.craft-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  color: var(--gold);
}
.craft-list h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 26px;
  line-height: 1.2;
}
.craft-list p {
  margin-top: 10px;
  font-size: 13.5px;
  line-height: 1.75;
  color: rgba(20, 19, 16, .68);
  max-width: 44ch;
}

/* ---------- 08 · testimonials ---------- */

.testimonials { padding: clamp(20px, 3vw, 40px) clamp(20px, 5vw, 48px) clamp(84px, 10vw, 130px); }
.quote-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.quote-card {
  background: var(--ivory-lift);
  border: 1px solid var(--hairline);
  border-top: 2px solid var(--gold);
  padding: 38px 32px;
}
.quote-card blockquote p {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 500;
  line-height: 1.5;
}
.quote-card figcaption {
  margin-top: 24px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: rgba(20, 19, 16, .55);
}

/* ---------- 09 · newsletter ---------- */

.newsletter {
  background: var(--ink);
  text-align: center;
  padding: clamp(76px, 9vw, 120px) 24px;
}
.newsletter-title {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: .42em;
  text-transform: uppercase;
  color: var(--ivory);
}
.newsletter-sub {
  margin: 20px auto 0;
  max-width: 52ch;
  font-size: 13px;
  line-height: 1.8;
  color: rgba(247, 244, 239, .6);
}
.newsletter-form {
  margin: 40px auto 0;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 18px;
  flex-wrap: wrap;
}
.newsletter-form input {
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(247, 244, 239, .45);
  color: var(--ivory);
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: .2em;
  padding: 12px 4px;
  width: min(360px, 82vw);
  outline: none;
  transition: border-color .25s ease;
}
.newsletter-form input::placeholder { color: rgba(247, 244, 239, .45); }
.newsletter-form input:focus { border-color: var(--gold); }
.newsletter-form button {
  background: var(--gold);
  color: var(--ink);
  border: 0;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .28em;
  text-transform: uppercase;
  padding: 15px 34px;
  transition: background .25s ease;
}
.newsletter-form button:hover { background: #CBA76C; }
.form-success {
  margin-top: 40px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ---------- 10 · footer ---------- */

.site-footer {
  background: var(--ink);
  color: var(--ivory);
  border-top: 1px solid rgba(247, 244, 239, .14);
}
.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(56px, 7vw, 84px) clamp(20px, 5vw, 48px) 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  gap: clamp(36px, 5vw, 64px);
}
.footer-logo {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: .42em;
  text-transform: uppercase;
}
.footer-logo span { display: block; margin-top: 4px; font-size: 9px; letter-spacing: .68em; color: var(--gold); }
.footer-blurb {
  margin-top: 22px;
  font-size: 13px;
  line-height: 1.8;
  color: rgba(247, 244, 239, .58);
  max-width: 36ch;
}
.footer-col h3 {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: rgba(247, 244, 239, .45);
  margin-bottom: 20px;
}
.footer-col a {
  display: block;
  font-size: 13px;
  color: rgba(247, 244, 239, .82);
  padding: 5px 0;
  transition: color .25s ease;
}
.footer-col a:hover { color: var(--gold); }
.footer-mail { text-decoration: underline; text-underline-offset: 4px; }
.footer-note { margin-top: 12px; font-size: 12px; color: rgba(247, 244, 239, .45); }

.footer-pay {
  display: flex;
  justify-content: flex-start;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: clamp(44px, 5vw, 64px);
  padding-top: 32px;
  border-top: 1px solid rgba(247, 244, 239, .12);
}
.pay-chip {
  border: 1px solid rgba(247, 244, 239, .28);
  border-radius: 4px;
  padding: 7px 14px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(247, 244, 239, .78);
}
.footer-legal {
  text-align: center;
  font-size: 10px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(247, 244, 239, .42);
  padding: 26px 0 30px;
  margin-top: 34px;
  border-top: 1px solid rgba(247, 244, 239, .12);
}

/* ---------- toast ---------- */

.toast {
  position: fixed;
  left: 50%; bottom: 30px;
  transform: translate(-50%, 16px);
  z-index: 180;
  background: var(--ink);
  color: var(--ivory);
  border: 1px solid rgba(185, 152, 90, .55);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  padding: 14px 26px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, transform .3s ease, visibility .3s ease;
}
.toast.show { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

/* ---------- scroll reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .feature-media img, .cta-underline svg { transition: none; }
}

/* ---------- responsive ---------- */

@media (max-width: 980px) {
  .quote-grid { grid-template-columns: 1fr; max-width: 560px; }
  .craft-inner { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 820px) {
  .header-nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .header-inner { grid-template-columns: auto 1fr auto; height: 66px; }
  .logo { justify-self: center; }
  .logo-word { font-size: 15px; letter-spacing: .34em; margin-right: -.34em; }
  .logo-sub { font-size: 8px; letter-spacing: .56em; margin-right: -.56em; }

  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-media { order: -1; }
  .hero-media img { aspect-ratio: 4 / 5; }
  .hero-panel { padding: 52px 26px 64px; }
  .hero-title { font-size: clamp(56px, 15vw, 84px); }

  .collection-index { grid-template-columns: 1fr 1fr; }
  .collection-index a { padding: 20px 8px; }
  .collection-index a:nth-child(odd) { border-right: 1px solid var(--hairline); }
  .collection-index a:nth-child(n+3) { border-top: 1px solid var(--hairline); }
  .collection-index a + a { border-left: 0; }

  .feature-row { grid-template-columns: 1fr; min-height: 0; }
  .feature-row--flip .feature-media { order: 0; }
  .feature-media img { aspect-ratio: 4 / 3; }
  .feature-panel { padding: 44px 26px 56px; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .craft-list li { grid-template-columns: 48px 1fr; }
  .quote-card { padding: 30px 24px; }
}

/* ============================================================
   FOOTER REDESIGN — "monolith": ultra-minimal centered luxury.
   Appended rules override the old column-template styles above.
   ============================================================ */
.site-footer { border-top: 0; }

.fm-inner {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(76px, 9vw, 118px) clamp(22px, 5vw, 48px) clamp(38px, 5vw, 52px);
  text-align: center;
}
.fm-epigraph {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(20px, 2.4vw, 24px);
  letter-spacing: .02em;
  color: rgba(247, 244, 239, .82);
}
.fm-rule {
  display: block;
  width: 44px;
  height: 1px;
  margin: 36px auto 42px;
  background: var(--gold);
}
.fm-wordmark {
  font-size: clamp(17px, 2.3vw, 21px);
  font-weight: 600;
  letter-spacing: .58em;
  padding-left: .58em; /* balances trailing tracking so the stack reads centered */
  text-transform: uppercase;
  color: var(--ivory);
}
.fm-wordmark span {
  display: block;
  margin-top: 12px;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .74em;
  padding-left: .74em;
  text-transform: uppercase;
  color: var(--gold);
}
.fm-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 46px;
}
.fm-nav a {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: rgba(247, 244, 239, .78);
  transition: color .25s ease;
}
.fm-nav a:hover { color: var(--gold); }
.fm-dot { font-size: 11px; color: rgba(185, 152, 90, .65); }
.fm-nav--fine { margin-top: 20px; }
.fm-nav--fine a { font-size: 9px; letter-spacing: .3em; color: rgba(247, 244, 239, .46); }
.fm-nav--fine a:hover { color: var(--gold); }
.fm-mail {
  display: inline-block;
  margin-top: 42px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(247, 244, 239, .68);
  transition: color .25s ease;
}
.fm-mail:hover { color: var(--gold); }
.fm-hairline { height: 1px; margin-top: 48px; background: rgba(247, 244, 239, .14); }
.fm-base {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px 20px;
  flex-wrap: wrap;
  padding-top: 26px;
}
.fm-pay { display: flex; flex-wrap: wrap; gap: 8px; }
.fm-pay .pay-chip {
  padding: 5px 10px;
  font-size: 8.5px;
  letter-spacing: .14em;
  border-color: rgba(247, 244, 239, .22);
  color: rgba(247, 244, 239, .62);
}
.fm-copy {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: rgba(247, 244, 239, .45);
}

@media (max-width: 640px) {
  .fm-inner { padding-top: 68px; }
  .fm-nav { gap: 9px 12px; }
  .fm-nav a { letter-spacing: .24em; }
  .fm-base { flex-direction: column; justify-content: center; }
}
