/* Chalk Rebels Brand Guidelines - data/raw/brand-guidelines/ChalkRebels-Brand-Guidelines.pdf */

/* Helvetica Now trick: same as chalkrebels.com – font files named to match
   what the original Shopify theme expects. Place .otf files in /fonts/ */
@font-face {
  font-family: Helvetica;
  font-weight: 400;
  font-style: normal;
  src: url(../fonts/HelveticaNowText-Regular.otf) format("opentype");
}
@font-face {
  font-family: Helvetica;
  font-weight: 500;
  font-style: normal;
  src: url(../fonts/HelveticaNowText-Medium.otf) format("opentype");
}
@font-face {
  font-family: Helvetica;
  font-weight: 700;
  font-style: normal;
  src: url(../fonts/HelveticaNowText-Bold.otf) format("opentype");
}
@font-face {
  font-family: Akko;
  font-weight: 400;
  font-style: normal;
  src: url(../fonts/HelveticaNowDisplay-Regular.otf) format("opentype");
}
@font-face {
  font-family: Akko;
  font-weight: 700;
  font-style: normal;
  src: url(../fonts/HelveticaNowDisplay-Bold.otf) format("opentype");
}

:root {
  --chalk-flax: #F9DF74;
  --chalk-jet: #343434;
  --chalk-white: #FFFFFF;
  --chalk-black: #000000;
  --chalk-turquoise: #A7DCB8;
  --chalk-tart: #F75550;
  --chalk-powder: #A1CCCE;
  --chalk-border: #d1d1d1;
  --chalk-footer-bg: #f8f8f8;
  --chalk-footer-text: #404040;
  --chalk-body: 16px;
  --chalk-line: 1.65;
  --chalk-prose-width: 65ch;
}

* { box-sizing: border-box; }

/* Main body text - matches chalkrebels.com (Helvetica = Helvetica Now) */
body,
input,
textarea,
button,
select {
  font-size: 18px;
  font-family: Helvetica, Arial, sans-serif;
  font-style: normal;
  font-weight: 400;
  color: #2f2f2f;
  line-height: 1.5;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background: var(--chalk-white);
  margin: 0;
}

/* Announcement bar - Flax bg, Jet text */
.chalk-announcement {
  font-family: Akko, Helvetica, Arial, sans-serif;
  background-color: var(--chalk-flax);
  color: var(--chalk-jet);
  text-align: center;
  font-weight: 700;
  padding: 10px 1rem;
  letter-spacing: 0.05em;
}

.chalk-announcement a {
  color: var(--chalk-jet);
  text-decoration: none;
}

/* Header - border edge-to-edge, content max-width */
.chalk-header {
  width: 100%;
}

.chalk-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.chalk-logo {
  font-family: Akko, Helvetica, Arial, sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.05em;
}

.chalk-logo a {
  color: var(--chalk-jet);
  text-decoration: none;
  display: flex;
  align-items: center;
}

.chalk-logo__img {
  height: 40px;
  width: auto;
  display: block;
}

.chalk-nav {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Top nav bar - matches chalkrebels.com (Helvetica = Helvetica Now via @font-face) */
.chalk-nav a {
  font-size: 18px;
  font-family: Helvetica, Arial, sans-serif;
  font-style: normal;
  font-weight: 400;
  color: #2f2f2f;
  line-height: 1.5;
  text-decoration: none;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.chalk-nav a:hover {
  text-decoration: underline;
}

/* Hamburger toggle - hidden on desktop */
.chalk-nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  position: relative;
  z-index: 11;
  transition: gap 0.2s ease;
}

.chalk-nav-toggle__bar {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--chalk-jet);
  border-radius: 1px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.chalk-header--nav-open .chalk-nav-toggle__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.chalk-header--nav-open .chalk-nav-toggle__bar:nth-child(2) {
  opacity: 0;
}

.chalk-header--nav-open .chalk-nav-toggle__bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Main content - page width per guidelines */
.chalk-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

.chalk-main h1,
.chalk-collection-hero__title,
.chalk-collection-hero__subtitle {
  font-family: Akko, Helvetica, Arial, sans-serif;
}

.chalk-main h1 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-top: 0;
  line-height: 1.2;
}

