/* Homepage — match the live Squarespace layout at 1440 and 390. */

body.page-home {
  background: #fafafa;
  color: #000;
  font-family: "PT Serif", Georgia, serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}

body.page-home h1,
body.page-home h2,
body.page-home h3,
body.page-home h4,
body.page-home p {
  margin: 0;
}

body.page-home a {
  color: inherit;
  text-decoration: none;
}

/* ---------- Header ---------- */

.cbo-header {
  position: relative;
  z-index: 40;
  background: #fff;
  height: 84px;
}

.cbo-header-inner {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 6vw;
}

.cbo-title {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-family: "Gilda Display", "Palatino Linotype", Palatino, serif;
  font-size: calc((1.5 - 1) * 0.012 * min(100vh, 900px) + 1rem);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #000;
  text-align: center;
  white-space: nowrap;
  text-decoration: none;
}

.cbo-nav {
  display: none;
  align-items: center;
  gap: 20px;
  font-size: 16px;
  line-height: 24px;
}

.cbo-nav a {
  display: flex;
  align-items: center;
  padding: 1.6px 0;
  text-decoration: none;
  color: #000;
}

.cbo-nav a[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}

.cbo-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: auto;
}

.cbo-login {
  display: none;
  font-size: 16px;
  line-height: 24px;
  color: #000;
}

.cbo-ig {
  display: none;
  width: 22px;
  height: 22px;
  color: #000;
}

.cbo-ig svg {
  display: block;
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.cbo-cart {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  color: #000;
  font-family: "PT Serif", Georgia, serif;
  font-size: 16px;
  line-height: 16px;
}

.cbo-cart svg {
  display: block;
  width: 26px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1;
}

body.page-home .cbo-cart .cart-count,
body.page-home .cbo-cart .cart-count:empty,
body.page-home .cbo-cart .cart-count[data-count="0"] {
  display: inline;
  position: static;
  min-width: 0;
  height: auto;
  padding: 0;
  border-radius: 0;
  background: none;
  color: #000;
  font-family: "PT Serif", Georgia, serif;
  font-size: 16px;
  line-height: 16px;
  font-weight: 400;
}

.cbo-burger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: 0;
  padding: 0;
  width: 40px;
  height: 40px;
  cursor: pointer;
  color: #000;
  margin-right: auto;
}

.cbo-burger-lines {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 12px;
}

.cbo-burger-lines span {
  display: block;
  height: 1.5px;
  width: 100%;
  background: #000;
}

.cbo-mobile-nav {
  display: none;
  background: #fff;
  padding: 8px 6vw 32px;
  flex-direction: column;
  gap: 4px;
}

.cbo-mobile-nav.open {
  display: flex;
}

.cbo-mobile-nav a,
.cbo-mobile-nav .cbo-login {
  display: block;
  padding: 10px 0;
  font-size: 16px;
  line-height: 24px;
  color: #000;
  text-decoration: none;
}

/* ---------- Hero ---------- */

.cbo-hero {
  position: relative;
  height: 584px;
  overflow: hidden;
  background: #fafafa;
}

.cbo-hero-media {
  position: absolute;
  inset: 0;
}

.cbo-hero-media picture,
.cbo-hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 50% 50%;
}

.cbo-hero-inner {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 35px 6vw 35px;
  box-sizing: border-box;
}

.cbo-hero-titles {
  width: 100%;
  text-align: center;
}

.cbo-hero-title {
  margin: 0;
  font-family: "Gilda Display", "Palatino Linotype", Palatino, serif;
  font-weight: 400;
  font-size: calc((4 - 1) * 0.012 * min(100vh, 900px) + 1rem);
  line-height: 1.056;
  letter-spacing: -0.02em;
  color: #fff;
  text-align: center;
}

.cbo-hero-title:first-child {
  margin-bottom: 32px;
}

.cbo-hero-copy {
  margin-top: auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cbo-hero-p {
  margin: 0 0 22px;
  max-width: 343px;
  font-size: 16px;
  line-height: 24px;
  text-align: center;
  color: #fff;
}

.cbo-shop-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 343px;
  height: 59px;
  padding: 0 32px;
  border-radius: 300px;
  background: #000;
  color: #fafafa;
  font-family: "PT Serif", Georgia, serif;
  font-size: 16px;
  font-weight: 400;
  line-height: normal;
  text-decoration: none;
  box-sizing: border-box;
  border: 0;
}

