/* Shared editorial system for BORABORA inner pages */

.inner-page .site-header:not(.is-scrolled):not(.is-menu-open) {
  color: var(--cream);
}

.inner-page .site-header:not(.is-scrolled):not(.is-menu-open) .brand-logo img {
  filter: invert(1);
}

.inner-page .site-header:not(.is-scrolled):not(.is-menu-open) .header-legal {
  color: var(--gold-light);
}

.inner-page--light-hero .site-header:not(.is-scrolled):not(.is-menu-open) {
  color: var(--rum-deep);
}

.inner-page--light-hero .site-header:not(.is-scrolled):not(.is-menu-open) .brand-logo img {
  filter: none;
}

.inner-page--light-hero .site-header:not(.is-scrolled):not(.is-menu-open) .header-legal {
  color: var(--spice);
}

.page-hero {
  position: relative;
  display: flex;
  min-height: max(650px, 78svh);
  align-items: flex-end;
  overflow: hidden;
  padding: calc(var(--header-height) + 110px) 0 clamp(70px, 9vw, 130px);
  color: var(--cream);
  isolation: isolate;
}

.page-hero--story {
  background: var(--rum-deep);
}

.page-hero--craft {
  background: var(--grove);
}

.page-hero--contact {
  background: var(--lagoon);
}

.page-hero--golden {
  min-height: max(700px, 92svh);
  align-items: flex-start;
  padding-top: calc(var(--header-height) + clamp(4rem, 8vw, 8rem));
  color: var(--rum-deep);
  background: #e7ad80;
}

.page-hero__image {
  position: absolute;
  z-index: -1;
  inset: 0;
}

.page-hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 46%;
}

.page-hero__mark {
  position: absolute;
  z-index: -1;
  top: 50%;
  right: -5vw;
  width: min(54vw, 760px);
  opacity: 0.075;
  filter: invert(76%) sepia(51%) saturate(650%) hue-rotate(358deg) brightness(90%);
  transform: translateY(-50%) rotate(8deg);
}

.page-hero__content {
  display: grid;
  align-items: end;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.55fr);
  gap: clamp(40px, 7vw, 110px);
}

.page-hero__eyebrow {
  margin-bottom: 26px;
  color: var(--gold-light);
}

.page-hero--golden .page-hero__eyebrow {
  color: var(--spice);
}

.page-hero h1 {
  max-width: 980px;
  margin: 0;
  font-size: clamp(4.7rem, 9.8vw, 10.5rem);
  letter-spacing: -0.055em;
  line-height: 0.78;
}

.page-hero__summary {
  max-width: 500px;
  margin: 0 0 8px;
  color: rgba(255, 250, 240, 0.68);
  font-size: 1.05rem;
}

.page-hero--golden .page-hero__summary {
  color: rgba(57, 25, 10, 0.75);
}

.page-section {
  padding-block: clamp(95px, 11vw, 170px);
}

.page-section--sand {
  background: var(--sand);
}

.page-section--cream {
  background: var(--cream);
}

.page-section--dark {
  background: var(--rum-deep);
  color: var(--cream);
}

.page-section--lagoon {
  background: var(--lagoon);
  color: var(--cream);
}

.editorial-grid {
  display: grid;
  grid-template-columns: minmax(180px, 0.38fr) minmax(0, 1fr);
  gap: clamp(45px, 9vw, 140px);
}

.section-label {
  color: var(--spice);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.page-section--dark .section-label,
.page-section--lagoon .section-label {
  color: var(--gold-light);
}

.editorial-copy {
  max-width: 920px;
}

.editorial-copy h2 {
  color: var(--rum);
  font-size: clamp(3.5rem, 6.5vw, 7.2rem);
}

.page-section--dark .editorial-copy h2,
.page-section--lagoon .editorial-copy h2 {
  color: var(--gold-light);
}

.editorial-copy .opening {
  margin-bottom: 36px;
  font-family: var(--serif);
  font-size: clamp(1.65rem, 2.8vw, 2.55rem);
  line-height: 1.35;
}

.editorial-copy > p:not(.opening) {
  max-width: 730px;
  color: #675044;
}

.page-section--dark .editorial-copy > p:not(.opening),
.page-section--lagoon .editorial-copy > p:not(.opening) {
  color: rgba(255, 250, 240, 0.65);
}

.principle-grid,
.spice-grid,
.moment-grid,
.contact-grid {
  display: grid;
  margin-top: clamp(60px, 8vw, 110px);
  border-top: 1px solid rgba(57, 25, 10, 0.2);
  grid-template-columns: repeat(3, 1fr);
}

.principle-card,
.spice-card,
.moment-card,
.contact-card {
  position: relative;
  min-height: 330px;
  padding: 32px 34px 42px;
  border-right: 1px solid rgba(57, 25, 10, 0.18);
  border-bottom: 1px solid rgba(57, 25, 10, 0.18);
}

.principle-card:last-child,
.moment-card:last-child,
.contact-card:last-child {
  border-right: 0;
}

.principle-card span,
.spice-card span,
.moment-card span,
.contact-card span {
  color: var(--spice);
  font-size: 0.68rem;
  letter-spacing: 0.15em;
}

.principle-card h3,
.spice-card h3,
.moment-card h3,
.contact-card h3 {
  margin: 105px 0 18px;
  color: var(--rum);
  font-size: clamp(2.3rem, 3.6vw, 4rem);
}

.principle-card p,
.spice-card p,
.moment-card p,
.contact-card p {
  margin: 0;
  color: #675044;
}

.spice-grid {
  grid-template-columns: repeat(4, 1fr);
  border-color: rgba(255, 255, 255, 0.17);
}

.spice-card {
  min-height: 390px;
  border-color: rgba(255, 255, 255, 0.16);
}

.spice-card:last-child {
  border-right: 0;
}

.spice-card span {
  color: var(--gold-light);
}

.spice-card h3 {
  margin-top: 135px;
  color: var(--gold-light);
}

.spice-card p {
  color: rgba(255, 250, 240, 0.62);
}

.contrast-list {
  margin-top: 70px;
  border-top: 1px solid rgba(57, 25, 10, 0.18);
}

.contrast-row {
  display: grid;
  align-items: center;
  padding: 30px 0;
  border-bottom: 1px solid rgba(57, 25, 10, 0.18);
  grid-template-columns: 80px 1fr 1fr;
  gap: 28px;
}

.contrast-row span {
  color: var(--spice);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
}

.contrast-row strong {
  color: var(--rum);
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3vw, 3rem);
  font-weight: 500;
}

