/*
Theme Name: French Part of Brooklyn
Theme URI: https://frenchpartofbrooklyn.com/
Author: French Part of Brooklyn
Description: Custom theme for French Part of Brooklyn independent streetwear brand.
Version: 1.0
*/

* {
  box-sizing: border-box;
}

:root {
  --black: #070707;
  --white: #f4f2ec;
  --line: rgba(255,255,255,.22);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: Inter, Arial, sans-serif;
}

body.menu-open {
  overflow: hidden;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--white);
  color: var(--black);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 20;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 34px;
  gap: 16px;
  border-bottom: 1px solid transparent;
  transition: background .25s ease, border-color .25s ease;
}

.site-header.scrolled {
  background: rgba(7,7,7,.94);
  border-color: var(--line);
  backdrop-filter: blur(10px);
}

.brand {
  font-family: "Archivo Black", Impact, sans-serif;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: -.01em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 13px;
  font-weight: 700;
  margin-left: auto;
}

.nav-primary,
.nav-tools,
.social-links {
  display: flex;
  align-items: center;
}

.nav-primary {
  gap: 28px;
}

.nav-tools {
  gap: 14px;
}

.main-nav a:hover {
  opacity: .55;
}

.language-switcher {
  position: relative;
}

.language-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-width: 54px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  background: rgba(0,0,0,.24);
  color: var(--white);
  font: inherit;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}

.language-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  display: grid;
  min-width: 130px;
  padding: 6px;
  background: var(--white);
  color: var(--black);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}

.language-menu.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.language-menu button {
  padding: 9px 10px;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 11px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.language-menu button:hover,
.language-menu button[aria-checked="true"] {
  background: var(--black);
  color: var(--white);
}

.social-links {
  gap: 5px;
}

.header-social {
  flex: 0 0 auto;
}

.social-links a {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid var(--line);
  border-radius: 50%;
  transition: color .2s ease, background .2s ease, opacity .2s ease;
}

.social-links a:hover {
  background: var(--white);
  color: var(--black);
  opacity: 1;
}

.social-links svg {
  width: 13px;
  height: 13px;
  fill: currentColor;
}

.social-links rect,
.social-links circle:not(.dot) {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.social-links .dot {
  fill: currentColor;
  stroke: none;
}

.header-social a:hover {
  transform: translateY(-2px);
}

.social-links a {
  position: relative;
}

.soon-badge {
  position: absolute;
  bottom: -18px;
  left: 50%;
  transform: translateX(-50%);
  padding: 2px 6px;
  background: var(--white);
  color: var(--black);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .06em;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity .15s ease;
}

.social-links a:hover .soon-badge {
  opacity: 1;
}

.soon-badge-card {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  padding: 4px 9px;
  background: rgba(7,7,7,.75);
  backdrop-filter: blur(4px);
  color: var(--white);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
}

.category-card.light .soon-badge-card,
.category-card.warm .soon-badge-card {
  background: var(--black);
  color: var(--white);
}

.category-card.image-tone .soon-badge-card {
  background: var(--white);
  color: var(--black);
}

.category-card.outline .soon-badge-card {
  background: var(--black);
  color: var(--white);
}

.menu-button {
  display: none;
  color: var(--white);
  background: transparent;
  border: 0;
  font: inherit;
  font-weight: 700;
}

.hero {
  position: relative;
  min-height: 0;
  padding-top: 76px;
  overflow: hidden;
  background: var(--black);
}

.hero-image {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
  transform: none;
}

.hero-message {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 8vw;
  align-items: end;
  padding: 72px 6vw 82px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--black);
}

.eyebrow {
  margin: 0 0 18px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .16em;
}

.hero-message h1,
.intro h2,
.statement h2 {
  font-family: "Archivo Black", Impact, sans-serif;
  letter-spacing: -.045em;
  line-height: .91;
  margin: 0;
}

.hero-message h1 {
  font-size: clamp(54px, 7.5vw, 118px);
}

.hero-text {
  max-width: 540px;
  margin: 0 0 30px;
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.4;
}

.button {
  display: inline-flex;
  gap: 48px;
  align-items: center;
  justify-content: space-between;
  padding: 17px 20px;
  min-width: 290px;
  font-size: 13px;
  font-weight: 800;
  border: 1px solid var(--white);
  transition: all .2s ease;
}

.button-light {
  background: var(--white);
  color: var(--black);
}

.button:hover {
  background: transparent;
  color: var(--white);
}

.ticker {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.ticker div {
  padding: 22px 18px;
  text-align: center;
  font-size: 12px;
  font-weight: 800;
  border-right: 1px solid var(--line);
}

.ticker div:last-child {
  border-right: 0;
}

.section {
  padding: 110px 6vw;
}

.collection {
  background: var(--white);
  color: var(--black);
}

.collection-intro {
  margin: 0 0 40px;
  max-width: 480px;
  font-size: 15px;
  line-height: 1.6;
  opacity: .6;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.category-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  aspect-ratio: 4 / 5;
  padding: 22px;
  overflow: hidden;
  transition: transform .24s ease;
}

.category-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .18;
  background-image: repeating-linear-gradient(135deg, transparent 0 9px, currentColor 10px 11px);
  transform: translateX(70%);
}

.category-card:hover {
  transform: translateY(-5px);
}

.category-card > * {
  position: relative;
  z-index: 1;
}

.category-card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.category-card.has-photo::before {
  display: none;
}

.category-card.has-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7,7,7,0) 45%, rgba(7,7,7,.85) 100%);
  z-index: 0;
}