.cbo-shop-btn:hover {
  color: #fafafa;
}

/* ---------- Collections ---------- */

.cbo-collections {
  background: #fafafa;
  padding: 28px 6vw 200px;
}

.cbo-collections-intro h2 {
  margin: 0;
  font-family: "Gilda Display", "Palatino Linotype", Palatino, serif;
  font-weight: 400;
  font-size: calc((2.8 - 1) * 0.012 * min(100vh, 900px) + 1rem);
  line-height: 1.1136;
  letter-spacing: -0.02em;
  color: #000;
}

.cbo-collections-intro p {
  margin: 0 0 33px;
  font-size: 16px;
  line-height: 24px;
  color: #000;
}

.cbo-col {
  margin: 0 0 80px;
}

.cbo-col:last-child {
  margin-bottom: 0;
}

.cbo-col-media {
  width: 100%;
  height: 269px;
  margin: 0 0 11px;
  overflow: hidden;
}

.cbo-col-media picture,
.cbo-col-media img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 50% 50%;
}

.cbo-col-text h4 {
  margin: 0 0 8px;
  font-family: "Gilda Display", "Palatino Linotype", Palatino, serif;
  font-weight: 400;
  font-size: calc((1.6 - 1) * 0.012 * min(100vh, 900px) + 1rem);
  line-height: 1.1712;
  letter-spacing: -0.02em;
  color: #000;
}

.cbo-col-text p {
  margin: 0;
  font-size: 16px;
  line-height: 24px;
  color: #000;
}

/* ---------- Footer ---------- */

.cbo-footer {
  background: #fff;
  text-align: center;
  padding: 72px 6vw 66px;
}

.cbo-footer-ig {
  display: inline-flex;
  width: 24px;
  height: 24px;
  color: #000;
  margin: 0 auto;
}

