/* =========================================================================
   Royal Quest Resorts – Homepage (recreation of the SUJAN Life homepage)
   Values are taken from the reference's own stylesheet: colours, clamp() type scale,
   4rem gutters, 3rem buttons, breakpoints 991 / 767 / 479.
   Fonts: Crimson Pro stands in for Minion Pro (the reference's licensed display serif);
   Inter is the reference's body face.
   ========================================================================= */

:root {
    --bg: #f6f3ef;
    --white: #fff;
    --label: #79716a;
    --title: #fbf9f7;
    --gold: #d7b46a;
    --gold-nav: #d1a555;
    --ink: #322b26;
    --body: #5c544d;
    --dark: #3e362f;
    --stroke: #b4aca5;
    --serif: "Crimson Pro", "Minion Pro", "Times New Roman", serif;
    --sans: Inter, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
    --ease-expo: cubic-bezier(.16, 1, .3, 1);
    --ease-io3: cubic-bezier(.65, 0, .35, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scrollbar-width: none; -ms-overflow-style: none; }
html::-webkit-scrollbar, body::-webkit-scrollbar { display: none; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: clip; }
body {
    margin: 0; background: var(--bg); color: #333;
    font: 400 1rem/1.1 var(--sans);
    -webkit-font-smoothing: antialiased; text-rendering: geometricPrecision;
}
body.is-locked { overflow: hidden; }
img, video, svg { display: block; max-width: 100%; }
img { width: 100%; height: 100%; object-fit: cover; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -.04rem; line-height: 1.2; }
p { letter-spacing: -.02rem; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: fixed; left: 1rem; top: -4rem; z-index: 1000; background: var(--ink); color: #fff; padding: .8rem 1.2rem; border-radius: .5rem; }
.skip-link:focus { top: 1rem; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.d_y { display: block; position: relative; overflow: hidden; }
.d_y.ov { padding-right: .5rem; }
.t_label { color: var(--label); }

/* word-reveal wrappers added by JS (replaces the reference's SplitText line masks) */
.rw { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .14em; margin-bottom: -.14em; }
.rw > span { display: inline-block; will-change: transform; }
html.js:not(.is-ready) [data-split-title], html.js:not(.is-ready) [data-split-text], html.js:not(.is-ready) [data-hero-title], html.js:not(.is-ready) [data-cert-text] { visibility: hidden; }

/* ------------------------------------------------------------ page shell */
.p_c { position: relative; overflow: clip; }
.p_wrap { position: relative; z-index: 1; width: 100%; min-height: 100vh; }

/* ------------------------------------------------------------ buttons (text rolls up on hover, expo.out) */
.btn-roll .d_y_button, .btn-roll .d_y_nav_c { display: block; }
.y_b_text, .d_b_text, .l_b_text, .n_b_text, .m_txt_nav {
    display: block; position: relative; font-size: clamp(.8rem, .8vw, .8rem); line-height: 1.4;
    transition: transform .8s var(--ease-expo);
}
.l_b_text { line-height: 1; }
.y_b_text.ab, .d_b_text.ab, .l_b_text.ab, .n_b_text.ab, .m_txt_nav.ab { position: absolute; inset: 0; transform: translateY(100%); }
.btn-roll:hover .y_b_text:not(.ab), .btn-roll:hover .d_b_text:not(.ab), .btn-roll:hover .l_b_text:not(.ab),
.btn-roll:hover .n_b_text:not(.ab), .btn-roll:hover .m_txt_nav:not(.ab),
.main_b:hover .m_txt_nav:not(.ab), .n_light_b:hover .n_b_text:not(.ab) { transform: translateY(-100%); transition-duration: 1.2s; }
.btn-roll:hover .ab, .main_b:hover .ab, .n_light_b:hover .ab { transform: translateY(0); transition-duration: 1.2s; }
.d_y_button { position: relative; overflow: hidden; }

.y_b_w, .d_b_w, .l_b_w, .n_light_b, .main_b {
    display: flex; align-items: center; justify-content: center; height: 3rem; padding: 1rem 1.5rem;
    border-radius: .5rem; text-transform: uppercase; font-weight: 500; text-decoration: none; overflow: hidden;
}
.y_b_w { background: var(--gold); color: #322b26; }
.d_b_w { background: var(--dark); color: var(--title); gap: .8rem; justify-content: space-between; }
.d_y_arrow { width: 1rem; height: 1rem; }
.l_b_w { border: 1px solid var(--stroke); color: var(--dark); gap: .5rem; transition: background-color .3s; }
.l_b_w:hover { background: var(--gold); }
.l_b_w.submit { color: var(--white); background: transparent; font-weight: 500; }
.l_b_w.submit:hover { background: var(--gold); color: var(--ink); }
.l_b_text.wth { color: var(--white); font-weight: 500; }
.l_b_w:hover .l_b_text.wth { color: var(--ink); }

/* ------------------------------------------------------------ navigation */
.g_nav_w { position: fixed; inset: 0 0 auto; z-index: 400; width: 100%; padding: 1rem; overflow: visible; transition: background-color .8s ease; }
.g_nav_w.has-bg { background: var(--bg); }
.g_nav_p { position: relative; display: flex; justify-content: center; align-items: center; min-height: 3rem; }
.g_nav_menu { position: absolute; left: 0; cursor: pointer; z-index: 2; }
.g_nav_menu_p { position: relative; display: flex; align-items: center; justify-content: center; gap: .8rem; padding: 1rem .5rem; color: var(--title); font-weight: 500; -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px); }
.menu_wrapper { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--title); }
.m_l_w { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .4rem; }
.m_l_wrap { position: relative; display: flex; align-items: center; width: 2.1rem; height: 3px; overflow: hidden; }
.m_line { position: relative; width: 100%; height: 100%; background: var(--title); transition: transform .4s var(--ease-io3), background-color .8s; }
.m_line.second { position: absolute; transform: translateX(-100%); }
.m_l_wrap:nth-child(2) .m_line { transition-delay: .05s; }
.m_l_wrap:nth-child(3) .m_line { transition-delay: .1s; }
.g_nav_menu:hover .m_line:not(.second) { transform: translateX(100%); }
.g_nav_menu:hover .m_line.second { transform: translateX(0); }
.has-bg .m_line { background: var(--ink); }
.m_t_wrap { display: flex; align-items: center; }
.m_text, .m_text_close { display: block; position: relative; text-transform: uppercase; font-weight: 500; font-size: 1.1rem; letter-spacing: .04em; transition: transform .5s var(--ease-io3), opacity .4s, color .8s; }
.m_text_close { position: absolute; inset: 0; transform: translateY(110%); opacity: 0; }
.has-bg .m_text { color: var(--ink); }
.m_l_close { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; }
.m_line_close_w { position: absolute; width: 2.1rem; height: 3px; transform: rotate(45deg) scaleX(0); transition: transform .5s var(--ease-io3); }
.m_line_close_w.ab { transform: rotate(-45deg) scaleX(0); }
.line_close { display: block; width: 100%; height: 100%; background: var(--ink); }
html.menu-open .m_l_w { opacity: 0; transition: opacity .2s; }
html.menu-open .m_l_close { opacity: 1; visibility: visible; transition: opacity .01s .3s; }
html.menu-open .m_line_close_w { transform: rotate(45deg) scaleX(1); transition-delay: .35s; }
html.menu-open .m_line_close_w.ab { transform: rotate(-45deg) scaleX(1); }
html.menu-open .m_text { transform: translateY(-110%); opacity: 0; }
html.menu-open .m_text_close { transform: translateY(0); opacity: 1; transition-delay: .3s; }
html.menu-open .g_nav_menu_p { color: var(--ink); }

.g_logo_w { position: relative; z-index: 2; width: auto; display: flex; justify-content: center; }
.logo_link_w { display: flex; align-items: center; justify-content: center; gap: .9rem; color: var(--title); transition: color .8s; }
.logo_crest { width: auto; height: 7rem; object-fit: contain; flex: none; }
.logo_word { display: flex; flex-direction: column; font-family: var(--serif); text-transform: uppercase; letter-spacing: .18em; font-size: 1.7rem; line-height: 1.1; white-space: nowrap; }
.logo_word small { font-family: var(--sans); font-size: .75rem; letter-spacing: .26em; opacity: .85; margin-top: .25rem; }
.has-bg .logo_link_w, html.menu-open .logo_link_w { color: var(--gold-nav); }

.g_b_p { position: absolute; right: 0; display: flex; align-items: center; gap: .5rem; z-index: 2; }
.g_b_w { position: relative; display: flex; align-items: center; gap: .5rem; }
.n_light_b { position: relative; border: 1px solid var(--bg); color: var(--title); transition: color .8s, border-color .8s; }
.has-bg .n_light_b, html.menu-open .n_light_b { border-color: var(--ink); color: var(--ink); }
.d_y_nav, .d_y_nav_c { display: block; position: relative; overflow: hidden; }
.m_nav_btton_w { position: relative; }
.main_b { gap: .5rem; background: var(--gold); color: var(--ink); }
.m_txt_w { display: flex; align-items: center; gap: .2rem; }
.m_txt_wrap { position: relative; display: block; overflow: hidden; }
.m_arrow_w { display: flex; align-items: center; justify-content: center; transition: transform 1.2s var(--ease-expo); }
.main_b[aria-expanded="true"] .m_arrow_w { transform: rotate(180deg); }

.book_s_w { position: absolute; top: 0; right: 0; width: 21rem; padding-top: 3.8rem; z-index: -1; }
.book_s_w[hidden] { display: none; }
.book_sm_p { display: flex; flex-direction: column; gap: 1.2rem; background: #f4eddb; border-radius: .5rem; padding: 1.4rem 1.2rem; transform-origin: top; animation: bookIn .9s var(--ease-io3) both; }
@keyframes bookIn { from { transform: scaleY(0); } to { transform: scaleY(1); } }
.sub_link { display: flex; align-items: center; gap: 1.2rem; color: var(--ink); font-size: 1rem; overflow: hidden; }
.s_link_img { flex: none; width: 5.2rem; height: 5.2rem; overflow: hidden; border-radius: .16rem; }
.sub_img { transition: transform .8s var(--ease-io3); }
.sub_link:hover .sub_img { transform: scale(1.05); }
.sub_l_content { display: flex; flex-direction: column; gap: .2rem; min-width: 0; }
.s_textspan { display: block; font-weight: 500; }
.s_textlabel { display: block; color: var(--label); font-size: .9rem; }
.sub_line_wrapper { display: block; overflow: hidden; }
.sub_line { display: block; height: 1.4px; background: var(--ink); transform: scaleX(0); transform-origin: right; transition: transform .8s var(--ease-io3); }
.sub_link:hover .sub_line { transform: scaleX(1); transform-origin: left; }

/* menu panel (drops from the top) */
.g_nav_open { position: fixed; inset: 0 0 auto; width: 100%; background: var(--bg); overflow: hidden; color: var(--ink); transform: translateY(-110%); z-index: -1; max-height: 100dvh; overflow-y: auto; }
.g_nav_open[hidden] { display: none; }
.g_nav_open_p { display: flex; flex-direction: column; gap: 6.5rem; padding: 10rem 4rem 3rem; }
.g_n_top { position: relative; overflow: hidden; }
.n_collection_l { display: flex; gap: 1rem; }
.n_collection_i { width: 33%; }
.n_collection_link { display: block; width: 100%; color: var(--ink); }
.nc_w { display: flex; flex-direction: column; gap: 1.2rem; }
.nc_m_wrap { position: relative; display: flex; width: 100%; height: clamp(8rem, 19vw, 21rem); border-radius: .16rem; overflow: hidden; }
.nc_im { position: absolute; inset: 0; transition: transform .8s var(--ease-io3); }
.n_collection_link:hover .nc_im { transform: scale(1.05); }
.line_cw { position: absolute; left: 0; right: 0; bottom: 0; overflow: hidden; }
.line_nv { display: block; height: 5px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .8s var(--ease-io3); }
.n_collection_link:hover .line_nv { transform: scaleX(1); transform-origin: left; }
.nc_title { font-weight: 500; line-height: 1.4; }
.nc_label { color: var(--label); font-size: .8rem; line-height: 1.4; }
.g_n_bottom { display: flex; justify-content: space-between; align-items: center; }
.links_n_w { display: flex; align-items: center; gap: 1rem 2rem; flex-wrap: wrap; }
.p_link_nav { display: flex; flex-direction: column; gap: .2rem; color: var(--ink); font-weight: 500; }
.nc_link { display: block; font-size: clamp(.8rem, 1vw, 1rem); line-height: 1.1; }
.nc_line_w { display: block; overflow: hidden; }
.nc_line { display: block; height: 1.4px; background: var(--ink); transform: scaleX(0); transform-origin: right; transition: transform .8s var(--ease-io3); }
.p_link_nav:hover .nc_line { transform: scaleX(1); transform-origin: left; }
.gn_b_right { display: flex; align-items: center; gap: 2rem; overflow: hidden; }
.nav_social_l { display: flex; width: 1.6rem; height: 1.6rem; padding: .2rem; color: var(--ink); transition: color .3s; }
.nav_social_l:hover { color: var(--gold-nav); }

/* ------------------------------------------------------------ hero */
.hero_s { position: sticky; top: 0; display: flex; align-items: center; justify-content: center; width: 100%; height: 100vh; height: 100dvh; color: var(--white); overflow: visible; }
.h_b_p { position: absolute; inset: 0; width: 100%; height: 100%; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.main_video { position: absolute; inset: 0; width: 100%; height: 100%; will-change: transform; transform-origin: 50% 50%; }
.main-camp-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video_bg_c { position: absolute; inset: 0; background: rgba(0, 0, 0, .4); pointer-events: none; }
.h_p { position: relative; width: 100%; padding: 5rem 4rem; }
.h_title { max-width: 20ch; font-size: clamp(3rem, 5vw, 5.5rem); }
.h_title .rw { padding-bottom: .16em; margin-bottom: -.16em; }

/* ------------------------------------------------------------ intro */
.intro_s_w { position: relative; background: var(--bg); color: var(--ink); }
.intro_s { position: relative; display: flex; flex-direction: column; gap: 3rem; padding: 4rem 4rem 6rem; will-change: transform; }
.i_title { max-width: 44ch; font-size: clamp(2.5rem, 4.5vw, 4.5rem); line-height: 1.1; }
.i_c { display: flex; justify-content: space-between; align-items: flex-end; }
.i_c_left { display: flex; flex-direction: column; align-items: flex-start; gap: 2.5rem; color: var(--ink); }
.i_text { max-width: 51ch; font-size: clamp(1rem, 1.1vw, 1.25rem); line-height: 1.4; }
.i_img_w { width: 4rem; }
.i_img_w img { height: auto; object-fit: contain; }
.i_c_right_img { position: relative; width: 20rem; aspect-ratio: 4 / 5; overflow: hidden; }

/* ------------------------------------------------------------ quote over photo */
.certification_s { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; height: 80vh; padding: 3.5rem 4rem; color: var(--title); overflow: hidden; }
.c_b_p { position: absolute; inset: 0; display: flex; overflow: hidden; }
.c_img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 100%; will-change: transform; }
.c_bg { position: absolute; inset: 0; background: rgba(0, 0, 0, .5); }
.c_p { position: relative; width: 100%; }
.c_c { position: relative; display: flex; flex-direction: column; gap: 3rem; }
.c_label_p { display: flex; align-items: center; gap: .5rem; }
.c_line { width: 3rem; height: 1px; background: var(--gold); border-radius: 1px; transform-origin: left center; }
.c_label_txt { font-family: var(--sans); font-weight: 400; letter-spacing: -.02rem; text-transform: uppercase; font-size: .8rem; }
.c_text { max-width: 44ch; font-family: var(--serif); letter-spacing: -.03rem; font-size: clamp(2.25rem, 4vw, 4rem); line-height: 1.2; }

/* ------------------------------------------------------------ collection */
.camp_section { position: relative; display: flex; flex-direction: column; gap: 4rem; background: var(--bg); padding: 6.5rem 4rem 2rem; }
.ca_top { display: flex; justify-content: space-between; align-items: flex-end; }
.ca_p_left { display: flex; flex-direction: column; gap: 1rem; }
.ca_title { font-family: var(--sans); font-weight: 400; letter-spacing: normal; color: var(--ink); text-transform: uppercase; font-size: clamp(1.5rem, 2.25vw, 2.25rem); line-height: 1.2; }
.ca_text { max-width: 54ch; color: var(--body); font-size: clamp(.9rem, 1vw, 1rem); line-height: 1.4; }
.camp_section_swiper { display: flex; flex-direction: column; gap: 4rem; }
.camp_collection_wrapper.swiper { margin: 0 -.5rem; overflow: visible; width: calc(100% + 1rem); }
.camp_collection_list { display: flex; align-items: stretch; }
.no-js .camp_collection_wrapper.swiper { overflow-x: auto; }
.camp_collection_item { flex: none; width: 33.33%; padding: 0 .5rem; }
.ca_link_w { position: relative; display: flex; flex-direction: column; gap: 1.2rem; color: var(--body); }
.ca_img_w { position: relative; height: clamp(19rem, 22vw, 22rem); overflow: hidden; }
.ca_img { position: relative; object-position: 50% 50%; transition: transform .8s var(--ease-io3); }
.ca_link_w:hover .ca_img { transform: scale(1.05); }
.camp_line_w { position: absolute; left: 0; right: 0; bottom: 0; overflow: hidden; }
.ca_line { height: 5px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .8s var(--ease-io3); }
.ca_link_w:hover .ca_line { transform: scaleX(1); transform-origin: left; }
.ca_link_c { display: flex; align-items: center; gap: 2rem; padding-top: 1rem; border-top: 1px solid rgba(180, 172, 165, .5); }
.ca_content_p { display: flex; flex-direction: column; gap: .2rem; }
.camp_h_title { font-family: var(--sans); font-size: clamp(1.2rem, 1.2vw, 1.25rem); font-weight: 500; line-height: 1.4; letter-spacing: -.02rem; color: var(--ink); }
.camp_h_label { color: var(--label); font-size: clamp(.9rem, 1vw, 1rem); }
.camp_collection_pagination { display: flex; justify-content: flex-end; align-items: center; }
.camp-slider_bullet_wrap { display: none; align-items: center; gap: .8rem; width: 100%; }
.camp-slider_bullet_item { width: .5rem; height: .5rem; min-width: 0; border-radius: 100rem; background: #79716a; cursor: pointer; }
.camp-slider_bullet_item.is-active { background: var(--ink); }
.camp_slider_buttons { display: flex; gap: .8rem; }
.camp-slider_btn_element { display: flex; align-items: center; justify-content: center; width: 2.5rem; height: 2.5rem; padding: .8rem; border-radius: 100vw; background: var(--ink); color: var(--white); border: 1px solid var(--ink); transition: background-color .3s, color .3s, border-color .3s; }
.camp-slider_btn_element.swiper-button-disabled { background: transparent; border-color: var(--stroke); color: var(--ink); cursor: default; }
.camp-slider_btn_element svg { width: 100%; height: 100%; }

/* ------------------------------------------------------------ story */
.story_s { position: relative; background: var(--bg); overflow: visible; }
.story_p { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.story_stck { position: sticky; top: 0; z-index: 1; display: flex; justify-content: center; align-items: flex-start; width: 50%; height: 100vh; height: 100dvh; padding-top: 12rem; pointer-events: none; }
.story_stck a { pointer-events: auto; }
.story_c { display: flex; flex-direction: column; gap: 2rem; text-align: center; }
.story_gc { display: flex; justify-content: center; }
.story_title { max-width: 24ch; color: var(--ink); font-size: clamp(2.25rem, 4vw, 4rem); line-height: 1.1; }
.story_gc_bottom { display: flex; flex-direction: column; align-items: center; gap: 2rem; }
.story_text { max-width: 62ch; color: var(--body); font-size: clamp(.9rem, 1vw, 1rem); line-height: 1.4; }
.story_img_hold { position: sticky; width: 100%; margin-top: -100vh; margin-top: -100dvh; }
.story_imgs_wrap { display: flex; flex-direction: column; align-items: center; padding: 2rem 1rem 0; overflow: hidden; }
.story_items { display: flex; flex-direction: column; gap: 1rem; width: 100%; will-change: transform; }
.story_items.second { align-items: flex-start; }
.story_items.third { align-items: flex-end; position: relative; }
.story_items.fourth { position: relative; }
.story_items.fifth { align-items: flex-end; position: relative; }
.story_item_p { position: relative; width: 24vw; height: 26vw; overflow: hidden; }
.story_item_p.second { width: 22vw; height: 24vw; }
.story_item_p.third { width: 22vw; height: 26vw; }
.story_item_p.fourth { width: 23vw; height: 26vw; }
.story_item_p.fifth { width: 22vw; height: 24vw; }
.story_img_main { object-fit: cover; object-position: 50% 50%; will-change: transform; }
.story_content { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; }
.story_items.third .story_content, .story_items.fifth .story_content { justify-content: flex-end; }
.story_t { max-width: 22vw; color: var(--body); font-size: clamp(.8rem, .8vw, .8rem); line-height: 1.2; }

/* ------------------------------------------------------------ itinerary / location */
.itinerary_s { position: relative; display: flex; justify-content: space-between; gap: 3rem; background: var(--bg); padding: 2rem 4rem 6.5rem; }
.ite_p_left { display: flex; flex-direction: column; justify-content: center; align-items: stretch; gap: 2rem; padding: 3rem 0; }
.ite_c { display: flex; flex-direction: column; gap: 3rem; }
.ite_title { max-width: 22ch; color: var(--ink); letter-spacing: -.03rem; font-size: clamp(1.75rem, 3vw, 3rem); line-height: 1.1; }
.ite_label_img_w { width: 18rem; }
.ite_label_img_w img { height: auto; width: 6rem; object-fit: contain; }
.ite_content_p { display: flex; flex-direction: column; gap: 2rem; }
.ite_text { max-width: 50ch; color: var(--body); font-size: clamp(.9rem, 1vw, 1rem); line-height: 1.4; }
.ite_buttons_wrap { display: flex; gap: 1.5rem; }
.ite_map { position: relative; width: 40%; flex: none; overflow: hidden; min-height: 32rem; }
.ite_img { position: absolute; inset: 0; }

/* ------------------------------------------------------------ marquee */
.logo_s { position: relative; background: var(--bg); padding: 1rem 0; overflow: hidden; }
.l_w { display: flex; align-items: center; justify-content: flex-start; width: max-content; animation: marquee 60s linear infinite; }
.l_p { display: flex; flex: none; align-items: center; gap: 1vw; }
.l_wrap { display: flex; flex: none; align-items: center; gap: 2.5rem; padding: 1.5rem 1.5rem 1.5rem 3rem; mix-blend-mode: multiply; font-family: var(--serif); font-size: clamp(1.6rem, 2.4vw, 2.4rem); color: var(--body); white-space: nowrap; }
.l_wrap img { width: 2.6rem; height: auto; object-fit: contain; opacity: .85; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ------------------------------------------------------------ footer */
.footer_s { position: relative; z-index: 1; display: flex; flex-direction: column; background: var(--dark); color: var(--white); overflow: hidden; }
.f_p_top { display: flex; flex-direction: column; gap: 3rem; padding: 1rem 4rem; }
.footer_parent_top { display: flex; justify-content: space-between; align-items: center; padding: 3rem 0 4rem; border-bottom: .6px solid var(--label); gap: 1rem; }
.f_logo_container { display: flex; align-items: center; gap: .8rem; height: 6rem; color: var(--gold-nav); }
.logo_f_embed { width: auto; height: 100%; object-fit: contain; }
.certificates_f { display: flex; align-items: center; gap: 2rem; }
.certif_text { display: flex; flex-direction: column; align-items: flex-end; gap: .2rem; font-size: .9rem; color: #eee8df; text-align: right; }
.certif_text strong { font-family: var(--serif); font-size: 1.6rem; font-weight: 400; color: var(--gold); }
.certif_text small { font-size: .75rem; opacity: .75; }
.footer_content_p { display: flex; justify-content: space-between; gap: 6rem; padding: 3rem 4rem 4rem; }
.footer_content_lf { position: relative; display: flex; flex-direction: column; gap: 2rem; align-items: flex-start; }
.footer_label { color: var(--title); font-size: 1.2rem; font-weight: 500; }
.footer_content_c { display: flex; flex-direction: column; gap: 2rem; }
.footer_content_gc { display: flex; flex-direction: column; gap: 1rem; align-items: flex-start; font-size: .9rem; }
.footer_label_s { color: var(--title); font-weight: 500; }
.footer_links_p { display: flex; flex-direction: column; gap: .5rem; align-items: flex-start; }
.footer_label_lw { color: #eee8df; max-width: 23ch; line-height: 1.2; }
.button_container { position: relative; }
.link_f { position: relative; display: flex; flex-direction: column; gap: .1rem; color: var(--white); text-transform: uppercase; font-size: .7rem; font-weight: 500; overflow: hidden; }
.f_link_text { display: block; color: #efe7d8; }
.f_link_text.lower { color: #eee8df; text-transform: none; font-size: .9rem; font-weight: 400; }
.f_line { display: block; width: 100%; height: 1.4px; background: var(--bg); transform: scaleX(0); transform-origin: right; transition: transform .8s var(--ease-io3); }
.link_f:hover .f_line { transform: scaleX(1); transform-origin: left; }
.f_p_link_w { display: flex; gap: 2.5rem; }
.link_list { display: flex; flex-direction: column; gap: 2rem; }
.link_item { position: relative; overflow: hidden; }
.socials_f_p { display: flex; align-items: center; gap: 1.4rem; }
.social_l { display: block; width: 1.6rem; height: 1.6rem; color: var(--white); transition: color .3s; }
.social_l:hover { color: var(--gold); }
.footer_form_container { display: flex; flex-direction: column; gap: 3rem; width: min(30rem, 34%); flex: none; }
.footer_form_p { display: flex; flex-direction: column; gap: 3rem; }
.f_c_top { display: flex; flex-direction: column; gap: 2rem; align-items: flex-start; }
.f_title { font-family: var(--sans); color: var(--title); letter-spacing: -.03rem; font-size: 1.25rem; font-weight: 500; line-height: 1.2; }
.f_body_text { color: #eee8df; max-width: 52ch; line-height: 1.4; }
.f_c_form { display: flex; flex-direction: column; gap: 2rem; position: relative; }
.form_w { display: flex; flex-direction: column; gap: 1rem; }
.form_c_e { display: flex; width: 100%; position: relative; }
.form_t_e_field { width: 100%; height: 2.4rem; color: var(--white); text-transform: uppercase; background: #5c544d; border: 0; border-radius: 3rem; padding: .25rem .25rem .25rem 1.5rem; font: 500 .8rem var(--sans); letter-spacing: .02em; appearance: none; -webkit-appearance: none; }
.form_t_e_field::placeholder { color: var(--white); opacity: 1; }
.form_t_e_field:focus { outline: 1px solid var(--gold); }
select.form_t_e_field { background-image: linear-gradient(45deg, transparent 50%, #fff 50%), linear-gradient(135deg, #fff 50%, transparent 50%); background-position: calc(100% - 1.3rem) 50%, calc(100% - .95rem) 50%; background-size: .35rem .35rem; background-repeat: no-repeat; padding-right: 2.4rem; }
select.form_t_e_field option { color: var(--ink); text-transform: none; }
input[type="date"].form_t_e_field { color-scheme: dark; }
.form_msg_field { height: 5.2rem; border-radius: 1.2rem; padding-top: .7rem; resize: vertical; }
.form_top { display: flex; gap: .7rem; }
.form_cc_wrap { display: flex; flex-direction: column; align-items: flex-start; gap: 1.4rem; }
.form_label_text { opacity: .75; color: #efe7d8; font-size: .8rem; line-height: 1.4; }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__status { min-height: 1.2em; font-size: .85rem; color: #eee8df; }
.form__status.is-ok { color: var(--gold); }
.form__status.is-err { color: #f0a49c; }
.form-msg { font-size: .9rem; padding: .8rem 1rem; border-radius: .5rem; }
.form-msg--ok { background: rgba(215, 180, 106, .18); color: var(--gold); }
.form-msg--err { background: rgba(240, 164, 156, .16); color: #f0a49c; }
.last_f { display: flex; justify-content: center; align-items: center; gap: 2rem; flex-wrap: wrap; width: 100%; padding: 1.5rem 1rem; background: var(--ink); }
.txt_copy { font-size: .7rem; color: var(--white); }
.txt_credit { opacity: .7; text-transform: none; }
.txt_credit a { text-decoration: underline; }

/* ------------------------------------------------------------ responsive */
@media screen and (max-width: 1250px) {
    .footer_content_p { gap: 3rem; }
    .f_p_link_w { flex-direction: column; gap: 2rem; }
}
@media screen and (max-width: 991px) {
    .m_t_wrap, .n_light_b, .m_txt_wrap.second, .m_arrow_w { display: none; }
    .logo_word { display: none; }
    .logo_crest { height: 4.4rem; }
    .g_nav_open_p { gap: 6rem; padding-left: 4rem; padding-right: 4rem; }
    .g_n_bottom { align-items: flex-end; }
    .intro_s { gap: 2rem; padding-top: 4rem; padding-bottom: 4rem; }
    .i_c { flex-direction: column; align-items: flex-start; gap: 2rem; }
    .i_c_right { order: -1; width: 100%; }
    .i_c_right_img { width: 100%; aspect-ratio: 4 / 3; }
    .i_text { max-width: 100%; }
    .i_img_w { align-self: center; width: 5rem; }
    .ca_top { flex-direction: column; align-items: flex-start; gap: 1rem; }
    .ca_img_w { height: 24rem; }
    .camp_collection_item { width: 47%; }
    .story_s { padding-top: 2rem; overflow: hidden; }
    .story_p { align-items: flex-start; justify-content: flex-start; }
    .story_stck { position: relative; width: 100%; height: auto; padding-top: 4rem; pointer-events: auto; }
    .story_img_hold { position: relative; overflow: visible; margin-top: 0; }
    .story_imgs_wrap { flex-direction: row; justify-content: flex-start; align-items: flex-start; gap: 1rem; width: 100%; padding: 2rem 1rem; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
    .story_items, .story_items.second, .story_items.third, .story_items.fourth, .story_items.fifth { width: auto; align-items: flex-start; flex: none; transform: none !important; }
    .story_item_p, .story_item_p.second, .story_item_p.third, .story_item_p.fourth, .story_item_p.fifth { width: 38vw; height: 22rem; }
    .story_t { max-width: 38vw; }
    .itinerary_s { flex-direction: column; padding-top: 3rem; padding-bottom: 3rem; overflow: hidden; }
    .ite_label_img_w, .ite_label_img_w { width: 100%; display: flex; justify-content: center; }
    .ite_map { order: -1; width: 100%; min-height: 0; aspect-ratio: 4 / 3; }
    .l_w { padding-left: 0; }
    .footer_parent_top { padding-top: 1rem; padding-bottom: 2rem; }
    .f_logo_container { height: 3.5rem; }
    .footer_content_p { flex-direction: column; gap: 3rem; }
    .footer_content_lf.last-t { order: 1; }
    .footer_form_container { width: 100%; }
    .f_p_link_w { display: grid; grid-template-columns: 1fr 1fr; }
}
@media screen and (max-width: 767px) {
    .m_l_wrap, .m_line_close_w { width: 1.6rem; height: 2px; }
    .m_l_w { gap: .25rem; }
    .book_s_w, .book_s_w[hidden] { position: fixed; top: 0; left: 1rem; right: 1rem; width: auto; padding-top: 4.4rem; pointer-events: none; }
    .book_s_w[hidden] { display: none; }
    .book_sm_p { pointer-events: auto; }
    .main_b { height: 2.2rem; padding: .5rem .9rem; border-radius: .4rem; }
    .main_b .m_txt_nav { font-size: .72rem; }
    .g_nav_p .logo_crest { display: none; }
    .g_nav_p .logo_word { display: flex; align-items: center; text-align: center; font-size: 1.05rem; letter-spacing: .14em; padding-left: .14em; }
    .g_nav_p .logo_word small { font-size: .5rem; letter-spacing: .12em; margin-top: .2rem; }
    .hero_s { height: 500px; }   /* reference: fixed 500px sticky hero on phones */
    .h_p { padding: 3rem 1rem; }
    .h_title { font-size: 3rem; }
    .intro_s { padding: 3rem 1rem; }
    .i_title { font-size: 2.4rem; }
    .certification_s { padding: 2rem 1rem; }
    .c_text { font-size: 2.5rem; }
    .camp_section { padding-left: 1rem; padding-right: 1rem; }
    .ca_img_w { height: 17rem; }
    .camp_h_title { font-size: 1rem; }
    .camp_h_label { font-size: .7rem; }
    .camp_collection_item { width: 72%; }
    .camp_collection_pagination { justify-content: space-between; gap: 1rem; }
    .camp-slider_bullet_wrap { display: flex; justify-content: flex-start; width: auto; flex: 1; }
    .camp_slider_buttons { display: flex; }
    .story_s { padding: 3rem 1rem 2rem; }
    .story_title { font-size: 2.5rem; }
    .story_p { gap: 2rem; }
    .story_imgs_wrap { padding-left: 0; padding-right: 0; }
    .story_item_p, .story_item_p.second, .story_item_p.third, .story_item_p.fourth, .story_item_p.fifth { width: 22rem; height: 24rem; }
    .story_t { max-width: 22rem; }
    .itinerary_s { padding: 3rem 1rem; }
    .ite_title { font-size: 2.5rem; }
    .ite_buttons_wrap { flex-direction: column; align-items: center; }
    .l_wrap { padding-left: 2rem; }
    .f_p_top { padding-left: 2rem; padding-right: 2rem; }
    .f_title { text-align: left; max-width: none; }
    .footer_content_p { padding-left: 2rem; padding-right: 2rem; }
    .g_nav_w, .g_nav_open_p { padding-left: 1rem; padding-right: 1rem; }
    .n_collection_l { flex-direction: row; }
    .g_n_bottom { flex-direction: column; align-items: flex-start; gap: 4rem; }
    .gn_b_right { gap: 1.4rem; }
}
@media screen and (max-width: 479px) {
    .g_nav_p .logo_word { font-size: 1.2rem; letter-spacing: .12em; padding-left: .12em; }
    .g_nav_p .logo_word small { font-size: .58rem; letter-spacing: .12em; }
    .h_title { font-size: 2.2rem; }
    .intro_s { padding-top: 2rem; padding-bottom: 2rem; }
    .i_title { font-size: 1.8rem; }
    .i_c_right { align-self: center; width: 100%; display: flex; justify-content: center; }
    .i_c_right_img { width: 75%; aspect-ratio: 4 / 5; margin: 0 auto; }
    .c_text { font-size: 1.6rem; }
    .camp_collection_item { width: 96%; }
    .story_s { padding-top: 2rem; }
    .story_title { font-size: 1.8rem; }
    .story_imgs_wrap { padding-top: 0; padding-bottom: 0; }
    .story_item_p, .story_item_p.second, .story_item_p.third, .story_item_p.fourth, .story_item_p.fifth { width: 22rem; height: 25rem; }
    .story_t { font-size: .6rem; line-height: 1.1; }
    .itinerary_s { padding-top: 2rem; padding-bottom: 2rem; }
    .ite_p_left { gap: 1.2rem; padding: 2rem 0; }
    .ite_title { font-size: 1.6rem; }
    .ite_buttons_wrap { gap: 1rem; }
    .main_b { height: 2rem; padding: .7rem 1rem; font-size: .7rem; }
    .g_nav_open { min-height: 100dvh; }
    .g_nav_open_p { gap: 4rem; padding-top: 7rem; }
    .n_collection_l { flex-direction: column; }
    .n_collection_i { width: 100%; }
    .nc_w { flex-direction: row; align-items: center; gap: 1rem; }
    .nc_m_wrap { width: 4rem; height: 4rem; flex: none; }
    .footer_parent_top { flex-direction: column; align-items: flex-start; }
    .f_p_top { padding-left: 1rem; padding-right: 1rem; }
    .certif_text { align-items: flex-start; text-align: left; }
    .footer_content_p { padding: 2rem 1rem; gap: 2rem; }
    .form_top { flex-direction: column; }
}

/* ------------------------------------------------------------ reduced motion */
@media (prefers-reduced-motion: reduce) {
    .l_w { animation: none; }
    *, *::before, *::after { transition-duration: .01ms !important; }
}

/* invalid enquiry fields */
.form_t_e_field[aria-invalid="true"] { outline: 1px solid #f0a49c; }

@media screen and (min-width: 400px) and (max-width: 767px) {
    .g_nav_p .logo_word { font-size: 1.4rem; letter-spacing: .16em; padding-left: .16em; }
    .g_nav_p .logo_word small { font-size: .65rem; letter-spacing: .14em; }
}
