/*
 * Journey With Purpose / Sustainability
 * Scoped to .jwp-sustainability and page-owned overlays.
 * No Tailwind, React or global theme resets required.
 */

.jwp-sustainability,
.jwp-certificate-dialog {
    --jwp-red: #e30079;
    --jwp-red-dark: #c9036c;
    --jwp-forest: #253b32;
    --jwp-forest-deep: #172820;
    --jwp-sage: #87998a;
    --jwp-sand: #eee8dd;
    --jwp-earth: #a56f4f;
    --jwp-ink: #19221b;
    --jwp-muted: #555d56;
    --jwp-border: #e2ddd3;
    --jwp-white: #ffffff;
    --jwp-soft: #f7f4ee;
    --jwp-font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
    --jwp-font-sans: "Jost", Arial, sans-serif;
    --jwp-shadow: 0 18px 40px rgba(31, 43, 38, 0.14);
    --jwp-shadow-soft: 0 14px 32px rgba(31, 43, 38, 0.09);
    --jwp-container: 1344px;
}

.jwp-sustainability,
.jwp-sustainability *,
.jwp-sustainability *::before,
.jwp-sustainability *::after,
.jwp-certificate-dialog,
.jwp-certificate-dialog * {
    box-sizing: border-box;
}

.jwp-sustainability {
    position: relative;
    overflow: clip;
    background: var(--jwp-white);
    color: var(--jwp-ink);
    font-family: var(--jwp-font-sans);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.625;
    -webkit-font-smoothing: antialiased;
}

.jwp-sustainability img {
    display: block;
    max-width: 100%;
}

.jwp-sustainability :where(a) {
    color: inherit;
}

.jwp-sustainability button,
.jwp-sustainability input,
.jwp-sustainability textarea,
.jwp-certificate-dialog button {
    font: inherit;
}

.jwp-sustainability button,
.jwp-certificate-dialog button {
    cursor: pointer;
}

.jwp-sustainability :where(ul, ol) {
    margin: 0;
    padding: 0;
}

.jwp-sustainability address {
    font-style: normal;
}

.jwp-sustainability :where(h1, h2, h3, p, blockquote, figure) {
    margin: 0;
}

.jwp-sustainability :focus-visible,
.jwp-certificate-dialog :focus-visible {
    outline: 2px solid var(--jwp-red);
    outline-offset: 3px;
}

.jwp-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.jwp-container {
    width: min(100%, var(--jwp-container));
    margin-inline: auto;
    padding-inline: 48px;
}

.jwp-container--narrow {
    max-width: 900px;
}

.jwp-section {
    position: relative;
    padding-block: 112px;
    scroll-margin-top: 96px;
}

.jwp-section--soft {
    background: var(--jwp-soft);
}

.jwp-section--sand {
    background: var(--jwp-sand);
}

.jwp-section--forest {
    background: var(--jwp-forest);
    color: var(--jwp-sand);
}

.jwp-eyebrow {
    margin-bottom: 0;
    color: var(--jwp-earth);
    font-family: var(--jwp-font-sans);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.22em;
    line-height: 1.4;
    text-transform: uppercase;
}

.jwp-eyebrow--light {
    color: rgba(238, 232, 221, 0.76);
}

.jwp-display-xl,
.jwp-display-lg,
.jwp-display-md {
    margin-bottom: 0;
    font-family: var(--jwp-font-display);
    text-wrap: balance;
}

.jwp-display-xl {
    font-size: clamp(2.6rem, 7vw, 5.6rem);
    font-weight: 300;
    letter-spacing: -0.015em;
    line-height: 0.98;
}

.jwp-display-lg {
    font-size: clamp(2.1rem, 4.6vw, 3.6rem);
    font-weight: 300;
    letter-spacing: -0.012em;
    line-height: 1.03;
}

.jwp-display-md {
    font-size: clamp(1.5rem, 2.6vw, 2.1rem);
    font-weight: 400;
    line-height: 1.12;
}

.jwp-section-heading {
    max-width: 780px;
}

.jwp-section-heading .jwp-display-lg {
    margin-top: 14px;
}

.jwp-section-heading > p:last-child {
    max-width: 720px;
    margin: 20px 0 0;
    color: var(--jwp-muted);
    font-size: 1.125rem;
    line-height: 1.625;
}

.jwp-section-heading--light .jwp-display-lg,
.jwp-section-heading--light > p:last-child {
    color: var(--jwp-sand);
}

.jwp-section-heading--light > p:last-child {
    color: rgba(238, 232, 221, 0.72);
}

.jwp-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.jwp-action {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 24px;
    border: 1px solid transparent;
    border-radius: 0;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.025em;
    line-height: 1.35;
    transition: background-color 220ms ease, border-color 220ms ease, color 220ms ease, transform 220ms ease;
}

/* Keep button labels tied to the button's own colour. Some global theme link
   rules target nested spans on hover/active/visited states; this one narrowly
   prevents those rules from making a pink button label pink as well. */
.jwp-sustainability .jwp-action > span {
    color: inherit !important;
    -webkit-text-fill-color: currentColor;
}

.jwp-action > span:last-child[aria-hidden="true"] {
    transition: transform 220ms ease;
}

.jwp-action:hover > span:last-child[aria-hidden="true"] {
    transform: translateX(4px);
}

.jwp-action--primary {
    background: var(--jwp-red);
    color: var(--jwp-white);
    box-shadow: var(--jwp-shadow-soft);
}