.cbo-footer-ig svg {
  display: block;
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.cbo-news-p {
  margin: 28px auto 24px;
  max-width: 292px;
  font-size: 16px;
  line-height: 24px;
  text-align: center;
  color: #000;
}

.cbo-news {
  margin: 0;
}

.cbo-news-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

body.page-home .cbo-news input[type="email"] {
  display: block;
  width: 280px;
  height: 66px;
  box-sizing: border-box;
  margin: 0;
  padding: 22.4px 32px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 0;
  background: #fff;
  color: #000;
  font-family: "PT Serif", Georgia, serif;
  font-size: 16px;
  line-height: 19.2px;
  box-shadow: none;
  appearance: none;
  -webkit-appearance: none;
}

body.page-home .cbo-news input[type="email"]::placeholder {
  color: #b3b3b3;
  opacity: 1;
}

body.page-home .cbo-news button[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 119px;
  height: 64px;
  margin: 0;
  padding: 22.4px 32px;
  border: 0;
  border-radius: 0;
  background: #000;
  color: #fafafa;
  font-family: "PT Serif", Georgia, serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 19.2px;
  cursor: pointer;
  box-shadow: none;
}

.cbo-hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

body.page-home .cbo-news .form-status {
  margin-top: 16px;
  font-size: 16px;
  line-height: 24px;
  text-align: center;
}

body.page-home .cbo-news .form-status.ok { color: #000; }
body.page-home .cbo-news .form-status.error { color: #8a4a42; }

/* ---------- Desktop ---------- */

@media (min-width: 768px) {
  .cbo-header {
    height: 144px;
  }

  .cbo-header-inner {
    padding: 0 4vw;
  }

  .cbo-title {
    font-size: 1.5rem;
  }

  .cbo-nav {
    display: flex;
  }

  .cbo-login,
  .cbo-ig {
    display: inline-flex;
    align-items: center;
  }

  .cbo-burger,
  .cbo-mobile-nav,
  .cbo-mobile-nav.open {
    display: none !important;
  }

  .cbo-hero {
    height: 688px;
  }

  .cbo-hero-inner {
    padding: 37px 8.333vw 36px;
  }

  .cbo-hero-title {
    font-size: 4rem;
  }

  .cbo-hero-p {
    max-width: 494px;
    margin-bottom: 26px;
  }

  .cbo-shop-btn {
    width: 292px;
    max-width: 292px;
    height: 63px;
  }

  .cbo-collections {
    padding: 48px 8.333vw 415px;
  }

  .cbo-collections-intro h2 {
    font-size: 2.8rem;
    max-width: 746px;
  }

  .cbo-collections-intro p {
    max-width: 544px;
    margin: 23px 0 26px;
  }

  .cbo-col {
    display: grid;
    grid-template-columns: 41.25vw 23.75vw;
    column-gap: 11.319vw;
    align-items: start;
    margin: 0 0 84px;
  }

  .cbo-col-media {
    width: 41.25vw;
    height: 24.7917vw;
    margin: 0;
  }

  .cbo-col--pastel .cbo-col-media {
    height: 27.3611vw;
  }

  .cbo-col-text h4 {
    font-size: 1.6rem;
    margin: 0 0 7px;
  }

  .cbo-footer {
    padding: 80px 4vw 110px;
  }

  .cbo-news-p {
    max-width: none;
    margin: 28px auto 40px;
  }

  .cbo-news-row {
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 11px;
  }
}

/* ---------- Specificity overrides (beat site.css and earlier rules) ---------- */

body.page-home a.cbo-shop-btn,
body.page-home a.cbo-shop-btn:hover,
body.page-home a.cbo-shop-btn:visited {
  color: #fafafa;
}

body.page-home p.cbo-hero-p {
  margin: 0 0 22px;
}

body.page-home .cbo-collections-intro p {
  margin: 0 0 33px;
}

body.page-home p.cbo-news-p {
  margin: 28px auto 40px;
}

body.page-home .cbo-col-text {
  min-height: 210px;
}

body.page-home .cbo-col:last-child .cbo-col-text {
  min-height: 0;
}

body.page-home .cbo-collections {
  padding-bottom: 70px;
}

body.page-home .cbo-footer {
  padding: 58px 6vw 66px;
}

body.page-home .cbo-footer-ig,
body.page-home .cbo-footer-ig svg {
  width: 28px;
  height: 28px;
}

body.page-home .cbo-ig,
body.page-home .cbo-ig svg {
  width: 24px;
  height: 24px;
}

body.page-home .cbo-burger-lines {
  width: 32px;
  height: 14px;
}

body.page-home .cbo-burger-lines span {
  height: 2px;
}

@media (min-width: 768px) {
  body.page-home p.cbo-hero-p {
    margin: 0 0 26px;
    max-width: 494px;
  }

  body.page-home .cbo-collections-intro p {
    margin: 23px 0 26px;
    max-width: 544px;
  }

  body.page-home p.cbo-news-p {
    margin: 16px auto 40px;
    max-width: none;
  }

  body.page-home .cbo-col-text,
  body.page-home .cbo-col:last-child .cbo-col-text {
    min-height: 0;
  }

  body.page-home .cbo-collections {
    padding: 48px 8.333vw 415px;
  }

  body.page-home .cbo-footer {
    padding: 61px 4vw 111px;
  }
}

/* Row spacing: cancel the leftover 80px mobile margin and match live pitches. */
body.page-home .cbo-col {
  margin: 0;
}

body.page-home .cbo-collections-intro p {
  margin: -3px 0 33px;
}

body.page-home .cbo-collections {
  padding-bottom: 58px;
}

@media (min-width: 768px) {
  body.page-home .cbo-collections-intro p {
    margin: 23px 0 26px;
  }

  body.page-home .cbo-col {
    margin: 0 0 84px;
  }

  body.page-home .cbo-col--pastel {
    margin-bottom: 85px;
  }

  body.page-home .cbo-footer {
    padding: 57px 4vw 111px;
  }

  body.page-home .cbo-collections {
    padding: 48px 8.333vw 415px;
  }
}

body.page-home .cbo-collections {
  padding-bottom: 45px;
}

body.page-home .cbo-footer {
  padding-top: 52px;
}

@media (min-width: 768px) {
  body.page-home .cbo-col:last-child,
  body.page-home .cbo-col--pastel:last-child {
    margin-bottom: 0;
  }

  body.page-home .cbo-collections {
    padding: 48px 8.333vw 415px;
  }

  body.page-home .cbo-footer {
    padding: 51px 4vw 111px;
  }
}

body.page-home .cbo-news .form-status:empty {
  display: none;
  margin: 0;
  padding: 0;
  height: 0;
}