.category-card.has-photo {
  color: var(--white);
}

.category-card.has-photo:hover .category-card-img {
  transform: scale(1.04);
}

.category-card-img {
  transition: transform .4s ease;
}

.category-card h3 {
  margin: auto 0 0;
  max-width: 90%;
  font-family: "Archivo Black", Impact, sans-serif;
  font-size: clamp(30px, 3.4vw, 54px);
  line-height: .92;
  letter-spacing: -.045em;
}

.category-card b {
  position: absolute;
  right: 22px;
  bottom: 20px;
  font-size: 22px;
}

.category-card.light {
  background: #d8d5cd;
  color: var(--black);
}

.category-card.image-tone {
  background: #2d2d2b;
  color: var(--white);
}

.category-card.outline {
  border: 1px solid rgba(7,7,7,.32);
  background: transparent;
  color: var(--black);
}

.category-card.warm {
  background: #b6ad9d;
  color: var(--black);
}

.intro-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 8vw;
}

.intro h2,
.statement h2 {
  font-size: clamp(54px, 7vw, 112px);
}

.intro-grid > div {
  align-self: end;
  max-width: 650px;
}

.large-copy {
  margin-top: 0;
  font-size: clamp(24px, 3vw, 44px);
  line-height: 1.15;
}

.intro-grid p:last-child {
  max-width: 530px;
  line-height: 1.7;
  opacity: .75;
}

.intro-grid .attitude-line {
  margin-top: 30px;
  font-family: "Archivo Black", Impact, sans-serif;
  font-size: clamp(18px, 2vw, 28px);
  line-height: 1.15;
  letter-spacing: -.025em;
  opacity: 1;
}

.about-page {
  min-height: 100vh;
  padding: 180px 6vw 120px;
  background: var(--black);
}

.about-page-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 8vw;
  align-items: start;
}

.about-page h1 {
  max-width: 760px;
  margin: 0;
  font-family: "Archivo Black", Impact, sans-serif;
  font-size: clamp(54px, 7vw, 112px);
  line-height: .91;
  letter-spacing: -.045em;
}

.about-page-copy {
  display: grid;
  gap: 32px;
  max-width: 760px;
  padding-top: 8px;
}

.about-page-copy p {
  margin: 0;
  font-size: clamp(18px, 1.8vw, 26px);
  line-height: 1.65;
}

.about-page-copy p + p {
  opacity: .78;
}

.about-line {
  font-family: "Archivo Black", Impact, sans-serif;
  font-size: clamp(24px, 2.6vw, 36px);
  line-height: 1.2;
  letter-spacing: -.02em;
  opacity: 1 !important;
  margin-top: 8px !important;
}

.about-subhead {
  margin-top: 16px !important;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  opacity: 1 !important;
}

.impact-intro {
  font-family: "Archivo Black", Impact, sans-serif;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.15;
  letter-spacing: -.02em;
  opacity: 1 !important;
}

