@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');


/* =========================
   ROOT VARIABLES
========================= */

:root {
  --black: #11100f;
  --deep-black: #090909;
  --cream: #f5f0e8;
  --soft-cream: #ded6ca;
  --gold: #d6b36a;
  --bronze: #a9824c;
  --muted: #91897e;
  --border: rgba(214, 179, 106, 0.2);
  --white: #ffffff;
}


/* =========================
   RESET
========================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--black);
  color: var(--cream);
  font-family: "Manrope", sans-serif;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  width: 100%;
}


/* =========================
   SHARED STYLES
========================= */

.section-eyebrow {
  margin-bottom: 18px;
  color: var(--gold);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2.5px;
}

h1,
h2,
h3 {
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
}

p {
  line-height: 1.8;
}


/* =========================
   NAVIGATION
========================= */

.brands-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  padding: 22px 7%;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(17, 16, 15, 0.94);
  backdrop-filter: blur(14px);
}

.back-link,
.nav-link {
  color: var(--soft-cream);
  font-size: 11px;
  font-weight: 700;
  transition: color 0.3s ease;
}

.back-link:hover,
.nav-link:hover {
  color: var(--gold);
}

.brands-logo {
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 3px;
}


/* =========================
   HERO
========================= */

.brands-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 50px;
  min-height: 620px;
  padding: 100px 8% 85px;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 80% 20%,
      rgba(214, 179, 106, 0.15),
      transparent 32%
    ),
    linear-gradient(
      135deg,
      #181614,
      #0b0b0b
    );
}

.brands-hero::before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  right: -220px;
  top: -230px;
  border: 1px solid rgba(214, 179, 106, 0.2);
  border-radius: 50%;
}

.brands-hero::after {
  content: "";
  position: absolute;
  width: 700px;
  height: 1px;
  right: -180px;
  bottom: 100px;
  background: rgba(214, 179, 106, 0.25);
  transform: rotate(-35deg);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.hero-content h1 {
  margin-bottom: 28px;
  color: var(--cream);
  font-size: clamp(55px, 7vw, 100px);
  line-height: 0.95;
  letter-spacing: -2px;
}

.hero-content > p:not(.section-eyebrow) {
  max-width: 530px;
  margin-bottom: 35px;
  color: var(--soft-cream);
  font-size: 14px;
}

.hero-side {
  position: relative;
  z-index: 2;
  min-width: 160px;
  padding-left: 25px;
  border-left: 1px solid var(--border);
}

.hero-side span {
  display: block;
  margin-bottom: 15px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
}

.hero-side p {
  color: var(--muted);
  font-family: "Cormorant Garamond", serif;
  font-size: 25px;
  line-height: 1.1;
}


/* =========================
   BUTTONS
========================= */

.hero-btn,
.brand-btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  transition: all 0.3s ease;
}

.hero-btn {
  padding: 16px 22px;
  background: var(--gold);
  color: var(--deep-black);
  font-size: 11px;
  font-weight: 800;
}

.hero-btn span,
.brand-btn span {
  font-size: 18px;
}

.hero-btn:hover {
  background: var(--cream);
  transform: translateY(-3px);
}


/* =========================
   INTRODUCTION
========================= */

.network-intro {
  max-width: 850px;
  padding: 100px 8% 85px;
}

.network-intro h2 {
  margin-bottom: 25px;
  color: var(--cream);
  font-size: clamp(42px, 5vw, 70px);
  line-height: 1;
}

.network-intro > p:last-child {
  max-width: 570px;
  color: var(--muted);
  font-size: 14px;
}


/* =========================
   BRANDS SECTION
========================= */

.brands-section {
  padding: 85px 8% 110px;
  background: var(--cream);
  color: var(--black);
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 50px;
}

.section-heading h2 {
  font-size: clamp(45px, 5vw, 72px);
  line-height: 0.95;
}

.section-heading > p {
  max-width: 350px;
  color: #746b62;
  font-size: 13px;
}

.brands-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}

/* =========================
   BRAND CARDS
========================= */

.brand-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(17, 16, 15, 0.12);
  background: #fffdf9;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.brand-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 45px rgba(17, 16, 15, 0.12);
}

.brand-image,
.brand-placeholder {
  aspect-ratio: 1.5 / 1;
  height: auto;
  overflow: hidden;
}

.brand-image img {
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.brand-card:hover .brand-image img {
  transform: scale(1.05);
}

.brand-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background:
    linear-gradient(
      135deg,
      #27231e,
      #0e0e0d
    );
  color: var(--gold);
}

.brand-placeholder span {
  font-size: 11px;
  letter-spacing: 2px;
}

.brand-placeholder strong {
  font-family: "Cormorant Garamond", serif;
  font-size: 30px;
  font-weight: 500;
}

.brand-card-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 10px;
}

.brand-category {
  margin-bottom: 13px;
  color: var(--bronze);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.8px;
}

.brand-card h3 {
  margin-bottom: 6px;
  font-size: 18px;
  line-height: 1.05;
}

.brand-card p {
  margin-bottom: 10px;
  color: #776e65;
  font-size: 9px;
  line-height: 1.4;
}

.brand-btn {
  width: 100%;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid rgba(17, 16, 15, 0.14);
  color: var(--black);
  font-size: 10px;
  font-weight: 800;
}

.brand-btn:hover {
  color: var(--bronze);
}