.chalk-main h2,
.chalk-home-climbers__title,
.chalk-home-commitments__title {
  font-family: Akko, Helvetica, Arial, sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 1.5rem 0 0.75rem;
}

.chalk-main p {
  margin: 0 0 1.25rem;
}

.chalk-main a {
  color: var(--chalk-jet);
  text-decoration: underline;
}

.chalk-main ul {
  line-height: var(--chalk-line);
}

/* Blog article header: centered title and date */
.chalk-article--blog .chalk-article-header,
.chalk-article--blog .chalk-article-header h1,
.chalk-article--blog .chalk-article-header time {
  text-align: center;
}
.chalk-article--blog .chalk-article-header time {
  display: block;
  margin-top: 0.5rem;
}
.chalk-article--blog .chalk-article-header .chalk-collection-hero {
  margin-bottom: 1.5rem;
}
/* Space between date and content - use padding to avoid margin collapse */
.chalk-article--blog .chalk-article-header + .chalk-prose {
  padding-top: 2.5rem;
}
/* Blog article images: centered */
.chalk-article--blog .chalk-prose img {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* Footer-linked pages (FAQ, Distribution, etc.): centered title */
.chalk-article--footer-page .chalk-article-header,
.chalk-article--footer-page .chalk-article-header h1 {
  text-align: center;
}

/* Prose / long-form content - constrained width for readability (~65 chars/line) */
.chalk-prose {
  max-width: var(--chalk-prose-width);
  margin-left: auto;
  margin-right: auto;
}

/* CTAs - Flax bg, Black text */
.chalk-btn {
  display: inline-block;
  background-color: var(--chalk-flax);
  color: var(--chalk-black);
  padding: 0.75rem 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
  border: none;
  cursor: pointer;
}

.chalk-btn:hover {
  opacity: 0.9;
  text-decoration: none;
}

/* Buttons in main must not inherit .chalk-main a underline */
.chalk-main .chalk-btn {
  text-decoration: none;
}

/* Footer - matches chalkrebels.com site-footer */
.site-footer.chalk-footer,
.chalk-footer {
  font-family: Helvetica, "Helvetica Neue", Arial, sans-serif;
  background-color: var(--chalk-footer-bg);
  color: #000000;
  border-top: 1px solid var(--chalk-border);
  padding: 2rem;
  margin-top: 1.5rem;
}

.site-footer p,
.site-footer h4,
.site-footer small {
  color: #000000;
}

.site-footer a {
  font-family: Helvetica, "Helvetica Neue", Arial, sans-serif;
  color: #000000;
  text-decoration: none;
}

.site-footer a:hover {
  color: #404040;
}

.site-footer__content {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.site-footer__linklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0 1.5rem;
}

.site-footer__linklist-item {
  margin: 0;
}

.site-footer__linklist a {
  font-size: 1em;
  font-weight: 400;
  letter-spacing: 0.02em;
}

.site-footer__hr {
  border: none;
  border-bottom: 1px solid #dfdfdf;
  margin: 1.5rem auto;
  max-width: 1200px;
}

.site-footer__bottom {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-footer__social {
  display: flex;
  gap: 1rem;
}

.site-footer__social-link {
  display: inline-flex;
  align-items: center;
}

.site-footer__social-link svg {
  width: 24px;
  height: 24px;
}

.site-footer__copyright {
  font-family: Helvetica, "Helvetica Neue", Arial, sans-serif;
  font-size: 0.83333em;
  color: #000000;
}

.site-footer__copyright a {
  color: #000000;
}

.chalk-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  font-size: 14px;
}

@media (max-width: 768px) {
  .site-footer__bottom {
    flex-direction: column;
  }
}

/* Prose - blog/product content */
.chalk-prose img {
  max-width: 100%;
  height: auto;
}

.chalk-prose time {
  display: block;
  font-size: 0.9rem;
  color: var(--chalk-footer-text);
  margin-bottom: 1rem;
}

/* Markdown tables in prose (Benefits, FAQ, Details) */
.chalk-prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
  font-size: 0.95rem;
}

.chalk-prose th,
.chalk-prose td {
  text-align: left;
  padding: 0.5rem 1rem 0.5rem 0;
  border-bottom: 1px solid var(--chalk-border);
}

