/*
 * To-Nepal visual foundation, phase 01.
 * Original composition: a field-journal rhythm, route marks and photographic windows.
 * Font licenses are distributed alongside the locally hosted font files.
 */
@font-face {
    font-family: "Bricolage Grotesque";
    src: url("../fonts/to-nepal/bricolage-grotesque.woff2") format("woff2");
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
}
@font-face {
    font-family: "Figtree";
    src: url("../fonts/to-nepal/figtree.woff2") format("woff2");
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
}
body.ota-ui-active {
    --tn-ink: #143c33;
    --tn-green: #176b50;
    --tn-green-dark: #10523e;
    --tn-muted: #52665e;
    --tn-line: #dce5df;
    --tn-paper: #f5f8f5;
    --tn-gold: #e5b84b;
    --tn-display: "Bricolage Grotesque", "Noto Sans Devanagari", sans-serif;
    --tn-body: "Figtree", "Noto Sans Devanagari", system-ui, sans-serif;
    --title-font: var(--tn-display);
    --body-font: var(--tn-body);
    color: var(--tn-ink);
    font-family: var(--tn-body);
    background: #fff;
}
body.ota-ui-active :is(h1, h2, h3) { font-family: var(--tn-display); font-optical-sizing: auto; }
.tn-header, .tn-intro, .tn-header button, .tn-intro button, .tn-intro input { font-family: var(--tn-body); }
:is(.tn-header, .tn-intro) :is(a, button, input, summary):focus-visible {
    outline: 3px solid var(--tn-green);
    outline-offset: 4px;
}
.tn-skip-link {
    position: fixed; top: 8px; left: 12px; z-index: 10001;
    padding: 12px 18px; color: #fff; background: #143c33;
    transform: translateY(-160%); border-radius: 8px;
}
.tn-skip-link:focus { transform: none; color: #fff; }
#tn-content-start { scroll-margin-top: 90px; outline: none; }
.header-ota.tn-header { border-bottom: 1px solid var(--tn-line); }
.header-ota.tn-header .menu-area { padding: 0; background: #fff; box-shadow: none; }
.tn-header-inner {
    width: min(100% - 64px, 1320px); min-height: 88px; margin-inline: auto;
    display: flex; align-items: center; gap: 28px;
}
.tn-header .tn-brand { flex: 0 0 140px; padding: 0; }
.tn-header .tn-brand .logo { margin: 0; }
.tn-header .tn-brand img { width: auto; max-width: 140px; height: auto; max-height: 54px; }
.tn-primary-nav { flex: 1; min-width: 0; }
.tn-header .tn-primary-nav > ul {
    display: flex; align-items: center; justify-content: center; gap: 20px;
    margin: 0; padding: 0; list-style: none;
}
.tn-header .tn-primary-nav > ul > li { margin: 0; padding: 0; }
.tn-header .tn-primary-nav > ul > li > a {
    display: inline-flex; align-items: center; min-height: 48px;
    padding: 8px 0; color: var(--tn-ink); font-size: .9375rem;
    font-weight: 600; white-space: nowrap; line-height: 1.3;
}
.tn-header .tn-primary-nav > ul > li > a::after { font-size: 11px; margin-left: 7px; }
.tn-header .tn-primary-nav a:hover { color: var(--tn-green); }
.header-ota.tn-header .tn-primary-nav li:focus-within > ul.sub-menu {
    visibility: visible; opacity: 1; pointer-events: auto; transform: translateX(-50%) scaleY(1); z-index: 100; transition: none;
}
.header-ota.tn-header .tn-primary-nav > ul > li:nth-last-child(-n+2):focus-within > ul.sub-menu { transform: scaleY(1); }
.tn-header .tn-primary-nav .sub-menu {
    border: 1px solid var(--tn-line); border-radius: 14px;
    box-shadow: 0 14px 38px rgb(20 60 51 / 10%); padding: 12px;
}
.tn-header .tn-primary-nav .sub-menu a { font-size: .9375rem; min-height: 40px; }
.tn-header-tools { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.tn-icon-button, .tn-header .tn-menu-toggle {
    display: inline-flex; justify-content: center; align-items: center;
    width: 44px; height: 44px; padding: 0; border: 1px solid var(--tn-line);
    border-radius: 12px; background: #fff; color: var(--tn-ink); font-size: 17px;
}
.tn-icon-button:hover, .tn-header .tn-menu-toggle:hover { background: var(--tn-paper); color: var(--tn-green); }
.tn-header .tn-menu-toggle { display: none; }
.tn-account-button {
    display: inline-flex; align-items: center; justify-content: center; gap: 9px;
    min-height: 44px; padding: 10px 16px; border: 1px solid var(--tn-green);
    border-radius: 12px; background: var(--tn-green); color: #fff;
    font-size: .9375rem; font-weight: 650; cursor: pointer; list-style: none;
}
.tn-account-button:hover { background: var(--tn-green-dark); color: #fff; }
.tn-account-button span { max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tn-user-menu, .tn-preferences { position: relative; }
.tn-preferences > summary {
    display: flex; align-items: center; gap: 7px; min-height: 44px;
    padding: 8px; color: var(--tn-muted); font-size: .875rem;
    font-weight: 600; list-style: none; cursor: pointer; border-radius: 8px;
}
.tn-header summary::-webkit-details-marker { display: none; }
.tn-header .tn-chevron { font-size: 10px; }
.tn-preferences-panel, .tn-account-panel {
    position: absolute; top: calc(100% + 12px); right: 0; z-index: 2100;
    min-width: 240px; padding: 20px; border: 1px solid var(--tn-line);
    border-radius: 16px; background: #fff; box-shadow: 0 16px 40px rgb(20 60 51 / 14%);
}
.tn-preferences-label { margin: 0 0 10px; color: var(--tn-ink); font-size: .875rem; font-weight: 650; }
.tn-currencies { display: flex; gap: 8px; margin-bottom: 20px; }
.tn-currencies button {
    flex: 1; min-height: 44px; border: 1px solid var(--tn-line);
    border-radius: 8px; background: #fff; color: var(--tn-ink);
    font-size: .875rem; font-weight: 600;
}
.tn-currencies button[aria-pressed="true"] { border-color: var(--tn-green); background: #e9f3ed; color: var(--tn-green-dark); }
.tn-account-panel { margin: 0; list-style: none; padding: 8px; }
.tn-account-panel a { display: block; padding: 12px; color: var(--tn-ink); border-radius: 8px; font-size: .9375rem; }
.tn-account-panel a:hover { background: var(--tn-paper); }
.tn-header .tn-language { height: auto; color: var(--tn-ink); }
.tn-header .tn-language .gt_float_switcher,
.tn-header .tn-language .gt_float_switcher .gt-selected .gt-current-lang {
    color: var(--tn-ink) !important; min-height: 40px !important;
    height: auto !important; font-size: 14px !important; background: #fff !important;
}
.tn-header .tn-language .gt_float_switcher .gt_options { right: auto !important; left: 0 !important; }
.tn-header .tn-language .gt_float_switcher .gt_options a { font-size: 14px !important; min-height: 40px; }
.tn-intro { color: var(--tn-ink); background: var(--tn-paper); overflow: clip; }
.tn-intro-layout {
    width: min(100% - 96px, 1264px); margin-inline: auto; padding: 48px 0 40px;
    display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 64px; align-items: center;
}
.tn-intro-content { min-width: 0; }
.tn-intro--text-only .tn-intro-layout { grid-template-columns: minmax(0, 760px); }
.tn-scene--single .tn-scene-caption { left: 52px; }
.tn-eyebrow { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 0 0 20px; color: var(--tn-muted); font-size: .8125rem; }
.tn-wordmark { padding-right: 12px; border-right: 1px solid #9aac9f; font-size: .875rem; font-weight: 750; color: var(--tn-green); }
body.ota-ui-active .tn-intro h1 {
    font-family: var(--tn-display); font-size: clamp(3.25rem, 5.4vw, 5rem);
    font-weight: 700; line-height: .98; letter-spacing: -.055em; color: var(--tn-ink); margin: 0 0 22px;
}
.tn-intro h1 span { color: var(--tn-green); }
.tn-intro-description { max-width: 39ch; color: var(--tn-muted); font-size: 1.0625rem; line-height: 1.55; margin: 0 0 26px; }
.tn-search { padding: 0; border: 1px solid #cbd9cf; border-radius: 18px; background: #fff; box-shadow: 0 8px 24px rgb(20 60 51 / 5%); }
.tn-search-types { display: flex; align-items: center; gap: 2px; min-width: 0; margin: 0; padding: 8px; border: 0; border-bottom: 1px solid var(--tn-line); overflow-x: auto; }
.tn-search-choice { flex: 1 0 auto; position: relative; margin: 0; cursor: pointer; }
.tn-search .tn-search-choice input[type="radio"] { display: block; visibility: visible; position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.tn-search-choice span {
    display: flex; align-items: center; justify-content: center; gap: 7px;
    min-height: 44px; padding: 8px; border-radius: 10px;
    color: var(--tn-muted); font-size: .875rem; line-height: 1.2; font-weight: 600;
}
.tn-search-choice input:checked + span { background: var(--tn-ink); color: #fff; }
.tn-search-choice input:focus-visible + span { outline: 3px solid var(--tn-green); outline-offset: 2px; }
.tn-search-choice i { font-size: 12px; }
.tn-search-bar { display: flex; align-items: center; gap: 12px; padding: 12px 14px; }
.tn-search-field { min-width: 0; flex: 1; }
.tn-search-field label { display: block; margin: 0 0 3px; color: var(--tn-ink); font-size: .875rem; font-weight: 650; }
.tn-search-field input {
    width: 100%; height: 30px; min-height: 30px; padding: 0; border: 0;
    border-radius: 0; color: var(--tn-ink); background: transparent;
    font-size: 1rem; box-shadow: none;
}
.tn-search-field input::placeholder { color: #64776e; opacity: 1; }
.tn-search-submit {
    display: inline-flex; align-items: center; justify-content: center; gap: 9px; flex-shrink: 0;
    min-height: 52px; padding: 0 18px; border: 0; border-radius: 12px;
    background: var(--tn-green); color: #fff; font-size: 1rem; font-weight: 650;
}
.tn-search-submit:hover { background: var(--tn-green-dark); }
.tn-intro-links { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 15px; }
.tn-intro-links a { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; color: var(--tn-green-dark); font-size: .875rem; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: #a7bdae; }
.tn-intro-links a:hover { text-decoration-color: currentColor; }
.tn-scene { position: relative; height: 430px; margin: 0 0 12px; min-width: 0; }
.tn-scene-main { position: absolute; inset: 0 0 28px 28px; overflow: hidden; border-radius: 100px 22px 22px 22px; background: #d5e2d9; }
.tn-scene-main img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tn-scene-main::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, rgb(11 35 27 / 58%)); pointer-events: none; }
.tn-scene-inset { position: absolute; bottom: 0; left: 0; width: 132px; height: 160px; padding: 6px; background: #fff; border-radius: 15px; box-shadow: 0 6px 20px rgb(20 60 51 / 12%); transform: rotate(-6deg); }
.tn-scene-inset img { width: 100%; height: 100%; display: block; object-fit: cover; border-radius: 10px; }
.tn-route-art { position: absolute; width: calc(100% + 34px); height: calc(100% + 24px); top: -18px; left: -17px; color: #e5b84b; pointer-events: none; }
.tn-scene-caption { position: absolute; right: 22px; bottom: 52px; left: 148px; display: grid; gap: 5px; color: #fff; }
.tn-scene-caption > span:last-of-type { font-family: var(--tn-display); font-weight: 600; font-size: 1.375rem; line-height: 1.15; }
.tn-scene-season { font-size: .8125rem; font-weight: 600; color: #f8d67f; }
.tn-scene-caption a { color: #fff; font-size: .875rem; text-decoration: underline; text-underline-offset: 3px; }
.tn-intro-note { width: min(100% - 96px, 1264px); margin: 0 auto; padding: 16px 0; display: flex; justify-content: space-between; gap: 16px; border-top: 1px solid #d4e0d7; font-size: .875rem; color: var(--tn-muted); }
.tn-intro-note a { color: var(--tn-green-dark); text-decoration: underline; text-underline-offset: 3px; }
.ota-en-hub > .ota-en-section { padding-top: 56px; padding-bottom: 56px; }
.ota-en-hub .ota-en-section-head h2 { font-weight: 650; letter-spacing: -.035em; }
@media (min-width: 1100px) {
    .header-ota.tn-header .tn-menu-toggle { display: none !important; }
}
@media (max-width: 1279px) {
    .tn-header-inner { width: calc(100% - 40px); gap: 18px; }
    .tn-header .tn-primary-nav > ul { gap: 13px; }
    .tn-header .tn-primary-nav > ul > li > a { font-size: .875rem; }
    .tn-header .tn-brand { flex-basis: 112px; }
    .tn-header .tn-brand img { max-width: 112px; }
    .tn-header-tools { gap: 6px; }
    .tn-account-button { padding-inline: 12px; }
    .tn-intro-layout { width: calc(100% - 64px); gap: 36px; }
    .tn-scene { height: 400px; }
    .tn-search-choice i { display: none; }
}
@media (max-width: 1099px) {
    .tn-primary-nav { display: none; }
    .tn-header-inner { min-height: 76px; justify-content: space-between; }
    .tn-header .tn-menu-toggle { display: inline-flex; }
    .tn-header .tn-brand { flex-basis: auto; }
    .tn-header .tn-brand img { max-width: 132px; max-height: 48px; }
    .tn-intro-layout { gap: 28px; }
    .tn-scene { height: 370px; }
    .tn-scene-inset { width: 110px; height: 134px; }
    .tn-scene-caption { left: 132px; right: 16px; }
    .tn-intro-links { gap: 0 16px; }
}
@media (max-width: 767px) {
    .tn-header-inner { width: calc(100% - 32px); min-height: 72px; gap: 10px; }
    .tn-header .tn-brand img { max-width: 112px; max-height: 44px; }
    .tn-header .tn-sign-in, .tn-header .tn-user-menu { display: none; }
    .tn-header-tools { gap: 8px; }
    .tn-preferences > summary { padding: 6px 0; gap: 5px; }
    .tn-preferences > summary > .fa-globe { display: none; }
    .tn-preferences-panel { right: -104px; width: 264px; }
    .tn-intro-layout { width: calc(100% - 32px); padding: 24px 0 20px; grid-template-columns: 1fr; gap: 20px; }
    .tn-eyebrow { gap: 8px; margin-bottom: 14px; font-size: .75rem; }
    .tn-wordmark { font-size: .8125rem; padding-right: 8px; }
    body.ota-ui-active .tn-intro h1 { font-size: clamp(2.5rem, 10.8vw, 3.5rem); line-height: 1; margin-bottom: 14px; letter-spacing: -.045em; }
    .tn-intro-description { max-width: 38ch; font-size: 1rem; line-height: 1.45; margin-bottom: 18px; }
    .tn-search { border-radius: 15px; }
    .tn-search-types { padding: 5px; gap: 0; }
    .tn-search-choice span { min-height: 44px; padding: 8px 6px; }
    .tn-search-choice i { display: none; }
    .tn-search-bar { gap: 8px; padding: 10px 12px; }
    .tn-search-field label { font-size: .875rem; }
    .tn-search-submit { width: 48px; min-height: 48px; padding: 0; }
    .tn-search-submit span { display: none; }
    .tn-intro-links { margin-top: 8px; gap: 0 18px; }
    .tn-intro-links a { font-size: .875rem; min-height: 36px; }
    .tn-scene { height: 154px; margin: 0; }
    .tn-scene-main { inset: 0; border-radius: 16px 48px 16px 16px; }
    .tn-scene-main img { object-position: center 45%; }
    .tn-scene-inset { display: none; }
    .tn-route-art { width: 220px; height: 180px; left: auto; right: -25px; top: -13px; }
    .tn-scene-caption, .tn-scene--single .tn-scene-caption { bottom: 18px; left: 18px; right: 28px; }
    .tn-scene-caption > span:last-of-type { font-size: 1.25rem; }
    .tn-intro-note { width: calc(100% - 32px); padding: 12px 0; font-size: .8125rem; }
    .tn-intro-note > span { display: none; }
    .ota-en-hub > .ota-en-section { padding-top: 36px; padding-bottom: 36px; }
    .ota-en-hub .ota-en-section-head { gap: 12px; margin-bottom: 24px; }
    .ota-en-hub .ota-en-section-head h2 { font-size: 1.75rem; line-height: 1.12; }
}
@media (max-width: 359px) {
    .tn-header-inner { width: calc(100% - 24px); }
    .tn-header .tn-brand img { max-width: 96px; }
    .tn-header-tools { gap: 5px; }
    .tn-intro-layout { width: calc(100% - 24px); }
    .tn-eyebrow { font-size: .75rem; }
    .tn-search-choice span { min-width: 44px; padding-inline: 4px; }
}
@media (prefers-reduced-motion: reduce) {
    .tn-header *, .tn-intro * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

body.ota-ui-active :is(#tn-mobile-navigation, #tn-site-search) :is(a, button, input):focus-visible { outline: 3px solid #e5b84b; outline-offset: 4px; }