/* =========================
   PARTNER CTA
========================= */

.partner-section {
  position: relative;
  padding: 110px 8%;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 90% 50%,
      rgba(214, 179, 106, 0.13),
      transparent 35%
    ),
    var(--deep-black);
}

.partner-section::after {
  content: "";
  position: absolute;
  width: 430px;
  height: 430px;
  right: -210px;
  top: -170px;
  border: 1px solid rgba(214, 179, 106, 0.2);
  border-radius: 50%;
}

.partner-section > div {
  position: relative;
  z-index: 2;
  max-width: 650px;
}

.partner-section h2 {
  margin-bottom: 25px;
  color: var(--cream);
  font-size: clamp(45px, 5vw, 75px);
  line-height: 0.95;
}

.partner-section p:not(.section-eyebrow) {
  max-width: 520px;
  margin-bottom: 32px;
  color: var(--muted);
  font-size: 14px;
}


/* =========================
   FOOTER
========================= */

.brands-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 45px;
  padding: 55px 8% 30px;
  background: #050505;
  color: var(--muted);
}

.brands-footer strong {
  display: block;
  margin-bottom: 12px;
  color: var(--cream);
  font-size: 12px;
  letter-spacing: 1.5px;
}

.brands-footer p {
  max-width: 300px;
  font-size: 11px;
}

.brands-footer > div:nth-child(2) {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  gap: 25px;
}

.brands-footer a {
  color: var(--soft-cream);
  font-size: 11px;
  transition: color 0.3s ease;
}

.brands-footer a:hover {
  color: var(--gold);
}

.copyright {
  grid-column: 1 / -1;
  padding-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 10px !important;
}


/* =========================
   RESPONSIVE DESIGN
========================= */

/* TABLET */

@media (max-width: 1100px) {

  .brands-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
  }

  .brands-hero {
    min-height: 560px;
  }

  .hero-side {
    display: none;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }

}


/* MOBILE */

@media (max-width: 650px) {

  .brands-nav {
    padding: 18px 6%;
  }

  .brands-logo {
    font-size: 10px;
    letter-spacing: 1.5px;
  }

  .back-link,
  .nav-link {
    font-size: 9px;
  }

  .brands-hero {
    min-height: 550px;
    padding: 80px 7% 65px;
  }

  .hero-content h1 {
    font-size: 62px;
    letter-spacing: -1px;
  }

  .hero-content > p:not(.section-eyebrow) {
    font-size: 13px;
  }

  .network-intro {
    padding: 75px 7% 65px;
  }

  .network-intro h2 {
    font-size: 48px;
  }

  .brands-section {
    padding: 70px 7% 80px;
  }

  /* =========================
   MOBILE HORIZONTAL BRAND CARDS
   MATCHING REFERENCE IMAGE
========================= */

.brands-grid {
  grid-template-columns: 1fr;
  gap: 14px;
}

.brand-card {
  display: grid;
  grid-template-columns: 34% 66%;
  width: 100%;
  height: 170px;
  min-height: 170px;
  overflow: hidden;
}

/* SQUARE IMAGE AREA */

.brand-image,
.brand-placeholder {
  width: 100%;
  height: 170px;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.brand-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* CONTENT */

.brand-card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 15px 18px;
  min-width: 0;
}

.brand-category {
  margin-bottom: 6px;
  font-size: 7px;
  letter-spacing: 1.1px;
  line-height: 1.3;
}

.brand-card h3 {
  margin-bottom: 5px;
  font-size: 23px;
  line-height: 1;
}

.brand-card p {
  margin-bottom: 7px;
  font-size: 9px;
  line-height: 1.45;

  height: calc(1.45em * 2);
  overflow: hidden;
}

.brand-btn {
  width: 100%;
  margin-top: auto;
  padding-top: 9px;
  font-size: 8px;
  gap: 8px;
}

.brand-btn span {
  font-size: 13px;
}

.brand-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
}


@media (max-width: 400px) {

  .brand-card {
    grid-template-columns: 32% 68%;
    height: 145px;
    min-height: 145px;
  }

  .brand-image,
  .brand-placeholder {
    height: 145px;
  }

  .brand-card-content {
    padding: 12px 14px;
  }

  .brand-card h3 {
    font-size: 20px;
  }

  .brand-card p {
    font-size: 8.5px;
  }

}

  .partner-section {
    padding: 80px 7%;
  }

  .partner-section h2 {
    font-size: 52px;
  }

  .brands-footer {
    grid-template-columns: 1fr;
    padding: 45px 7% 25px;
    gap: 30px;
  }

  .brands-footer > div:nth-child(2) {
    gap: 18px;
  }

}

.brands-search {
  width: min(100%, 650px);
  margin: 0 auto 45px;
  text-align: center;
}

.brands-search input {
  width: 100%;
  padding: 16px 20px;
  border: 1px solid rgba(185, 138, 59, 0.45);
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.04);
  color: inherit;
  font-family: inherit;
  font-size: 14px;
  outline: none;
  transition: 0.3s ease;
}

.brands-search input::placeholder {
  opacity: 0.6;
}

.brands-search input:focus {
  border-color: #b98a3b;
  box-shadow: 0 0 0 3px rgba(185, 138, 59, 0.12);
}

#brandSearchCount {
  display: block;
  margin-top: 10px;
  font-size: 11px;
  opacity: 0.6;
}