.chalk-prose th {
  font-weight: 600;
  width: 40%;
}

.chalk-prose h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 2.5rem 0 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--chalk-border);
}

.chalk-prose h2:first-of-type {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

/* Order sheet page - blog-style layout, wider content for table */
.chalk-order-sheet .chalk-order-sheet__body {
  max-width: 55rem;
}
.chalk-order-sheet__table table {
  border-collapse: separate;
  border-spacing: 0.5em 0;
  margin: 1rem 0;
  width: 100%;
}
.chalk-order-sheet__table td,
.chalk-order-sheet__table th {
  padding-left: 0.75em;
  padding-right: 0.75em;
  border-bottom: none;
}
.chalk-order-sheet__table .collection-hr td {
  padding: 0;
  border: none;
}
.chalk-order-sheet__table .collection-hr hr {
  margin: 0.5em 0 1em;
  border: none;
  border-top: 1px solid var(--chalk-border);
}
.chalk-order-sheet__table td:nth-child(3),
.chalk-order-sheet__table th:nth-child(3) {
  text-align: right;
}
.chalk-order-sheet__table td:nth-child(3) input {
  text-align: right;
  min-width: 4.5em;
  width: 4.5em;
  box-sizing: border-box;
}
.chalk-order-sheet__table #total-price {
  font-weight: bold;
}
.chalk-order-sheet__table #add-all-cart {
  margin-top: 0.5rem;
  display: inline-block;
  background-color: var(--chalk-flax);
  color: var(--chalk-black);
  padding: 0.75rem 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: none;
  cursor: pointer;
}
.chalk-order-sheet__table #add-all-cart:hover {
  opacity: 0.9;
}
.chalk-order-sheet__table #add-all-cart:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.chalk-order-sheet__note {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--chalk-footer-text);
  text-align: center;
}

/* Article list */
.chalk-article-list article {
  margin-bottom: 1rem;
}

.chalk-article-list article a {
  font-weight: 600;
}

/* Blog list page: centered title */
.chalk-news-list-header {
  text-align: center;
}

/* News filter (tag dropdown) - matches chalkrebels.com Filter by */
.chalk-news-filter {
  margin-bottom: 1.5rem;
}

.chalk-news-filter__label {
  margin-right: 0.5rem;
}

.chalk-news-filter__select {
  font-size: 1rem;
  padding: 0.35rem 0.5rem;
  border: 1px solid var(--chalk-border);
  background: var(--chalk-white);
  cursor: pointer;
}

/* Tag pills on news cards */
.chalk-news-card__tags {
  display: block;
  margin: 0.5rem 0 0;
  font-size: 0.85rem;
}

.chalk-tag {
  display: inline-block;
  margin-right: 0.5rem;
  margin-bottom: 0.25rem;
  padding: 0.15rem 0.5rem;
  background: var(--chalk-footer-bg);
  color: var(--chalk-jet);
  text-decoration: none;
  border-radius: 2px;
}

.chalk-tag:hover {
  text-decoration: underline;
}

/* News grid - matches chalkrebels.com/blogs/news */
.chalk-news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
}

.chalk-news-card {
  margin: 0;
}

.chalk-news-card__link {
  display: block;
  color: var(--chalk-jet);
  text-decoration: none;
  padding-bottom: 1.5rem;
}

.chalk-news-card__link:hover {
  text-decoration: underline;
}

.chalk-news-card__link:hover .chalk-news-card__readmore {
  text-decoration: underline;
}

.chalk-news-card__image-wrapper {
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--chalk-footer-bg);
  margin-bottom: 1rem;
}

.chalk-news-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.chalk-news-card__title {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  line-height: 1.3;
}

.chalk-news-card__date {
  display: block;
  font-size: 0.9rem;
  color: var(--chalk-footer-text);
  margin-bottom: 0.75rem;
}

.chalk-news-card__excerpt {
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0 0 0.75rem;
  color: var(--chalk-jet);
}

.chalk-news-card__readmore {
  font-weight: 600;
}

/* Pagination */
.chalk-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--chalk-border);
}

.chalk-pagination a {
  text-decoration: none;
  font-weight: 600;
}