/* Lock action colours across normal, visited, hover, focus and active states.
   The parent theme loads after this page stylesheet, so explicit !important
   declarations are intentional here to prevent global link colours leaking in. */
.jwp-sustainability a.jwp-action--primary,
.jwp-sustainability a.jwp-action--primary:link,
.jwp-sustainability a.jwp-action--primary:visited {
    color: var(--jwp-white) !important;
}

.jwp-sustainability .jwp-action--primary:hover,
.jwp-sustainability .jwp-action--primary:focus-visible,
.jwp-sustainability .jwp-action--primary:active {
    background: var(--jwp-red-dark);
    color: var(--jwp-white) !important;
    text-decoration: none;
}

/* These are the three light-section CTAs: local experiences, sustainability
   policy and Travelife. Keep them filled so text can never become the same
   colour as the button background after interaction. */
.jwp-action--outline {
    border-color: var(--jwp-red);
    background: var(--jwp-red);
    color: var(--jwp-white);
}

.jwp-sustainability a.jwp-action--outline,
.jwp-sustainability a.jwp-action--outline:link,
.jwp-sustainability a.jwp-action--outline:visited,
.jwp-sustainability a.jwp-action--outline:hover,
.jwp-sustainability a.jwp-action--outline:focus-visible,
.jwp-sustainability a.jwp-action--outline:active {
    border-color: var(--jwp-red);
    background: var(--jwp-red);
    color: var(--jwp-white) !important;
    -webkit-text-fill-color: var(--jwp-white) !important;
    text-decoration: none;
}

.jwp-sustainability a.jwp-action--outline:hover,
.jwp-sustainability a.jwp-action--outline:focus-visible {
    border-color: var(--jwp-red-dark);
    background: var(--jwp-red-dark);
}

.jwp-sustainability a.jwp-action--outline > span,
.jwp-sustainability a.jwp-action--outline:link > span,
.jwp-sustainability a.jwp-action--outline:visited > span,
.jwp-sustainability a.jwp-action--outline:hover > span,
.jwp-sustainability a.jwp-action--outline:focus-visible > span,
.jwp-sustainability a.jwp-action--outline:active > span {
    color: var(--jwp-white) !important;
    -webkit-text-fill-color: var(--jwp-white) !important;
}

.jwp-action--light {
    border-color: rgba(238, 232, 221, 0.44);
    background: transparent;
    color: var(--jwp-sand);
}

.jwp-sustainability a.jwp-action--light,
.jwp-sustainability a.jwp-action--light:link,
.jwp-sustainability a.jwp-action--light:visited {
    color: var(--jwp-sand) !important;
}

.jwp-sustainability .jwp-action--light:hover,
.jwp-sustainability .jwp-action--light:focus-visible,
.jwp-sustainability .jwp-action--light:active {
    border-color: var(--jwp-sand);
    background: rgba(238, 232, 221, 0.1);
    color: var(--jwp-sand) !important;
    text-decoration: none;
}

.jwp-cover-image {
    display: block;
    width: 100%;
    max-width: none;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.jwp-media-fallback {
    display: block;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(145deg, rgba(37, 59, 50, 0.98), rgba(135, 153, 138, 0.62)),
        var(--jwp-forest);
}

/* The theme header adds two legacy black gradients above transparent headers.
   This stylesheet is loaded only by the sustainability template, so disable
   both legacy layers here and let the hero's own scrim/local text gradient
   control readability consistently on desktop, tablet and mobile. */
.header::before,
.header .inner-wrap::after {
    background: none !important;
    background-image: none !important;
}

/* Hero */
.jwp-hero {
    position: relative;
    isolation: isolate;
    min-height: 92svh;
    overflow: hidden;
    background: var(--jwp-forest);
    color: var(--jwp-sand);
}

.jwp-hero__media,
.jwp-hero__scrim,
.jwp-final__media,
.jwp-final__scrim {
    position: absolute;
    inset: 0;
}

.jwp-hero__media picture,
.jwp-final__media picture {
    display: block;
    width: 100%;
    height: 100%;
}

.jwp-hero__media picture > img,
.jwp-final__media picture > img {
    display: block;
    width: 100%;
    max-width: none;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.jwp-hero__scrim,
.jwp-final__scrim {
    z-index: 1;
}

/* Hero layer order: image -> dark readability scrim -> copy.
   The scrim is intentionally darker at the top to blend with the transparent
   site header and remains dark behind the lower-left copy area on every viewport. */
.jwp-hero__media {
    z-index: 0;
}

.jwp-hero__scrim {
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.34) 22%, rgba(0, 0, 0, 0.14) 47%, rgba(0, 0, 0, 0.42) 72%, rgba(0, 0, 0, 0.78) 100%),
        linear-gradient(90deg, rgba(0, 0, 0, 0.62) 0%, rgba(0, 0, 0, 0.44) 42%, rgba(0, 0, 0, 0.12) 70%, rgba(0, 0, 0, 0) 100%);
}

.jwp-final__scrim {
    background: linear-gradient(to top, rgba(23, 40, 32, 0.94) 0%, rgba(23, 40, 32, 0.65) 38%, rgba(23, 40, 32, 0.15) 78%);
}

.jwp-hero__content {
    position: relative;
    z-index: 2;
    display: flex;
    min-height: 92svh;
    align-items: flex-end;
    padding-top: 128px;
    padding-bottom: 96px;
}

