:root {
  --night: #121212;
  --paper: #f7f7f5;
  --ink: #232323;
  --gold: #eeeeec;
  --bronze: #535353;
  --muted: #c3c3c3;
  --line: #cfcfcf;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
  color-scheme: light;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 148px;
}
body {
  margin: 0;
  background: var(--night);
  color: #f3f3f3;
  font: 400 16px/1.75 var(--sans);
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 3px solid #a9a9a9;
  outline-offset: 5px;
}
input:focus,
select:focus,
textarea:focus {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}
.wrap {
  width: min(1320px, calc(100% - 96px));
  margin-inline: auto;
}
.section {
  padding-block: 100px;
}
.paper {
  background: var(--paper);
  color: var(--ink);
}
.eyebrow {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gold);
  line-height: 1.8;
  margin: 0 0 20px;
}
.eyebrow.bronze {
  color: var(--bronze);
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.035em;
}
h1 {
  font-size: clamp(42px, 4.3vw, 68px);
  margin-bottom: 22px;
}
h2 {
  font-size: clamp(40px, 4.1vw, 64px);
  margin-bottom: 24px;
}
h3 {
  font-size: 30px;
  margin-bottom: 16px;
}
em {
  font-weight: 400;
}
p {
  margin-bottom: 22px;
}
.fine {
  font-size: 13px;
  line-height: 1.75;
  color: #b4b4b4;
  margin: 22px 0 0;
}
.paper .fine {
  color: #5c5c5c;
}
.fine a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.center {
  text-align: center;
}
.skip {
  position: fixed;
  z-index: 100;
  top: 8px;
  left: 8px;
  background: white;
  color: black;
  padding: 10px;
  transform: translateY(-150%);
}
.skip:focus {
  transform: none;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  min-height: 52px;
  padding: 15px 24px;
  font: 600 12px/1.4 var(--sans);
  letter-spacing: 0.055em;
  text-transform: uppercase;
  border: 1px solid transparent;
  text-align: center;
  transition:
    background 0.2s,
    transform 0.2s;
}
.button.gold {
  background: #f7f7f5;
  color: #171717;
}
.button.gold:hover {
  background: #d7d7d7;
  transform: translateY(-1px);
}
.button.outline {
  border-color: #a7a7a7;
  color: white;
  background: #14141466;
}
.button.small {
  font-size: 10px;
  min-height: 44px;
  padding: 12px 18px;
  gap: 14px;
}
.text-link {
  font-size: 13px;
  font-weight: 500;
  display: inline-block;
  border-bottom: 1px solid currentColor;
  padding-bottom: 4px;
}
.header {
  position: fixed;
  z-index: 10;
  inset: 0 0 auto;
  background: #111e;
  border-bottom: 1px solid #fff2;
}
.header-inner {
  height: 124px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.header nav {
  display: flex;
  gap: 26px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.header nav a {
  padding-block: 12px;
}
.header nav a:hover {
  color: var(--gold);
}
.hero {
  position: relative;
  background: #131313;
  isolation: isolate;
}
.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 65% 50%;
  z-index: -3;
}
.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, #0c0c0cf5 0%, #0c0c0ce8 35%, #0c0c0ca8 58%, #0c0c0c26 100%),
    linear-gradient(0deg, #0c0c0cc4, transparent 55%);
}
.hero-grid {
  position: relative;
  min-height: 740px;
  padding-top: 190px;
  padding-bottom: 60px;
}
.hero-copy {
  max-width: 660px;
}
.mastermind-logo {
  width: 186px;
  flex: none;
}
.hero .eyebrow {
  margin-bottom: 16px;
}
.hero h1 {
  max-width: 660px;
}
.hero-lead {
  max-width: 550px;
  font-size: 16px;
  line-height: 1.8;
  color: #dcdcdc;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.quiet {
  font-size: 11px;
  color: #c8c8c8;
  margin: 18px 0 0;
}
.price-seal {
  position: absolute;
  right: 2%;
  top: 160px;
  border: 1px solid #d1d1d1;
  border-radius: 50%;
  width: 174px;
  height: 174px;
  background: #272727e8;
  color: #d3d3d3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  outline: 1px solid #d1d1d188;
  outline-offset: 6px;
  text-align: center;
}
.price-seal > span {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}
.price-seal strong {
  font: 500 42px/1.25 var(--serif);
}
.price-seal small {
  margin-top: 6px;
  font-size: 10px;
}
.hero-note {
  position: absolute;
  right: 0;
  bottom: 120px;
  font: 400 italic 24px/1.3 var(--serif);
  color: #e3e3e3;
  text-align: right;
  background: #131313cc;
  padding: 14px 18px;
  border-right: 1px solid #bcbcbc99;
}
.hero-facts {
  border-top: 1px solid #acacac66;
  background: #101010e8;
}
.facts-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  padding-block: 28px;
}
.facts-grid > div {
  border-right: 1px solid #bcbcbc44;
  text-align: center;
  padding-inline: 18px;
}
.facts-grid > div:last-child {
  border: 0;
}
.facts-grid b {
  display: block;
  font: 500 25px/1.2 var(--serif);
  text-transform: uppercase;
}
.facts-grid span {
  display: block;
  color: #cbcbcb;
  font-size: 12px;
  margin-top: 8px;
}
.section-intro {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 80px;
  align-items: end;
  margin-bottom: 44px;
}
.section-intro h2 {
  margin-bottom: 0;
}
.section-intro > p {
  max-width: 480px;
  margin-bottom: 4px;
  color: var(--muted);
}
.paper .section-intro > p {
  color: #515151;
}
.trip-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.trip-card {
  border: 1px solid #d4d4d4;
  background: #f8f8f8;
}
.trip-photo {
  position: relative;
  aspect-ratio: 1.6;
  overflow: hidden;
  background: #171717;
}
.trip-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.trip-photo.group img {
  object-fit: contain;
}
.trip-photo img[src*="raid-4x4-dunes"] {
  object-position: 50% 70%;
}
.chapter {
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 8px 18px;
  background: #141414ee;
  color: var(--gold);
  font: 500 25px/1 var(--serif);
}
.card-body {
  padding: 28px 24px;
}
.card-body .eyebrow {
  font-size: 10px;
  margin-bottom: 12px;
}
.card-body p {
  font-size: 14px;
  line-height: 1.8;
}
.checks {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
}
.checks li {
  position: relative;
  padding-left: 24px;
  font-size: 13px;
  margin: 10px 0;
  line-height: 1.7;
}
.checks li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--bronze);
  font-weight: 700;
}
.route {
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: center;
  margin-top: 44px;
  font-size: 12px;
  font-weight: 500;
}
.route i {
  width: 50px;
  height: 1px;
  background: #808080;
  position: relative;
}
.route i:after {
  content: "";
  position: absolute;
  right: 0;
  top: -2px;
  width: 5px;
  height: 5px;
  border-top: 1px solid #808080;
  border-right: 1px solid #808080;
  transform: rotate(45deg);
}
.domain {
  background: #161616;
}
.domain-gallery {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: 230px 230px;
  gap: 18px;
}
.photo-button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: #1a1a1a;
  color: white;
  text-align: left;
  position: relative;
  overflow: hidden;
  cursor: zoom-in;
}
.photo-button img {
  width: 100%;
  height: auto;
}
.domain-gallery .photo-button {
  display: flex;
  flex-direction: column;
}
.domain-gallery img {
  height: 0;
  min-height: 0;
  flex: 1;
  object-fit: cover;
}
.domain-gallery .large {
  grid-row: span 2;
}
.photo-button > span {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: #161616;
  font-size: 11px;
  letter-spacing: 0.045em;
  line-height: 1.6;
  flex: none;
}
.photo-button:hover > span {
  color: var(--gold);
}
.equipment-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin: 42px 0 34px;
}
.equipment-grid > div {
  border-left: 1px solid #91919155;
  padding-left: 24px;
}
.equipment-grid dt {
  font: 500 36px/1.2 var(--serif);
  color: var(--gold);
}
.equipment-grid dd {
  margin: 8px 0 0;
  color: #cecece;
  font-size: 13px;
}
.amenities {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  border-block: 1px solid #91919133;
  padding-block: 22px;
  font-size: 12px;
  color: #dadada;
}
.amenities span:before {
  content: "✧";
  color: var(--gold);
  margin-right: 8px;
}
.domain .text-link {
  margin-top: 18px;
  color: var(--gold);
}
.signature {
  position: relative;
  isolation: isolate;
  min-height: 610px;
  display: flex;
  align-items: center;
}
.signature > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: -3;
}
.signature-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #0b0b0bf2 0%, #0b0b0bd9 50%, #0b0b0b55 100%);
  z-index: -2;
}
.signature-content {
  padding-block: 80px;
}
.signature h2 {
  max-width: 790px;
}
.signature-content > p:not(.eyebrow) {
  max-width: 570px;
  color: #dcdcdc;
}
.signature-tags {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 30px;
}
.signature-tags span {
  border: 1px solid #a6a6a666;
  padding: 8px 14px;
  background: #121212d9;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--gold);
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
.service-grid article {
  border-top: 1px solid var(--line);
  padding-top: 22px;
}
.service-number {
  font: 500 32px/1.5 var(--serif);
  color: var(--bronze);
}
.service-grid h3 {
  font-size: 27px;
  margin-top: 18px;
}
.service-grid p {
  font-size: 14px;
  color: #545454;
}
.pricing {
  background: #1d1d1d;
}
.pricing-layout {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 110px;
  align-items: center;
}
.pricing-layout > div > p:not(.eyebrow) {
  max-width: 550px;
  color: #d2d2d2;
}
.price-card {
  padding: 40px;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid #aeaeae;
}
.pricing-layout .price-card > p:not(.eyebrow) {
  color: var(--ink);
}
.price-card .large-price {
  font: 500 90px/1 var(--serif);
  letter-spacing: -0.045em;
  margin-bottom: 6px;
  color: #656565;
}
.large-price span {
  font-size: 55px;
}
.price-unit {
  font-size: 13px;
}
.price-seal .price-total {
  display: block;
  max-width: 160px;
  font-size: 11px;
  line-height: 1.4;
}
.price-card .price-total {
  margin-block: 10px 16px;
  font-size: 15px;
  line-height: 1.5;
}
@media (max-width: 900px) {
  .price-seal .price-total {
    grid-column: 1 / -1;
    grid-row: 3;
    max-width: none;
    text-align: left;
  }
}
.mobile-cta small {
  display: block;
  margin-top: 3px;
  font-size: 10px;
  line-height: 1.4;
  text-transform: none;
}
.child-fare {
  border-left: 2px solid var(--ink);
  background: #eaeae6;
  padding: 8px 12px;
  margin-block: 12px;
  font-size: 14px;
  line-height: 1.6;
}
.price-card .checks {
  border-top: 1px solid var(--line);
  padding-top: 12px;
  margin-bottom: 26px;
}
.price-card .button {
  width: 100%;
}
.price-card .fine {
  color: #5c5c5c;
}
.calc-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.calc-cards article {
  padding: 28px;
  border: 1px solid var(--line);
  background: #f8f8f8;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
}
.calc-cards p {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.65;
  margin: 0;
}
.calc-cards strong {
  font: 500 clamp(38px, 4vw, 60px)/1.2 var(--serif);
  color: var(--bronze);
  white-space: nowrap;
}
.calc-cards span {
  font-size: 11px;
  color: #606060;
  line-height: 1.7;
}
.calc-cards .calc-featured {
  background: #252525;
  color: white;
  border-color: #252525;
}
.calc-featured strong {
  color: #cacaca;
}
.calc-cards .calc-featured span {
  color: #d7d7d7;
}
.calc-settings {
  border-bottom: 1px solid var(--line);
  margin-top: 26px;
}
.calc-settings summary {
  padding: 18px 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 13px;
  font-weight: 500;
}
.calc-inputs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-block: 20px;
}
.calc-inputs label {
  font-size: 12px;
  color: #4e4e4e;
}
.calc-inputs select,
.calc-inputs input {
  width: 100%;
  padding: 12px;
  border: 1px solid #b2b2b2;
  background: #fff;
  color: #232323;
  margin-top: 8px;
  min-height: 46px;
}
.calc-inputs small {
  font-size: 11px;
  line-height: 1.6;
  display: block;
  margin-top: 8px;
}
.calc-settings > .fine {
  padding-bottom: 20px;
}
.fiscal-note {
  border-left: 2px solid #8f8f8f;
  padding-left: 18px;
}
.archive {
  background: #191919;
}
.archive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: start;
}
.archive-grid figure {
  margin: 0;
}
.archive-grid img {
  aspect-ratio: 3/2;
  object-fit: contain;
  background: #101010;
}
.benefits {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 42px;
  padding-top: 28px;
  border-top: 1px solid #91919133;
}
.benefits p {
  margin: 0;
}
.benefits b {
  display: block;
  color: var(--gold);
  font: 500 25px/1.2 var(--serif);
}
.benefits span {
  display: block;
  margin-top: 10px;
  font-size: 12px;
  color: #cecece;
}
.faq-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 90px;
}
.faqs details {
  border-bottom: 1px solid var(--line);
}
.faqs summary {
  cursor: pointer;
  position: relative;
  padding: 19px 34px 19px 0;
  font-size: 15px;
  font-weight: 500;
  list-style: none;
}
.faqs summary::-webkit-details-marker {
  display: none;
}
.faqs summary:after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 16px;
  font-size: 23px;
  font-weight: 400;
  color: var(--bronze);
}
.faqs details[open] summary:after {
  content: "−";
}
.faqs p {
  font-size: 14px;
  color: #555555;
  padding-right: 16px;
}
.contact {
  background: #111111;
}
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.contact-layout > div > p {
  max-width: 460px;
  color: #cfcfcf;
}
.contact-person {
  display: flex;
  gap: 18px;
  align-items: center;
  margin: 34px 0;
}
.initials {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #999999;
  color: var(--gold);
  border-radius: 50%;
  font: 500 25px var(--serif);
  flex: none;
}
.contact-person strong,
.contact-person span:not(.initials),
.contact-person a {
  display: block;
}
.contact-person strong {
  font-size: 16px;
  font-weight: 500;
}
.contact-person span:not(.initials) {
  font-size: 12px;
  color: #b0b0b0;
}
.contact-person a {
  font-size: 12px;
  color: var(--gold);
  margin-top: 5px;
}
.contact .text-link {
  font-size: 11px;
  color: #c3c3c3;
}
#sales-form {
  padding: 32px;
  border: 1px solid #91919155;
  background: #191919;
}
#sales-form h3 {
  font-size: 32px;
  margin-bottom: 8px;
}
.form-intro {
  font-size: 13px;
  color: #bebebe;
}
fieldset {
  padding: 0;
  margin: 0;
  border: 0;
  min-width: 0;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 24px;
}
.form-grid label {
  font-size: 12px;
  color: #d8d8d8;
}
.form-grid input,
.form-grid select,
.form-grid textarea {
  display: block;
  width: 100%;
  border: 1px solid #666666;
  background: #121212;
  color: #f3f3f3;
  padding: 11px 12px;
  margin-top: 7px;
  min-height: 46px;
  border-radius: 0;
}
.form-grid .full {
  grid-column: 1/-1;
}
.form-grid textarea {
  resize: vertical;
  line-height: 1.7;
}
.form-grid textarea::placeholder {
  color: #a8a8a8;
}
.form-status {
  font-size: 13px;
  color: #c9c9c9;
  margin: 18px 0 0;
}
.footer {
  background: #0c0c0c;
  border-top: 1px solid #91919133;
  padding-block: 34px;
}
.footer-top {
  display: flex;
  gap: 32px;
  align-items: center;
}
.footer-top > img {
  width: 90px;
  height: auto;
}
.footer-top > p {
  font-size: 11px;
  color: #bfbfbf;
  margin: 0;
}
.footer-top > div {
  margin-left: auto;
  display: flex;
  gap: 22px;
  font-size: 11px;
  color: #c6c6c6;
}
.footer button {
  background: none;
  border: 0;
  color: inherit;
  padding: 0;
  font-size: 11px;
}
.footer .fine {
  font-size: 11px;
  color: #9f9f9f;
}
.mobile-cta {
  display: none;
}
.lightbox {
  border: 0;
  background: #101010;
  color: #fff;
  padding: 52px 20px 16px;
  max-width: 95vw;
  max-height: 94svh;
}
.lightbox::backdrop {
  background: #000e;
}
.lightbox[open] {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.lightbox img {
  max-width: 88vw;
  max-height: calc(85svh - 100px);
  width: auto;
  height: auto;
  object-fit: contain;
}
.lightbox p {
  font-size: 13px;
  margin: 0;
  text-align: center;
}
.lightbox > button {
  position: absolute;
  right: 8px;
  top: 4px;
  background: none;
  color: #fff;
  border: 0;
  width: 44px;
  height: 44px;
  font-size: 30px;
}
@media (min-width: 1600px) {
  .hero-grid {
    min-height: 780px;
  }
  .hero-shade {
    background:
      linear-gradient(90deg, #0c0c0cf5 0%, #0c0c0ce8 38%, #0c0c0c88 62%, #0c0c0c26 100%),
      linear-gradient(0deg, #0c0c0cc4, transparent 55%);
  }
}
@media (max-width: 1100px) {
  .wrap {
    width: calc(100% - 64px);
  }
  .header nav {
    gap: 16px;
  }
  .section-intro {
    gap: 40px;
  }
  .trip-grid {
    gap: 16px;
  }
  .card-body {
    padding: 24px 18px;
  }
  .hero-copy {
    max-width: 620px;
  }
  .price-seal {
    width: 142px;
    height: 142px;
    right: 0;
    top: 140px;
  }
  .price-seal strong {
    font-size: 36px;
  }
  .hero-note {
    display: none;
  }
  .pricing-layout,
  .faq-layout,
  .contact-layout {
    gap: 44px;
  }
  .service-grid {
    gap: 22px;
  }
  .header .header .button {
    font-size: 9px;
    padding-inline: 12px;
  }
  .hero h1 {
    font-size: 54px;
  }
  .domain-gallery {
    grid-template-rows: 200px 200px;
  }
  .facts-grid > div {
    padding-inline: 8px;
  }
  .equipment-grid {
    gap: 15px;
  }
  .equipment-grid > div {
    padding-left: 14px;
  }
  .equipment-grid dt {
    font-size: 30px;
  }
}
@media (max-width: 850px) {
  .header nav {
    display: none;
  }
  .section {
    padding-block: 72px;
  }
  .hero-shade {
    background: #0c0c0cd9;
  }
  .hero-grid {
    min-height: 0;
    padding-top: 164px;
    padding-bottom: 48px;
  }
  .hero-copy {
    max-width: 620px;
  }
  .hero h1 {
    font-size: 52px;
  }
  .price-seal {
    position: static;
    margin-top: 24px;
    width: auto;
    height: auto;
    border: 0;
    outline: 0;
    background: #151515e6;
    border-left: 2px solid var(--gold);
    border-radius: 0;
    align-items: flex-start;
    padding: 12px 18px;
    max-width: 340px;
  }
  .price-seal strong {
    font-size: 40px;
    line-height: 1.2;
  }
  .price-seal small {
    display: none;
  }
  .facts-grid {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 24px;
  }
  .facts-grid > div:nth-child(3) {
    border: 0;
  }
  .facts-grid > div:nth-child(n + 4) {
    border-top: 1px solid #bcbcbc22;
    padding-top: 20px;
  }
  .section-intro {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .section-intro > p {
    max-width: 660px;
  }
  .trip-grid {
    grid-template-columns: 1fr 1fr;
  }
  .trip-card:last-child {
    grid-column: 1/-1;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .trip-card:last-child .trip-photo {
    aspect-ratio: auto;
    height: 100%;
  }
  .service-grid {
    grid-template-columns: 1fr 1fr;
  }
  .domain-gallery {
    grid-template-rows: 180px 180px;
  }
  .equipment-grid {
    grid-template-columns: 1fr 1fr;
    gap: 26px;
  }
  .pricing-layout,
  .faq-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }
  .pricing-layout > div > p:not(.eyebrow) {
    max-width: 660px;
  }
  .price-card {
    max-width: 640px;
  }
  .calc-cards {
    gap: 12px;
  }
  .calc-cards article {
    padding: 22px 18px;
  }
  .calc-cards strong {
    font-size: 40px;
  }
  .calc-inputs {
    grid-template-columns: 1fr 1fr;
  }
  .archive-grid {
    gap: 14px;
  }
  .benefits {
    grid-template-columns: 1fr 1fr;
  }
  .signature-shade {
    background: #0b0b0bdc;
  }
  .route {
    gap: 12px;
    flex-wrap: wrap;
  }
  .route i {
    width: 28px;
  }
}
@media (max-width: 600px) {
  html {
    scroll-padding-top: 124px;
  }
  .wrap {
    width: calc(100% - 40px);
  }
  body {
    font-size: 16px;
  }
  .header-inner {
    height: 100px;
    gap: 12px;
  }
  .header .button {
    font-size: 9px;
    letter-spacing: 0.02em;
    max-width: 150px;
    padding: 9px 10px;
    gap: 8px;
  }
  .header .button > span {
    display: none;
  }
  .hero-grid {
    padding-top: 140px;
    padding-bottom: 32px;
  }
  .mastermind-logo {
    width: 150px;
  }
  .hero .eyebrow {
    font-size: 10px;
    letter-spacing: 0.12em;
    margin-top: 12px;
  }
  .hero h1 {
    font-size: clamp(35px, 8.8vw, 48px);
    line-height: 1.08;
    margin-bottom: 20px;
  }
  .hero h1 br {
    display: none;
  }
  .hero-lead {
    font-size: 15px;
    line-height: 1.8;
  }
  .hero-actions {
    gap: 10px;
  }
  .hero-actions .button {
    width: 100%;
    min-height: 48px;
  }
  .hero .quiet {
    font-size: 11px;
  }
  .price-seal {
    margin-top: 24px;
    padding: 10px 16px;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 0 16px;
    max-width: none;
  }
  .price-seal strong {
    grid-row: 1/3;
    grid-column: 2;
    font-size: 37px;
  }
  .price-seal > span {
    font-size: 9px;
    text-align: left;
  }
  .facts-grid {
    grid-template-columns: 1fr 1fr;
    padding-block: 24px;
    gap: 20px 0;
  }
  .facts-grid > div:nth-child(3) {
    border-right: 1px solid #bcbcbc44;
  }
  .facts-grid > div:nth-child(even) {
    border-right: 0;
  }
  .facts-grid > div:nth-child(n + 3) {
    border-top: 1px solid #bcbcbc22;
    padding-top: 18px;
  }
  .facts-grid > div:last-child {
    grid-column: 1/-1;
    border-right: 0;
  }
  .facts-grid b {
    font-size: 24px;
  }
  .facts-grid span {
    font-size: 11px;
  }
  .section {
    padding-block: 58px;
  }
  h2 {
    font-size: 41px;
    line-height: 1.08;
  }
  h3 {
    font-size: 30px;
  }
  .section-intro {
    margin-bottom: 30px;
  }
  .section-intro > p {
    font-size: 15px;
  }
  .trip-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }
  .trip-card:last-child {
    display: block;
  }
  .trip-card:last-child .trip-photo {
    aspect-ratio: 1.6;
    height: auto;
  }
  .card-body {
    padding: 26px 22px;
  }
  .card-body p,
  .checks li {
    font-size: 14px;
  }
  .domain-gallery {
    display: flex;
    flex-direction: column;
    gap: 18px;
  }
  .domain-gallery .photo-button {
    display: block;
  }
  .domain-gallery img {
    height: auto;
    width: 100%;
    object-fit: contain;
  }
  .photo-button > span {
    font-size: 11px;
    padding: 12px 14px;
  }
  .equipment-grid {
    gap: 24px 16px;
    margin: 30px 0;
  }
  .equipment-grid dt {
    font-size: 29px;
  }
  .equipment-grid dd {
    font-size: 12px;
  }
  .amenities {
    gap: 10px 20px;
    font-size: 12px;
  }
  .signature {
    min-height: 0;
  }
  .signature-content {
    padding-block: 65px;
  }
  .signature h2 {
    font-size: 42px;
  }
  .signature-content > p:not(.eyebrow) {
    font-size: 15px;
  }
  .signature-tags {
    gap: 8px;
  }
  .signature-tags span {
    font-size: 10px;
    padding: 7px 10px;
  }
  .service-grid {
    gap: 18px;
  }
  .service-grid h3 {
    font-size: 26px;
    line-height: 1.1;
  }
  .service-grid p {
    font-size: 13px;
  }
  .pricing-layout {
    gap: 24px;
  }
  .price-card {
    padding: 28px 22px;
  }
  .price-card .large-price {
    font-size: 78px;
  }
  .large-price span {
    font-size: 48px;
  }
  .calc-cards {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .calc-cards article {
    padding: 24px;
  }
  .calc-cards strong {
    font-size: 54px;
  }
  .calc-cards p {
    font-size: 14px;
  }
  .calc-cards span {
    font-size: 12px;
  }
  .calc-inputs {
    grid-template-columns: 1fr;
  }
  .calc-inputs label {
    font-size: 13px;
  }
  .calc-settings summary {
    font-size: 13px;
  }
  .fiscal-note {
    font-size: 12px;
  }
  .archive-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .archive-grid img {
    aspect-ratio: auto;
    object-fit: contain;
  }
  .benefits {
    gap: 26px 20px;
  }
  .benefits b {
    font-size: 25px;
  }
  .benefits span {
    font-size: 12px;
  }
  .faq-layout {
    gap: 20px;
  }
  .faqs summary {
    font-size: 14px;
    padding-block: 20px;
  }
  .faqs p {
    font-size: 14px;
  }
  .contact-layout {
    gap: 34px;
  }
  #sales-form {
    padding: 26px 20px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .form-grid label {
    font-size: 13px;
  }
  .form-grid input,
  .form-grid textarea,
  .form-grid select {
    font-size: 16px;
  }
  .form-grid .full {
    grid-column: auto;
  }
  #sales-form .button {
    width: 100%;
    padding-inline: 14px;
    gap: 12px;
  }
  .footer {
    padding-bottom: 110px;
  }
  .footer-top {
    flex-wrap: wrap;
    gap: 18px;
  }
  .footer-top > img {
    width: 75px;
  }
  .footer-top > p {
    font-size: 10px;
  }
  .footer-top > div {
    margin: 6px 0 0;
    width: 100%;
    gap: 18px;
    flex-wrap: wrap;
  }
  .footer .fine {
    font-size: 11px;
  }
  .mobile-cta {
    position: fixed;
    display: flex;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9;
    min-height: 64px;
    padding: 16px 20px calc(16px + env(safe-area-inset-bottom));
    justify-content: space-between;
    border-top: 1px solid #a9a9a9;
    gap: 12px;
    font-size: 11px;
    box-shadow: 0 -5px 24px #0004;
  }
  .mobile-cta span {
    font-size: 10px;
    text-transform: none;
    letter-spacing: 0;
  }
  .lightbox {
    padding-inline: 12px;
  }
  .route {
    font-size: 11px;
  }
  .route i:nth-of-type(2) {
    display: none;
  }
  .route span {
    flex-basis: calc(50% - 30px);
    text-align: center;
  }
  .fine {
    font-size: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition: none !important;
  }
}
@media print {
  body {
    background: white;
    color: #222;
    font-size: 10pt;
  }
  .header,
  .hero-actions,
  .mobile-cta,
  .price-seal,
  .hero-note,
  .photo-button > span,
  .lightbox,
  #sales-form,
  .footer-top > div,
  .calc-settings {
    display: none !important;
  }
  .hero {
    background: #171717;
    color: white;
  }
  .hero-grid {
    min-height: 0;
    padding-top: 30px;
    padding-bottom: 30px;
  }
  .mastermind-logo {
    width: 110px;
  }
  .hero h1 {
    font-size: 36px;
  }
  .wrap {
    width: 100%;
    padding-inline: 24px;
  }
  .section {
    padding-block: 28px;
  }
  .section-intro,
  .pricing-layout,
  .faq-layout,
  .contact-layout {
    display: block;
  }
  .section-intro h2 {
    font-size: 30px;
    margin-bottom: 15px;
  }
  .trip-grid {
    display: block;
  }
  .trip-card {
    break-inside: avoid;
    margin-bottom: 20px;
  }
  .trip-photo {
    max-height: 160px;
  }
  .domain-gallery {
    display: none;
  }
  .domain,
  .archive,
  .contact,
  .pricing {
    background: white;
    color: #222;
  }
  .domain p,
  .pricing p,
  .contact p,
  .archive p {
    color: #333 !important;
  }
  .equipment-grid dd,
  .amenities,
  .benefits span,
  .contact-person span {
    color: #333;
  }
  .signature {
    background: #171717;
    min-height: 350px;
    print-color-adjust: exact;
  }
  .signature-content {
    padding-block: 30px;
  }
  .signature h2 {
    font-size: 36px;
  }
  .service-grid {
    grid-template-columns: 1fr 1fr;
  }
  .calc-cards {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .calc-cards article {
    padding: 15px;
  }
  .calc-cards strong {
    font-size: 32px;
  }
  .calc-featured {
    print-color-adjust: exact;
  }
  .price-card {
    padding: 20px;
  }
  .archive-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .archive-grid img {
    max-height: 140px;
  }
  .faqs details {
    break-inside: avoid;
  }
  .footer {
    background: white;
    padding: 20px 0;
  }
  .footer .fine {
    color: #444;
  }
  .hero-facts {
    print-color-adjust: exact;
  }
  .fine {
    font-size: 9pt;
  }
}

/* Monochrome editorial identity; original photographs and destination flag keep their colours. */
.header-brand {
  display: flex;
  align-items: center;
  gap: 24px;
  flex: none;
}
.header-brand .mastermind-logo {
  width: 108px;
  height: 108px;
}
.challenge-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 32px;
  align-items: stretch;
}
.challenge-grid .mountain img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 40%;
}
.challenge-side {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.challenge-side .photo-button img {
  width: 100%;
  aspect-ratio: 786/444;
  object-fit: contain;
}
.challenge-note {
  padding: 4px 12px;
}
.challenge-note p:last-child {
  margin-bottom: 0;
}
.hospitality-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hospitality figure {
  margin: 0;
}
.hospitality figure img {
  width: 100%;
  height: auto;
}
.hospitality figcaption {
  font-size: 12px;
  color: #626262;
  margin-top: 12px;
}
.hospitality .checks {
  margin-bottom: 26px;
}
.archive-grid figcaption {
  padding-top: 24px;
}
.archive-grid figcaption h3 {
  font-size: 30px;
  margin-bottom: 12px;
}
.archive-grid figcaption p {
  color: #d3d3d3;
  font-size: 14px;
}
.price-seal {
  background: #171717ed;
  color: #f7f7f5;
  border-color: #eee;
  outline-color: #eee8;
}
.button.gold:hover {
  background: #dededb;
}
.paper input:focus,
.paper select:focus {
  outline-color: #555;
}
@media (max-width: 1100px) {
  .header nav {
    gap: 14px;
    font-size: 10px;
  }
  .header-brand {
    gap: 14px;
  }
  .hospitality-grid {
    gap: 36px;
  }
}
@media (max-width: 850px) {
  .hospitality-grid {
    grid-template-columns: 1fr;
  }
  .challenge-grid {
    gap: 22px;
  }
}
@media (max-width: 600px) {
  .header-brand {
    gap: 12px;
  }
  .header-brand .mastermind-logo {
    width: 80px;
    height: 80px;
  }
  .header .button {
    max-width: 130px;
  }
  .challenge-grid {
    grid-template-columns: 1fr;
  }
  .challenge-grid .mountain img {
    height: auto;
    object-fit: contain;
  }
  .challenge-side {
    gap: 24px;
  }
  .challenge-note {
    padding: 0;
  }
  .hospitality-grid {
    gap: 32px;
  }
  .archive-grid figcaption {
    padding-top: 18px;
  }
  .price-seal {
    border-color: #eee;
  }
}

.memories-intro {
  margin-top: 60px;
  padding-top: 32px;
  border-top: 1px solid #ffffff33;
}
.memories-intro .eyebrow {
  margin-bottom: 12px;
}
.memories-intro p:last-child {
  color: #d3d3d3;
  font-size: 14px;
}
.memories-grid {
  columns: 4;
  column-gap: 20px;
}
.memories-grid .photo-button {
  break-inside: avoid;
  margin-bottom: 20px;
}
.memories-grid img {
  width: 100%;
  height: auto;
  object-fit: contain;
}
.memories-grid .photo-button > span {
  font-size: 11px;
  padding: 12px;
  gap: 12px;
}
@media (max-width: 1100px) {
  .memories-grid {
    columns: 3;
  }
}
@media (max-width: 850px) {
  .memories-grid {
    columns: 2;
  }
}
@media (max-width: 600px) {
  .memories-grid {
    column-gap: 12px;
  }
  .memories-grid .photo-button {
    margin-bottom: 12px;
  }
  .memories-grid .photo-button > span {
    font-size: 11px;
    line-height: 1.5;
    padding: 10px;
  }
  .memories-grid .photo-button > span > span {
    display: none;
  }
}

.rooms-intro {
  margin-top: 42px;
  max-width: 660px;
}
.leisure-intro {
  margin-top: 56px;
  max-width: 760px;
}
.leisure-intro .eyebrow {
  margin-bottom: 12px;
}
.leisure-intro > p:last-child {
  color: #d3d3d3;
  font-size: 15px;
}
.leisure-grid {
  columns: 3;
  column-gap: 22px;
}
.leisure-grid .photo-button {
  break-inside: avoid;
  margin-bottom: 22px;
}
.leisure-grid img {
  width: 100%;
  height: auto;
}
.villa-agenda .agenda-photo {
  margin-bottom: 24px;
}
.villa-agenda .agenda-photo img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
}
.villa-agenda .agenda-photo img[src*="allee-palmiers"] {
  object-position: 50% 58%;
}
.villa-agenda .agenda-photo > span {
  padding: 12px;
  font-size: 11px;
  min-height: 62px;
}
@media (max-width: 850px) {
  .leisure-grid {
    columns: 2;
  }
}
@media (max-width: 600px) {
  .leisure-grid {
    columns: 1;
  }
}
.rooms-intro .eyebrow {
  margin-bottom: 12px;
}
.rooms-intro > p:last-child {
  color: #d3d3d3;
  font-size: 14px;
}
.rooms-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.rooms-grid img {
  width: 100%;
  height: auto;
}
@media (max-width: 600px) {
  .rooms-grid {
    grid-template-columns: 1fr;
  }
}

.raid-films {
  background: #111;
}

/* The logo stays visible; navigation joins it after the first scroll. */
.scroll-header {
  transition:
    background 0.2s,
    border-color 0.2s;
}
.scroll-header:not(.is-scrolled) {
  background: transparent;
  border-color: transparent;
}
.scroll-header nav,
.scroll-header .header-action {
  transition: opacity 0.2s;
}
.scroll-header:not(.is-scrolled) nav,
.scroll-header:not(.is-scrolled) .header-action {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}
.scroll-header .header-brand {
  background: #111e;
  padding: 0 8px;
}
.scroll-header.is-scrolled {
  background: #111f;
}
.scroll-header.is-scrolled .header-inner {
  height: 96px;
}
.scroll-header.is-scrolled .mastermind-logo {
  width: 80px;
  height: 80px;
}
@media (max-width: 600px) {
  .scroll-header.is-scrolled .header-inner {
    height: 88px;
  }
  .scroll-header.is-scrolled .mastermind-logo {
    width: 72px;
    height: 72px;
  }
}

.feature-film {
  display: block;
  width: 100%;
  aspect-ratio: 16/9;
  background: #111;
  object-fit: contain;
}
.raid-film {
  object-fit: cover;
}
.film-credits {
  margin-top: 20px;
  font-size: 12px;
  line-height: 1.8;
}
.film-credits summary {
  cursor: pointer;
  padding-block: 12px;
}
.film-credits p {
  margin-top: 12px;
}
.film-credits a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.films .film-credits {
  color: #555;
}
@media (max-width: 600px) {
  .villa-film,
  .raid-film {
    aspect-ratio: 9/16;
    max-height: 80svh;
  }
}

.itinerary {
  margin: 48px 0 0;
  padding: 32px;
  background: #fff;
  border: 1px solid var(--line);
}
.itinerary-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}
.itinerary-heading .eyebrow {
  margin-bottom: 12px;
}
.itinerary-heading h3 {
  margin-bottom: 0;
}
.itinerary-heading a,
.framework-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: underline;
  text-underline-offset: 5px;
  font-size: 14px;
}
.itinerary-heading a {
  flex-shrink: 0;
}
.itinerary img {
  width: 100%;
}
.itinerary figcaption {
  margin-top: 16px;
  color: #555;
  font-size: 13px;
}
.villa-agenda {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px 28px;
}
.villa-agenda li {
  padding-top: 24px;
  border-top: 1px solid #747474;
}
.agenda-day {
  font-size: 12px;
  color: #ccc;
  letter-spacing: 0.04em;
  margin-bottom: 18px;
}
.villa-agenda h3 {
  font-size: 31px;
}
.villa-agenda li > p:not(.agenda-day) {
  font-size: 15px;
  color: #ddd;
}
.villa-agenda .agenda-evening {
  margin-bottom: 0;
}
.agenda-inclusions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  border-top: 1px solid #747474;
  padding-top: 24px;
  margin-top: 28px;
  font-size: 14px;
}
.travel-framework {
  background: #eeede9;
  color: var(--ink);
}
.travel-framework .eyebrow {
  color: #535353;
}
.travel-framework .section-intro > p {
  color: #444;
}
.travel-framework .fine {
  color: #555;
}
.framework-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px;
}
.framework-grid article {
  border-top: 1px solid #aaa;
  padding-top: 24px;
}
.framework-grid h3 {
  font-size: 32px;
}
.framework-grid p:last-child {
  margin-bottom: 0;
}
.framework-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 32px;
  margin-top: 24px;
}
@media (max-width: 1100px) {
  .villa-agenda {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 850px) {
  .framework-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .itinerary-heading {
    align-items: start;
    flex-direction: column;
    gap: 12px;
  }
}
@media (max-width: 600px) {
  .itinerary {
    padding: 20px 16px;
  }
  .itinerary img {
    aspect-ratio: 520/860;
  }
  .villa-agenda {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}
@media print {
  .villa-agenda {
    grid-template-columns: 1fr 1fr;
  }
  .villa-agenda li,
  .framework-grid article,
  .itinerary {
    break-inside: avoid;
  }
  .villa-agenda p,
  .villa-agenda li > p:not(.agenda-day),
  .villa-agenda .agenda-day {
    color: #222;
  }
}

.film-player {
  position: relative;
}
.sound-toggle {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  min-height: 44px;
  padding: 10px 16px;
  color: #fff;
  background: #111e;
  border: 1px solid #fff9;
  font-size: 12px;
}
.sound-toggle[hidden] {
  display: none;
}
@media (max-width: 600px) {
  .sound-toggle {
    top: 10px;
    right: 10px;
    font-size: 11px;
    padding: 8px 12px;
  }
}
/* Read a complete chapter within the usable screen; long galleries have their own navigation. */
:root {
  --header-size: 84px;
  --bottom-bar: 0px;
}
html {
  scroll-padding-top: calc(var(--header-size) + 12px);
  scroll-padding-bottom: calc(var(--bottom-bar) + 16px);
}
.section {
  padding-block: clamp(28px, 4svh, 48px);
}
h2 {
  font-size: clamp(36px, 3.5vw, 50px);
}
.section-intro {
  gap: 40px;
  margin-bottom: 26px;
}
.eyebrow {
  margin-bottom: 12px;
}
.header-inner {
  height: 84px;
}
.header-brand .mastermind-logo {
  width: 76px;
  height: 76px;
}
.scroll-header .header-brand {
  background: transparent;
  padding: 0;
}
.scroll-header.is-scrolled .header-inner {
  height: 76px;
}
.scroll-header.is-scrolled .mastermind-logo {
  width: 64px;
  height: 64px;
}
.hero-grid {
  min-height: 0;
  padding-top: 120px;
  padding-bottom: 36px;
}
.hero h1 {
  font-size: clamp(36px, 4.3vw, 62px);
}
.hero-lead {
  line-height: 1.65;
}
.price-seal {
  top: 128px;
}
.facts-grid {
  padding-block: 20px;
}
.card-body {
  padding: 20px;
}
.card-body p {
  line-height: 1.6;
  margin-bottom: 16px;
}
.card-body .checks {
  margin-top: 14px;
}
.checks li {
  margin-block: 8px;
}
.route {
  margin-top: 26px;
}
.itinerary {
  margin-top: 36px;
}
.itinerary img {
  max-height: calc(100svh - var(--header-size) - var(--bottom-bar) - 200px);
  object-fit: contain;
}
.rooms-intro,
.leisure-intro,
.memories-intro {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid #fff3;
}
.rooms-grid img {
  max-height: min(380px, 48svh);
  object-fit: cover;
}
.rooms-grid .photo-button {
  align-self: start;
}
.hospitality-grid {
  gap: 40px;
}
.hospitality figure img {
  max-height: 50svh;
  object-fit: cover;
}
.signature {
  min-height: 0;
}
.signature-content {
  padding-block: 48px;
}
.price-card {
  padding: 28px;
}
.pricing-layout {
  gap: 56px;
}
.feature-film {
  max-height: max(200px, calc(100svh - var(--header-size) - var(--bottom-bar) - 245px));
  width: auto;
  max-width: 100%;
  margin-inline: auto;
  object-fit: contain;
}
.film-credits {
  margin-top: 8px;
}
.film-credits summary {
  padding-block: 8px;
}
.gallery-controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  margin-bottom: 16px;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}
.gallery-controls button {
  min-width: 44px;
  min-height: 44px;
  border: 1px solid #777;
  color: inherit;
  background: transparent;
  font-size: 22px;
}
.gallery-controls button:disabled {
  opacity: 0.3;
  cursor: default;
}
.gallery-controls.mobile-only {
  display: none;
}
.villa-agenda,
.leisure-grid {
  display: grid;
  grid-auto-flow: column;
  grid-template-columns: none;
  grid-auto-columns: calc((100% - 48px) / 3);
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: #888 #222;
  padding-bottom: 14px;
  align-items: start;
}
.villa-agenda > li,
.leisure-grid > .photo-button {
  scroll-snap-align: start;
  margin: 0;
}
.villa-agenda > li {
  padding-top: 16px;
}
.villa-agenda .agenda-photo {
  margin-bottom: 16px;
}
.villa-agenda h3 {
  font-size: 29px;
}
.villa-agenda li > p:not(.agenda-day) {
  font-size: 14px;
  line-height: 1.65;
  margin-bottom: 14px;
}
.villa-agenda .agenda-day {
  margin-bottom: 12px;
}
.leisure-grid img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.agenda-inclusions {
  margin-top: 20px;
  padding-top: 18px;
}
@media (min-width: 851px) and (max-height: 800px) {
  .section-intro h2 {
    font-size: 40px;
  }
  .section-intro > p {
    font-size: 14px;
    line-height: 1.65;
  }
  .trip-photo {
    aspect-ratio: 2;
  }
  .card-body h3 {
    font-size: 27px;
  }
  .card-body p {
    font-size: 13px;
  }
  .domain-gallery {
    grid-template-rows: 160px 160px;
  }
}
@media (max-width: 1100px) {
  .villa-agenda,
  .leisure-grid {
    grid-auto-columns: calc((100% - 24px) / 2);
  }
}
@media (max-width: 850px) {
  .section-intro {
    gap: 16px;
  }
  .pricing-layout {
    gap: 28px;
  }
  .hospitality-grid {
    gap: 24px;
  }
}
@media (max-width: 600px) {
  :root {
    --header-size: 80px;
    --bottom-bar: calc(65px + env(safe-area-inset-bottom));
  }
  .header-inner {
    height: 80px;
  }
  .header-brand .mastermind-logo {
    width: 64px;
    height: 64px;
  }
  .scroll-header.is-scrolled .header-inner {
    height: 68px;
  }
  .scroll-header.is-scrolled .mastermind-logo {
    width: 56px;
    height: 56px;
  }
  h2,
  .signature h2 {
    font-size: 36px;
  }
  .hero-grid {
    padding-top: 92px;
    padding-bottom: 24px;
  }
  .hero .eyebrow {
    margin-top: 0;
  }
  .hero h1 {
    font-size: clamp(33px, 8.5vw, 44px);
  }
  .hero-lead {
    line-height: 1.65;
  }
  .price-seal {
    margin-top: 18px;
  }
  .section-intro > p {
    font-size: 14px;
    line-height: 1.7;
  }
  .gallery-controls.mobile-only {
    display: flex;
  }
  .trip-grid {
    display: grid;
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 100%;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    align-items: start;
    padding-bottom: 14px;
  }
  .trip-card {
    scroll-snap-align: start;
  }
  .trip-card:last-child {
    grid-column: auto;
    display: block;
  }
  .trip-photo,
  .trip-card:last-child .trip-photo {
    aspect-ratio: 1.9;
  }
  .card-body {
    padding: 18px;
  }
  .card-body h3 {
    font-size: 28px;
  }
  .card-body p,
  .card-body .checks li {
    font-size: 14px;
    line-height: 1.6;
  }
  .villa-agenda,
  .leisure-grid {
    grid-auto-columns: 100%;
  }
  .villa-agenda .agenda-photo > span {
    min-height: 48px;
  }
  .feature-film,
  .villa-film,
  .raid-film {
    aspect-ratio: 9 / 16;
    max-height: max(200px, calc(100svh - var(--header-size) - var(--bottom-bar) - 290px));
  }
  .domain-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 180px 150px;
    gap: 12px;
  }
  .domain-gallery .photo-button {
    display: flex;
  }
  .domain-gallery .large {
    grid-column: 1 / -1;
    grid-row: auto;
  }
  .domain-gallery img {
    height: 0;
    object-fit: cover;
  }
  .rooms-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .rooms-grid img {
    aspect-ratio: 4 / 3;
    object-fit: cover;
  }
  .rooms-grid .photo-button > span {
    font-size: 10px;
    padding: 10px;
  }
  .rooms-grid .photo-button > span > span {
    display: none;
  }
  .hospitality figure img {
    max-height: 30svh;
  }
  .hospitality-grid > div > p:last-child {
    margin-bottom: 0;
  }
  .signature-content {
    padding-block: 36px;
  }
  .mobile-cta {
    min-height: 60px;
    padding-block: 14px calc(14px + env(safe-area-inset-bottom));
  }
}
@media print {
  .gallery-controls {
    display: none !important;
  }
  .villa-agenda,
  .leisure-grid,
  .trip-grid {
    display: grid;
    grid-auto-flow: row;
    grid-auto-columns: auto;
    grid-template-columns: 1fr 1fr;
    overflow: visible;
  }
  .feature-film {
    display: none;
  }
}

