/* ==========================================================================
   OURCHAPTER HOMEPAGE — approved editorial direction
   ========================================================================== */

.oc-home {
  --oc-night: #07131C;
  --oc-paper: #F2EFE8;
  --oc-paper-deep: #E5DED2;
  --oc-line: rgba(7,19,28,.2);
  overflow: clip;
}

.oc-home .pg-eyebrow {
  color: var(--pg-brass-text);
  letter-spacing: .15em;
}

.oc-home-hero {
  position: relative;
  min-height: clamp(720px, 82vh, 900px);
  overflow: hidden;
  background: var(--oc-night);
  color: var(--pg-bone);
}

.oc-home-hero__image {
  position: absolute;
  inset: 0 0 0 36%;
  width: 64%;
  height: 100%;
  object-fit: cover;
  object-position: 58% center;
}

.oc-home-hero__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #07131C 0%, #07131C 31%, rgba(7,19,28,.86) 49%, rgba(7,19,28,.05) 83%);
}

.oc-home-hero__content {
  position: relative;
  z-index: 2;
  min-height: inherit;
  display: flex;
  align-items: center;
  padding-top: 130px;
  padding-bottom: 64px;
}

.oc-home-hero__copy {
  width: min(590px, 49%);
}

.oc-home-hero h1 {
  margin: 0 0 30px;
  color: #F5F0E8;
  font-size: clamp(3.4rem, 5.3vw, 5.15rem);
  font-weight: 390;
  line-height: .94;
  letter-spacing: -.055em;
}

.oc-home-hero h1 em {
  color: var(--pg-brass-glow);
  font-weight: 350;
}

.oc-home-hero__copy > p {
  max-width: 490px;
  margin-bottom: 34px;
  color: #D6DADB;
  font-size: 1.06rem;
  line-height: 1.75;
}

.oc-home-hero__actions {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

.oc-home-hero__actions .oc-button--text {
  color: #F3EEE6;
}

.oc-home-hero__review {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-top: 30px;
  color: #DCE0E1;
  font-size: .8rem;
}

.oc-home-hero__review span {
  color: var(--pg-brass-glow);
  letter-spacing: 4px;
}

.oc-home-hero__thread {
  position: absolute;
  z-index: 1;
  left: 25%;
  bottom: 20%;
  width: 58%;
  height: 180px;
  opacity: .8;
  pointer-events: none;
}

.oc-home-hero__thread path {
  fill: none;
  stroke: rgba(207,154,88,.68);
  stroke-width: 1.2;
  vector-effect: non-scaling-stroke;
}

/* Category editorial split */
.oc-home-categories {
  padding: clamp(90px, 10vw, 145px) 0;
  background: var(--oc-paper);
}

.oc-home-categories__grid {
  display: grid;
  grid-template-columns: minmax(360px, .8fr) minmax(540px, 1.45fr);
  gap: clamp(60px, 9vw, 130px);
  align-items: center;
}

.oc-home-categories__copy h2 {
  max-width: 580px;
  margin-bottom: 24px;
  font-size: clamp(3rem, 4.5vw, 4.6rem);
  font-weight: 400;
  line-height: .93;
  letter-spacing: -.055em;
}

.oc-home-categories__copy > p:not(.pg-eyebrow) {
  max-width: 48ch;
  color: var(--pg-warm-grey-text);
  font-size: .96rem;
}

.oc-home-category-tabs {
  margin: 38px 0 28px;
}

.oc-home-category-tabs a {
  width: 100%;
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--oc-line);
  color: var(--oc-night);
  transition: padding .22s ease, color .22s ease;
}

.oc-home-category-tabs a span {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 420;
}

.oc-home-category-tabs a i {
  color: var(--pg-brass-text);
  font-style: normal;
}

.oc-home-category-tabs a:hover,
.oc-home-category-tabs a:focus-visible,
.oc-home-category-tabs a[aria-selected="true"] {
  padding-left: 12px;
  color: var(--pg-brass-text);
}

.oc-home-category-tabs a:focus-visible {
  outline: 3px solid var(--pg-brass);
  outline-offset: 2px;
}

