/* Jade Beach: deep jade, sand and brass, with Gilda Display headings and Jost text.
   Used by the six main pages. The support page loads it next to Webflow's CSS for the
   header and footer only, so every class is prefixed jd- and page-wide rules sit
   under body.jade. */

@font-face {
  font-family: "Gilda Display";
  src: url("../fonts/gilda-display-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Jost";
  src: url("../fonts/jost-latin.woff2") format("woff2");
  font-weight: 300 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --jd-sand: #f5f0e6;
  --jd-paper: #fbf8f2;
  --jd-ink: #1d2a27;
  --jd-muted: #56625e;
  --jd-brass: #80602f;
  --jd-brass-light: #c9a46c;
  --jd-jade: #133c36;
  --jd-on-jade: #e8e1d2;
  --jd-sea: #dfe7e1;
  --jd-line: #d9cfbd;
  --jd-display: "Gilda Display", Didot, "Bodoni 72", Georgia, serif;
  --jd-text: "Jost", Futura, "Avenir Next", "Helvetica Neue", sans-serif;
  --jd-gutter: clamp(20px, 5vw, 64px);
  --jd-section: clamp(72px, 9vw, 136px);
  --jd-scrim: rgba(8, 20, 18, .55);
}

/* ---------- Page base ---------- */
body.jade {
  margin: 0;
  background: var(--jd-sand);
  color: var(--jd-ink);
  font: 300 17px/1.7 var(--jd-text);
  -webkit-font-smoothing: antialiased;
}
.jade *, .jade *::before, .jade *::after,
.jd-header, .jd-header *, .jd-footer, .jd-footer * { box-sizing: border-box; }
.jade img { display: block; max-width: 100%; }
.jade a { color: inherit; }
.jade :focus-visible { outline: 2px solid var(--jd-brass); outline-offset: 3px; }
html.jd-menu-open { overflow: hidden; }

.jd-skip {
  position: absolute; left: -9999px; top: 12px; z-index: 40;
  background: var(--jd-paper); color: var(--jd-ink); padding: 10px 16px; font: 500 14px var(--jd-text);
}
.jd-skip:focus { left: 12px; }

.jd-wrap { width: 100%; max-width: 1280px; margin-inline: auto; padding-inline: var(--jd-gutter); }
.jd-section { padding-block: var(--jd-section); }
.jd-section--flush { padding-top: 0; }

/* ---------- Type ---------- */
.jd-eyebrow {
  margin: 0; font: 500 12px/1.4 var(--jd-text); letter-spacing: .24em; text-transform: uppercase;
}
.jd-eyebrow--brass { color: var(--jd-brass); }
.jd-h1, .jd-h2, .jd-h3 {
  margin: 0; font-family: var(--jd-display); font-weight: 400; line-height: 1.08; text-wrap: balance;
}
.jd-h1 { font-size: clamp(46px, 6.4vw, 96px); }
.jd-h2 { font-size: clamp(34px, 3.8vw, 54px); }
.jd-h3 { font-size: clamp(23px, 2vw, 28px); line-height: 1.2; }
.jd-lead { margin: 0; max-width: 56ch; font-size: clamp(17px, 1.35vw, 19px); color: var(--jd-muted); }

.jd-link {
  display: inline-flex; align-items: center; gap: 10px; color: var(--jd-brass); text-decoration: none;
  font: 500 12px/1.4 var(--jd-text); letter-spacing: .2em; text-transform: uppercase;
}
.jd-link::after { content: ""; width: 28px; height: 1px; background: currentColor; transition: width .25s ease; }
a:hover > .jd-link::after, .jd-link:hover::after { width: 44px; }

.jd-btn {
  display: inline-flex; align-items: center; justify-content: center; padding: 14px 24px;
  border: 1px solid currentColor; color: inherit; text-decoration: none; white-space: nowrap;
  font: 500 12px/1 var(--jd-text); letter-spacing: .2em; text-transform: uppercase;
  transition: background-color .25s ease, color .25s ease;
}
.jd-btn:hover { background: var(--jd-jade); border-color: var(--jd-jade); color: var(--jd-on-jade); }

/* ---------- Header ---------- */
.jd-header {
  position: fixed; inset: 0 0 auto; z-index: 20;
  display: flex; align-items: center; gap: 28px; padding: 22px var(--jd-gutter);
  color: #fff; font-family: var(--jd-text); -webkit-font-smoothing: antialiased;
  transition: background-color .3s ease, color .3s ease, padding .3s ease, box-shadow .3s ease;
}
.jd-header::before {
  content: ""; position: absolute; inset: 0 0 -48px; z-index: -1; pointer-events: none;
  background: linear-gradient(rgba(8, 20, 18, .5), rgba(8, 20, 18, 0)); transition: opacity .3s ease;
}
.jd-header.is-solid { background: var(--jd-sand); color: var(--jd-ink); padding-block: 14px; box-shadow: 0 1px 0 var(--jd-line); }
.jd-header.is-solid::before { opacity: 0; }
.jd-header a { color: inherit; text-decoration: none; }
.jd-brand { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 12px; margin-right: auto; }
.jd-lotus {
  width: 34px; height: 34px; flex: none; background: currentColor;
  -webkit-mask: url("../assets/659ff294f3af15c4fe42f6cc_icons8-lotus-100-1.png") center / contain no-repeat;
  mask: url("../assets/659ff294f3af15c4fe42f6cc_icons8-lotus-100-1.png") center / contain no-repeat;
}
.jd-wordmark { font: 500 14px/1 var(--jd-text); letter-spacing: .34em; text-transform: uppercase; white-space: nowrap; }
.jd-nav { display: flex; align-items: center; gap: clamp(16px, 2vw, 30px); }
.jd-nav a {
  padding-block: 8px; border-bottom: 1px solid transparent;
  font: 400 12px/1 var(--jd-text); letter-spacing: .18em; text-transform: uppercase;
}
.jd-nav a[aria-current="page"], .jd-nav a:hover { border-bottom-color: currentColor; }
.jd-nav .jd-btn { display: none; }
.jd-header__cta.jd-btn:hover { background: #fff; border-color: #fff; color: var(--jd-jade); }
.jd-header.is-solid .jd-header__cta.jd-btn:hover { background: var(--jd-jade); border-color: var(--jd-jade); color: var(--jd-on-jade); }
.jd-menu-button {
  position: relative; z-index: 1; display: none; width: 44px; height: 44px; margin: -10px -10px -10px 0;
  border: 0; background: none; color: inherit; cursor: pointer;
}
.jd-menu-button span, .jd-menu-button::before, .jd-menu-button::after {
  content: ""; position: absolute; left: 10px; right: 10px; height: 1.5px; background: currentColor;
  transition: transform .25s ease, opacity .25s ease;
}
.jd-menu-button::before { top: 15px; }
.jd-menu-button span { top: 21px; }
.jd-menu-button::after { top: 27px; }
.jd-header.is-open .jd-menu-button::before { transform: translateY(6px) rotate(45deg); }
.jd-header.is-open .jd-menu-button span { opacity: 0; }
.jd-header.is-open .jd-menu-button::after { transform: translateY(-6px) rotate(-45deg); }
.jd-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

@media (max-width: 1080px) {
  .jd-header__cta { display: none; }
  .jd-menu-button { display: block; }
  .jd-nav { display: none; }
  .jd-header.is-open { color: var(--jd-on-jade); background: transparent; box-shadow: none; }
  .jd-header.is-open::before { opacity: 0; }
  .jd-header.is-open .jd-nav {
    position: fixed; inset: 0; z-index: 0; display: flex; flex-direction: column; align-items: flex-start;
    justify-content: center; gap: 14px; padding: 110px var(--jd-gutter) 48px; overflow-y: auto;
    background: var(--jd-jade);
  }
  .jd-header.is-open .jd-nav a:not(.jd-btn) {
    font: 400 clamp(30px, 7vw, 44px)/1.2 var(--jd-display); letter-spacing: 0; text-transform: none; padding-block: 2px;
  }
  .jd-header.is-open .jd-nav .jd-btn { display: inline-flex; margin-top: 22px; }
}
@media (max-width: 560px) {
  .jd-header { padding-block: 16px; }
  .jd-lotus { width: 28px; height: 28px; }
  .jd-wordmark { font-size: 12px; letter-spacing: .3em; }
}

/* ---------- Heroes ---------- */
.jd-hero { position: relative; isolation: isolate; display: flex; overflow: hidden; color: #fff; background: var(--jd-jade); }
.jd-hero__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.jd-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(8, 20, 18, .3) 0%, rgba(8, 20, 18, 0) 30%, rgba(8, 20, 18, 0) 42%, rgba(8, 20, 18, .62) 100%);
}
.jd-hero--home { min-height: max(560px, min(100svh, 980px)); }
.jd-hero--home .jd-hero__img { object-position: 68% 50%; }
.jd-hero--page { min-height: max(460px, min(72svh, 720px)); }
.jd-hero--band { background: linear-gradient(135deg, #0f302b 0%, #133c36 55%, #24564d 100%); }
.jd-hero--band::after { content: none; }
.jd-hero__inner { margin-top: auto; padding-block: 150px clamp(48px, 7vw, 96px); display: grid; gap: 16px; justify-items: start; }
.jd-hero__sub { margin: 4px 0 0; font: 400 13px/1.6 var(--jd-text); letter-spacing: .22em; text-transform: uppercase; opacity: .92; }
.jd-hero .jd-lead { color: rgba(255, 255, 255, .86); }
.jd-hero--band .jd-eyebrow { color: var(--jd-brass-light); }
.jd-hero--triptych::after {
  background: linear-gradient(180deg, rgba(8, 20, 18, .35) 0%, rgba(8, 20, 18, .05) 30%, rgba(8, 20, 18, .2) 52%, rgba(8, 20, 18, .75) 100%);
}
.jd-triptych { position: absolute; inset: 0; z-index: -2; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; }
.jd-triptych img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Intro ---------- */
.jd-intro { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.jd-intro__text { display: grid; gap: 22px; justify-items: start; }
.jd-intro__media { display: grid; grid-template-columns: 1.15fr 1fr; gap: 18px; align-items: end; }
.jd-intro__media img { width: 100%; object-fit: cover; }
.jd-intro__media img:first-child { aspect-ratio: 4 / 5; }
.jd-intro__media img:last-child { aspect-ratio: 1; margin-bottom: 64px; }
.jd-intro--page { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: start; }
.jd-intro--page .jd-lead { color: var(--jd-ink); }

/* ---------- Pillars and cross-links ---------- */
.jd-pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 32px); }
.jd-pillar { display: grid; gap: 16px; align-content: start; text-decoration: none; }
.jd-pillar__img { overflow: hidden; }
.jd-pillar img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; transition: transform .6s ease; }
.jd-pillar:hover img { transform: scale(1.03); }

.jd-more { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 32px); }
.jd-more a { position: relative; display: block; overflow: hidden; color: #fff; text-decoration: none; }
.jd-more img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .6s ease; }
.jd-more a:hover img { transform: scale(1.03); }
.jd-more a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 20, 18, 0) 40%, var(--jd-scrim)); }
.jd-more__label { position: absolute; left: 24px; right: 24px; bottom: 22px; z-index: 1; display: grid; gap: 8px; }
.jd-more .jd-link { color: #fff; }

/* ---------- Turneo elements ---------- */
.jd-head { display: grid; gap: 14px; justify-items: start; margin-bottom: clamp(24px, 3vw, 40px); }
.jade turneo-element { display: block; }
.jd-element + .jd-element { padding-top: 0; }

/* ---------- Gift voucher band ---------- */
.jd-band { background: var(--jd-sea); }
.jd-band__inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 48px; align-items: center; }
.jd-band__inner > div { display: grid; gap: 14px; justify-items: start; }
.jd-band .jd-btn { color: var(--jd-jade); }

