/* hemisnationalpark.com — design system "Shan" */
/* High-desert dust, night ink, monastery sienna and gemstone turquoise —
   with prayer flags as the only burst of color. Cinzel carved like mani stones. */
:root {
  --poussiere: #F5F0E7;   /* high-desert dust, background */
  --nuit: #2B2823;        /* ink of a winter night, text and dark section */
  --nuit-2: #726B5E;      /* scree grey-brown */
  --gonpa: #A1432B;       /* monastery sienna, actions */
  --turquoise: #3A8F85;   /* Ladakhi gemstone */
  --or-toit: #C8A24B;     /* gilded roofs */
  --ciel: #8FAFC2;        /* thin-air sky */
  --ligne: rgba(43, 40, 35, .16);
  --display: "Cinzel", Georgia, serif;
  --sans: "Mukta", system-ui, sans-serif;
  --mono: "Sono", ui-monospace, monospace;
  --r: 7px;
  --pad: clamp(16px, 4vw, 56px);
  --max: 1280px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; }
body { background: var(--poussiere); color: var(--nuit); font: 400 17px/1.66 var(--sans); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
::selection { background: var(--gonpa); color: #fff; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.mono { font-family: var(--mono); font-size: 11.5px; letter-spacing: .03em; }
.ico { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.hide-m { display: inline; }
@media (max-width: 760px) { .hide-m { display: none; } }

/* lungta divider : a line of prayer flags in the five colors */
.lungta { height: 30px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='150' height='30' viewBox='0 0 150 30'%3E%3Cpath d='M0 8 C25 13 50 5 75 9 S125 6 150 9' fill='none' stroke='%232B2823' stroke-opacity='.45' stroke-width='1.4'/%3E%3Cpath d='M12 9.5 l10 1 -1 9 -9 -1Z' fill='%234D7FB5' fill-opacity='.8'/%3E%3Cpath d='M42 8 l10 .2 -.5 9.3 -9.5 -.6Z' fill='%23E8E4D8' stroke='%232B2823' stroke-opacity='.2'/%3E%3Cpath d='M72 8.8 l10 .4 -.8 9.2 -9.4 -.7Z' fill='%23A1432B' fill-opacity='.85'/%3E%3Cpath d='M102 8 l10 .5 -1 9.2 -9.2 -.8Z' fill='%233A8F85' fill-opacity='.85'/%3E%3Cpath d='M132 8.6 l10 .3 -.7 9.1 -9.5 -.6Z' fill='%23C8A24B' fill-opacity='.85'/%3E%3C/svg%3E"); background-repeat: repeat-x; background-position: center; }

/* mani-stone numbering */
.mani { display: inline-grid; place-items: center; width: 34px; height: 29px; background: var(--gonpa); color: #F5F0E7; font: 600 13px/1 var(--display); border-radius: 46% 54% 52% 48% / 60% 58% 42% 40%; }

.site-head { position: sticky; top: 0; z-index: 80; background: color-mix(in srgb, var(--poussiere) 93%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--ligne); }
.head-in { display: flex; align-items: center; gap: 28px; padding: 13px 0; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand svg { width: 38px; height: 38px; color: var(--nuit); }
.brand .name { display: block; font: 600 16px/1.15 var(--display); letter-spacing: .02em; }
.brand .tag { display: block; font: 400 9.5px/1 var(--mono); letter-spacing: .14em; color: var(--nuit-2); margin-top: 4px; }
nav.main { display: flex; gap: 22px; margin-left: auto; }
nav.main a { text-decoration: none; font: 600 13.5px/1 var(--sans); color: var(--nuit-2); padding: 8px 0; border-bottom: 2px solid transparent; transition: color .2s, border-color .2s; }
nav.main a:hover { color: var(--nuit); border-color: var(--gonpa); }
@media (max-width: 920px) { nav.main { display: none; } }
.btn { display: inline-flex; align-items: center; gap: 9px; border-radius: var(--r); padding: 12px 20px; font: 700 14px/1 var(--sans); text-decoration: none; border: 1.5px solid transparent; transition: all .25s var(--ease); cursor: pointer; }
.btn:hover { transform: translateY(-1px); }
.btn-gonpa { background: var(--gonpa); color: #fff; }
.btn-gonpa:hover { background: #7F3220; }
.btn-encre { background: var(--nuit); color: var(--poussiere); }
.btn-ligne { border-color: var(--nuit); color: var(--nuit); background: none; }

/* hero */
.hero { position: relative; min-height: 92svh; display: flex; align-items: flex-end; isolation: isolate; overflow: hidden; }
.hero .ph { position: absolute; inset: 0; z-index: -2; }
.hero .ph img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(36, 33, 28, .42), rgba(36, 33, 28, .22) 42%, rgba(26, 24, 20, .86) 94%); }
.hero-in { position: relative; width: 100%; padding: 130px 0 clamp(30px, 6vh, 58px); color: #fff; }
.kicker { font: 400 11.5px/1.6 var(--mono); letter-spacing: .14em; color: #E9C87F; margin-bottom: 12px; text-transform: uppercase; }
.hero h1 { font: 600 clamp(32px, 4.8vw, 68px)/1.12 var(--display); margin: 0 0 16px; max-width: 17ch; }
.hero h1 em { font-style: normal; color: #E9C87F; }
.hero-row { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(280px, .7fr); gap: 40px; align-items: end; }
@media (max-width: 980px) { .hero-row { grid-template-columns: 1fr; } }
.lead { font-size: clamp(16.5px, 1.5vw, 19.5px); line-height: 1.62; max-width: 54ch; margin: 0 0 22px; }
.booking { display: flex; flex-wrap: wrap; gap: 10px; background: color-mix(in srgb, #FCFAF4 96%, transparent); border-radius: var(--r); padding: 12px; box-shadow: 0 18px 46px rgba(26, 24, 20, .4); color: var(--nuit); border-top: 4px solid var(--gonpa); }
.booking .field { display: flex; gap: 10px; align-items: center; padding: 8px 12px; border-radius: 5px; background: var(--poussiere); border: 1px solid var(--ligne); flex: 1 1 135px; }
.booking .field .ico { color: var(--turquoise); }
.booking label { display: block; font: 400 9.5px/1 var(--mono); letter-spacing: .1em; color: var(--nuit-2); text-transform: uppercase; margin-bottom: 3px; }
.booking input, .booking select { border: 0; background: none; color: var(--nuit); font: 700 14px/1.2 var(--sans); width: 100%; outline: none; }
.booking .btn { flex: 1 1 100%; justify-content: center; }
@media (min-width: 700px) { .booking .btn { flex: 0 0 auto; } }

.credit { position: absolute; right: 12px; top: 10px; z-index: 5; font: 400 10px/1.3 var(--mono); color: #fff; background: rgba(26, 24, 20, .55); padding: 3px 8px; border-radius: 4px; }
.hero .credit, .cta-band .credit { top: auto; bottom: 10px; }

.sec { padding: clamp(60px, 8.5vw, 108px) 0; }
.sec-head { display: flex; gap: 14px; align-items: center; font-family: var(--mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--nuit-2); margin-bottom: clamp(22px, 4vw, 40px); }
.sec-head::after { content: ""; flex: 1; height: 1px; background: var(--ligne); }
h2 { font: 600 clamp(26px, 3.6vw, 44px)/1.18 var(--display); margin: 0; }
h2 em { font-style: normal; color: var(--gonpa); }
.intro-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 60px); align-items: start; margin-bottom: clamp(26px, 4vw, 46px); }
@media (max-width: 860px) { .intro-grid { grid-template-columns: 1fr; } }
.intro-grid p { color: var(--nuit-2); max-width: 52ch; margin: 0 0 16px; }

/* sights : photo cards */
.sights { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.sight { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 300px; border-radius: var(--r); overflow: hidden; text-decoration: none; isolation: isolate; grid-column: span 4; }
.sight.tall { grid-column: span 8; min-height: 380px; }
@media (max-width: 880px) { .sight, .sight.tall { grid-column: span 12 !important; } }
.sight .ph { position: absolute; inset: 0; z-index: -1; }
.sight .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.sight:hover .ph img { transform: scale(1.045); }
.sight .ph::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(26, 24, 20, .88) 0%, rgba(26, 24, 20, .06) 68%); }
.sight .in { position: relative; padding: 18px; color: var(--poussiere); }
.sight .temps { position: absolute; top: 14px; right: 14px; font: 400 10.5px/1 var(--mono); background: rgba(245, 240, 231, .95); color: var(--nuit); border-radius: 5px; padding: 6px 9px; }
.sight .k { font: 400 10px/1 var(--mono); letter-spacing: .14em; color: #E9C87F; display: block; margin-bottom: 6px; }
.sight h3 { font: 600 19px/1.28 var(--display); margin: 0 0 5px; }
.sight p { margin: 0; font-size: 13.5px; opacity: .92; max-width: 52ch; }

/* winter watch : dark section */
.affut { background: var(--nuit); color: #ECE8DF; }
.affut h2 { color: #F5F0E7; }
.affut h2 em { color: #E9C87F; }
.affut .sec-head { color: #A39B8B; }
.affut .sec-head::after { background: rgba(245, 240, 231, .2); }
.affut .intro-grid p { color: #CBC4B6; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 880px) { .plans { grid-template-columns: 1fr; } }
.plan { background: rgba(245, 240, 231, .06); border: 1.5px solid rgba(245, 240, 231, .22); border-radius: var(--r); padding: 22px; display: grid; gap: 9px; align-content: start; }
.plan .k { font: 400 10.5px/1 var(--mono); letter-spacing: .13em; color: #E9C87F; }
.plan h3 { font: 600 17.5px/1.3 var(--display); margin: 0; }
.plan .stats { display: flex; gap: 14px; font-family: var(--mono); font-size: 11px; color: #9FC4BE; flex-wrap: wrap; }
.plan p { margin: 0; font-size: 14px; line-height: 1.6; color: #D3CDC0; }

.stays { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.stay { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 280px; border-radius: var(--r); overflow: hidden; text-decoration: none; grid-column: span 4; isolation: isolate; }
@media (max-width: 880px) { .stay { grid-column: span 12 !important; } }
.stay .ph { position: absolute; inset: 0; z-index: -1; }
.stay .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.stay:hover .ph img { transform: scale(1.045); }
.stay .ph::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(26, 24, 20, .88) 0%, rgba(26, 24, 20, .06) 68%); }
.stay .in { position: relative; display: flex; justify-content: space-between; align-items: flex-end; gap: 14px; padding: 18px; color: var(--poussiere); }
.stay .k { font: 400 10px/1 var(--mono); letter-spacing: .14em; color: #E9C87F; }
.stay h3 { font: 600 19.5px/1.24 var(--display); margin: 5px 0 4px; }
.stay .meta { opacity: .88; font-size: 13.5px; }
.stay .go { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--poussiere); color: var(--nuit); flex: none; transition: all .25s var(--ease); }
.stay:hover .go { background: var(--gonpa); color: #fff; transform: translateX(3px); }

.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 880px) { .posts { grid-template-columns: 1fr; } }
.post { display: flex; flex-direction: column; border-radius: var(--r); overflow: hidden; border: 1px solid var(--ligne); background: #FCFAF4; text-decoration: none; transition: transform .3s var(--ease), box-shadow .3s; }
a.post:hover { transform: translateY(-4px); box-shadow: 0 16px 38px rgba(43, 40, 35, .13); }
.post .ph { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.post .ph img { width: 100%; height: 100%; object-fit: cover; }
.post .in { padding: 17px 18px 20px; display: grid; gap: 7px; }
.post .mono { color: var(--gonpa); font-weight: 600; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; }
.post h3 { font: 600 16.5px/1.34 var(--display); margin: 0; }
.post p { margin: 0; color: var(--nuit-2); font-size: 14px; line-height: 1.5; }
.post.soon { opacity: .55; }
.post.soon .mono { color: var(--nuit-2); }

.faq details { border-bottom: 1px solid var(--ligne); padding: 15px 0; max-width: 820px; }
.faq summary { cursor: pointer; font: 700 16.5px/1.4 var(--sans); }
.faq p { margin: 10px 0 2px; color: var(--nuit-2); }

.cta-band { position: relative; isolation: isolate; padding: clamp(74px, 10vw, 128px) 0; text-align: center; overflow: hidden; color: #fff; }
.cta-band .ph { position: absolute; inset: 0; z-index: -2; }
.cta-band .ph img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.cta-band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(26, 24, 20, .52); }
.cta-band h2 { color: #fff; margin-bottom: 26px; }
.cta-band h2 em { color: #E9C87F; }

footer { border-top: 1px solid var(--ligne); padding: 40px 0 46px; color: var(--nuit-2); font-size: 13.5px; }
.foot-grid { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; }
footer a { color: inherit; }
footer .mono { font-size: 10.5px; }
#credits-list { margin: 10px 0 0; padding: 0 0 0 18px; display: grid; gap: 4px; max-width: 72ch; }
details > summary { cursor: pointer; }

.article-hero { position: relative; min-height: 62svh; display: flex; align-items: flex-end; isolation: isolate; overflow: hidden; color: #fff; }
.article-hero .ph { position: absolute; inset: 0; z-index: -2; }
.article-hero .ph img { width: 100%; height: 100%; object-fit: cover; }
.article-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(36, 33, 28, .4), rgba(26, 24, 20, .87)); }
.article-hero .wrap { width: 100%; padding-bottom: 42px; padding-top: 120px; }
.article-hero h1 { font: 600 clamp(26px, 3.9vw, 48px)/1.22 var(--display); margin: 10px 0 14px; }
.article-hero h1 em { font-style: normal; color: #E9C87F; }
.article-body { max-width: 740px; margin: 0 auto; padding: clamp(40px, 6vw, 64px) var(--pad) 30px; }
.article-body > p:first-child { font-size: clamp(18px, 1.9vw, 20.5px); line-height: 1.62; }
.article-body p { color: #4C473D; line-height: 1.78; }
.article-body h2 { font-size: clamp(20px, 2.4vw, 26px); margin: 1.6em 0 .5em; }
.article-body figure { margin: 2em 0; position: relative; border-radius: var(--r); overflow: hidden; }
.article-body figcaption { font: 400 11.5px/1.6 var(--mono); color: var(--nuit-2); padding: 10px 2px 0; }
.article-body .note { border-left: 4px solid var(--gonpa); background: #FCFAF4; border-radius: 0 var(--r) var(--r) 0; padding: 16px 20px; }
.article-body .note .mono { color: var(--gonpa); font-weight: 600; }
.aff-cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; background: #FCFAF4; border-radius: var(--r); padding: 20px 22px; margin: 2.2em 0; box-shadow: 0 12px 32px rgba(43, 40, 35, .13); border-top: 4px solid var(--gonpa); }
.aff-cta b { font: 600 16px/1.4 var(--display); display: block; }
.aff-cta span { color: var(--nuit-2); font-size: 13.5px; }

[data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { [data-reveal] { opacity: 1; transform: none; transition: none; } }

body.show-aff .aff { outline: 2px dashed var(--gonpa); outline-offset: 3px; position: relative; }
body.show-aff .aff::before { content: "Stay22 · " attr(data-n); position: absolute; top: -10px; left: -6px; z-index: 60; background: var(--gonpa); color: #fff; font: 700 10px/1 var(--mono); padding: 4px 7px; border-radius: 4px; }

/* rangee incomplete du journal : la carte orpheline s'etale proprement */
.posts .post:last-child:nth-child(3n+1) { grid-column: 1 / -1; }
.posts .post:last-child:nth-child(3n+1) .ph { aspect-ratio: 32/10; }
.posts .post:nth-last-child(2):nth-child(3n+1) { grid-column: span 2; }
.posts .post:nth-last-child(2):nth-child(3n+1) .ph { aspect-ratio: 32/10; }
@media (max-width: 880px) { .posts .post:last-child:nth-child(3n+1), .posts .post:nth-last-child(2):nth-child(3n+1) { grid-column: auto; } .posts .post:last-child:nth-child(3n+1) .ph, .posts .post:nth-last-child(2):nth-child(3n+1) .ph { aspect-ratio: 16/10; } }

/* lisibilite des textes sur photo */
.hero .kicker, .hero h1, .hero .lead { text-shadow: 0 1px 2px rgba(0,0,0,.45), 0 2px 18px rgba(0,0,0,.35); }
.article-hero h1, .article-hero .kicker, .article-hero p { text-shadow: 0 1px 2px rgba(0,0,0,.45), 0 2px 18px rgba(0,0,0,.35); }
.sight .in, .stay .in, .baie .in, .cta-band h2 { text-shadow: 0 1px 2px rgba(0,0,0,.5); }
