@import url('./bfd-fonts.css');

:root {
  --bfd-black: #0B0B0B;
  --bfd-beige: #C9B69A;
  --bfd-white: #F7F7F2;
  --bfd-gray: #8E8E8E;
  --bfd-pure-white: #FFFFFF;
  --bfd-surface-soft: #F1F0EC;
  --bfd-border: #E4E2DC;
  --bfd-black-hover: #242424;
  --bfd-beige-hover: #B8A283;

  --bfd-font-display: 'Anton', Impact, 'Arial Black', sans-serif;
  --bfd-font-heading: 'Montserrat', Arial, sans-serif;
  --bfd-font-body: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --bfd-radius-sm: 8px;
  --bfd-radius-md: 12px;
  --bfd-radius-lg: 18px;
  --bfd-radius-pill: 999px;

  --bfd-shadow-card: 0 8px 30px rgba(11, 11, 11, 0.06);
  --bfd-shadow-hover: 0 14px 38px rgba(11, 11, 11, 0.10);

  --bfd-container: 1280px;
  --bfd-gutter: clamp(18px, 4vw, 48px);
  --bfd-section-y: clamp(64px, 8vw, 120px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bfd-white);
  color: var(--bfd-black);
  font-family: var(--bfd-font-body);
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }

::selection {
  background: var(--bfd-beige);
  color: var(--bfd-black);
}

.bfd-container {
  width: min(calc(100% - (2 * var(--bfd-gutter))), var(--bfd-container));
  margin-inline: auto;
}

.bfd-section { padding-block: var(--bfd-section-y); }
.bfd-section--dark { background: var(--bfd-black); color: var(--bfd-white); }
.bfd-section--soft { background: var(--bfd-surface-soft); }

/* Typography */
.bfd-display {
  font-family: var(--bfd-font-display);
  font-weight: 400;
  font-size: clamp(3rem, 7vw, 6.75rem);
  line-height: .92;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin: 0;
}

h1, h2, h3, h4, .bfd-heading {
  font-family: var(--bfd-font-heading);
  margin-top: 0;
  color: inherit;
}

h1, .bfd-h1 {
  font-size: clamp(2.4rem, 5vw, 4.75rem);
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: -0.035em;
}
h2, .bfd-h2 {
  font-size: clamp(1.9rem, 3.4vw, 3.25rem);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.025em;
}
h3, .bfd-h3 {
  font-size: clamp(1.35rem, 2.1vw, 1.9rem);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.015em;
}
h4, .bfd-h4 {
  font-size: 1.125rem;
  line-height: 1.25;
  font-weight: 700;
}

.bfd-lead {
  font-size: clamp(1.08rem, 1.6vw, 1.3rem);
  line-height: 1.6;
  max-width: 68ch;
}
.bfd-meta {
  font-size: .875rem;
  line-height: 1.4;
  color: var(--bfd-gray);
  font-weight: 500;
}
.bfd-eyebrow {
  font-family: var(--bfd-font-heading);
  font-weight: 700;
  font-size: .78rem;
  line-height: 1;
  letter-spacing: .14em;
  text-transform: uppercase;
}

/* Header */
.bfd-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(142,142,142,.2);
  background: color-mix(in srgb, var(--bfd-white) 92%, transparent);
  backdrop-filter: blur(12px);
}
.bfd-header__inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.bfd-nav { display: flex; gap: 24px; align-items: center; }
.bfd-nav a {
  font-family: var(--bfd-font-heading);
  font-size: .9rem;
  font-weight: 700;
  text-decoration: none;
}
.bfd-nav a:hover { color: #6f604e; }

/* Buttons */
.bfd-btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: var(--bfd-radius-md);
  padding: 0 20px;
  font-family: var(--bfd-font-heading);
  font-size: .92rem;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}
.bfd-btn:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--bfd-beige) 70%, white);
  outline-offset: 3px;
}
.bfd-btn--primary { background: var(--bfd-beige); color: var(--bfd-black); }
.bfd-btn--primary:hover { background: var(--bfd-beige-hover); transform: translateY(-1px); }
.bfd-btn--dark { background: var(--bfd-black); color: var(--bfd-white); }
.bfd-btn--dark:hover { background: var(--bfd-black-hover); transform: translateY(-1px); }
.bfd-btn--outline { background: transparent; border-color: var(--bfd-black); color: var(--bfd-black); }
.bfd-btn--outline:hover { background: var(--bfd-black); color: var(--bfd-white); }
.bfd-hero .bfd-btn--outline,
.bfd-section--dark .bfd-btn--outline {
  border-color: var(--bfd-white);
  color: var(--bfd-white);
}
.bfd-hero .bfd-btn--outline:hover,
.bfd-section--dark .bfd-btn--outline:hover {
  background: var(--bfd-white);
  color: var(--bfd-black);
}
.bfd-btn--block { width: 100%; }

