/* Public travel pages share one navigation and visual system. */
@media screen {
html:root{--cover-bar-height:72px;scroll-padding-top:calc(var(--cover-bar-height) + 8px)}
body:has(>.site-header){--night:#0b1d22;--hair:rgb(24 46 71 / .20)}
body:has(>.site-header) .site-header{position:fixed;inset:0 0 auto;z-index:40;height:var(--cover-bar-height);min-height:0;margin:0;padding:0 3.6%;box-sizing:border-box;backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px);display:flex;align-items:center;gap:20px;background:rgb(255 253 248 / 35%);border-bottom:1px solid var(--hair);color:var(--ink);box-shadow:inset 0 1px rgb(255 255 255 / .65),inset 0 -1px rgb(255 255 255 / .32)}
body:has(>.site-header) .site-header:before,body:has(>.site-header) .site-header:after{display:none}
body:has(>.site-header) .site-header .wordmark{color:var(--ink);padding-right:clamp(8px,1.8vw,26px);border-right:1px solid var(--hair);height:100%;margin-right:auto}
body:has(>.site-header) .site-header .logo-type,body:has(>.site-header) .site-header .logo-type>span,body:has(>.site-header) .site-header .desktop-nav>.nav-item,body:has(>.site-header) .desktop-nav .destination-menu>summary,body:has(>.site-header) .mobile-contact>summary{color:var(--ink)}
body:has(>.site-header) .site-header .ikat-frame{fill:var(--blue)}
body:has(>.site-header) .site-header .desktop-nav{margin:0;gap:clamp(14px,1.5vw,24px)}
body:has(>.site-header) .site-header .header-socials{margin:0;padding:0;background:none;border:0;width:auto}
body:has(>.site-header) .header-socials>.social-icon{display:none}
body:has(>.site-header) .site-header .menu-toggle,body:has(>.site-header) .language-switch>summary{background:transparent;color:var(--ink);border-color:var(--hair)}
body:has(>.site-header) .site-header .menu-toggle{padding:0}
body:has(>.site-header) .site-header a:focus-visible, body:has(>.site-header) .site-header summary:focus-visible{outline-offset:2px}
/* Reserve the fixed bar on inner pages; the homepage photograph runs underneath it. */
body:not(:has(.journey-hero--cover)){padding-block-start:var(--cover-bar-height)}
body .trip-subnav,body .guide-bar{top:var(--cover-bar-height)}
body .enquiry-panel{top:calc(var(--cover-bar-height) + var(--trip-nav-height) + 16px)}
html:root:not(.js) body:not(:has(.journey-hero--cover)){padding-block-start:0}
html:root:not(.js) .site-header{position:relative}
body #discover.journey-hero--cover{position:relative;isolation:isolate;box-sizing:border-box;min-height:100svh;width:100%;max-width:none;display:flex;justify-content:center;flex-direction:column;align-items:center;gap:0;text-align:center;overflow:clip;background:var(--night);padding:clamp(90px,15svh,148px) 4% clamp(42px,9svh,90px);margin:0}
body #discover.journey-hero--cover .journey-highlight{position:absolute;inset:0;z-index:-1;width:100%;height:100%;border:0;border-radius:0;margin:0;overflow:hidden}
body #discover.journey-hero--cover .journey-highlight :is(picture,img){display:block;width:100%;height:100%;max-width:none;object-fit:cover;object-position:center 65%;border-radius:0}
body #discover.journey-hero--cover .journey-cover::after{display:block;content:'';position:absolute;inset:0;background:linear-gradient(180deg,#07182140,transparent 28%,#08131826 72%,#0b1d226e),radial-gradient(ellipse at center,#07131888 0%,#07131842 54%,#07131810 95%);pointer-events:none}
body #discover.journey-hero--cover .journey-kicker{position:absolute;bottom:22px;left:3.6%;align-self:auto;margin:0;padding:0}
body #discover.journey-hero--cover .journey-kicker>span.eyebrow:last-child{color:white;font:600 12px/1.4 'DM Sans',sans-serif;letter-spacing:.16em}
body #discover.journey-hero--cover .journey-intro{position:relative;display:block;width:100%;max-width:1400px;align-self:center;padding:0;margin:0}
body #discover.journey-hero--cover .journey-intro h1, html[lang=ru] body #discover.journey-hero--cover .journey-intro h1{font:700 clamp(3rem,12.9vw,13.5rem)/.99 'DM Sans',Arial,sans-serif;letter-spacing:-.075em;color:white;max-width:none;margin:0;text-align:center;overflow-wrap:anywhere}
body #discover.journey-hero--cover .journey-invitation{margin:12px auto 0;padding:0;max-width:48ch}
body #discover.journey-hero--cover .journey-invitation .hero-service{font:500 clamp(17px,1.9vw,29px)/1.18 'DM Sans',sans-serif!important;letter-spacing:-.025em;color:white!important;text-shadow:0 1px 12px #07182199;text-wrap:balance;margin-inline:auto}
body #discover.journey-hero--cover .hero-actions{display:flex;flex-direction:row;align-items:center;justify-content:center;gap:16px;margin:26px auto 0}
body #discover.journey-hero--cover .hero-actions .button{width:auto;min-width:9.5em;color:var(--night);background:#fff;border-color:#fff}
body #discover.journey-hero--cover .hero-actions .text-link{color:white;border-color:#ffffff99}
.journey-index{max-width:1500px;margin:0 auto;padding:clamp(30px,4vw,64px) 4% 0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(14px,2.1vw,32px)}
.journey-index>a{min-width:0;color:var(--ink);text-decoration:none;border-block-start:1px solid var(--line);padding-top:12px}
.index-photo{overflow:hidden;aspect-ratio:2.45;background:var(--linen)}
.index-photo img,.index-photo picture{display:block;width:100%;height:100%;object-fit:cover}
.index-entry{display:flex;gap:12px;align-items:baseline;padding-top:12px}
.index-number{color:var(--blue);font-size:.7rem;font-variant-numeric:tabular-nums}
.index-entry strong{display:block;font-family:var(--font-display,Georgia),serif;font-size:clamp(22px,2.3vw,36px);font-weight:500;line-height:1.15}
.index-entry small{display:block;font-size:.85rem;color:var(--muted);margin-top:4px}
.index-arrow{margin-inline-start:auto;color:var(--blue)}
.journey-index>a:is(:hover,:focus-visible) strong{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:.14em}
@media(prefers-reduced-motion:no-preference) and (hover:hover) and (pointer:fine){.index-photo img{transition:transform 280ms var(--ease-travel)}.journey-index>a:hover img{transform:scale(1.035)}}

body .journey-index{box-sizing:border-box;width:100%;max-width:none;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:0;padding:clamp(60px,7vw,110px) 3.6%;background:var(--paper);color:var(--ink)}
.index-heading{grid-column:1/-1;display:grid;grid-template-columns:22% 1fr;gap:2%;align-items:start;margin:0 0 clamp(18px,4vw,60px)}
.index-heading>span{font-size:.87rem;color:var(--muted)}.index-heading>span::before{content:'✦';padding-right:.5em}
.index-heading h2{font:600 clamp(34px,4.8vw,78px)/1.03 'DM Sans',sans-serif;letter-spacing:-.055em;color:inherit;max-width:20ch;margin:0}
body .journey-index>a{display:block;position:relative;isolation:isolate;overflow:hidden;border-radius:3px;border:0;padding:0;background:#19323a;color:white}
body .index-photo{aspect-ratio:1.14;background:#19323a}
body .index-entry{position:absolute;inset:auto 0 0;padding:65px clamp(14px,2vw,28px) 24px;align-items:end;background:linear-gradient(transparent,#051619e3)}
body .index-entry strong{font:600 clamp(22px,2.5vw,42px)/1.06 'DM Sans',sans-serif;letter-spacing:-.045em}
body .index-entry small,body .index-arrow{color:#fff}
body .index-number{display:none}
body .journey-index>a:focus-visible{outline:3px solid var(--blue);outline-offset:3px}
@media(max-width:767px){
 html:root{--cover-bar-height:64px}
 body:has(>.site-header) .site-header{padding:0 4%;flex-wrap:nowrap;gap:10px}
 body:has(>.site-header) .site-header .header-socials{display:flex;order:0;flex:0 0 auto}
 body:has(>.site-header) .mobile-contact{position:static;margin:0}
 body:has(>.site-header) .mobile-contact>summary{display:flex;align-items:center;justify-content:center;width:44px;height:44px;padding:0;font-size:0;line-height:0;gap:0;background:transparent}
 body:has(>.site-header) .mobile-contact>summary::after{content:"";width:20px;height:20px;background:currentColor;mask:url("/contact-phone.svg") center/contain no-repeat}
 body:has(>.site-header) .mobile-contact-links{top:100%;right:4%}
 body #discover.journey-hero--cover .journey-intro h1,html[lang=ru] body #discover.journey-hero--cover .journey-intro h1{font-size:clamp(46px,13.6vw,96px)}
 body #discover.journey-hero--cover .hero-actions{flex-wrap:wrap;gap:12px}
 body .journey-index{grid-template-columns:1fr;padding-inline:4%;gap:12px}
 .index-heading{grid-template-columns:1fr;gap:12px}
 body #discover.journey-hero--cover .journey-highlight img{object-position:50% 76%}
 body .index-photo{aspect-ratio:2.05}
 body .index-entry{padding:38px 18px 14px}
}
@media(max-width:1100px){
 html:root:not(.js) .site-header{position:relative;height:auto;flex-wrap:wrap;background:var(--paper)}
}
/* Keep every header action within reach on narrow phones. */
@media(max-width:480px){
 body:has(>.site-header) .site-header{padding:0 3%;gap:4px}
 body:has(>.site-header) .site-header .wordmark{padding-right:6px;gap:0}
 body:has(>.site-header) .site-header .wordmark .logo-art{display:none}
 body:has(>.site-header) .site-header .language-switch>summary{min-width:44px}
}
@media(max-width:359px){body:has(>.site-header) .site-header{padding:0 2.5%;gap:2px}}
@media(prefers-reduced-transparency:reduce){body:has(>.site-header) .site-header{background:var(--paper);backdrop-filter:none;-webkit-backdrop-filter:none}}
}
@media print{.journey-index{display:none}}

/* Keep the train nose and the distant dome in frame on the shallow mobile cards. */
.index-photo img[src="/rail-journey.jpg"]{object-position:50% 56%}
.index-photo img[src="/lantern-lane.jpg"]{object-position:50% 62%}

.beauty-photo img[src="/lane-at-work.jpg"]{object-position:50% 100%}

@media screen {
  /* The same sans-serif hierarchy as the photographic opening and journey cards. */
  body {--display-font:'DM Sans',Arial,sans-serif}
  body main :is(h1,h2,h3),body .footer-invitation h2 {
    font-family:var(--display-font);letter-spacing:-.04em;line-height:1.08
  }
  body main :is(h1,h2),body .footer-invitation h2 {font-weight:650}
  body main h1 {overflow-wrap:break-word}
  body main :is(h1,h2) em {font-family:inherit}
  body :is(.workshop-photo,.destination-photo,.destination-detail,.destination-more a){border-radius:4px;overflow:hidden}

  /* Give the catalogue its own photographic introduction using the existing photo library. */
  body .workshop-page>header{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.9fr);gap:clamp(24px,5vw,80px);align-items:center;max-width:none;margin-bottom:clamp(36px,5vw,76px)}
  .workshop-intro-photo{overflow:hidden;border-radius:4px;aspect-ratio:1.75}
  .workshop-intro-photo :is(picture,img){display:block;width:100%;height:100%;object-fit:cover}
  body .workshop-grid article{border-top:1px solid var(--line);padding-top:12px}
  body #our-way .values article{border-top:1px solid var(--line);padding-block-start:20px}
  body #our-way .values{counter-reset:principle}
  body #our-way .values article::before{counter-increment:principle;content:counter(principle,decimal-leading-zero);display:block;margin-bottom:16px;font-size:.82rem;color:var(--muted);font-variant-numeric:tabular-nums}
  body #about{background:var(--linen);border-block:1px solid var(--line)}
  body #about .about-copy>p{line-height:1.65}
  body #about h2{font-size:clamp(36px,4.8vw,76px)}

  body main :is(a.text-link:not(.hero-actions a),a.whatsapp-secondary,.workshop-grid details>summary,.workshop-choices>summary){
    display:inline-flex;width:fit-content;align-items:center;justify-content:center;gap:.6em;
    min-height:44px;padding:.7em 1.25em;border:1px solid #9297a0;border-radius:999px;
    background:var(--paper);color:var(--ink);text-decoration:none;font-weight:650;line-height:1.2;cursor:pointer
  }
  .workshop-grid details>summary::-webkit-details-marker,.workshop-choices>summary::-webkit-details-marker{display:none}
  :is(.workshop-grid details,.workshop-choices)>summary::after{content:'+'}
  :is(.workshop-grid details,.workshop-choices)[open]>summary::after{content:'−'}
  body main :is(a.button,button.button){border-radius:999px}
  @media(hover:hover){
    body main :is(a.text-link:not(.hero-actions a),a.whatsapp-secondary,.workshop-grid details>summary,.workshop-choices>summary,a.button,button.button):not(:disabled):hover{background:#efd09a;color:var(--ink);border-color:#ac894e;text-decoration:none}
  }
  @media(prefers-reduced-motion:no-preference){
    body main :is(a.text-link,a.whatsapp-secondary,.workshop-grid details>summary,.workshop-choices>summary,.button){transition:background-color 200ms var(--ease-travel),color 200ms var(--ease-travel),border-color 200ms var(--ease-travel)}
  }
  @media(max-width:700px){
    body .workshop-page>header{grid-template-columns:1fr;gap:18px}
    .workshop-intro-photo{aspect-ratio:2.6}
  }
}

/* The cover title rises first; the smaller line follows as it settles. */
@media screen and (prefers-reduced-motion:no-preference){
  #discover.journey-hero--cover .journey-intro h1{
    animation:cover-title-arrive 760ms var(--ease-travel) backwards;
    transform-origin:center bottom;
  }
  #discover.journey-hero--cover .hero-service{
    animation:cover-copy-arrive 580ms var(--ease-travel) 120ms backwards;
  }
}
@keyframes cover-title-arrive{
  from{transform:translateY(.22em) scale(.965)}
  to{transform:none}
}
@keyframes cover-copy-arrive{
  from{opacity:.45;transform:translateY(10px)}
  to{opacity:1;transform:none}
}