.chalk-pagination a:hover {
  text-decoration: underline;
}

.chalk-pagination__info {
  color: var(--chalk-footer-text);
  font-size: 0.9rem;
}

/* Collection product grid - matches chalkrebels.com/collections/chalk */
.chalk-collection__tagline {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 2rem;
  color: var(--chalk-jet);
}

.chalk-collection-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.chalk-product-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.chalk-product-card__link {
  display: block;
  color: var(--chalk-jet);
  text-decoration: none;
  flex: 1;
}

.chalk-product-card__image-wrapper {
  aspect-ratio: 1;
  overflow: hidden;
  background: #fff;
}

.chalk-product-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.chalk-product-card__link .chalk-product-card__title {
  padding: 1.25rem 1.25rem 0;
  text-align: center;
}

.chalk-product-card__link .chalk-product-card__price {
  display: block;
  padding: 0 1.25rem 1.25rem;
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
}

.chalk-product-card__link:hover .chalk-product-card__title {
  text-decoration: underline;
}

.chalk-product-card__title {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  line-height: 1.3;
  text-decoration: none;
  text-align: center;
}

.chalk-product-card__description {
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0 0 1rem;
  color: var(--chalk-footer-text);
}

.chalk-product-card__cta {
  font-weight: 600;
  font-size: 0.9rem;
}

.chalk-product-card__buy {
  display: block;
  background: var(--chalk-flax);
  color: var(--chalk-jet);
  text-align: center;
  padding: 0.75rem 1rem;
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
  border-top: 1px solid var(--chalk-border);
}

.chalk-product-card__buy:hover {
  background: #f5d966;
}

/* Product page - matches chalkrebels.com/products/... */
.chalk-product__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
  margin-bottom: 3rem;
}

.chalk-product__gallery {
  position: sticky;
  top: 2rem;
}

.chalk-product__image-wrapper {
  aspect-ratio: 1;
  overflow: hidden;
  background: #fff;
  border-radius: 4px;
}

.chalk-product__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.chalk-product__image-placeholder {
  aspect-ratio: 1;
  background: #fff;
  border: 1px dashed var(--chalk-border);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--chalk-footer-text);
  font-size: 0.9rem;
}

.chalk-product__vendor {
  font-size: 0.9rem;
  color: var(--chalk-footer-text);
  margin: 0 0 0.5rem;
}

.chalk-product__price {
  font-weight: 700;
}

.chalk-product__title {
  font-family: Akko, Helvetica, Arial, sans-serif;
  font-size: 2rem;
  font-weight: 800;
  margin: 0 0 1rem;
  line-height: 1.2;
}

.chalk-product__tagline {
  font-size: 1rem;
  line-height: var(--chalk-line);
  margin: 0 0 1.5rem;
  color: var(--chalk-jet);
}

.chalk-product__content {
  margin-bottom: 1.5rem;
}

.chalk-product__summary,
.chalk-product__benefits,
.chalk-product__body {
  max-width: var(--chalk-prose-width);
  margin-left: auto;
  margin-right: auto;
}

.chalk-product__content ul,
.chalk-product__summary ul {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}

.chalk-product__content li,
.chalk-product__summary li {
  margin-bottom: 0.5rem;
  line-height: var(--chalk-line);
}

.chalk-product__buy {
  display: inline-block;
  background: var(--chalk-flax);
  color: var(--chalk-jet);
  padding: 1rem 2rem;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  letter-spacing: 0.05em;
}

.chalk-product__buy:hover {
  background: #f5d966;
}

.chalk-product__related {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--chalk-border);
}

.chalk-product__related-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 1.5rem;
}

.chalk-product__related-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.chalk-product__related-card {
  margin: 0;
}

.chalk-product__related-link {
  display: flex;
  flex-direction: column;
  color: var(--chalk-jet);
  text-decoration: none;
}

.chalk-product__related-link:hover {
  text-decoration: none;
}

.chalk-product__related-link:hover .chalk-product__related-cta {
  text-decoration: underline;
}

.chalk-product__related-image-wrapper {
  aspect-ratio: 1;
  overflow: hidden;
  background: #fff;
  border-radius: 4px;
  margin-bottom: 1rem;
}

