/*
 * DesertRio index page v3
 * Dedicated homepage layout based on the approved DesertRio mockup.
 */

body.desertrio-index-v3 {
  background: #fbf8f3;
}

body.desertrio-index-v3 main {
  overflow: visible;
}

.desertrio-index-v3 .dr-site-header,
.desertrio-index-v3.home-template .dr-site-header {
  position: relative;
  inset: auto;
  min-height: 74px;
  background: rgba(255, 255, 255, .985);
  border-bottom: 1px solid rgba(123, 93, 52, .09);
  box-shadow: none;
}

.desertrio-index-v3 .dr-header-inner {
  min-height: 74px;
  padding-inline: clamp(22px, 3vw, 48px);
  grid-template-columns: minmax(220px, 1fr) auto auto 38px;
}

.desertrio-index-v3 .dr-logo {
  font-size: clamp(34px, 3.4vw, 49px);
  letter-spacing: -2.8px;
}

.desertrio-index-v3 .dr-nav {
  gap: clamp(20px, 2.35vw, 36px);
}

.desertrio-index-v3 .dr-nav a {
  padding-top: 28px;
  padding-bottom: 25px;
  font-size: 10px;
  letter-spacing: .08em;
}

.desertrio-index-v3 .dr-stream-top {
  min-height: 43px;
  padding-inline: 25px;
}

.dr3-shell {
  width: min(1460px, calc(100% - 72px));
  margin-inline: auto;
}

.dr3-hero {
  position: relative;
  min-height: clamp(590px, 50vw, 760px);
  overflow: hidden;
  isolation: isolate;
  background: #f6f2eb;
}

.dr3-hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% center;
  z-index: -3;
}

.dr3-hero-wash {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg,
      rgba(255,255,255,1) 0%,
      rgba(255,255,255,.98) 19%,
      rgba(255,255,255,.84) 35%,
      rgba(255,255,255,.28) 49%,
      rgba(255,255,255,0) 64%);
}

.dr3-hero-inner {
  min-height: inherit;
  display: flex;
  align-items: center;
}

.dr3-hero-copy {
  width: min(600px, 45%);
  padding: 34px 0 46px 12px;
}

.dr3-kicker {
  margin: 0 0 14px 65px;
  color: #2e2a26;
  font: 500 16px/1.45 var(--dr-sans);
  letter-spacing: .12em;
  text-transform: uppercase;
}

.dr3-hero h1 {
  margin: 0;
  color: #0d0c0b;
  font: 400 clamp(82px, 9.2vw, 145px)/.82 var(--dr-serif);
  letter-spacing: -.072em;
}

.dr3-rule {
  width: min(330px, 78%);
  margin: 25px 0 17px 65px;
  display: flex;
  align-items: center;
  gap: 16px;
  color: #bd8f47;
}

.dr3-rule span,
.dr3-mini-rule span {
  height: 1px;
  flex: 1;
  background: #caa66d;
}

.dr3-rule b,
.dr3-mini-rule b {
  font-weight: 400;
}

.dr3-tagline,
.dr3-subtitle {
  margin-left: 65px;
  text-transform: uppercase;
}

.dr3-tagline {
  margin-top: 0;
  margin-bottom: 10px;
  color: #2f2b27;
  font: 600 14px/1.35 var(--dr-sans);
  letter-spacing: .22em;
}

.dr3-subtitle {
  margin-top: 0;
  margin-bottom: 30px;
  color: #5f5851;
  font: 500 12px/1.4 var(--dr-sans);
  letter-spacing: .16em;
}