.jwp-hero__copy {
    position: relative;
    z-index: 0;
    max-width: 896px;
}

/* Hero copy stays pure white at every breakpoint. Prefix with the page root so
   global theme/mobile link or typography rules cannot override it. */
.jwp-sustainability .jwp-hero .jwp-eyebrow--light,
.jwp-sustainability .jwp-hero .jwp-display-xl,
.jwp-sustainability .jwp-hero .jwp-hero__tagline,
.jwp-sustainability .jwp-hero .jwp-hero__intro {
    color: var(--jwp-white);
}

.jwp-hero .jwp-display-xl {
    margin-top: 20px;
}

.jwp-hero__tagline {
    margin: 16px 0 0;
    font-family: var(--jwp-font-display);
    font-size: 1.5rem;
    font-weight: 300;
    line-height: 1.3;
}

.jwp-hero__intro {
    max-width: 672px;
    margin: 24px 0 0;
    font-size: 1.125rem;
    line-height: 1.625;
}

.jwp-hero .jwp-actions {
    margin-top: 36px;
}

.jwp-hero__proof {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 8px 24px;
    margin-top: 32px;
    list-style: none;
    color: rgba(238, 232, 221, 0.68);
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.jwp-hero__proof li {
    display: flex;
    min-height: 2.8em;
    align-items: center;
    margin: 0;
    line-height: 1.4;
}

.jwp-hero__proof li::before {
    flex: 0 0 6px;
    width: 6px;
    height: 6px;
    margin-right: 9px;
    border-radius: 50%;
    background: var(--jwp-red);
    content: "";
}

/* Image cards */
.jwp-image-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    align-items: stretch;
    margin-top: 56px;
    list-style: none;
}

.jwp-image-card-grid > li {
    display: flex;
    min-width: 0;
    margin: 0;
}

.jwp-image-card {
    position: relative;
    width: 100%;
    min-height: 480px;
    overflow: hidden;
    background: var(--jwp-forest);
    color: var(--jwp-sand);
}

.jwp-image-card__media,
.jwp-image-card__scrim {
    position: absolute;
    inset: 0;
}

.jwp-image-card__media {
    overflow: hidden;
}

.jwp-image-card__media > img {
    display: block;
    width: 100%;
    max-width: none;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.jwp-image-card__media img,
.jwp-image-card__media .jwp-media-fallback {
    transition: transform 800ms cubic-bezier(0.22, 1, 0.36, 1);
}

.jwp-image-card:hover .jwp-image-card__media img {
    transform: scale(1.035);
}

.jwp-image-card__scrim {
    background: linear-gradient(to top, rgba(23, 40, 32, 0.95), rgba(23, 40, 32, 0.54) 45%, rgba(23, 40, 32, 0.08) 82%);
}

.jwp-image-card__content {
    position: absolute;
    z-index: 2;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 28px;
}

.jwp-image-card__content .jwp-display-md {
    margin-top: 10px;
    color: var(--jwp-sand);
}

.jwp-image-card__content > p:not(.jwp-eyebrow) {
    margin: 12px 0 0;
    color: rgba(238, 232, 221, 0.8);
    font-size: 0.9rem;
    line-height: 1.625;
}

.jwp-image-card__content .jwp-action {
    margin-top: 24px;
}

/* Founder */
.jwp-founder {
    display: grid;
    grid-template-columns: minmax(240px, 320px) minmax(0, 1fr);
    align-items: center;
    gap: 48px;
}

.jwp-founder__portrait {
    width: 100%;
    max-width: 320px;
    margin: 0;
    justify-self: center;
}

.jwp-founder__media {
    width: 100%;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border: 1px solid var(--jwp-border);
    background: var(--jwp-sand);
}

.jwp-founder__image,
.jwp-founder__fallback {
    display: block;
    width: 100%;
    max-width: none;
    height: 100%;
}

.jwp-founder__image {
    object-fit: cover;
    object-position: center top;
    filter: grayscale(1);
}

.jwp-founder__fallback {
    display: grid;
    place-items: center;
    background: var(--jwp-sand);
    color: var(--jwp-earth);
    font-family: var(--jwp-font-display);
    font-size: 4.5rem;
    font-weight: 300;
}

.jwp-founder figcaption {
    margin-top: 10px;
    color: var(--jwp-muted);
    text-align: center;
    font-size: 0.76rem;
    letter-spacing: 0.04em;
}

.jwp-founder__copy .jwp-display-lg {
    max-width: 700px;
    margin-top: 16px;
    font-size: clamp(2.1rem, 4vw, 3.35rem);
    color: var(--jwp-forest);
}

.jwp-founder blockquote {
    max-width: 860px;
    margin: 34px 0 0;
}

.jwp-founder blockquote > p {
    margin: 0;
    color: var(--jwp-forest);
    font-family: var(--jwp-font-display);
    font-size: clamp(2rem, 3.7vw, 3rem);
    font-weight: 300;
    line-height: 1.12;
}

.jwp-founder blockquote > p::before {
    display: block;
    margin-bottom: 10px;
    color: var(--jwp-red);
    content: "“";
    font-size: 3rem;
    line-height: 0.7;
}

.jwp-founder cite {
    display: block;
    margin-top: 26px;
    color: var(--jwp-forest);
    font-style: normal;
    font-size: 0.88rem;
}

.jwp-founder cite strong,
.jwp-founder cite span {
    display: block;
}

.jwp-founder cite span {
    margin-top: 2px;
    color: var(--jwp-muted);
}

.jwp-founder__copy > p:last-child {
    max-width: 620px;
    margin: 28px 0 0;
    color: var(--jwp-muted);
    font-size: 0.92rem;
    line-height: 1.625;
}

/* Mission */
.jwp-mission {
    padding-block: 128px;
}

.jwp-mission__statement {
    margin-top: 30px;
    color: var(--jwp-forest);
    font-family: var(--jwp-font-display);
    font-size: clamp(2rem, 3.8vw, 2.9rem);
    font-weight: 300;
    line-height: 1.25;
}

.jwp-mission__statement p {
    margin-bottom: 0;
}

.jwp-rule {
    display: block;
    width: 96px;
    height: 2px;
    min-height: 2px;
    margin-top: 38px;
    background: var(--jwp-red);
}

/* Six pillars */
.jwp-pillar-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    margin-top: 48px;
    border-top: 1px solid var(--jwp-border);
    border-left: 1px solid var(--jwp-border);
    background: var(--jwp-white);
    list-style-position: inside;
}