.chalk-product__related-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.chalk-product__related-name {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 0.75rem;
  line-height: 1.2;
}

.chalk-product__related-bullets {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--chalk-footer-text);
  flex: 1;
}

.chalk-product__related-bullets li {
  margin-bottom: 0.25rem;
  padding-left: 0;
}

.chalk-product__related-bullets li::before {
  content: "• ";
  font-weight: 700;
}

.chalk-product__related-cta {
  font-weight: 600;
  font-size: 0.9rem;
}

.chalk-product__extended {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--chalk-border);
  max-width: var(--chalk-prose-width);
  margin-left: auto;
  margin-right: auto;
}

.chalk-product__extended p {
  margin-bottom: 1.25rem;
}

.chalk-product__extended h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 2rem 0 0.75rem;
  line-height: 1.3;
}

.chalk-product__extended h3:first-child {
  margin-top: 0;
}

.chalk-product__extended table {
  width: 100%;
  max-width: var(--chalk-prose-width);
  border-collapse: collapse;
  margin: 1rem 0;
}

.chalk-product__extended thead,
.chalk-product__extended table tr:first-child {
  display: none !important;
}

.chalk-product__extended th,
.chalk-product__extended td {
  text-align: left;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--chalk-border);
}

.chalk-product__extended th {
  font-weight: 600;
  width: 40%;
}

.chalk-product__benefits h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 2rem 0 0.75rem;
  line-height: 1.3;
}

.chalk-product__benefits h3:first-child {
  margin-top: 0;
}

.chalk-product__benefits p,
.chalk-product__body p {
  line-height: var(--chalk-line);
}

/* Homepage hero */
.chalk-hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  overflow: hidden;
}

.chalk-hero__image-wrapper {
  position: absolute;
  inset: 0;
}

.chalk-hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.chalk-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.6) 100%);
}

.chalk-hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #fff;
  padding: 2rem;
}

.chalk-hero__line1 {
  font-size: 2.5rem;
  font-weight: 800;
  margin: 0 0 0.5rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.chalk-hero__line2 {
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0 0 1.5rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.chalk-hero__cta {
  display: inline-block;
  padding: 0.75rem 2rem;
  background: var(--chalk-flax);
  color: var(--chalk-jet);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.05em;
}

/* Collection page hero (chalkrebels.com style) - full viewport width */
.chalk-collection-hero {
  position: relative;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 2rem;
  overflow: hidden;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.chalk-collection-hero__image-wrapper {
  position: absolute;
  inset: 0;
}

.chalk-collection-hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.chalk-collection-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.6) 100%);
}

.chalk-collection-hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #fff;
  padding: 2rem;
}

.chalk-collection-hero__title {
  font-family: Akko, Helvetica, Arial, sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  margin: 0;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.chalk-collection-hero__subtitle {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0.5rem 0 1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: inherit;
}

.chalk-collection-hero__cta {
  display: inline-block;
  margin-top: 0.5rem;
}

.chalk-home-content {
  max-width: 1000px;
  margin: 0 auto;
}

.chalk-home__title {
  margin-top: 0;
  text-align: center;
}

/* Homepage grid - links to product/collection pages */
.chalk-home-grid {
  margin: 2rem auto 3rem;
  max-width: 1000px;
}

.chalk-home-grid__title {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 1.5rem;
}

.chalk-home-grid__list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.5rem;
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
}

.chalk-home-grid__card {
  margin: 0;
}

.chalk-home-grid__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--chalk-jet);
  text-decoration: none;
}

.chalk-home-grid__link:hover {
  text-decoration: underline;
}

.chalk-home-grid__image-wrapper {
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  background: #fff;
  border-radius: 4px;
  margin-bottom: 0.5rem;
}

.chalk-home-grid__image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.chalk-home-grid__name {
  font-size: 0.95rem;
  font-weight: 600;
  text-align: center;
}

.chalk-home-grid__cta-wrap {
  margin: 1.5rem 0 0;
  text-align: center;
}

