/* Maje Hotels — group site */

:root {
  --paper: #fbf9f5;
  --ivory: #f3eee4;
  --ink: #1d1b18;
  --ink-2: #26231f;
  --muted: #6b655c;
  --gold: #a0844f;
  --gold-deep: #7d6538;
  --gold-light: #e4d3ae;
  --rule: rgba(29, 27, 24, .12);
  --font-display: "Cormorant Garamond", Garamond, "Times New Roman", serif;
  --font-body: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --pad: clamp(16px, 4vw, 64px);
  --max: 1360px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --header-h: 80px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 15px/1.7 var(--font-body); overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, p, dl, dd { margin: 0; }
h1, h2, h3 { font-weight: 400; }
ul, ol { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: var(--paper); padding: 10px 16px; }
.skip-link:focus { top: 16px; }

.eyebrow { font-size: 11px; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 16px; }
.display { font-family: var(--font-display); font-size: clamp(34px, 4.4vw, 58px); line-height: 1.05; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 0 28px; border: 1px solid transparent; background: none;
  font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; text-decoration: none; white-space: nowrap;
  transition: background .3s, color .3s, border-color .3s;
}
.btn--gold { background: var(--gold); color: #fff; }
.btn--gold:hover { background: var(--gold-deep); }
.btn--line { border-color: currentColor; }
.btn--line:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.btn--sm { min-height: 40px; padding: 0 20px; }

/* Header */
.header { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h); color: #fff; transition: background .35s, color .35s, box-shadow .35s; }
.header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(rgba(0,0,0,.35), transparent); transition: opacity .35s; }
.header__inner { height: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.header__nav { display: flex; gap: 26px; }
.header__nav a, .header__link { font-size: 11px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; text-decoration: none; padding: 6px 0; border-bottom: 1px solid transparent; transition: border-color .3s; }
.header__nav a:hover, .header__link:hover { border-color: currentColor; }
.header__logo { position: relative; width: 120px; transition: width .35s; }
.header__logo img { width: 100%; transition: opacity .35s; }
.header__logo .logo--dark { position: absolute; inset: 0; opacity: 0; }
.header__tools { justify-self: end; display: flex; align-items: center; gap: 22px; }
.header.is-solid { --header-h: 66px; background: rgba(251, 249, 245, .97); color: var(--ink); box-shadow: 0 1px 0 var(--rule); }
.header.is-solid::before { opacity: 0; }
.header.is-solid .header__logo { width: 100px; }
.header.is-solid .logo--light { opacity: 0; }
.header.is-solid .logo--dark { opacity: 1; }
.lang { display: flex; }
.lang__btn { border: 0; background: none; padding: 6px; font-size: 11px; font-weight: 500; letter-spacing: .12em; opacity: .55; }
.lang__btn[aria-pressed="true"] { opacity: 1; text-decoration: underline; text-underline-offset: 6px; }

/* Hero */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 560px; max-height: 1000px; overflow: hidden; background: var(--ink); color: #fff; }
.hero__slides, .hero__slide { position: absolute; inset: 0; margin: 0; }
.hero__slide { opacity: 0; transition: opacity 1.4s var(--ease); }
.hero__slide.is-active { opacity: 1; }
.hero__slide picture { display: block; width: 100%; height: 100%; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 8s linear; }
.hero__slide.is-active img { transform: none; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 50%, rgba(0,0,0,.35) 100%), rgba(0,0,0,.35); pointer-events: none; }
.hero__inner { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; max-width: var(--max); margin: 0 auto; padding: 0 var(--pad) 56px; }
.hero__title { font-family: var(--font-display); font-size: clamp(38px, 4.6vw, 68px); line-height: .95; margin-bottom: clamp(24px, 4vh, 44px); }
.hero__lines { display: grid; }
.hero__line { grid-area: 1 / 1; opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .9s var(--ease); }
.hero__line.is-active { opacity: 1; transform: none; transition-delay: .25s; }
.hero__eyebrow { display: block; font: 500 11px/1 var(--font-body); letter-spacing: .32em; text-transform: uppercase; margin-bottom: 22px; color: var(--gold-light); }
.hero__nav { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.hero__nav button { position: relative; width: 100%; text-align: left; border: 0; background: none; color: #fff; padding: 14px 0 0; opacity: .6; transition: opacity .3s; }
.hero__nav button:hover, .hero__nav button[aria-current="true"] { opacity: 1; }
.hero__nav button::before, .hero__nav i { content: ""; position: absolute; top: 0; left: 0; height: 1px; }
.hero__nav button::before { right: 0; background: rgba(255,255,255,.35); }
.hero__nav i { width: 0; background: #fff; }
.hero__nav button[aria-current="true"] i { animation: progress var(--dur, 6500ms) linear forwards; }
.hero.is-paused .hero__nav i { animation-play-state: paused; }
.hero__name { display: block; font-family: var(--font-display); font-size: 22px; line-height: 1.2; }
.hero__place { font-size: 10px; letter-spacing: .24em; text-transform: uppercase; }
@keyframes progress { to { width: 100%; } }

/* Booking dialog */
.book { width: min(760px, calc(100vw - 24px)); max-height: calc(100vh - 24px); border: 0; padding: clamp(24px, 4vw, 44px); background: var(--paper); color: var(--ink); }
.book::backdrop { background: rgba(20, 17, 13, .6); backdrop-filter: blur(4px); }
.book[open] { animation: bookIn .45s var(--ease); }
@keyframes bookIn { from { opacity: 0; transform: translateY(16px); } }
.book__close { position: absolute; top: 10px; right: 14px; border: 0; background: none; font-size: 32px; line-height: 1; padding: 4px 8px; }
.book__title { font-family: var(--font-display); font-size: clamp(28px, 3.4vw, 42px); line-height: 1.05; }
.book__note { margin: 10px 0 24px; font-size: 13px; color: var(--muted); }
.book__list { display: grid; gap: 10px; }
.book__row { display: grid; grid-template-columns: 96px 1fr auto; gap: 18px; align-items: center; padding: 10px; background: #fff; border-left: 3px solid var(--gold); }
.book__row--sunrise { border-color: #2f6f73; } .book__row--arona { border-color: #8a6a3c; }
.book__row--laren { border-color: #9a5b3c; } .book__row--beceren { border-color: #3f5873; }
.book__row img { width: 96px; height: 72px; object-fit: cover; }
.book__name strong { display: block; font-family: var(--font-display); font-weight: 400; font-size: 21px; line-height: 1.15; }
.book__name span { font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.book__actions { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.book__tel { font-size: 13px; text-decoration: none; color: var(--muted); }
.book__tel:hover { color: var(--ink); text-decoration: underline; }
@media (max-width: 560px) {
  .book__row { grid-template-columns: 64px 1fr; gap: 12px; }
  .book__row img { width: 64px; height: 56px; }
  .book__actions { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; }
}

/* Sections */
.section { max-width: var(--max); margin: 0 auto; padding: clamp(48px, 6vw, 84px) var(--pad); }
.section__head { margin-bottom: clamp(24px, 3vw, 40px); text-align: center; }

/* Chooser heading — leads straight into the hotel chapters */
.chooser { padding-bottom: clamp(20px, 2.5vw, 32px); }
.chooser .section__head { margin-bottom: 0; }

/* Hotel chapters — editorial cover + info strip, each hotel with its own tint */
.hotel { --tint: var(--ivory); background: var(--tint); padding: clamp(40px, 5vw, 72px) var(--pad); }
.hotel--sunrise { --tint: #e8efee; --accent: #2f6f73; }
.hotel--arona   { --tint: #efebe2; --accent: #8a6a3c; }
.hotel--laren   { --tint: #f5eee7; --accent: #9a5b3c; }
.hotel--beceren { --tint: #e9edf2; --accent: #3f5873; }
.hotel__cover { position: relative; max-width: var(--max); margin: 0 auto; }
.hotel__lead { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; }
.hotel__cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.15) 45%, rgba(0,0,0,0) 70%); pointer-events: none; }
.hotel__title { position: absolute; z-index: 2; left: clamp(20px, 4vw, 56px); bottom: clamp(24px, 4vw, 52px); color: #fff; max-width: 60%; }
.hotel__num { display: block; font-family: var(--font-display); font-style: italic; font-size: clamp(56px, 7vw, 104px); line-height: .8; color: rgba(255,255,255,.32); margin-bottom: 14px; }
.hotel__place { font-size: 11px; font-weight: 500; letter-spacing: .28em; text-transform: uppercase; margin-bottom: 10px; color: var(--gold-light); }
.hotel__name { font-family: var(--font-display); font-size: clamp(40px, 5.2vw, 76px); line-height: .95; }
.hotel__need { margin-top: 14px; font-size: clamp(14px, 1.2vw, 16px); max-width: 38ch; opacity: .92; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.35); }
.hotel__name em { font-style: italic; font-size: .62em; display: block; margin-top: 6px; opacity: .9; }
.hotel__thumbs { position: absolute; z-index: 3; right: clamp(16px, 3vw, 40px); bottom: 0; transform: translateY(42%); display: flex; gap: 10px; }
.hotel__thumbs img { width: clamp(130px, 15vw, 210px); aspect-ratio: 4 / 3; object-fit: cover; border: 6px solid var(--tint); box-shadow: 0 18px 40px -20px rgba(0,0,0,.45); transition: transform .5s var(--ease); }
.hotel__thumbs img:hover { transform: translateY(-6px); }
.hotel__info { max-width: var(--max); margin: 0 auto; padding-top: clamp(32px, 4vw, 52px); display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: start; }
.hotel__text { font-family: var(--font-display); font-size: clamp(20px, 1.7vw, 24px); line-height: 1.45; color: var(--ink); }
.hotel__near { margin-top: 18px; font-size: 13px; color: var(--muted); padding-left: 14px; border-left: 2px solid var(--accent, var(--gold)); }
.hotel__list { margin-top: 18px; font-size: 13px; }
.hotel__list li { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px solid rgba(29,27,24,.08); }
.hotel__list b { font-weight: 600; white-space: nowrap; }
.hotel__list span { color: var(--muted); text-align: right; }
.hotel__side { padding-top: clamp(28px, 3vw, 40px); }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.facts > div { background: rgba(255,255,255,.65); padding: 14px 14px 12px; }
.facts dt { font-size: 10px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.facts dd { font-family: var(--font-display); font-size: clamp(19px, 1.7vw, 25px); line-height: 1.12; margin-top: 4px; color: var(--accent, var(--ink)); }
.hotel__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.hotel .btn--gold { background: var(--accent, var(--gold)); }
.hotel .btn--gold:hover { background: var(--ink); }

/* Experiences carousel (BLESS-style) */
.exp { padding: clamp(48px, 6vw, 84px) 0; background: var(--ivory); overflow: hidden; }
.exp__head { max-width: var(--max); margin: 0 auto 28px; padding: 0 var(--pad); display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.exp__ctrl { display: flex; gap: 10px; }
.round { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--ink); background: none; font-size: 18px; transition: background .3s, color .3s, opacity .3s; }
.round:hover { background: var(--ink); color: var(--paper); }
.round:disabled { opacity: .25; pointer-events: none; }
.exp__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: clamp(250px, 24vw, 360px); gap: 16px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain;
  padding: 0 var(--pad); scroll-padding: 0 var(--pad);
  padding-left: max(var(--pad), calc((100vw - var(--max)) / 2 + var(--pad)));
  scroll-padding-left: max(var(--pad), calc((100vw - var(--max)) / 2 + var(--pad)));
}
.exp__track::-webkit-scrollbar { display: none; }
.exp__track { cursor: grab; user-select: none; -webkit-user-select: none; }
.exp__track.is-dragging { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; }
.exp__track.is-dragging a { pointer-events: none; }
.exp__track img { -webkit-user-drag: none; }
.card { scroll-snap-align: start; }
.card a { position: relative; display: flex; flex-direction: column; justify-content: flex-end; aspect-ratio: 3 / 4; overflow: hidden; color: #fff; text-decoration: none; padding: 24px; }
.card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.card a::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(0,0,0,.7) 100%); transition: background .5s; }
.card a > span { position: relative; z-index: 2; }
.card__hotel { font-size: 10px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 6px; }
.card__hotel::before { content: ""; display: inline-block; width: 18px; height: 2px; margin-right: 8px; vertical-align: middle; background: currentColor; }
.card--sunrise .card__hotel { color: #9fd3cf; }
.card--arona .card__hotel { color: #e4cf9e; }
.card--laren .card__hotel { color: #f0b796; }
.card--beceren .card__hotel { color: #b9cce3; }
.card__title { font-family: var(--font-display); font-size: 27px; line-height: 1.1; }
.card__text { font-size: 13.5px; line-height: 1.55; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .6s var(--ease), opacity .4s, margin .6s var(--ease); }
.card a:hover img, .card a:focus-visible img { transform: scale(1.06); }
.card a:hover::before, .card a:focus-visible::before { background: linear-gradient(180deg, rgba(0,0,0,.1) 20%, rgba(0,0,0,.8) 100%); }
.card a:hover .card__text, .card a:focus-visible .card__text { max-height: 120px; opacity: .92; margin-top: 10px; }

/* Season banner (One Shot-style) */
.season { max-width: 1600px; margin: 0 auto; padding: clamp(40px, 5vw, 72px) var(--pad); }
.season__frame { position: relative; min-height: clamp(380px, 44vw, 500px); overflow: hidden; display: flex; align-items: center; justify-content: flex-end; color: #fff; background: var(--ink); }
.season__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity 1s var(--ease), transform 6s var(--ease); }
.season__img--winter { opacity: 0; transform: scale(1.05); }
.season[data-season="winter"] .season__img--winter { opacity: 1; transform: none; }
.season[data-season="winter"] .season__img--summer { opacity: 0; transform: scale(1.05); }
.season__frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,0) 30%, rgba(20,17,13,.72) 100%); }
.season__content { position: relative; z-index: 2; width: min(480px, 100%); padding: clamp(32px, 5vw, 64px); }
.season__switch { display: inline-flex; border: 1px solid rgba(255,255,255,.5); border-radius: 999px; padding: 4px; margin-bottom: 28px; }
.season__switch button { border: 0; background: none; color: #fff; padding: 8px 20px; border-radius: 999px; font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; transition: background .35s, color .35s; }
.season__switch button[aria-pressed="true"] { background: #fff; color: var(--ink); }
.season__title { font-family: var(--font-display); font-size: clamp(38px, 4.4vw, 60px); line-height: 1; margin-bottom: 18px; }
.season__text { font-size: 15px; opacity: .92; margin-bottom: 30px; max-width: 40ch; }
.btn--white { background: #fff; color: var(--ink); border-radius: 4px; text-transform: none; letter-spacing: .02em; font-size: 14px; font-weight: 500; }
.btn--white:hover { background: var(--gold-light); }

/* Contact */
.contact__list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.contact__list li { display: flex; flex-direction: column; gap: 4px; padding: 26px 24px 22px; background: #fff; border-top: 3px solid var(--gold); transition: transform .4s var(--ease), box-shadow .4s; }
.contact__list li:nth-child(1) { border-color: #2f6f73; }
.contact__list li:nth-child(2) { border-color: #8a6a3c; }
.contact__list li:nth-child(3) { border-color: #9a5b3c; }
.contact__list li:nth-child(4) { border-color: #3f5873; }
.contact__list li:hover { transform: translateY(-4px); box-shadow: 0 24px 40px -28px rgba(29,27,24,.4); }
.contact__list h3 { font-family: var(--font-display); font-size: 24px; line-height: 1.15; margin-bottom: 10px; }
.contact__list p { font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.contact__list a { font-size: 14px; text-decoration: none; overflow-wrap: anywhere; }
.contact__list a:hover { color: var(--gold-deep); text-decoration: underline; }

/* Footer */
.footer { background: var(--ink-2); color: rgba(255,255,255,.8); padding: 48px var(--pad) 24px; font-size: 14px; }
.footer__inner { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 40px; padding-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer__logo { width: 150px; }
.footer__label { font-size: 10px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 14px; }
.footer address { line-height: 1.9; }
.footer__hotels { display: flex; flex-direction: column; gap: 6px; }
.footer a { text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.footer__legal { max-width: var(--max); margin: 24px auto 0; font-size: 12px; opacity: .6; }

/* Reveal */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1180px) {
  .contact__list { grid-template-columns: repeat(2, 1fr); }
  .facts { grid-template-columns: 1fr 1fr; }
  .header__nav { display: none; }
  .header__inner { grid-template-columns: auto 1fr; }
  .header__logo { justify-self: start; }
}
@media (max-width: 860px) {
  .hero { height: 82vh; height: 82svh; min-height: 520px; }
  .hotel { padding-left: 0; padding-right: 0; }
  .hotel__lead { aspect-ratio: 4 / 5; }
  .hotel__num { display: none; }
  .hotel__cover::after { background: linear-gradient(0deg, rgba(0,0,0,.65) 0%, rgba(0,0,0,0) 60%); }
  .hotel__title { max-width: none; right: 20px; bottom: 76px; }
  .hotel__thumbs { left: var(--pad); right: auto; transform: translateY(40%); }
  .hotel__thumbs img { width: 38vw; border-width: 4px; }
  .hotel__info { grid-template-columns: 1fr; gap: 0; padding: 72px var(--pad) 0; }
  :root { --header-h: 64px; }
  .header__link { display: none; }
  .header__logo, .header.is-solid .header__logo { width: 92px; }
  .header__tools { gap: 8px; }
  .hero__inner { padding-bottom: 36px; }
  .hero__nav { gap: 10px; }
  .hero__name { display: none; }
  .hero__place { display: block; font-family: var(--font-display); font-size: 17px; letter-spacing: 0; text-transform: none; }
  .facts { grid-template-columns: 1fr 1fr; }
  .footer__inner { grid-template-columns: 1fr; }
  .exp__ctrl { display: none; }
  .exp__track { grid-auto-columns: 74vw; }
  .card__text { max-height: none; opacity: .92; margin-top: 8px; }
  .season__frame { align-items: flex-end; }
  .season__frame::after { background: linear-gradient(180deg, rgba(0,0,0,0) 20%, rgba(20,17,13,.78) 100%); }
}
@media (max-width: 560px) {
  .contact__list { grid-template-columns: 1fr; }
  .btn--sm { padding: 0 12px; letter-spacing: .12em; }
  .hotel__actions .btn { flex: 1 1 auto; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}