@media (min-width: 851px) {
  .raid-films > .wrap,
  .films > .wrap {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 16px 40px;
    align-items: center;
  }
  .raid-films .section-intro,
  .films .section-intro {
    grid-template-columns: 1fr;
    gap: 20px;
    margin: 0;
  }
  .raid-films .film-credits,
  .films .film-credits {
    grid-column: 2;
    margin: 0;
  }
  .films #villa-film-description {
    margin: 0;
  }
  .feature-film {
    max-height: calc(100svh - var(--header-size) - 160px);
  }
}
@media (max-width: 600px) {
  .feature-film,
  .villa-film,
  .raid-film {
    max-height: max(180px, calc(100svh - var(--header-size) - var(--bottom-bar) - 335px));
  }
}
#loisirs-villa .leisure-intro,
#chambres-villa .rooms-intro {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
  max-width: 850px;
}
#chambres-villa .equipment-grid {
  margin-block: 24px;
}
#parcours-raid .itinerary {
  margin: 0;
}
.programme-layout {
  display: grid;
  grid-template-columns: 0.75fr 1.6fr;
  gap: 32px;
  align-items: start;
}
.programme-aside .section-intro {
  display: block;
}
.programme-aside .section-intro > p {
  margin-top: 22px;
}
.programme-aside .agenda-inclusions {
  display: block;
  font-size: 12px;
}
.programme-aside .agenda-inclusions span {
  display: block;
  margin-bottom: 10px;
}
.programme-days {
  min-width: 0;
}
.programme-days .villa-agenda {
  grid-auto-columns: calc((100% - 24px) / 2);
}
.challenge-grid .mountain img {
  max-height: 52svh;
}
.challenge-side .photo-button img {
  max-height: 28svh;
}
@media (max-width: 850px) {
  .programme-layout {
    display: flex;
    flex-direction: column;
    gap: 0;
  }
  .programme-aside {
    display: contents;
  }
  .programme-aside .section-intro {
    order: 0;
  }
  .programme-days {
    order: 1;
    width: 100%;
  }
  .programme-aside > .fine {
    order: 2;
  }
  .programme-aside .agenda-inclusions {
    order: 3;
  }
}
@media (max-width: 600px) {
  .programme-days .villa-agenda {
    grid-auto-columns: 100%;
  }
  .challenge-grid .mountain img,
  .challenge-side .photo-button img {
    max-height: 50svh;
    object-fit: contain;
  }
  #loisirs-villa .leisure-grid img {
    max-height: 26svh;
    object-fit: contain;
  }
  .hero-lead {
    font-size: 14px;
  }
  .hero-actions .button {
    min-height: 44px;
    padding-block: 12px;
  }
}
/* Keep the full day card visible on shorter laptop screens. */
@media (min-width: 851px) and (max-height: 800px) {
  .villa-agenda .agenda-photo {
    max-width: max(180px, calc((100svh - var(--header-size) - 500px) * 4 / 3));
    margin-inline: auto;
  }
}
@media (max-width: 600px) {
  #films .section-intro h2 {
    font-size: 32px;
  }
  #films .section-intro > p {
    margin-bottom: 0;
  }
}