.jwp-pillar {
    min-width: 0;
    border-right: 1px solid var(--jwp-border);
    border-bottom: 1px solid var(--jwp-border);
    background: var(--jwp-white);
    list-style: none;
}

.jwp-pillar article {
    height: 100%;
}

.jwp-pillar__media {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    isolation: isolate;
    background: var(--jwp-white);
    line-height: 0;
}

.jwp-pillar__image {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    max-width: none;
    height: 100%;
    object-fit: contain;
    object-position: center;
    backface-visibility: hidden;
    transform: scale(1);
    transform-origin: center;
    transition: transform 650ms ease;
}

@media (hover: hover) and (pointer: fine) {
    .jwp-pillar:hover .jwp-pillar__image {
        transform: scale(1.035);
    }
}

.jwp-pillar__body {
    padding: 28px 30px 32px;
}

.jwp-pillar__number {
    color: var(--jwp-earth);
    font-family: var(--jwp-font-display);
    font-size: 1.45rem;
    font-weight: 300;
}

.jwp-pillar .jwp-display-md {
    margin-top: 6px;
    color: var(--jwp-forest);
}

.jwp-pillar__body > p {
    margin: 12px 0 0;
    color: var(--jwp-muted);
    font-size: 0.89rem;
    line-height: 1.625;
}

/* Butterfly */

#butterfly-effect {
    padding-block: 96px;
}

.jwp-butterfly {
    display: grid;
    grid-template-columns: 45fr 55fr;
    align-items: center;
    gap: 64px;
}

.jwp-butterfly .jwp-display-lg {
    margin-top: 14px;
    color: var(--jwp-sand);
}

.jwp-butterfly__animation {
    display: block;
    width: min(100%, 520px);
    height: auto;
    margin-top: 28px;
    overflow: visible;
}

.jwp-butterfly__generated-route,
.jwp-butterfly__crossing-dash {
    fill: rgba(238, 232, 221, 0.55);
}

.jwp-butterfly__crossing-dash {
    opacity: 0;
}