/* Homepage - Made by climbers for climbers */
.chalk-home-climbers {
  margin: 3rem 0;
  padding: 3rem 2rem;
  border-top: 1px solid var(--chalk-border);
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

/* Full viewport width to match hero - breakout of main container */
.chalk-home-climbers--with-bg,
.chalk-home-climbers[style*="background-image"] {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  min-height: 420px;
  padding: 4rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-sizing: border-box;
}

/* Content wrapper - mirrors hero structure, ensures centering */
.chalk-home-climbers__content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 40em;
  margin: 0 auto;
}

.chalk-home-climbers::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.5) 100%);
  z-index: 0;
}

/* All text white - override .chalk-main inheritance */
.chalk-home-climbers--with-bg .chalk-home-climbers__content,
.chalk-home-climbers[style*="background-image"] .chalk-home-climbers__content {
  color: #fff;
}

.chalk-home-climbers--with-bg .chalk-home-climbers__title,
.chalk-home-climbers--with-bg .chalk-home-climbers__content p,
.chalk-home-climbers--with-bg .chalk-home-climbers__content p strong,
.chalk-home-climbers[style*="background-image"] .chalk-home-climbers__title,
.chalk-home-climbers[style*="background-image"] .chalk-home-climbers__content p,
.chalk-home-climbers[style*="background-image"] .chalk-home-climbers__content p strong {
  color: #fff !important;
}

.chalk-home-climbers--with-bg .chalk-home-climbers__cta,
.chalk-home-climbers[style*="background-image"] .chalk-home-climbers__cta {
  background: var(--chalk-flax);
  color: var(--chalk-jet) !important;
}

.chalk-home-climbers--with-bg .chalk-home-climbers__cta:hover,
.chalk-home-climbers[style*="background-image"] .chalk-home-climbers__cta:hover {
  opacity: 0.95;
}

.chalk-home-climbers__title {
  font-size: 2.2rem;
  font-weight: 700;
  margin: 0 0 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.chalk-home-climbers__content p {
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
}

.chalk-home-climbers__cta {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0.75rem 2rem;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.05em;
}

/* Homepage - Our commitments - all content centered in display */
.chalk-home-commitments {
  margin: 3rem 0 1rem;
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
}

.chalk-home-commitments.chalk-prose {
  max-width: 55ch;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.chalk-home-commitments__title {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 2rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-align: center;
  width: 100%;
}

.chalk-home-commitments__logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2.5rem;
  margin-bottom: 2rem;
}

.chalk-home-commitments__logo {
  flex-shrink: 0;
}

.chalk-home-commitments__logo img {
  display: block;
  width: 100px;
  height: auto;
}

.chalk-home-commitments__text {
  margin: 0;
  max-width: 55ch;
  text-align: center;
  width: 100%;
}

.chalk-home-commitments__text p {
  margin-bottom: 1rem;
  color: var(--chalk-jet);
  text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
  .chalk-collection-hero {
    min-height: 180px;
  }
  .chalk-collection-hero__title {
    font-size: 1.5rem;
  }
  .chalk-collection-hero__subtitle {
    font-size: 1.1rem;
  }
  .chalk-logo__img {
    height: 32px;
  }
  .chalk-header {
    position: relative;
    z-index: 100;
  }
  .chalk-header__inner {
    padding: 1rem;
  }
  .chalk-nav-toggle {
    display: flex;
  }
  .chalk-nav-wrapper {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(255, 255, 255, 0.98);
    padding: 4rem 2rem 2rem;
    z-index: 10;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, visibility 0.2s ease;
  }
  .chalk-header--nav-open .chalk-nav-wrapper {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .chalk-nav {
    flex-direction: column;
    gap: 0;
    align-items: center;
    font-size: 1.25rem;
  }
  .chalk-nav li {
    border-bottom: 1px solid var(--chalk-border);
    width: 100%;
    text-align: center;
  }
  .chalk-nav a {
    display: block;
    padding: 1rem 1.5rem;
  }
  .chalk-product__layout {
    grid-template-columns: 1fr;
  }
  .chalk-product__gallery {
    position: static;
  }
  .chalk-product__related-grid {
    gap: 1.5rem;
  }
  .chalk-home-commitments__logos {
    gap: 1.5rem;
  }
  .chalk-home-commitments__logo img {
    width: 80px;
  }
}

@media (max-width: 480px) {
  .chalk-product__related-grid {
    grid-template-columns: 1fr;
  }
}