.statement-section {
  position: relative;
  overflow: hidden;
  padding-block: clamp(120px, 15vw, 230px);
  background: var(--rum-deep);
  color: var(--cream);
  text-align: center;
}

.statement-section img {
  width: 72px;
  margin: 0 auto 34px;
  filter: invert(76%) sepia(51%) saturate(650%) hue-rotate(358deg) brightness(90%);
}

.statement-section blockquote {
  max-width: 1000px;
  margin: 0 auto;
  color: var(--gold-light);
  font-family: var(--serif);
  font-size: clamp(3.6rem, 8vw, 8.5rem);
  line-height: 0.9;
}

.statement-section--social blockquote {
  font-size: clamp(2rem, 6vw, 5.8rem);
  overflow-wrap: anywhere;
}

.statement-action {
  margin-top: 2.5rem;
}

.sensory-grid {
  display: grid;
  margin-top: 75px;
  grid-template-columns: repeat(3, 1fr);
}

.sensory-item {
  padding: 36px;
  border-top: 1px solid rgba(57, 25, 10, 0.18);
  border-right: 1px solid rgba(57, 25, 10, 0.18);
}

.sensory-item:last-child {
  border-right: 0;
}

.sensory-item h3 {
  margin: 0 0 18px;
  color: var(--rum);
  font-size: clamp(2.4rem, 4vw, 4.5rem);
}

.sensory-item p {
  margin: 0;
  color: #675044;
}

.image-copy-grid {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.76fr);
  gap: clamp(55px, 9vw, 135px);
}

.image-copy-grid figure {
  margin: 0;
}

.image-copy-grid figure img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.image-copy-grid .editorial-copy {
  max-width: 620px;
}

.contact-grid {
  grid-template-columns: repeat(3, 1fr);
}

.contact-card {
  min-height: 370px;
}

.contact-card h3 {
  margin-top: 90px;
}

.contact-card .text-link {
  margin-top: 28px;
}

.message-guide {
  display: grid;
  margin-top: 65px;
  margin-bottom: 0;
  padding: 0;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.mobile-nav a[aria-current="page"] {
  color: var(--gold);
}

.message-guide li {
  min-height: 160px;
  padding: 28px 26px;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 250, 240, 0.7);
  list-style: none;
}

.message-guide li:last-child {
  border-right: 0;
}

.message-guide strong {
  display: block;
  margin-bottom: 10px;
  color: var(--gold-light);
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 500;
}

.next-page {
  display: block;
  padding-block: clamp(80px, 10vw, 145px);
  background: var(--gold);
  color: var(--rum-deep);
  transition: background-color 300ms ease;
}

.next-page:hover {
  background: var(--gold-light);
}

.next-page__inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}

.next-page p {
  margin-bottom: 18px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.next-page h2 {
  margin: 0;
  font-size: clamp(3.4rem, 7vw, 7.4rem);
}

.next-page i {
  flex: 0 0 auto;
  font-style: normal;
  font-size: clamp(2.5rem, 5vw, 5.5rem);
  transition: transform 300ms var(--ease);
}

.next-page:hover i {
  transform: translate(8px, -8px);
}

@media (max-width: 960px) {
  .page-hero__content,
  .editorial-grid,
  .image-copy-grid {
    grid-template-columns: 1fr;
  }

  .page-hero__summary {
    max-width: 680px;
  }

  .principle-grid,
  .moment-grid,
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }

  .principle-card:nth-child(2),
  .moment-card:nth-child(2),
  .contact-card:nth-child(2) {
    border-right: 0;
  }

  .spice-grid,
  .message-guide {
    grid-template-columns: 1fr 1fr;
  }

  .spice-card:nth-child(2),
  .message-guide li:nth-child(2) {
    border-right: 0;
  }
}

@media (max-width: 680px) {
  .page-hero {
    min-height: 650px;
    padding-top: 150px;
  }

  .page-hero--golden {
    min-height: max(680px, 88svh);
    padding-top: calc(var(--header-height) + 3.5rem);
  }

  .page-hero--golden .page-hero__image img {
    object-position: 54% 57%;
  }

  .page-hero h1 {
    font-size: clamp(4rem, 20vw, 6.3rem);
  }

  .page-hero__mark {
    right: -22vw;
    width: 90vw;
  }

  .principle-grid,
  .spice-grid,
  .moment-grid,
  .contact-grid,
  .sensory-grid,
  .message-guide {
    grid-template-columns: 1fr;
  }

  .principle-card,
  .spice-card,
  .moment-card,
  .contact-card,
  .sensory-item,
  .message-guide li {
    min-height: auto;
    border-right: 0;
  }

  .principle-card h3,
  .spice-card h3,
  .moment-card h3,
  .contact-card h3 {
    margin-top: 65px;
  }

  .contrast-row {
    grid-template-columns: 42px 1fr;
  }

  .contrast-row strong:last-child {
    grid-column: 2;
  }

  .next-page__inner {
    align-items: flex-start;
  }
}