.oc-home-categories__visual {
  position: relative;
  height: 720px;
  margin: 0;
  overflow: hidden;
  background: var(--oc-paper-deep);
}

.oc-home-categories__visual::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 18px;
  border: 1px solid rgba(255,255,255,.45);
  pointer-events: none;
}

.oc-home-categories__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity .22s ease, transform .6s var(--ease-reveal);
}

.oc-home-categories__visual.is-changing img {
  opacity: .35;
  transform: scale(1.015);
}

.oc-home-categories__visual figcaption {
  position: absolute;
  z-index: 2;
  left: 28px;
  right: auto;
  bottom: 28px;
  padding: 10px 14px;
  border: 0;
  background: rgba(4,16,25,.87);
  color: #F2EEE6;
  font-family: var(--font-body);
  font-size: .75rem;
  backdrop-filter: blur(8px);
}

/* Product grid */
.oc-home-products {
  padding: clamp(84px, 9vw, 132px) 0;
  background: #E7E0D5;
  border-top: 1px solid var(--oc-line);
}

.oc-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 45px;
}

.oc-section-heading h2 {
  font-size: clamp(2.8rem, 4vw, 4.1rem);
  font-weight: 410;
  letter-spacing: -.05em;
}

.oc-product-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

.oc-product-grid .oc-product-card {
  display: grid;
  grid-template-rows: auto auto;
  align-self: stretch;
}

.oc-product-grid .oc-product-card--featured {
  grid-column: 1;
  grid-row: span 2;
  grid-template-rows: minmax(0, 1fr) auto;
}

.oc-product-grid .oc-product-card:not(.oc-product-card--featured) {
  grid-template-rows: minmax(0, 1fr) auto;
}

.oc-product-grid .oc-product-card__media {
  aspect-ratio: 1.32 / 1;
}

.oc-product-grid .oc-product-card--featured .oc-product-card__media {
  min-height: 0;
  aspect-ratio: auto;
}

.oc-product-grid .oc-product-card:not(.oc-product-card--featured) .oc-product-card__body {
  padding-top: 12px;
}

.oc-product-grid .oc-product-card__cta {
  display: none;
}

.oc-product-grid .oc-product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Dark starmap USP */
.oc-home-starmap {
  position: relative;
  overflow: hidden;
  padding: clamp(92px, 10vw, 150px) 0;
  background: radial-gradient(circle at 20% 30%, rgba(169,122,62,.12), transparent 30%), #06141F;
  color: #F2EEE6;
}

.oc-home-starmap__grid {
  display: grid;
  grid-template-columns: 1fr .9fr;
  gap: clamp(60px, 9vw, 135px);
  align-items: center;
}

.oc-home-starmap__stage {
  display: grid;
  place-items: center;
}

.oc-home-starmap__frame {
  width: min(82%, 500px);
  padding: 11px;
  border: 1px solid #A57B47;
  background: linear-gradient(135deg, #C39A64, #5C4026 45%, #A97A3E);
  box-shadow: 0 36px 80px rgba(0,0,0,.45);
  transform: rotate(-1.2deg);
}

.oc-home-starmap__poster {
  position: relative;
  aspect-ratio: 1 / 1.4142;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 34px 24px;
  overflow: hidden;
  background: #08111B;
  color: #F5F0E8;
}

.oc-home-starmap__poster canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 78%;
}

.oc-home-starmap__poster strong,
.oc-home-starmap__poster span {
  position: relative;
  z-index: 1;
}

.oc-home-starmap__poster strong {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2vw, 1.45rem);
  font-weight: 430;
}