/* Hero */
.bfd-hero {
  min-height: min(820px, 88vh);
  display: grid;
  align-items: stretch;
  background: var(--bfd-black);
  color: var(--bfd-white);
  overflow: clip;
}
.bfd-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  min-height: inherit;
}
.bfd-hero__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(48px, 7vw, 96px) var(--bfd-gutter);
}
.bfd-hero__title .accent { color: var(--bfd-beige); }
.bfd-hero__copy { color: #d8d8d4; max-width: 58ch; }
.bfd-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.bfd-hero__media { position: relative; min-height: 520px; }
.bfd-hero__media img { width: 100%; height: 100%; object-fit: cover; }

/* Grid */
.bfd-grid { display: grid; gap: clamp(18px, 2.6vw, 32px); }
.bfd-grid--looks { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.bfd-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.bfd-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* Cards */
.bfd-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  background: var(--bfd-pure-white);
  border: 1px solid var(--bfd-border);
  border-radius: var(--bfd-radius-lg);
  overflow: hidden;
  box-shadow: var(--bfd-shadow-card);
  transition: transform .2s ease, box-shadow .2s ease;
}
.bfd-card:hover { transform: translateY(-3px); box-shadow: var(--bfd-shadow-hover); }
.bfd-card__media {
  display: block;
  width: 100%;
  flex: 0 0 auto;
  aspect-ratio: 4 / 5;
  background: var(--bfd-surface-soft);
  overflow: hidden;
}
.bfd-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.bfd-card:hover .bfd-card__media img { transform: scale(1.018); }
.bfd-card__body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  padding: 18px;
}
.bfd-card__title {
  height: 2.3em;
  margin: 0 0 14px;
  line-height: 1.15;
  overflow: hidden;
}
.bfd-card__copy {
  min-height: 3.2em;
  margin: 0 0 14px;
}
.bfd-card__meta {
  margin: 0 0 16px;
}
.bfd-card__cta {
  align-self: stretch;
  justify-content: center;
  margin-top: auto;
}
.bfd-card__brandline { color: var(--bfd-gray); font-size: .9rem; }
.bfd-card__footer { margin-top: 16px; }

/* Chips */
.bfd-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.bfd-chip {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 11px;
  border: 1px solid var(--bfd-border);
  border-radius: var(--bfd-radius-pill);
  background: var(--bfd-white);
  color: var(--bfd-black);
  font-size: .78rem;
  font-weight: 600;
}
.bfd-chip--accent { background: color-mix(in srgb, var(--bfd-beige) 26%, var(--bfd-white)); border-color: transparent; }

/* Look detail */
.bfd-look-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.bfd-look-hero__media { border-radius: var(--bfd-radius-lg); overflow: hidden; background: var(--bfd-surface-soft); }
.bfd-look-hero__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.bfd-look-hero__aside { position: sticky; top: 108px; }

/* Shop the Look */
.bfd-product-list { display: grid; gap: 12px; }
.bfd-product {
  display: grid;
  grid-template-columns: 96px 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--bfd-border);
  border-radius: var(--bfd-radius-md);
  background: var(--bfd-pure-white);
}
.bfd-product__image { width: 96px; aspect-ratio: 1; object-fit: contain; background: var(--bfd-white); border-radius: var(--bfd-radius-sm); }
.bfd-product__name { margin: 0; font-family: var(--bfd-font-heading); font-weight: 700; line-height: 1.25; }
.bfd-product__merchant { color: var(--bfd-gray); font-size: .86rem; }

/* Filters */
.bfd-filterbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 14px;
  background: var(--bfd-pure-white);
  border: 1px solid var(--bfd-border);
  border-radius: var(--bfd-radius-md);
}
.bfd-filter {
  min-height: 42px;
  border: 1px solid var(--bfd-border);
  border-radius: var(--bfd-radius-pill);
  padding: 0 14px;
  background: var(--bfd-white);
  font-family: var(--bfd-font-body);
  color: var(--bfd-black);
}

/* Blog */
.bfd-article { max-width: 760px; margin-inline: auto; }
.bfd-article p, .bfd-article li { font-size: 1.06rem; line-height: 1.8; }
.bfd-article h2 { margin-top: 2.3em; }
.bfd-article h3 { margin-top: 1.8em; }
.bfd-article img { margin-block: 32px; border-radius: var(--bfd-radius-md); }

/* Affiliate disclosure */
.bfd-disclosure {
  padding: 14px 16px;
  border-left: 4px solid var(--bfd-beige);
  background: color-mix(in srgb, var(--bfd-beige) 18%, white);
  font-size: .9rem;
  border-radius: 0 var(--bfd-radius-sm) var(--bfd-radius-sm) 0;
}