.jwp-butterfly__route-reveal {
    fill: none;
    stroke: #ffffff;
    stroke-width: 18;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.jwp-butterfly__flyer {
    pointer-events: none;
    will-change: transform;
}

.jwp-butterfly__piece {
    fill: rgba(238, 232, 221, 0.97);
    stroke: rgba(238, 232, 221, 0.97);
    stroke-width: 0.25;
    stroke-linejoin: round;
}

.jwp-butterfly__copy {
    color: rgba(238, 232, 221, 0.82);
    font-size: 1.05rem;
    line-height: 1.625;
}

.jwp-butterfly__copy > p {
    margin: 0 0 22px;
}

.jwp-butterfly__copy em {
    color: var(--jwp-sand);
    font-family: var(--jwp-font-display);
    font-size: 1.4em;
    font-weight: 300;
}

.jwp-butterfly__copy address {
    margin-top: 34px;
}

.jwp-butterfly__copy address .jwp-eyebrow {
    display: block;
}

.jwp-butterfly__copy address a {
    display: inline-block;
    margin-top: 6px;
    color: var(--jwp-sand);
    text-decoration-color: rgba(238, 232, 221, 0.4);
    text-underline-offset: 7px;
}

/* Jetwing effect */
.jwp-effect {
    border-top: 1px solid rgba(238, 232, 221, 0.12);
}

.jwp-effect__steps {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    column-gap: 24px;
    row-gap: 40px;
    margin-top: 64px;
    list-style: none;
}

.jwp-effect__steps li > span {
    color: var(--jwp-red);
    font-family: var(--jwp-font-display);
    font-size: 2.4rem;
    font-weight: 300;
}

.jwp-effect__steps li > p {
    position: relative;
    margin: 14px 0 0;
    padding-bottom: 24px;
    color: var(--jwp-sand);
    font-family: var(--jwp-font-display);
    font-size: clamp(1.45rem, 2vw, 1.95rem);
    font-weight: 400;
    line-height: 1.15;
}

.jwp-effect__steps li > p::after {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 64px;
    height: 1px;
    background: rgba(238, 232, 221, 0.22);
    content: "";
}

.jwp-effect__note {
    max-width: 700px;
    margin: 52px 0 0;
    color: rgba(238, 232, 221, 0.56);
    font-size: 0.86rem;
    line-height: 1.625;
}

/* Stories of change */
.jwp-project {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-top: 48px;
    overflow: hidden;
    border: 1px solid var(--jwp-border);
}

.jwp-project__media {
    min-height: 0;
    overflow: hidden;
    background: var(--jwp-forest);
}

.jwp-project__media > img {
    display: block;
    width: 100%;
    max-width: none;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.jwp-project__content {
    padding: 44px;
    background: var(--jwp-sand);
}

.jwp-project__content .jwp-display-lg {
    margin-top: 16px;
    font-size: clamp(2rem, 3.8vw, 3.25rem);
    color: var(--jwp-forest);
}

.jwp-project__name {
    margin: 12px 0 0;
    color: var(--jwp-earth);
    font-size: 0.77rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.jwp-project__partner {
    margin: 6px 0 0;
    color: var(--jwp-muted);
    font-size: 0.88rem;
}

.jwp-project__content > p:not(.jwp-eyebrow):not(.jwp-project__name):not(.jwp-project__partner):not(.jwp-project__membership) {
    margin: 28px 0 0;
    color: var(--jwp-muted);
    font-size: 0.92rem;
    line-height: 1.625;
}

.jwp-project__membership {
    margin: 32px 0 0;
    color: var(--jwp-earth);
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.jwp-project__content .jwp-action {
    margin-top: 24px;
}

/* People */
.jwp-image-card-grid--people .jwp-image-card {
    min-height: 512px;
}

.jwp-section-action {
    margin-top: 44px;
}

.jwp-travelife > div > .jwp-section-action {
    margin-top: 28px;
}

/* Approach */
.jwp-two-column {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px;
    align-items: start;
}

.jwp-two-column--center {
    align-items: center;
}

.jwp-policy-card,
.jwp-report-card {
    border: 1px solid var(--jwp-border);
    background: var(--jwp-white);
    padding: 28px;
}

.jwp-policy-card .jwp-display-md,
.jwp-report-card .jwp-display-md {
    color: var(--jwp-forest);
}

.jwp-policy-card p,
.jwp-report-card p {
    margin: 16px 0 0;
    color: var(--jwp-muted);
    font-size: 0.9rem;
    line-height: 1.625;
}

.jwp-card-action {
    margin-top: 24px;
}

/* Travelife */
.jwp-travelife {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(320px, 1fr);
    gap: 48px;
    align-items: start;
}

.jwp-recognition-card {
    width: min(100%, 620px);
    margin-top: 32px;
    margin-left: 20px;
    padding: 20px 24px;
    border: 1px solid var(--jwp-border);
    background: var(--jwp-white);
}

.jwp-recognition-card.has-logo {
    display: grid;
    grid-template-columns: minmax(180px, 210px) minmax(0, 1fr);
    align-items: center;
    gap: 32px;
}

.jwp-recognition-card__logo-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
}

.jwp-recognition-card__logo {
    display: block;
    width: 100%;
    max-width: 220px;
    max-height: 96px;
    height: auto;
    object-fit: contain;
    object-position: center;
}

.jwp-recognition-card__copy {
    min-width: 0;
}

.jwp-recognition-card h3 {
    margin: 4px 0 0;
    color: var(--jwp-forest);
    font-family: var(--jwp-font-display);
    font-size: 1.7rem;
    font-weight: 400;
}

.jwp-recognition-card__copy > p:last-child {
    margin: 2px 0 0;
    color: var(--jwp-muted);
    font-size: 0.78rem;
}

.jwp-travelife__subheading {
    margin-top: 40px;
    color: var(--jwp-forest);
}

.jwp-rich-copy {
    margin-top: 20px;
    color: var(--jwp-muted);
    font-size: 0.9rem;
    line-height: 1.625;
}

.jwp-rich-copy > p,
.jwp-disclosure div p {
    margin: 0 0 16px;
}

.jwp-disclosure {
    margin-top: 20px;
}

.jwp-disclosure summary {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    color: var(--jwp-red);
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    list-style: none;
    text-underline-offset: 7px;
}

.jwp-disclosure summary::-webkit-details-marker {
    display: none;
}

.jwp-disclosure summary:hover {
    text-decoration: underline;
}

.jwp-disclosure summary::after {
    margin-left: 10px;
    content: "+";
    font-size: 1.2rem;
}

.jwp-disclosure[open] summary::after {
    content: "−";
}

.jwp-disclosure > div {
    margin-top: 12px;
}

.jwp-certificate {
    padding: 24px;
    border: 1px solid var(--jwp-border);
    background: var(--jwp-white);
    box-shadow: var(--jwp-shadow-soft);
    scroll-margin-top: 96px;
}

.jwp-certificate .jwp-display-md {
    color: var(--jwp-forest);
}

.jwp-certificate__preview {
    display: block;
    width: 100%;
    margin-top: 20px;
    padding: 0;
    overflow: hidden;
    border: 1px solid var(--jwp-border);
    background: var(--jwp-white);
}

.jwp-certificate__image {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center;
    transition: transform 300ms ease;
}

.jwp-sustainability .jwp-certificate__preview:hover,
.jwp-sustainability .jwp-certificate__preview:focus-visible {
    border-color: var(--jwp-border);
    background: var(--jwp-white);
    color: var(--jwp-forest);
}

.jwp-certificate__preview:hover .jwp-certificate__image {
    transform: scale(1.015);
}

.jwp-certificate__empty {
    width: 100%;
    aspect-ratio: 1.414 / 1;
    margin-top: 20px;
    border: 1px solid var(--jwp-border);
    background: linear-gradient(150deg, var(--jwp-soft), var(--jwp-sand));
}

.jwp-certificate__facts {
    margin: 24px 0 0;
}

.jwp-certificate__facts > div + div {
    margin-top: 14px;
}

.jwp-certificate__facts dt {
    color: var(--jwp-earth);
    font-size: 0.67rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.jwp-certificate__facts dd {
    margin: 4px 0 0;
    color: var(--jwp-forest);
    font-size: 0.82rem;
}

.jwp-certificate__button {
    width: 100%;
    margin-top: 24px;
}

/* Travel card */
.jwp-travel-card {
    display: grid;
    grid-template-columns: 1fr 2fr;
    align-items: center;
    gap: 32px;
    margin-top: 40px;
    padding: 40px;
    border: 1px solid rgba(238, 232, 221, 0.22);
}

.jwp-travel-card__media {
    aspect-ratio: 3 / 2;
    overflow: hidden;
    background: var(--jwp-forest-deep);
}

.jwp-travel-card__media > img {
    display: block;
    width: 100%;
    max-width: none;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.jwp-travel-card__content > p {
    margin: 0;
    color: rgba(238, 232, 221, 0.82);
    font-size: 1rem;
    line-height: 1.625;
}

.jwp-travel-card__content .jwp-actions {
    margin-top: 26px;
}

@media (min-width: 640px) {
    .jwp-travel-card__content .jwp-actions {
        flex-wrap: nowrap;
        align-items: stretch;
    }

    .jwp-travel-card__content .jwp-action {
        width: auto;
    }
}

/* Guide */
.jwp-guide-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 48px;
    row-gap: 40px;
    margin-top: 48px;
}

.jwp-guide-grid article {
    padding-top: 24px;
    border-top: 1px solid rgba(31, 43, 38, 0.15);
}

.jwp-guide-grid .jwp-display-md {
    color: var(--jwp-forest);
}

.jwp-guide-grid p {
    margin: 12px 0 0;
    color: var(--jwp-muted);
    font-size: 0.9rem;
    line-height: 1.625;
}

/* Report */
.jwp-report-card {
    padding: 32px;
    background: var(--jwp-sand);
}

.jwp-report-card__icon {
    display: block;
    width: 22px;
    height: 22px;
    margin: 0 0 16px;
    fill: none;
    stroke: var(--jwp-red);
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* FAQ */
.jwp-faq-layout {
    display: grid;
    grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
    gap: 40px;
}

.jwp-faq-layout header .jwp-display-lg {
    margin-top: 14px;
    color: var(--jwp-forest);
}

.jwp-faq__book-icon {
    display: block;
    width: 24px;
    height: 24px;
    margin-top: 32px;
    fill: none;
    stroke: var(--jwp-earth);
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.jwp-faq-list {
    border-top: 1px solid rgba(31, 43, 38, 0.16);
    border-bottom: 1px solid rgba(31, 43, 38, 0.16);
}

.jwp-faq + .jwp-faq {
    border-top: 1px solid rgba(31, 43, 38, 0.16);
}

.jwp-faq summary {
    display: flex;
    min-height: 64px;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 18px 0;
    color: var(--jwp-forest);
    cursor: pointer;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    list-style: none;
    transition: color 180ms ease;
}

.jwp-faq summary::-webkit-details-marker {
    display: none;
}

.jwp-faq summary:hover {
    color: var(--jwp-red);
}

.jwp-faq__icon {
    position: relative;
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
}

.jwp-faq__icon::before,
.jwp-faq__icon::after {
    position: absolute;
    top: 7px;
    left: 1px;
    width: 14px;
    height: 1px;
    background: currentColor;
    content: "";
}

.jwp-faq__icon::after {
    transform: rotate(90deg);
    transition: transform 180ms ease;
}

.jwp-faq[open] .jwp-faq__icon::after {
    transform: rotate(0);
}

.jwp-faq__answer {
    max-width: 760px;
    padding: 0 42px 24px 0;
    color: var(--jwp-muted);
    font-size: 0.9rem;
    line-height: 1.625;
}

.jwp-faq__answer p:last-child {
    margin-bottom: 0;
}

/* Final hero */
.jwp-final {
    position: relative;
    isolation: isolate;
    min-height: 62svh;
    overflow: hidden;
    background: var(--jwp-forest);
    color: var(--jwp-sand);
    scroll-margin-top: 96px;
}

.jwp-final__content {
    position: relative;
    z-index: 2;
    display: flex;
    min-height: 62svh;
    align-items: flex-end;
    padding-top: 80px;
    padding-bottom: 80px;
}

.jwp-final__content > div {
    max-width: 820px;
}

.jwp-final .jwp-display-xl {
    color: var(--jwp-sand);
}

.jwp-final__content > div > p:not(.jwp-final__proof) {
    max-width: 620px;
    margin: 24px 0 0;
    color: rgba(238, 232, 221, 0.83);
    font-size: 1.125rem;
    line-height: 1.625;
}

.jwp-final .jwp-actions {
    margin-top: 36px;
}

.jwp-final__proof {
    margin: 28px 0 0;
    color: rgba(238, 232, 221, 0.66);
    font-size: 0.84rem;
}

/* Plan form */
.jwp-plan-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: 48px;
    align-items: start;
}

.jwp-plan-copy {
    position: sticky;
    top: 112px;
}

.jwp-plan-copy .jwp-display-lg {
    margin-top: 14px;
    color: var(--jwp-forest);
}

.jwp-plan-copy > p:not(.jwp-eyebrow):not(.jwp-plan-copy__small) {
    max-width: 448px;
    margin: 20px 0 0;
    color: var(--jwp-muted);
    font-size: 1rem;
    line-height: 1.625;
}

.jwp-reassurance {
    margin-top: 30px;
    list-style: none;
}

.jwp-reassurance li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--jwp-forest);
    font-size: 0.9rem;
}

.jwp-reassurance li + li {
    margin-top: 16px;
}

.jwp-reassurance svg {
    flex: 0 0 16px;
    width: 16px;
    height: 16px;
    margin-top: 2px;
    fill: none;
    stroke: var(--jwp-red);
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.jwp-plan-copy__small {
    max-width: 448px;
    margin: 32px 0 0;
    color: var(--jwp-muted);
    font-size: 0.77rem;
    line-height: 1.625;
}

.jwp-plan-form {
    padding: 36px;
    border: 1px solid var(--jwp-border);
    background: var(--jwp-white);
    box-shadow: var(--jwp-shadow-soft);
}

.jwp-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.jwp-field {
    margin: 0;
}

.jwp-field label,
.jwp-interest-fieldset legend {
    display: block;
    color: var(--jwp-earth);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.16em;
    line-height: 1.4;
    text-transform: uppercase;
}

.jwp-field label span,
.jwp-interest-fieldset legend span {
    letter-spacing: 0;
    text-transform: none;
}

.jwp-field input,
.jwp-field textarea {
    width: 100%;
    margin-top: 10px;
    border: 1px solid var(--jwp-border);
    border-radius: 0;
    background: var(--jwp-white);
    color: var(--jwp-ink);
    outline: none;
    transition: border-color 180ms ease, box-shadow 180ms ease;
}

.jwp-field input {
    min-height: 48px;
    padding: 0 14px;
}

.jwp-field textarea {
    min-height: 120px;
    padding: 12px 14px;
    resize: vertical;
}

.jwp-field input:focus,
.jwp-field textarea:focus {
    border-color: var(--jwp-red);
    box-shadow: 0 0 0 1px var(--jwp-red);
}

.jwp-interest-fieldset {
    margin: 28px 0 0;
    padding: 0;
    border: 0;
}

.jwp-interest-list {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 14px;
}

.jwp-interest-list label {
    position: relative;
    cursor: pointer;
}

.jwp-interest-list input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.jwp-interest-list label span {
    display: inline-flex;
    min-height: 43px;
    align-items: center;
    justify-content: center;
    padding: 9px 14px;
    border: 1px solid var(--jwp-border);
    color: var(--jwp-forest);
    font-size: 0.85rem;
    transition: border-color 180ms ease, background-color 180ms ease, color 180ms ease;
}

.jwp-interest-list label:hover span,
.jwp-interest-list input:focus-visible + span {
    border-color: var(--jwp-red);
    color: var(--jwp-red);
}

.jwp-interest-list input:checked + span {
    border-color: var(--jwp-red);
    background: var(--jwp-red);
    color: var(--jwp-white);
}

.jwp-field--full {
    margin-top: 28px;
}

.jwp-form-button {
    margin-top: 28px;
    border: 0;
}

.jwp-form-note {
    margin: 12px 0 0;
    color: var(--jwp-muted);
    font-size: 0.75rem;
}

/* Sticky CTA */
/* Certificate dialog */
.jwp-certificate-dialog {
    width: min(920px, calc(100% - 32px));
    max-height: calc(100svh - 40px);
    padding: 0;
    border: 0;
    background: var(--jwp-white);
    color: var(--jwp-ink);
    box-shadow: 0 30px 80px rgba(23, 40, 32, 0.35);
    font-family: var(--jwp-font-sans);
}

.jwp-certificate-dialog::backdrop {
    background: rgba(23, 40, 32, 0.9);
}

.jwp-certificate-dialog__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--jwp-border);
}

.jwp-certificate-dialog__header h2 {
    margin: 0;
    color: var(--jwp-forest);
    font-family: var(--jwp-font-display);
    font-size: 1.35rem;
    font-weight: 400;
}

.jwp-certificate-dialog__header button {
    display: inline-grid;
    width: 42px;
    height: 42px;
    place-items: center;
    padding: 0;
    border: 1px solid var(--jwp-border);
    background: var(--jwp-white);
    color: var(--jwp-forest);
    font-size: 1.4rem;
}

.jwp-certificate-dialog__header button:hover,
.jwp-certificate-dialog__header button:focus-visible {
    border-color: var(--jwp-border);
    background: var(--jwp-soft);
    color: var(--jwp-forest);
}

.jwp-certificate-dialog__body {
    max-height: calc(100svh - 110px);
    overflow: auto;
    padding: 20px;
    background: var(--jwp-soft);
}

.jwp-certificate-dialog__image {
    width: auto;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}

/* Scroll reveal: content remains in DOM and visible without JS. */
.jwp-sustainability.js-reveal-enabled .jwp-reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 720ms cubic-bezier(0.22, 1, 0.36, 1), transform 720ms cubic-bezier(0.22, 1, 0.36, 1);
}

.jwp-sustainability.js-reveal-enabled .jwp-reveal.is-visible {
    opacity: 1;
    transform: none;
}

/* Responsive alignment with the approved Lovable desktop, tablet and mobile layouts. */
@media (max-width: 1279px) {
    .jwp-container {
        padding-inline: 32px;
    }
}

@media (max-width: 1023px) {
    .jwp-founder,
    .jwp-butterfly,
    .jwp-project,
    .jwp-two-column,
    .jwp-travelife,
    .jwp-plan-layout,
    .jwp-faq-layout {
        grid-template-columns: 1fr;
    }

    .jwp-founder,
    .jwp-travelife,
    .jwp-plan-layout {
        gap: 48px;
    }

    .jwp-sustainability .jwp-founder__portrait {
        width: 100%;
        max-width: 320px;
        margin-inline: auto;
        justify-self: center;
    }

    .jwp-butterfly {
        gap: 40px;
    }

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

    .jwp-project__media {
        min-height: 256px;
        height: 256px;
    }

    .jwp-certificate {
        width: 100%;
        max-width: none;
    }

    .jwp-plan-copy {
        position: static;
    }
}

@media (max-width: 767px) {
    /* Keep the transparent mobile header divider subtle over the hero. */
    .header:not(.scrolled) .inner-wrap {
        border-bottom: 1px solid #ffffff30 !important;
    }

    .jwp-hero__scrim {
        background:
            linear-gradient(180deg, rgba(0, 0, 0, 0.76) 0%, rgba(0, 0, 0, 0.42) 20%, rgba(0, 0, 0, 0.18) 43%, rgba(0, 0, 0, 0.50) 68%, rgba(0, 0, 0, 0.84) 100%),
            linear-gradient(90deg, rgba(0, 0, 0, 0.40) 0%, rgba(0, 0, 0, 0.22) 65%, rgba(0, 0, 0, 0) 100%);
    }

    .jwp-container {
        padding-inline: 20px;
    }

    .jwp-section {
        padding-block: 80px;
    }

    #butterfly-effect {
        padding-block: 64px;
    }

    .jwp-section-heading > p:last-child {
        font-size: 1rem;
    }

    .jwp-hero__content {
        padding-top: 128px;
        padding-bottom: 64px;
    }

    .jwp-hero__tagline {
        margin-top: 20px;
        font-size: 1.25rem;
    }

    .jwp-hero__intro {
        margin-top: 24px;
        font-size: 1rem;
    }

    .jwp-image-card-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .jwp-image-card-grid--people .jwp-image-card {
        min-height: 416px;
    }

    .jwp-founder__copy {
        text-align: left;
    }

    .jwp-mission {
        padding-block: 96px;
    }

    .jwp-effect__steps {
        grid-template-columns: 1fr;
        row-gap: 40px;
    }

    .jwp-effect__steps li {
        display: grid;
        grid-template-columns: 48px 1fr;
        gap: 16px;
        align-items: start;
    }

    .jwp-effect__steps li > span {
        font-size: 1.875rem;
        line-height: 1;
    }

    .jwp-effect__steps li > p {
        margin-top: 0;
        padding-bottom: 20px;
    }

    .jwp-effect__steps li > p::after {
        width: 100%;
    }

    .jwp-project__content {
        padding: 32px;
    }

    .jwp-travel-card {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 32px;
    }

    .jwp-guide-grid {
        grid-template-columns: 1fr;
    }

    .jwp-final__content {
        padding-top: 80px;
        padding-bottom: 80px;
    }

    .jwp-recognition-card {
        width: min(100%, 680px);
        margin-left: 0;
    }

    .jwp-recognition-card.has-logo {
        grid-template-columns: minmax(160px, 190px) minmax(0, 1fr);
        gap: 28px;
    }
}