.oc-home-starmap__poster span {
  margin-top: 7px;
  color: #B8BEC0;
  font-size: .62rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.oc-home-starmap__copy .pg-eyebrow {
  color: var(--pg-brass-glow);
}

.oc-home-starmap__copy h2 {
  margin-bottom: 26px;
  font-size: clamp(3.2rem, 5vw, 5rem);
  font-weight: 390;
  line-height: .88;
  letter-spacing: -.06em;
}

.oc-home-starmap__copy h2 em {
  color: var(--pg-brass-glow);
  font-weight: 350;
}

.oc-home-starmap__copy > p {
  max-width: 48ch;
  color: #ABB5B8;
}

.oc-home-starmap__copy ul {
  display: grid;
  gap: 0;
  margin: 34px 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(255,255,255,.15);
}

.oc-home-starmap__copy li {
  display: grid;
  gap: 3px;
  padding: 17px 0;
  border-bottom: 1px solid rgba(255,255,255,.15);
}

.oc-home-starmap__copy li strong {
  color: #F2EEE6;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 450;
}

.oc-home-starmap__copy li span {
  color: #95A1A4;
  font-size: .82rem;
}

/* Material section */
.oc-home-quality {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  min-height: 760px;
  background: #04121D;
  color: #F2EEE6;
}

.oc-home-quality__image {
  min-width: 0;
  overflow: hidden;
}

.oc-home-quality__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease-reveal), filter .5s ease;
}

.oc-home-quality:hover .oc-home-quality__image img {
  transform: scale(1.018);
  filter: saturate(1.05);
}

.oc-home-quality__copy {
  align-self: center;
  padding: 90px clamp(40px, 7vw, 120px);
}

.oc-home-quality__copy .pg-eyebrow {
  color: var(--pg-brass-glow);
}

.oc-home-quality__copy h2 {
  max-width: 620px;
  margin-bottom: 24px;
  font-size: clamp(3.1rem, 4.7vw, 4.8rem);
  font-weight: 390;
  line-height: .92;
  letter-spacing: -.055em;
}

.oc-home-quality__copy > p {
  max-width: 52ch;
  color: #AAB4B6;
}

.oc-home-quality__copy dl {
  display: grid;
  gap: 0;
  margin: 38px 0 30px;
}

.oc-home-quality__copy dl > div {
  display: grid;
  grid-template-columns: 48px 1fr;
  grid-template-rows: auto auto;
  column-gap: 16px;
  row-gap: 4px;
  align-items: center;
  padding: 17px 0;
  border-top: 1px solid rgba(255,255,255,.16);
}