/* Footer */
.bfd-footer { background: var(--bfd-black); color: var(--bfd-white); padding-block: 64px 32px; }
.bfd-footer a { color: #d7d7d3; text-decoration: none; }
.bfd-footer a:hover { color: var(--bfd-beige); }

/* Utilities */
.bfd-accent { color: var(--bfd-beige); }
.bfd-muted { color: var(--bfd-gray); }
.bfd-divider { height: 1px; background: var(--bfd-border); border: 0; }
.bfd-stack { display: grid; gap: 16px; }
.bfd-stack--lg { gap: 28px; }

@media (max-width: 1024px) {
  .bfd-grid--looks, .bfd-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bfd-hero__grid { grid-template-columns: 1fr; }
  .bfd-hero__media { min-height: 460px; order: -1; }
  .bfd-look-hero { grid-template-columns: 1fr; }
  .bfd-look-hero__aside { position: static; }
}

@media (max-width: 720px) {
  .bfd-header__inner { min-height: 64px; }
  .bfd-nav { display: none; }
  .bfd-grid--looks, .bfd-grid--2, .bfd-grid--4 { grid-template-columns: 1fr; }
  .bfd-hero { min-height: auto; }
  .bfd-hero__media { min-height: 400px; }
  .bfd-product { grid-template-columns: 76px 1fr; }
  .bfd-product__image { width: 76px; }
  .bfd-product .bfd-btn { grid-column: 1 / -1; width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}

/* Approved brand assets: preserve supplied artwork and aspect ratio. */
.logo { display: inline-flex; align-items: center; line-height: 0; }
.site-logo { display: block; width: 180px; height: 80px; object-fit: contain; }
.site-monogram { display: block; width: 42px; height: 42px; object-fit: contain; }
.mobile-brand { display: none; line-height: 0; text-decoration: none; }
.bfd-footer .site-logo { width: 180px; height: 80px; }
.mission-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 460px); gap: clamp(32px, 6vw, 96px); align-items: start; }
.mission-grid > div { max-width: 620px; }
.mission-grid > img { display: block; width: 100%; max-width: 460px; height: auto !important; aspect-ratio: auto !important; object-fit: initial !important; }
@media (max-width: 720px) {
  .bfd-header__inner > .logo { display: none; }
  .mobile-brand { display: inline-flex; align-items: center; }
  .site-monogram { width: 42px; height: 42px; }
  .mission-grid { grid-template-columns: 1fr; gap: 32px; }
  .mission-grid > img { max-width: 460px; justify-self: center; }
}

/* About page: dedicated editorial layout. Keep the supplied lifestyle image in its native ratio. */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.about-page {
  padding-block: clamp(48px, 7vw, 92px) clamp(72px, 9vw, 128px);
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 560px);
  gap: clamp(44px, 7vw, 104px);
  align-items: stretch;
}

.about-layout__copy {
  align-self: center;
  max-width: 650px;
  padding-block: clamp(8px, 2vw, 24px);
}

.about-layout__copy .about-story {
  margin: 0 0 clamp(28px, 4vw, 48px);
  max-width: 52ch;
}

.about-layout__copy h2 {
  margin: 0 0 24px;
  max-width: 12ch;
  font-size: clamp(2.35rem, 4.4vw, 4.35rem);
  line-height: .98;
  letter-spacing: -0.04em;
}

.about-layout__copy > p:not(.about-story) {
  max-width: 54ch;
  margin: 0 0 20px;
}

.about-layout__copy .bfd-btn {
  margin-top: 10px;
}

.about-layout__visual {
  margin: 0;
  width: 100%;
  max-width: 560px;
  justify-self: end;
  align-self: start;
  overflow: hidden;
  border-radius: var(--bfd-radius-lg);
  background: var(--bfd-surface-soft);
}

.about-layout__visual img {
  display: block;
  width: 100%;
  height: auto !important;
  max-width: none;
  aspect-ratio: auto !important;
  object-fit: contain !important;
  object-position: center center;
}

@media (max-width: 1024px) {
  .about-layout {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 46%);
    gap: clamp(32px, 5vw, 56px);
  }
  .about-layout__copy h2 {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
  }
}

@media (max-width: 760px) {
  .about-page {
    padding-block: 36px 72px;
  }
  .about-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .about-layout__copy {
    align-self: auto;
    max-width: none;
    padding: 0;
  }
  .about-layout__copy .about-story {
    max-width: none;
    margin-bottom: 28px;
  }
  .about-layout__copy h2 {
    max-width: 14ch;
    margin-bottom: 20px;
  }
  .about-layout__visual {
    width: min(100%, 560px);
    justify-self: center;
  }
}