.about-page.contact-page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding: 180px 6vw 100px;
}

.contact-page .about-page-grid {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: stretch;
}

.contact-page h1 {
  max-width: 1000px;
}

.contact-page .about-page-copy {
  align-self: flex-end;
  text-align: right;
  max-width: none;
}

.contact-email {
  display: inline-block;
  font-family: "Archivo Black", Impact, sans-serif;
  font-size: clamp(18px, 3.4vw, 48px);
  line-height: 1.2;
  letter-spacing: -.02em;
  white-space: nowrap;
  transition: opacity .2s ease;
}

.contact-email:hover {
  opacity: .6;
}

.contact-email::after {
  content: "→";
  display: block;
  margin-top: 14px;
  font-size: clamp(20px, 2.4vw, 28px);
}

.statement {
  min-height: 85vh;
  background: var(--white);
  color: var(--black);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 100px 6vw;
}

.statement-inner {
  max-width: 1100px;
}

.eyebrow.dark {
  color: var(--black);
}

.statement .mission-copy {
  max-width: 620px;
  margin: 34px auto 0;
  font-size: 19px;
  line-height: 1.6;
}

.donation-counter {
  margin: 56px auto 0;
  padding: 34px 28px;
  max-width: 480px;
  border: 1px solid rgba(7,7,7,.18);
}

.counter-eyebrow {
  margin: 0 0 12px;
  font-family: "Archivo Black", Impact, sans-serif;
  font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.1;
  letter-spacing: -.02em;
}

.counter-note {
  margin: 0;
  max-width: 380px;
  margin-left: auto;
  margin-right: auto;
  font-size: 14px;
  line-height: 1.6;
  opacity: .65;
}

.counter-cta {
  display: inline-block;
  margin-top: 18px;
  padding-bottom: 3px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .02em;
  border-bottom: 1px solid var(--black);
  transition: opacity .2s ease;
}

.counter-cta:hover {
  opacity: .6;
}

.statement .button {
  margin: 40px auto 0;
  border-color: var(--black);
}

.button-dark {
  background: var(--black);
  color: var(--white);
}

.button-dark:hover {
  background: transparent;
  color: var(--black);
}

.manifesto-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}

.manifesto article {
  padding: 40px 36px 40px 0;
  border-right: 1px solid var(--line);
}

.manifesto article + article {
  padding-left: 36px;
}

.manifesto article:last-child {
  border-right: 0;
}

.manifesto h3 {
  margin: 32px 0 16px;
  font-family: "Archivo Black", Impact, sans-serif;
  font-size: clamp(30px, 4vw, 58px);
}

.manifesto p {
  max-width: 320px;
  line-height: 1.6;
  opacity: .7;
}

.follow {
  padding: 100px 6vw;
  border-top: 1px solid var(--line);
  background: var(--black);
  color: var(--white);
}

.follow-inner {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 8vw;
  align-items: center;
}

.follow-text h2 {
  margin: 0 0 22px;
  font-family: "Archivo Black", Impact, sans-serif;
  font-size: clamp(48px, 6.5vw, 100px);
  line-height: .92;
  letter-spacing: -.045em;
}

.follow-text p {
  max-width: 460px;
  margin: 0;
  font-size: 17px;
  line-height: 1.6;
  opacity: .75;
}

.follow-tag {
  margin-top: 20px !important;
  font-weight: 800;
  letter-spacing: .04em;
  opacity: 1 !important;
}

.follow-icons {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px;
}

.follow-icons a {
  position: relative;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border: 1px solid var(--line);
  border-radius: 50%;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}

.follow-icons a:hover {
  background: var(--white);
  color: var(--black);
  transform: translateY(-3px);
}

.follow-icons svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}

.follow-icons rect,
.follow-icons circle:not(.dot) {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
}

.follow-icons .dot {
  fill: currentColor;
  stroke: none;
}

.soon-badge-large {
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  padding: 3px 8px;
  background: var(--white);
  color: var(--black);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .06em;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity .15s ease;
}

.follow-icons a:hover .soon-badge-large {
  opacity: 1;
}