.dr3-actions {
  margin-left: 65px;
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.dr3-button {
  min-height: 52px;
  padding: 0 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border: 1px solid #746d65;
  border-radius: 999px;
  color: #1e1b18;
  background: rgba(255,255,255,.8);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  cursor: pointer;
}

.dr3-button span {
  width: 23px;
  height: 23px;
  display: grid;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 10px;
}

.dr3-button-gold {
  border-color: transparent;
  background: linear-gradient(135deg, #cda861, #b27f38);
  color: #fff;
  box-shadow: 0 14px 28px rgba(150, 104, 43, .18);
}

.dr3-welcome {
  padding: clamp(50px, 6vw, 86px) 0;
  background: #fffdfa;
}

.dr3-welcome-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  gap: clamp(48px, 7vw, 105px);
  align-items: center;
}

.dr3-welcome-media {
  position: relative;
  margin: 0;
}

.dr3-welcome-media img {
  width: 100%;
  height: clamp(370px, 38vw, 520px);
  display: block;
  object-fit: cover;
  border-radius: 13px;
  box-shadow: 0 20px 50px rgba(64, 43, 23, .11);
}

.dr3-welcome-media figcaption {
  position: absolute;
  left: -34px;
  bottom: -34px;
  color: #bd8f47;
  font: italic 400 clamp(40px, 4.2vw, 66px)/.85 var(--dr-serif);
  transform: rotate(-7deg);
  text-shadow: 0 2px 0 #fff;
}

.dr3-eyebrow {
  margin: 0 0 15px;
  color: #2e2a26;
  font: 500 12px/1 var(--dr-serif);
  letter-spacing: .22em;
  text-transform: uppercase;
}

.dr3-welcome-copy h2 {
  margin: 0;
  color: #171411;
  font: 400 clamp(45px, 4.8vw, 72px)/.98 var(--dr-serif);
  letter-spacing: -.045em;
}

.dr3-welcome-copy h2 em {
  font-weight: 400;
}

.dr3-mini-rule {
  width: min(340px, 76%);
  margin: 24px 0 25px;
  display: flex;
  align-items: center;
  gap: 14px;
  color: #bd8f47;
}

.dr3-body-copy {
  max-width: 650px;
  margin: 0;
  color: #4e4842;
  font-size: 15px;
  line-height: 1.78;
}

.dr3-feature-row {
  margin-top: 37px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.dr3-feature-row a {
  display: grid;
  justify-items: center;
  gap: 10px;
  color: #3f3933;
  text-align: center;
}

.dr3-feature-row b {
  color: #c89b55;
  font: 400 31px/1 var(--dr-serif);
}

.dr3-feature-row span {
  font-size: 8px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.dr3-section {
  padding: clamp(54px, 6vw, 84px) 0;
}

.dr3-cast-section {
  background: #fff;
}

.dr3-drama-section {
  background: #fbf8f4;
}

.dr3-section-heading {
  margin-bottom: 31px;
  text-align: center;
}

.dr3-section-heading > div {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 17px;
}

.dr3-section-heading > div > span {
  width: 70px;
  height: 1px;
  background: #caa66d;
}

.dr3-section-heading h2 {
  margin: 0;
  color: #24201c;
  font: 400 clamp(27px, 3vw, 43px)/1 var(--dr-serif);
  letter-spacing: .21em;
  text-transform: uppercase;
}

.dr3-section-heading p {
  margin: 9px 0 0;
  color: #8a8178;
  font-size: 9px;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.dr3-cast-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}

.dr3-cast-card {
  overflow: hidden;
  border: 1px solid #e8e0d6;
  border-radius: 9px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(55, 39, 21, .055);
}

.dr3-cast-card a {
  display: block;
  color: inherit;
}

.dr3-cast-card img {
  width: 100%;
  aspect-ratio: 4 / 4.55;
  display: block;
  object-fit: cover;
  object-position: center 20%;
  transition: transform .35s ease;
}

.dr3-cast-card:hover img {
  transform: scale(1.025);
}

.dr3-cast-meta {
  min-height: 76px;
  padding: 13px 12px 11px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.dr3-cast-meta h3 {
  margin: 0 0 5px;
  color: #26221f;
  font: 600 10px/1.2 var(--dr-serif);
  letter-spacing: .07em;
  text-transform: uppercase;
}

.dr3-cast-meta p {
  margin: 0;
  color: #8b8278;
  font-size: 8px;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.dr3-cast-meta > span {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #c39a57;
  color: #fff;
  font-size: 15px;
}

.dr3-story-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.dr3-story-card {
  position: relative;
  overflow: hidden;
  min-height: 215px;
  border-radius: 10px;
  background: #2c261f;
  box-shadow: 0 15px 30px rgba(39, 25, 13, .12);
}

.dr3-story-card > a {
  position: absolute;
  inset: 0;
  display: block;
  color: #fff;
}

.dr3-story-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .35s ease;
}

.dr3-story-card:hover img {
  transform: scale(1.035);
}

.dr3-story-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(14,10,7,.86) 0%, rgba(14,10,7,.18) 64%, rgba(14,10,7,.02) 100%);
}

.dr3-story-copy {
  position: absolute;
  inset: auto 19px 17px;
  padding-right: 43px;
}

.dr3-story-copy small {
  display: block;
  margin-bottom: 7px;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.dr3-story-copy h3 {
  margin: 0;
  font: 400 clamp(20px, 2vw, 30px)/1.02 var(--dr-serif);
}

.dr3-story-play {
  position: absolute;
  right: 0;
  bottom: 1px;
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.8);
  border-radius: 50%;
  font-size: 11px;
}

.dr3-text-link {
  width: fit-content;
  margin: 28px auto 0;
  display: flex;
  align-items: center;
  gap: 9px;
  color: #a67636;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.desertrio-index-v3 .dr-newsletter {
  min-height: 190px;
  padding: 34px clamp(34px, 5vw, 82px);
  grid-template-columns: minmax(260px, .85fr) minmax(340px, 1fr) minmax(300px, .85fr);
  background: #f8e9df;
  overflow: hidden;
}

.desertrio-index-v3 .dr-newsletter-copy {
  position: relative;
  z-index: 2;
}

.desertrio-index-v3 .dr-newsletter-copy h2 {
  color: #2d2823;
  font: 400 clamp(32px, 3.2vw, 49px)/1 var(--dr-serif);
  letter-spacing: .13em;
}

.desertrio-index-v3 .dr-newsletter-art {
  width: 100%;
  height: 190px;
  object-fit: cover;
  object-position: center;
  content: url("../images/desertrio/index/home-newsletter.jpg");
}

.desertrio-index-v3 .dr-site-footer {
  min-height: 90px;
  padding-inline: clamp(28px, 4vw, 58px);
  background: #fff;
}

@media (max-width: 1180px) {
  .dr3-shell {
    width: min(100% - 46px, 1160px);
  }

  .dr3-hero-copy {
    width: 50%;
  }

  .dr3-kicker,
  .dr3-rule,
  .dr3-tagline,
  .dr3-subtitle,
  .dr3-actions {
    margin-left: 25px;
  }

  .dr3-cast-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .dr3-cast-card img {
    aspect-ratio: 4 / 3.6;
  }

  .dr3-story-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .desertrio-index-v3 .dr-newsletter {
    grid-template-columns: 1fr 1fr;
  }

  .desertrio-index-v3 .dr-newsletter-art {
    display: none;
  }
}

@media (max-width: 900px) {
  .desertrio-index-v3 .dr-header-inner {
    grid-template-columns: 1fr auto 38px;
  }

  .dr3-hero {
    min-height: 720px;
  }

  .dr3-hero-image {
    height: 390px;
    object-position: 58% center;
  }

  .dr3-hero-wash {
    background: linear-gradient(0deg, #fff 0%, #fff 42%, rgba(255,255,255,.94) 51%, rgba(255,255,255,.05) 80%);
  }

  .dr3-hero-inner {
    align-items: flex-end;
  }

  .dr3-hero-copy {
    width: 100%;
    padding: 380px 0 45px;
    text-align: center;
  }

  .dr3-kicker,
  .dr3-rule,
  .dr3-tagline,
  .dr3-subtitle,
  .dr3-actions {
    margin-left: auto;
    margin-right: auto;
  }

  .dr3-rule {
    margin-top: 18px;
  }

  .dr3-actions {
    justify-content: center;
  }

  .dr3-welcome-grid {
    grid-template-columns: 1fr;
    gap: 55px;
  }

  .dr3-welcome-copy {
    text-align: center;
  }

  .dr3-mini-rule,
  .dr3-body-copy {
    margin-left: auto;
    margin-right: auto;
  }

  .dr3-welcome-media figcaption {
    left: 0;
  }

  .desertrio-index-v3 .dr-newsletter {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

@media (max-width: 640px) {
  .dr3-shell {
    width: min(100% - 28px, 620px);
  }

  .dr3-hero {
    min-height: 690px;
  }

  .dr3-hero-image {
    height: 335px;
  }

  .dr3-hero-copy {
    padding-top: 325px;
  }

  .dr3-kicker {
    font-size: 12px;
  }

  .dr3-hero h1 {
    font-size: clamp(64px, 20vw, 92px);
  }

  .dr3-tagline {
    font-size: 11px;
  }

  .dr3-actions {
    display: grid;
    width: min(100%, 340px);
  }

  .dr3-button {
    width: 100%;
  }

  .dr3-welcome-media img {
    height: 300px;
  }

  .dr3-welcome-media figcaption {
    bottom: -24px;
    font-size: 40px;
  }

  .dr3-welcome-copy h2 {
    font-size: 43px;
  }

  .dr3-feature-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dr3-section-heading > div > span {
    width: 28px;
  }

  .dr3-section-heading h2 {
    font-size: 25px;
    letter-spacing: .13em;
  }

  .dr3-cast-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dr3-cast-card img {
    aspect-ratio: 4 / 4.6;
  }

  .dr3-story-grid {
    grid-template-columns: 1fr;
  }

  .dr3-story-card {
    min-height: 220px;
  }

  .desertrio-index-v3 .dr-newsletter {
    padding: 34px 20px;
  }
}