/* ---------- Footer ---------- */
.jd-footer {
  padding-block: 72px 32px; background: var(--jd-jade); color: var(--jd-on-jade);
  font: 300 15px/1.7 var(--jd-text); -webkit-font-smoothing: antialiased;
}
.jd-footer a { color: inherit; text-decoration: none; }
.jd-footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.jd-footer__grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 40px; }
.jd-footer .jd-brand { margin: 0 0 18px; }
.jd-footer__title {
  margin: 0 0 14px; font: 500 11px/1.4 var(--jd-text); letter-spacing: .24em; text-transform: uppercase; color: var(--jd-brass-light);
}
.jd-footer ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.jd-footer address { font-style: normal; opacity: .85; }
.jd-footer__base {
  margin-top: 56px; padding-top: 22px; border-top: 1px solid rgba(232, 225, 210, .18);
  font-size: 13px; opacity: .75;
}

/* ---------- Narrow screens ---------- */
@media (max-width: 860px) {
  .jd-intro, .jd-intro--page, .jd-band__inner { grid-template-columns: minmax(0, 1fr); }
  .jd-intro__media img:last-child { margin-bottom: 40px; }
  .jd-pillars {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; scrollbar-width: none;
    margin-inline: calc(-1 * var(--jd-gutter)); padding-inline: var(--jd-gutter);
  }
  .jd-pillar { flex: 0 0 min(78%, 340px); scroll-snap-align: start; }
  .jd-more { grid-template-columns: minmax(0, 1fr); }
  .jd-footer__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .jd-footer__grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .jd-hero--home { min-height: max(520px, min(88svh, 760px)); }
  .jd-triptych { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .jd-triptych img:nth-child(3) { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .jade *, .jade *::before, .jade *::after, .jd-header, .jd-header * { transition: none !important; }
}