.oc-home-quality__copy dl svg {
  grid-row: 1 / 3;
  width: 43px;
  height: 43px;
  padding: 9px;
  border: 1px solid rgba(213,168,107,.46);
  border-radius: 50%;
  fill: none;
  stroke: var(--pg-brass-glow);
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.oc-home-quality__copy dt,
.oc-home-quality__copy dd {
  grid-column: 2;
}

.oc-home-quality__copy dl > div:last-child {
  border-bottom: 1px solid rgba(255,255,255,.16);
}

.oc-home-quality__copy dt {
  color: #F2EEE6;
  font-family: var(--font-display);
  font-size: 1.35rem;
}

.oc-home-quality__copy dd {
  margin: 0;
  color: #96A2A5;
  font-size: .82rem;
}

.oc-home-quality__copy .oc-button--text {
  color: #F2EEE6;
}

.oc-home-inspiration {
  padding: 90px 0;
  border-bottom: 1px solid rgba(255,255,255,.16);
  background: #071722;
  color: #F2EEE6;
}

.oc-home-inspiration__grid {
  display: grid;
  grid-template-columns: .75fr 1.25fr;
  gap: 7vw;
  align-items: center;
}

.oc-home-inspiration h2 {
  margin: 0 0 22px;
  font-size: clamp(3rem, 4.1vw, 4.5rem);
  font-weight: 390;
  line-height: .98;
  letter-spacing: -.05em;
}

.oc-home-inspiration h2 {
  color: #F2EEE6;
}

.oc-home-inspiration h2 em {
  color: var(--pg-brass-glow);
  font-weight: 350;
}

.oc-home-inspiration__copy > p {
  max-width: 430px;
  margin: 0 0 30px;
  color: #C3C9CB;
  line-height: 1.7;
}

.oc-home-inspiration__actions {
  display: flex;
  align-items: center;
  gap: 28px;
}

.oc-home-inspiration__actions .oc-button--text {
  color: #F2EEE6;
}

.oc-home-inspiration img {
  width: 100%;
  height: 380px;
  object-fit: cover;
}

@media (max-width: 1024px) {
  .oc-home-hero__image {
    left: 28%;
    width: 72%;
  }

  .oc-home-categories__grid {
    grid-template-columns: .9fr 1.1fr;
    gap: 55px;
  }

  .oc-home-categories__visual {
    height: 570px;
  }

  .oc-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }

  .oc-product-grid .oc-product-card--featured {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .oc-product-grid .oc-product-card--featured .oc-product-card__media {
    aspect-ratio: 1.6 / 1;
  }

  .oc-home-starmap__grid {
    gap: 65px;
  }
}

@media (max-width: 820px) {
  .oc-home-hero {
    min-height: 760px;
  }

  .oc-home-hero__image {
    inset: 0;
    width: 100%;
    object-position: 62% center;
  }

  .oc-home-hero__shade {
    background: linear-gradient(90deg, rgba(7,19,28,.98), rgba(7,19,28,.86) 55%, rgba(7,19,28,.22)), linear-gradient(0deg, #07131C 0%, transparent 35%);
  }

  .oc-home-hero__content {
    align-items: end;
    padding-top: 150px;
    padding-bottom: 72px;
  }

  .oc-home-hero__copy {
    width: 78%;
  }

  .oc-home-hero__thread {
    display: none;
  }

  .oc-home-categories__grid,
  .oc-home-starmap__grid {
    grid-template-columns: 1fr;
  }

  .oc-home-categories__visual {
    height: 520px;
  }

  .oc-home-starmap__stage {
    max-width: 600px;
    margin-inline: auto;
  }

  .oc-home-starmap__copy {
    max-width: 650px;
  }

  .oc-home-quality {
    grid-template-columns: 1fr;
  }

  .oc-home-quality__image {
    height: 560px;
  }

  .oc-home-quality__copy {
    padding: 90px max(20px, calc((100vw - var(--container-max)) / 2));
  }

  .oc-home-inspiration__grid {
    grid-template-columns: 1fr;
  }

  .oc-home-inspiration__grid {
    gap: 54px;
  }

  .oc-home-inspiration img {
    height: 420px;
  }

}

@media (max-width: 560px) {
  .oc-home-hero {
    min-height: 720px;
  }

  .oc-home-hero__content {
    padding: 135px 16px 52px;
  }

  .oc-home-hero__copy {
    width: 100%;
  }

  .oc-home-hero h1 {
    font-size: 3rem;
    line-height: 1;
  }

  .oc-home-hero__copy > p {
    max-width: 340px;
    font-size: .94rem;
  }

  .oc-home-hero__actions {
    gap: 18px;
  }

  .oc-home-hero__actions .oc-button--primary {
    width: 100%;
  }

  .oc-home-categories,
  .oc-home-products,
  .oc-home-starmap {
    padding-block: 72px;
  }

  .oc-home-categories__copy h2,
  .oc-section-heading h2,
  .oc-home-starmap__copy h2,
  .oc-home-quality__copy h2 {
    font-size: 2.85rem;
  }

  .oc-home-categories__visual {
    height: 390px;
  }

  .oc-section-heading {
    display: block;
  }

  .oc-section-heading .oc-button {
    margin-top: 20px;
  }

  .oc-product-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .oc-product-grid .oc-product-card,
  .oc-product-grid .oc-product-card--featured {
    grid-column: auto;
    grid-row: auto;
  }

  .oc-product-grid .oc-product-card__media,
  .oc-product-grid .oc-product-card--featured .oc-product-card__media {
    aspect-ratio: 4 / 3;
  }

  .oc-home-starmap__frame {
    width: 90%;
  }

  .oc-home-quality__image {
    height: 390px;
  }

  .oc-home-quality__copy {
    padding: 72px 16px;
  }

  .oc-home-inspiration {
    padding: 70px 0;
  }

  .oc-home-inspiration h2 {
    font-size: 2.7rem;
  }

  .oc-home-inspiration__actions {
    align-items: stretch;
    flex-direction: column;
    gap: 18px;
  }

  .oc-home-inspiration__actions .oc-button--primary {
    width: 100%;
  }

  .oc-home-inspiration img {
    height: 270px;
  }

}

@media (prefers-reduced-motion: reduce) {
  .oc-home-categories__visual img,
  .oc-product-card__media img,
  .oc-home-quality__image img {
    transition: none;
  }
}