@media (max-width: 639px) {
    .jwp-pillar-grid {
        grid-template-columns: 1fr;
    }

    .jwp-hero .jwp-actions,
    .jwp-final .jwp-actions,
    .jwp-travel-card .jwp-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .jwp-hero .jwp-action,
    .jwp-final .jwp-action,
    .jwp-travel-card .jwp-action {
        width: 100%;
    }

    .jwp-form-grid {
        grid-template-columns: 1fr;
    }

    .jwp-recognition-card.has-logo {
        grid-template-columns: minmax(120px, 140px) minmax(0, 1fr);
        gap: 20px;
        padding-inline: 20px;
    }




}

@media (max-width: 420px) {
    .jwp-action {
        padding-inline: 18px;
    }

    .jwp-interest-list {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .jwp-interest-list label span {
        width: 100%;
        padding-inline: 10px;
        text-align: center;
    }

    .jwp-recognition-card.has-logo {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .jwp-recognition-card__logo-wrap {
        justify-content: flex-start;
    }

    .jwp-recognition-card__logo {
        max-width: 190px;
    }

}

@media (prefers-reduced-motion: reduce) {
    .jwp-sustainability *,
    .jwp-sustainability *::before,
    .jwp-sustainability *::after,
    .jwp-certificate-dialog,
    .jwp-certificate-dialog * {
        scroll-behavior: auto !important;
        transition-duration: 0.001ms !important;
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
    }

    .jwp-sustainability.js-reveal-enabled .jwp-reveal {
        opacity: 1;
        transform: none;
    }
}