@media (max-width: 820px) {
  .follow {
    padding: 78px 20px;
  }

  .follow-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .follow-icons {
    justify-content: flex-start;
  }

  .follow-icons a {
    width: 54px;
    height: 54px;
  }

  .follow-icons svg {
    width: 22px;
    height: 22px;
  }
}

.newsletter {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 8vw;
  align-items: end;
  padding: 100px 6vw;
  background: var(--white);
  color: var(--black);
}

.newsletter h2 {
  max-width: 900px;
  margin: 0;
  font-family: "Archivo Black", Impact, sans-serif;
  font-size: clamp(48px, 6.5vw, 104px);
  line-height: .92;
  letter-spacing: -.045em;
}

.newsletter-form {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: stretch;
  border-bottom: 1px solid var(--black);
}

.newsletter-form input,
.newsletter-form button {
  min-height: 58px;
  border: 0;
  border-radius: 0;
  font: inherit;
}

.newsletter-form input {
  min-width: 0;
  padding: 0 16px 0 0;
  background: transparent;
  color: var(--black);
  font-size: 16px;
  outline: 0;
}

.newsletter-form input::placeholder {
  color: rgba(7,7,7,.45);
}

.newsletter-form button {
  padding: 0 18px;
  background: var(--black);
  color: var(--white);
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.newsletter-status {
  grid-column: 1 / -1;
  min-height: 18px;
  margin: 10px 0 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
}

@media (max-width: 820px) {
  .site-header {
    height: 64px;
    padding: 0 12px;
    gap: 7px;
  }

  .brand {
    max-width: 110px;
    font-size: 12px;
    line-height: 1.15;
  }

  .menu-button {
    display: block;
    order: 3;
    margin-left: 2px;
    font-size: 11px;
  }

  .header-social {
    order: 2;
    margin-left: auto;
    gap: 3px;
  }

  .header-social a {
    width: 23px;
    height: 23px;
  }

  .header-social svg {
    width: 11px;
    height: 11px;
  }

  .main-nav {
    position: absolute;
    top: 64px;
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 26px;
    padding: 24px 20px;
    background: var(--black);
    border-bottom: 1px solid var(--line);
  }

  .main-nav.open {
    display: flex;
  }

  .nav-primary {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }

  .nav-tools {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    width: 100%;
    padding-top: 20px;
    border-top: 1px solid var(--line);
  }

  .language-menu {
    right: auto;
    left: 0;
  }

  .hero {
    min-height: 0;
    padding-top: 64px;
  }

  .hero-image {
    width: 100%;
    height: auto;
    object-fit: contain;
  }

  .hero-message {
    grid-template-columns: 1fr;
    gap: 42px;
    padding: 58px 20px 64px;
  }

  .hero-message h1 {
    font-size: clamp(50px, 15vw, 78px);
  }

  .ticker {
    grid-template-columns: 1fr 1fr;
  }

  .ticker div:nth-child(2) {
    border-right: 0;
  }

  .ticker div:nth-child(-n+2) {
    border-bottom: 1px solid var(--line);
  }

  .section {
    padding: 78px 20px;
  }

  .category-grid {
    grid-template-columns: 1fr 1fr;
  }

  .intro-grid,
  .manifesto-grid {
    grid-template-columns: 1fr;
  }

  .intro-grid {
    gap: 50px;
  }

  .about-page {
    padding: 130px 20px 80px;
  }

  .about-page-grid {
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .contact-page .about-page-grid {
    gap: 40px;
  }

  .contact-page .about-page-copy {
    align-self: flex-start;
    text-align: left;
  }

  .contact-email {
    white-space: normal;
    word-break: break-word;
    font-size: clamp(22px, 6.5vw, 34px);
  }

  .contact-email::after {
    margin-top: 10px;
  }

  .manifesto article,
  .manifesto article + article {
    padding: 34px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .manifesto article:last-child {
    border-bottom: 0;
  }

  .manifesto h3 {
    margin-top: 32px;
  }

  .newsletter {
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 78px 20px;
  }

  .newsletter h2 {
    font-size: clamp(42px, 13vw, 72px);
  }

}

@media (max-width: 520px) {
  .category-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *, *::before, *::after {
    transition-duration: .01ms !important;
  }
}
