/* About page, closing next step (2026-10-15). Loaded only by views/about/index.html.
   Two photo tiles in the look of the rentals obstacle-course promo tiles (full photo,
   navy top shade, ivory DM Serif title, painted ivory button), then the painted gold
   Book Now. Navy ground continues the About close above it. Reveals use about.js
   [data-reveal="rise"], which only animates without prefers-reduced-motion. */

.about .about-next {
  background: var(--ab-navy, #173B68);
  color: var(--ab-on-navy, #FFF9ED);
  padding: 0 0 clamp(104px, 9vw, 136px);
  text-align: center;
}

.about .about-next__inner { display: grid; justify-items: center; }

/* Section title: the typed "You may also like" size, gold script word inline, one line. */
.about .about-next__title {
  margin: 0 0 clamp(22px, 2vw, 30px);
  font-family: var(--ab-display, "DM Serif Display", Georgia, serif);
  font-weight: 400;
  font-size: clamp(40px, 4.2vw, 60px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--ab-on-navy, #FFF9ED);
  white-space: nowrap;
}
.about .about-next__script {
  font-family: var(--ab-script, "Allura", cursive);
  font-size: 1.3em;
  line-height: 0.8;
  color: var(--ab-gold, #BF9553);
}

.about .about-next__tiles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 2vw, 28px);
  width: 100%;
  max-width: 1120px;
}

/* Tile: the promo tile's full photo, 18px corners, and 38-45% navy shade from the top. */
.about .about-next__tile {
  position: relative;
  isolation: isolate;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 18px;
  background: var(--ab-navy-deep, #0F2A4D);
  box-shadow: 0 14px 30px -14px rgba(4, 12, 26, 0.6);
  text-align: left;
}
.about .about-next__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 50% 60%;
}
.about .about-next__tile::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 46%;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(8, 21, 43, 0.72) 0%, rgba(8, 21, 43, 0.5) 50%, rgba(8, 21, 43, 0) 100%);
}
/* The tile with a text line under its title gets a deeper, taller shade so the line keeps 4.5:1. */
.about .about-next__tile:has(.about-next__line)::before {
  height: 64%;
  background: linear-gradient(180deg, rgba(8, 21, 43, 0.82) 0%, rgba(8, 21, 43, 0.7) 42%, rgba(8, 21, 43, 0) 100%);
}

.about .about-next__hit { position: absolute; inset: 0; z-index: 2; }

.about .about-next__body {
  position: absolute;
  inset: 16px 22px 24px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  pointer-events: none;
}
.about .about-next__body a { pointer-events: auto; }

.about .about-next__name {
  margin: 0;
  font-family: var(--ab-display, "DM Serif Display", Georgia, serif);
  font-weight: 400;
  font-size: 36px;
  line-height: 1.1;
  color: #FFF9ED;
  text-shadow: 0 2px 6px rgba(8, 21, 43, 0.55);
  white-space: nowrap;
}

.about .about-next__line {
  margin: 6px 0 0;
  font-family: var(--ab-body, "Manrope", system-ui, sans-serif);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.4;
  color: #FFF9ED;
  text-shadow: 0 1px 6px rgba(8, 21, 43, 0.7);
  white-space: nowrap;
}
.about .about-next__line a {
  color: #FFF9ED;
  text-decoration: underline;
  text-decoration-color: #F3C45E;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

/* Tile button: the painted ivory button the obstacle tiles use. */
.about .about-next__btn,
.about .about-next__book {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  font-family: var(--ab-display, "DM Serif Display", Georgia, serif);
  font-weight: 400;
  line-height: 1;
  color: #15253D;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 200ms cubic-bezier(0.23, 1, 0.32, 1);
}
.about .about-next__btn {
  align-self: center;
  height: 44px;
  padding: 0 24px 2px;
  font-size: 17px;
  background: transparent url("../bundled/preview-polish/ivory-button.webp") center / 100% 100% no-repeat;
}

/* Book Now: the painted gold button, centred under the tiles. */
.about .about-next__book {
  margin-top: clamp(28px, 2.6vw, 38px);
  height: 64px;
  min-width: 200px;
  padding: 0 44px 3px;
  font-size: 22px;
  color: #08152B;
  background: transparent url("../bundled/preview-polish/btn-gold.webp") center / 100% 100% no-repeat;
}

@media (hover: hover) and (pointer: fine) {
  .about .about-next__btn:hover,
  .about .about-next__book:hover { transform: translateY(-2px); }
}
.about .about-next__btn:active,
.about .about-next__book:active { transform: scale(0.97); transition-duration: 120ms; }

.about .about-next :is(.about-next__btn, .about-next__book, .about-next__line a):focus-visible {
  outline: 3px solid #FFF9ED;
  outline-offset: 3px;
}

/* Tiles and Book Now arrive just after the title. */
@media (prefers-reduced-motion: no-preference) {
  .about--js .about-next__tile[data-reveal="rise"] { transition-delay: 120ms; }
  .about--js .about-next__tile[data-reveal="rise"] + .about-next__tile[data-reveal="rise"] { transition-delay: 240ms; }}
@media (prefers-reduced-motion: reduce) {
  .about .about-next__btn, .about .about-next__book { transition: none; }
}

/* Phone: tiles stack, same tile look at phone sizes. */
@media (max-width: 767px) {
  .about .about-next { padding-bottom: 112px; }
  .about .about-next__title { font-size: 40px; margin-bottom: 18px; }
  .about .about-next__tiles { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .about .about-next__body { inset: 12px 16px 16px; }
  .about .about-next__name { font-size: 28px; }
  .about .about-next__line { margin-top: 2px; font-size: 15px; }
  .about .about-next__btn { height: 40px; padding: 0 20px 2px; font-size: 15px; }
  .about .about-next__book { margin-top: 22px; height: 56px; min-width: 176px; padding: 0 38px 3px; font-size: 20px; }
}

/* In the on-page editor the words and pictures under the whole-tile link take the clicks. */
html.mbm-editor-active .about .about-next__hit { pointer-events: none; }
html.mbm-editor-active .about .about-next__body { pointer-events: auto; }
