/* ==========================================================================
   28 Shades of India — site styles
   Midnight ink, warm paper, restrained accents. Photography carries colour.
   ========================================================================== */

@font-face { font-family: "EB Garamond"; src: url("../fonts/eb-garamond-latin-wght-normal.woff2") format("woff2-variations"); font-weight: 400 800; font-style: normal; font-display: swap; unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "EB Garamond"; src: url("../fonts/eb-garamond-latin-wght-italic.woff2") format("woff2-variations"); font-weight: 400 800; font-style: italic; font-display: swap; unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "EB Garamond"; src: url("../fonts/eb-garamond-rupee-wght-normal.woff2") format("woff2-variations"); font-weight: 400 800; font-display: swap; unicode-range: U+20B9; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2-variations"); font-weight: 100 900; font-display: swap; unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-rupee-wght-normal.woff2") format("woff2-variations"); font-weight: 100 900; font-display: swap; unicode-range: U+20B9; }

@font-face { font-family: "DM Serif Display"; src: url("../fonts/dm-serif-display-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "DM Serif Display"; src: url("../fonts/dm-serif-display-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "DM Serif Display"; src: url("../fonts/eb-garamond-rupee-wght-normal.woff2") format("woff2-variations"); font-weight: 400 800; font-display: swap; unicode-range: U+20B9; }

:root {
	--ink: #101A25;
	--ink-2: #172431;
	--ink-3: #22313F;
	--paper: #F3EEE4;
	--paper-2: #EAE3D6;
	--paper-3: #DDD3C2;
	--white: #FBF9F4;
	--brass: #C6A46A;
	--brass-deep: #8C6B32;
	--sage: #687A68;
	--earth: #A85F45;
	--sand: #E2D3B5;
	--slate: #4F6F86;
	--text: #1E2731;
	--muted: #5C6570;
	--on-ink: #EDE7DB;
	--on-ink-muted: #A7ADB3;
	--line: rgba(16, 26, 37, .14);
	--line-ink: rgba(237, 231, 219, .16);
	--serif: "EB Garamond", "Iowan Old Style", Georgia, serif;
	--sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Inter", ui-sans-serif, system-ui, "Segoe UI", sans-serif;
	--display: "DM Serif Display", "EB Garamond", Georgia, serif;
	--wrap: 1240px;
	--gutter: clamp(20px, 4vw, 48px);
	--ease: cubic-bezier(.22, .61, .36, 1);
	--part-0: #687A68; --part-1: #C6A46A; --part-2: #A85F45; --part-3: #4F6F86; --part-4: #8E7B5E;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--text); font: 400 clamp(16px, 1.05vw + 11px, 18px)/1.65 var(--sans); font-feature-settings: "kern", "liga", "calt"; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .18em; }
p { margin: 0 0 1.1em; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 400; line-height: 1.06; letter-spacing: -.008em; margin: 0 0 .5em; text-wrap: balance; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }
::selection { background: var(--brass); color: var(--ink); }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 1000; background: var(--ink); color: var(--paper); padding: 10px 16px; }
.skip-link:focus { top: 12px; }
.screen-reader-text, .sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }

/* ---------- layout ---------- */
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.wrap--narrow { width: min(100% - 2 * var(--gutter), 760px); margin-inline: auto; }
.wrap--read { width: min(100% - 2 * var(--gutter), 660px); margin-inline: auto; }
.section { padding-block: clamp(72px, 10vw, 150px); position: relative; }
.section--tight { padding-block: clamp(56px, 7vw, 96px); }
.section--ink { background: var(--ink); color: var(--on-ink); }
.section--ink-2 { background: var(--ink-2); color: var(--on-ink); }
.section--paper-2 { background: var(--paper-2); }
.section--white { background: var(--white); }
.rule { height: 1px; background: var(--line); border: 0; margin: 0; }
.section--ink .rule { background: var(--line-ink); }

/* ---------- type ---------- */
.label { font: 600 12px/1.4 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--brass-deep); margin: 0 0 18px; display: block; }
.section--ink .label, .section--ink-2 .label, .on-ink .label { color: var(--brass); }
.display { font-size: clamp(2.7rem, 6.4vw, 6.6rem); line-height: .98; font-weight: 420; letter-spacing: -.02em; }
.h1 { font-size: clamp(2.4rem, 4.8vw, 4.6rem); line-height: 1.02; }
.h2 { font-size: clamp(2rem, 3.6vw, 3.4rem); line-height: 1.06; }
.h3 { font-size: clamp(1.45rem, 2vw, 1.9rem); line-height: 1.15; }
.lede { font: 400 clamp(1.3rem, 1.7vw, 1.6rem)/1.45 var(--serif); color: var(--text); max-width: 34em; }
.section--ink .lede, .section--ink-2 .lede { color: var(--on-ink); }
.italic { font-style: italic; }
.muted { color: var(--muted); }
.section--ink .muted, .section--ink-2 .muted { color: var(--on-ink-muted); }
.small { font-size: .875rem; }
.serif { font-family: var(--serif); }
.prose { font-size: clamp(17px, .5vw + 14.5px, 19px); line-height: 1.75; }
.prose p { margin-bottom: 1.25em; }
.prose--serif { font-family: var(--serif); font-size: clamp(1.18rem, .5vw + 1rem, 1.36rem); line-height: 1.62; }
.dropcap::first-letter { float: left; font: 400 4.6em/.82 var(--display); padding: .06em .1em 0 0; color: var(--ink); }
.section--ink .dropcap::first-letter { color: var(--brass); }
.pull { font: italic 400 clamp(1.7rem, 3vw, 2.7rem)/1.22 var(--serif); letter-spacing: -.01em; margin: 0; text-wrap: balance; }
.pull cite { display: block; margin-top: 18px; font: 600 12px/1.4 var(--sans); letter-spacing: .12em; text-transform: uppercase; font-style: normal; color: var(--brass-deep); }
.section--ink .pull cite, .section--ink-2 .pull cite { color: var(--brass); }
.num { font-family: var(--display); font-variant-numeric: lining-nums; }

/* ---------- buttons & links ---------- */
.btn { display: inline-flex; align-items: center; gap: 12px; padding: 16px 26px; border-radius: 2px; border: 1px solid transparent; font: 600 14px/1 var(--sans); letter-spacing: .02em; text-decoration: none; cursor: pointer; transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn--brass { background: var(--brass); color: var(--ink); }
.btn--brass:hover { background: #D4B47D; }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: var(--ink-3); }
.btn--line { border-color: currentColor; color: inherit; background: transparent; }
.btn--line:hover { background: rgba(127, 127, 127, .08); }
.btn .arr { transition: transform .3s var(--ease); }
.btn:hover .arr { transform: translateX(3px); }
.btn[aria-disabled="true"] { opacity: .55; pointer-events: none; }
.link { display: inline-flex; align-items: center; gap: 10px; font: 600 14px/1.3 var(--sans); text-decoration: none; padding-bottom: 4px; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; transition: background-size .4s var(--ease); }
.link:hover { background-size: 40% 1px; }
.link .arr { transition: transform .3s var(--ease); }
.link:hover .arr { transform: translateX(4px); }
.actions { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--paper); border-bottom: 1px solid var(--line); transition: transform .45s var(--ease), background .35s var(--ease), border-color .35s var(--ease), color .35s var(--ease); }
.admin-bar .site-header { top: var(--wp-admin--admin-bar--height, 0px); }
.site-header__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 76px; }
.brand { position: relative; z-index: 3; display: inline-flex; flex-direction: column; text-decoration: none; line-height: .95; font-family: var(--display); letter-spacing: .06em; text-transform: uppercase; }
.brand b { font-weight: 400; font-size: 19px; letter-spacing: .05em; }
.brand span { font-size: 13px; color: var(--brass-deep); letter-spacing: .14em; margin-top: 3px; }
.nav { display: flex; align-items: center; gap: clamp(18px, 2.2vw, 34px); }
.nav ul { display: flex; gap: clamp(16px, 2vw, 30px); list-style: none; margin: 0; padding: 0; }
.nav a:not(.btn) { font: 500 14px/1 var(--sans); text-decoration: none; padding: 8px 0; position: relative; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.nav a:not(.btn):hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav .btn { padding: 12px 18px; font-size: 13px; }
.menu-toggle { display: none; background: none; border: 0; padding: 10px; margin-right: -10px; cursor: pointer; }
.menu-toggle span { display: block; width: 24px; height: 1.5px; background: currentColor; margin: 6px 0; transition: transform .35s var(--ease), opacity .2s; }
.has-dark-hero .site-header { position: fixed; left: 0; right: 0; background: transparent; border-color: transparent; color: var(--paper); }
.has-dark-hero .site-header .brand span { color: var(--brass); }
.has-dark-hero.is-scrolled .site-header { background: var(--paper); color: var(--text); border-color: var(--line); }
.has-dark-hero.is-scrolled .site-header .brand span { color: var(--brass-deep); }
.is-scrolled.is-down .site-header { transform: translateY(-101%); }
body.menu-open .site-header { transform: none; }
@media (max-width: 1180px) {
	.menu-toggle { display: block; position: relative; z-index: 3; }
	.nav { position: fixed; inset: 0; z-index: 2; background: var(--ink); color: var(--on-ink); flex-direction: column; align-items: flex-start; justify-content: center; padding: 100px var(--gutter) 40px; gap: 34px; visibility: hidden; opacity: 0; transition: opacity .4s var(--ease), visibility 0s .4s; }
	.nav ul { flex-direction: column; gap: 8px; }
	.nav a:not(.btn) { font: 400 clamp(1.55rem, 6.4vw, 2.3rem)/1.18 var(--display); text-transform: uppercase; letter-spacing: .035em; padding: 4px 0; }
	.menu-open .nav { visibility: visible; opacity: 1; transition: opacity .4s var(--ease); }
	.menu-open .site-header { color: var(--on-ink); background: transparent !important; border-color: transparent !important; }
	.menu-open .menu-toggle span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
	.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
	.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
	.menu-open { overflow: hidden; }
}

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: var(--on-ink); padding: clamp(64px, 8vw, 110px) 0 32px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer-top h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); margin-bottom: 14px; }
.footer-top ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-top a { text-decoration: none; color: var(--on-ink-muted); font-size: 15px; transition: color .3s; }
.footer-top a:hover { color: var(--on-ink); }
.footer-top .label { color: var(--brass); }
.footer-bottom { margin-top: clamp(56px, 7vw, 90px); padding-top: 24px; border-top: 1px solid var(--line-ink); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--on-ink-muted); }
.footer-bottom a { color: var(--on-ink); text-decoration: none; }
.footer-bars { display: flex; align-items: flex-end; gap: 5px; height: 46px; margin-bottom: 22px; }
.footer-bars i { width: 9px; display: block; }
@media (max-width: 860px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-top > :first-child { grid-column: 1 / -1; } }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; color: var(--paper); background: var(--ink); overflow: hidden; }
.hero__media { position: absolute; inset: 0; }
.hero__media img, .hero__media picture { width: 100%; height: 100%; object-fit: cover; }
.hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(16, 26, 37, .55) 0%, rgba(16, 26, 37, 0) 26%, rgba(16, 26, 37, 0) 46%, rgba(16, 26, 37, .78) 100%); }
.hero__in { position: relative; z-index: 1; padding-bottom: clamp(48px, 8vh, 96px); }
.hero__grid { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 32px; }
.hero h1 { margin: 0 0 22px; max-width: 11em; }
.hero .label { color: rgba(243, 238, 228, .82); text-shadow: 0 1px 12px rgba(0,0,0,.35); }
.hero .lede { color: rgba(243, 238, 228, .88); max-width: 30em; margin-bottom: 30px; }
.hero__caption { font-size: 12.5px; color: rgba(243, 238, 228, .72); text-align: right; max-width: 220px; line-height: 1.5; }
.hero__caption b { display: block; color: var(--paper); font-weight: 500; }
.scroll-cue { position: absolute; left: 50%; bottom: 22px; width: 1px; height: 52px; background: rgba(243, 238, 228, .3); overflow: hidden; z-index: 1; }
.scroll-cue::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--paper); animation: cue 2.4s var(--ease) infinite; }
@keyframes cue { to { top: 110%; } }
@media (max-width: 720px) { .hero__grid { grid-template-columns: 1fr; } .hero__caption { text-align: left; } .scroll-cue { display: none; } }

/* ---------- home: premise ---------- */
.premise { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.premise h2 { position: sticky; top: 120px; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--line); }
.facts div { padding: 22px 18px 0 0; }
.facts b { display: block; font: 400 clamp(2.2rem, 4vw, 3.4rem)/1 var(--display); }
.facts span { font-size: 13px; color: var(--muted); }
@media (max-width: 860px) { .premise { grid-template-columns: 1fr; } .premise h2 { position: static; } .facts { grid-template-columns: 1fr 1fr; row-gap: 24px; } }

/* ---------- journey cards ---------- */
.head-row { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: clamp(36px, 5vw, 64px); }
.head-row h2 { margin: 0; max-width: 14em; }
.selected { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(20px, 2.4vw, 36px); }
.jcard { position: relative; text-decoration: none; display: block; }
.jcard__img { overflow: hidden; background: var(--paper-3); aspect-ratio: 4 / 5; }
.jcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.jcard:hover .jcard__img img { transform: scale(1.035); }
.jcard__meta { display: flex; gap: 12px; align-items: baseline; margin: 18px 0 6px; font: 600 12px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--brass-deep); }
.jcard h3 { font-size: clamp(1.6rem, 2.3vw, 2.2rem); margin: 0 0 4px; }
.jcard .sub { font: italic 400 1.15rem/1.35 var(--serif); color: var(--muted); margin: 0 0 12px; }
.jcard p.t { font-size: 15px; color: var(--muted); margin: 0; max-width: 36em; }
.section--ink .jcard .sub, .section--ink .jcard p.t { color: var(--on-ink-muted); }
.selected .jcard:nth-child(1) { grid-column: 1 / span 7; }
.selected .jcard:nth-child(1) .jcard__img { aspect-ratio: 16 / 11; }
.selected .jcard:nth-child(2) { grid-column: 9 / span 4; margin-top: clamp(40px, 10vw, 160px); }
.selected .jcard:nth-child(3) { grid-column: 2 / span 4; }
.selected .jcard:nth-child(4) { grid-column: 7 / span 6; margin-top: clamp(30px, 6vw, 90px); }
.selected .jcard:nth-child(4) .jcard__img { aspect-ratio: 3 / 2; }
.selected .jcard:nth-child(5) { grid-column: 4 / span 5; }
@media (max-width: 860px) {
	.selected { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 18px; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scrollbar-width: none; }
	.selected::-webkit-scrollbar { display: none; }
	.selected .jcard { flex: 0 0 78%; scroll-snap-align: start; margin: 0 !important; }
	.selected .jcard .jcard__img { aspect-ratio: 4 / 5 !important; }
	.head-row { flex-direction: column; align-items: flex-start; }
}

/* ---------- map ---------- */
.india-map { width: 100%; height: auto; overflow: visible; }
.india-map .regions path { fill: var(--paper-3); stroke: var(--paper); stroke-width: 1.1; vector-effect: non-scaling-stroke; transition: fill .35s var(--ease); cursor: pointer; }
.india-map .regions path:hover, .india-map .regions path.is-hover { fill: var(--sage); }
.india-map .regions path.is-active { fill: var(--earth); }
.india-map .regions path.is-dim { fill: #E6DFD2; }
.india-map .pins circle { fill: var(--earth); stroke: var(--paper); stroke-width: 1.5; transition: r .3s var(--ease), fill .3s; pointer-events: none; }
.india-map .pins circle.is-active { fill: var(--ink); r: 7; }
.map--parts .regions path[data-part="0"] { fill: var(--part-0); }
.map--parts .regions path[data-part="1"] { fill: var(--part-1); }
.map--parts .regions path[data-part="2"] { fill: var(--part-2); }
.map--parts .regions path[data-part="3"] { fill: var(--part-3); }
.map--parts .regions path[data-part="4"] { fill: var(--part-4); }
.map--parts .regions path { stroke: var(--ink); stroke-width: .9; }
.map--parts .regions path:hover { fill: var(--paper); }
.map--parts .pins { display: none; }
.map--lite path { fill: var(--paper-3); stroke: var(--paper); stroke-width: 1; vector-effect: non-scaling-stroke; }
.map--lite path.is-here { fill: var(--earth); }
.section--ink .map--lite path { fill: var(--ink-3); stroke: var(--ink); }
.section--ink .map--lite path.is-here { fill: var(--brass); }

.parts-home { display: grid; grid-template-columns: 6fr 5fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.parts-list { list-style: none; margin: 32px 0 40px; padding: 0; border-top: 1px solid var(--line-ink); }
.parts-list li { display: grid; grid-template-columns: 18px 1fr auto; gap: 16px; align-items: baseline; padding: 18px 0; border-bottom: 1px solid var(--line-ink); }
.parts-list i { width: 12px; height: 12px; border-radius: 50%; display: block; transform: translateY(2px); }
.parts-list b { font: 400 1.45rem/1.2 var(--display); }
.parts-list span { display: block; font-size: 14px; color: var(--on-ink-muted); margin-top: 4px; }
.parts-list em { font: 400 13px/1 var(--sans); font-style: normal; color: var(--on-ink-muted); white-space: nowrap; }
@media (max-width: 860px) { .parts-home { grid-template-columns: 1fr; } .parts-home .map-wrap { max-width: 460px; } }

/* journeys explorer */
.explorer { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.explorer__map { position: sticky; top: 100px; }
.explorer__card { position: absolute; right: 0; bottom: 6%; width: min(340px, 60%); background: var(--white); box-shadow: 0 30px 60px -30px rgba(16, 26, 37, .45); text-decoration: none; display: none; }
.explorer__card.is-open { display: block; }
.explorer__card .ph { aspect-ratio: 3 / 2; overflow: hidden; background: var(--paper-3); }
.explorer__card .ph img { width: 100%; height: 100%; object-fit: cover; }
.explorer__card .bd { padding: 18px 20px 20px; }
.explorer__card h3 { font-size: 1.7rem; margin: 6px 0 2px; }
.explorer__card .sub { font: italic 1.08rem/1.3 var(--serif); color: var(--muted); margin: 0 0 10px; }
.explorer__card p { font-size: 14px; color: var(--muted); margin: 0 0 14px; }
.explorer__list .search { width: 100%; padding: 14px 0; border: 0; border-bottom: 1px solid var(--ink); background: transparent; font: 400 1.3rem/1.2 var(--serif); color: var(--text); margin-bottom: 18px; border-radius: 0; }
.explorer__list .search::placeholder { color: var(--muted); }
.explorer__list .search:focus { outline: none; border-bottom-color: var(--brass-deep); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.chip { border: 1px solid var(--line); background: transparent; padding: 8px 14px; border-radius: 40px; font: 500 13px/1 var(--sans); cursor: pointer; transition: background .3s, color .3s, border-color .3s; }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.jgroup { margin-bottom: 30px; }
.jgroup h3 { font: 600 12px/1.4 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--brass-deep); margin: 0 0 6px; }
.jlist { list-style: none; margin: 0; padding: 0; }
.jlist a { display: grid; grid-template-columns: 36px 1fr auto; align-items: baseline; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); text-decoration: none; transition: padding .35s var(--ease), color .3s; }
.jlist a:hover, .jlist a.is-hover { padding-left: 8px; }
.jlist .n { font: 400 1rem/1 var(--serif); color: var(--muted); font-variant-numeric: oldstyle-nums tabular-nums; }
.jlist .s { font: 400 1.3rem/1.2 var(--display); }
.jlist .s small { display: block; font: italic 400 .98rem/1.3 var(--serif); color: var(--muted); }
.jlist .k { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.jlist li[hidden] { display: none; }
.empty-note { color: var(--muted); font-style: italic; font-family: var(--serif); }
@media (max-width: 900px) { .explorer { grid-template-columns: 1fr; } .explorer__map { position: relative; top: 0; max-width: 560px; margin: 0 auto; } .explorer__card { position: relative; width: 100%; right: auto; bottom: auto; margin-top: 16px; } }

/* page heads */
.page-head { padding: clamp(64px, 9vw, 130px) 0 clamp(40px, 5vw, 70px); }
.page-head h1 { margin: 0 0 20px; }
.page-head--ink { background: var(--ink); color: var(--on-ink); }
.page-head--split { display: grid; grid-template-columns: 7fr 5fr; gap: 48px; align-items: end; }
@media (max-width: 860px) { .page-head--split { grid-template-columns: 1fr; } }

/* ---------- chapter page ---------- */
.ch-hero { background: var(--ink); color: var(--on-ink); padding-top: 76px; }
.ch-hero__grid { display: grid; grid-template-columns: 6fr 6fr; min-height: min(calc(100svh - 76px), 50vw); }
.ch-hero__media { min-height: min(calc(100svh - 76px), 50vw); }
.ch-hero__text { display: flex; flex-direction: column; justify-content: center; padding: clamp(40px, 6vw, 96px) clamp(24px, 5vw, 80px) clamp(40px, 6vw, 96px) max(var(--gutter), calc((100vw - var(--wrap)) / 2)); }
.ch-hero__text .label a { color: inherit; text-decoration: none; }
.ch-hero h1 { font-size: clamp(3.2rem, 7vw, 7rem); line-height: .95; margin: 8px 0 12px; }
.ch-hero .sub { font: italic 400 clamp(1.4rem, 2.2vw, 2rem)/1.25 var(--serif); color: var(--brass); margin: 0 0 clamp(28px, 4vw, 48px); }
.ch-hero .epi { font: 400 clamp(1.1rem, 1.4vw, 1.35rem)/1.5 var(--serif); color: var(--on-ink); border-left: 1px solid var(--brass); padding-left: 20px; max-width: 28em; margin: 0; }
.ch-hero__media { position: relative; overflow: hidden; background: var(--ink-2); }
.ch-hero__media img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.ch-hero__media figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 60px 24px 18px; background: linear-gradient(transparent, rgba(16, 26, 37, .82)); font-size: 12.5px; line-height: 1.5; color: rgba(243, 238, 228, .82); }
.ch-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 32px; font-size: 13px; color: var(--on-ink-muted); }
.ch-meta b { color: var(--on-ink); font-weight: 500; }
@media (max-width: 860px) { .ch-hero__grid { grid-template-columns: 1fr; min-height: 0; } .ch-hero__media { aspect-ratio: 4 / 4.2; order: -1; } .ch-hero__text { padding: 36px var(--gutter) 56px; } }

.ch-body { display: grid; grid-template-columns: 1fr minmax(0, 660px) 1fr; gap: 0 40px; }
.ch-body > * { grid-column: 2; }
.ch-body .aside { grid-column: 3; grid-row: 1 / span 3; align-self: start; position: sticky; top: 110px; max-width: 250px; }
.ch-sec-title { display: flex; flex-direction: column; gap: 6px; margin: 0 0 22px; }
.ch-sec-title .label { margin: 0; }
.ch-sec-title h2 { font-size: clamp(1.7rem, 2.6vw, 2.3rem); margin: 0; }
.ch-continue { margin-top: 10px; padding: 26px 0 0; border-top: 1px solid var(--line); font: italic 1.15rem/1.5 var(--serif); color: var(--muted); }
.locator { width: 100%; max-width: 230px; }
.locator-cap { font-size: 13px; color: var(--muted); margin-top: 10px; }
.inside { list-style: none; margin: 0; padding: 0; counter-reset: s; border-top: 1px solid var(--line); }
.inside li { display: grid; grid-template-columns: 140px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.inside .k { font: 600 12px/1.4 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--brass-deep); }
.inside .v { font: 400 1.25rem/1.3 var(--serif); }
@media (max-width: 1100px) { .ch-body { grid-template-columns: minmax(0, 1fr); } .ch-body > *, .ch-body .aside { grid-column: 1; } .ch-body .aside { position: static; grid-row: auto; max-width: none; display: flex; gap: 20px; align-items: center; margin-bottom: 40px; } .locator { max-width: 120px; } }
@media (max-width: 560px) { .inside li { grid-template-columns: 1fr; gap: 4px; } }

.photo-strip { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(12px, 1.6vw, 24px); }
.photo-strip figure { margin: 0; grid-column: span 4; }
.photo-strip figure:nth-child(5n+1) { grid-column: span 7; }
.photo-strip figure:nth-child(5n+2) { grid-column: span 5; }
.photo-strip button { display: block; width: 100%; padding: 0; border: 0; background: var(--paper-3); cursor: zoom-in; overflow: hidden; aspect-ratio: 1; }
.photo-strip figure:nth-child(5n+1) button { aspect-ratio: 16 / 11; }
.photo-strip figure:nth-child(5n+2) button { aspect-ratio: 5 / 4.3; }
.photo-strip img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.photo-strip button:hover img { transform: scale(1.03); }
.photo-strip figcaption { font-size: 13px; color: var(--muted); margin-top: 10px; line-height: 1.5; }
.photo-strip figcaption i { display: block; font-style: normal; font-size: 12px; opacity: .8; }
.section--ink .photo-strip figcaption { color: var(--on-ink-muted); }
@media (max-width: 720px) { .photo-strip figure, .photo-strip figure:nth-child(n) { grid-column: span 12; } }

.ch-nav { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.ch-nav a { display: block; padding: clamp(32px, 5vw, 64px) 0; text-decoration: none; }
.ch-nav a + a { text-align: right; border-left: 1px solid var(--line); padding-left: 24px; }
.ch-nav a:first-child { padding-right: 24px; }
.ch-nav .label { margin-bottom: 8px; }
.ch-nav b { display: block; font: 400 clamp(1.6rem, 3.2vw, 2.8rem)/1.05 var(--display); transition: color .3s; }
.ch-nav i { font: italic 1.05rem/1.3 var(--serif); color: var(--muted); }
.ch-nav a:hover b { color: var(--earth); }

/* book cta card */
.book-cta { display: grid; grid-template-columns: auto 1fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.book-cta .cover { width: clamp(130px, 16vw, 200px); box-shadow: 0 30px 50px -24px rgba(0, 0, 0, .6); }
.book-cta h2 { margin-bottom: 12px; }
@media (max-width: 600px) { .book-cta { grid-template-columns: 1fr; } }

/* ---------- 3D book ---------- */
.book3d-stage { perspective: 1800px; display: grid; place-items: center; padding: 40px 0; }
.book3d { --w: clamp(220px, 24vw, 330px); --h: calc(var(--w) * 1.433); --d: calc(var(--w) * .16); width: var(--w); height: var(--h); position: relative; transform-style: preserve-3d; transform: rotateX(4deg) rotateY(-28deg); }
.book3d__face { position: absolute; inset: 0; backface-visibility: hidden; }
.book3d__face img { width: 100%; height: 100%; object-fit: cover; }
.book3d__front { transform: translateZ(calc(var(--d) / 2)); box-shadow: inset 4px 0 6px -2px rgba(0, 0, 0, .35); }
.book3d__back { transform: rotateY(180deg) translateZ(calc(var(--d) / 2)); }
.book3d__spine { width: var(--d); left: calc(50% - var(--d) / 2); transform: rotateY(-90deg) translateZ(calc(var(--w) / 2)); }
.book3d__pages { width: var(--d); left: calc(50% - var(--d) / 2); top: 3px; bottom: 3px; height: auto; transform: rotateY(90deg) translateZ(calc(var(--w) / 2 - 3px)); background: repeating-linear-gradient(90deg, #f7f2e6 0 2px, #e4dccb 2px 3px); }
.book3d__top { height: var(--d); top: calc(50% - var(--d) / 2); left: 3px; right: 3px; transform: rotateX(90deg) translateZ(calc(var(--h) / 2 - 3px)); background: repeating-linear-gradient(0deg, #f7f2e6 0 2px, #e4dccb 2px 3px); }
.book3d__shadow { position: absolute; left: 6%; right: -12%; bottom: -34px; height: 40px; background: radial-gradient(closest-side, rgba(0, 0, 0, .45), transparent); transform: translateZ(-60px) rotateX(90deg); filter: blur(6px); }
.no-3d .book3d { transform: none; }
.no-3d .book3d__spine, .no-3d .book3d__back, .no-3d .book3d__pages, .no-3d .book3d__top { display: none; }

.book-moment { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(32px, 6vw, 100px); align-items: center; }
.specs { list-style: none; margin: 28px 0 36px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line-ink); }
.specs li { padding: 16px 16px 16px 0; border-bottom: 1px solid var(--line-ink); }
.specs b { display: block; font: 400 1.35rem/1.2 var(--display); }
.specs span { font-size: 13px; color: var(--on-ink-muted); }
.section--paper-2 .specs, .section--white .specs, .page .specs { border-color: var(--line); }
.section--paper-2 .specs li, .section--white .specs li { border-color: var(--line); }
.section--paper-2 .specs span, .section--white .specs span { color: var(--muted); }
@media (max-width: 860px) { .book-moment { grid-template-columns: 1fr; } }

.spreads { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2vw, 28px); }
.spreads figure { margin: 0; }
.spreads img { width: 100%; background: var(--white); }
.spreads figcaption { font-size: 13px; color: var(--muted); margin-top: 10px; }
@media (max-width: 640px) { .spreads { grid-template-columns: 1fr; } }

/* ---------- author ---------- */
.author-feature { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 100px); align-items: center; }
.author-feature .portrait { position: relative; }
.author-feature .portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.author-feature .portrait figcaption { font-size: 13px; color: var(--muted); margin-top: 10px; }
.award { border-left: 2px solid var(--brass); padding: 4px 0 4px 22px; margin: 30px 0; }
.award b { display: block; font: 600 12px/1.4 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--brass-deep); margin-bottom: 6px; }
.award p { font: 400 1.18rem/1.5 var(--serif); margin: 0; }
.section--ink .award b { color: var(--brass); }
.record { background: var(--white); padding: clamp(32px, 5vw, 64px); display: grid; grid-template-columns: auto 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.record .seal { width: clamp(84px, 10vw, 120px); aspect-ratio: 1; border-radius: 50%; border: 1px solid var(--brass); display: grid; place-items: center; text-align: center; font: 600 10px/1.3 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--brass-deep); padding: 12px; }
.record h2 { margin-bottom: 14px; }
.record blockquote { margin: 0 0 18px; font: 400 clamp(1.25rem, 1.8vw, 1.6rem)/1.45 var(--serif); }
@media (max-width: 860px) { .author-feature { grid-template-columns: 1fr; } .record { grid-template-columns: 1fr; } }

/* ---------- misc blocks ---------- */
.quote-band { text-align: center; }
.quote-band .pull { max-width: 22em; margin: 0 auto 36px; }
.strip { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.strip a { display: block; overflow: hidden; aspect-ratio: 3 / 4; background: var(--ink-2); }
.strip a:nth-child(even) { transform: translateY(28px); }
.strip img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.strip a:hover img { transform: scale(1.04); }
@media (max-width: 720px) { .strip { grid-template-columns: repeat(3, 1fr); } .strip a:nth-child(n+4) { display: none; } }
.mc-band { display: grid; grid-template-columns: auto 1fr auto; gap: 32px; align-items: center; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 34px 0; }
.mc-band .tag { font: 600 11px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; background: var(--earth); color: var(--white); padding: 8px 10px; border-radius: 2px; }
.mc-band h3 { margin: 0; font-size: clamp(1.5rem, 2.4vw, 2.1rem); }
.mc-band p { margin: 4px 0 0; color: var(--muted); font-size: 15px; }
@media (max-width: 760px) { .mc-band { grid-template-columns: 1fr; gap: 16px; } }
.notes-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 40px); }
.note-card { text-decoration: none; display: block; border-top: 1px solid var(--ink); padding-top: 20px; }
.note-card h3 { font-size: 1.6rem; margin: 10px 0; transition: color .3s; }
.note-card:hover h3 { color: var(--earth); }
.note-card p { color: var(--muted); font-size: 15px; }
@media (max-width: 860px) { .notes-list { grid-template-columns: 1fr; } }
.cols-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); }
@media (max-width: 760px) { .cols-2 { grid-template-columns: 1fr; } }

/* contents (book page) */
.contents { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(28px, 4vw, 64px); }
.contents .part h3 { display: flex; align-items: baseline; gap: 12px; font-size: 1.6rem; margin: 0 0 6px; }
.contents .part h3 i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.contents .part > p { color: var(--muted); font-size: 14px; margin: 0 0 12px; }
.contents ol { list-style: none; margin: 0; padding: 0; }
.contents li a { display: grid; grid-template-columns: 34px 1fr; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.contents li a:hover .s { color: var(--earth); }
.contents .n { color: var(--muted); font: 400 1rem/1.4 var(--serif); font-variant-numeric: oldstyle-nums tabular-nums; }
.contents .s { font: 400 1.15rem/1.3 var(--display); transition: color .3s; }
.contents .s small { font-style: italic; color: var(--muted); font-size: .95rem; margin-left: 6px; }
@media (max-width: 760px) { .contents { grid-template-columns: 1fr; } }

.arc { display: grid; grid-template-columns: repeat(6, 1fr); border-top: 1px solid var(--line); }
.arc div { padding: 22px 18px 0 0; border-right: 1px solid var(--line); }
.arc div:last-child { border-right: 0; }
.arc b { display: block; font: 400 1.3rem/1.2 var(--display); margin: 8px 0 6px; }
.arc span { font-size: 13.5px; color: var(--muted); }
.arc .n { font: 600 11px/1 var(--sans); letter-spacing: .12em; color: var(--brass-deep); }
@media (max-width: 860px) { .arc { grid-template-columns: 1fr 1fr; } .arc div { border-right: 0; padding-bottom: 18px; } }

.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative; font: 400 1.3rem/1.3 var(--display); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-70%) rotate(45deg); transition: transform .35s var(--ease); }
.faq details[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq details p { margin: 0 0 22px; color: var(--muted); max-width: 44em; }
.faq { border-top: 1px solid var(--line); }

/* buy page */
.buy { display: grid; grid-template-columns: 6fr 5fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.buy__media { position: sticky; top: 110px; }
.buy__price { font: 400 clamp(2.6rem, 4vw, 3.6rem)/1 var(--display); margin: 18px 0 6px; }
.editions { display: grid; gap: 12px; margin: 26px 0; }
.edition { display: grid; grid-template-columns: 1fr auto; gap: 8px; padding: 18px 20px; border: 1px solid var(--line); background: var(--white); }
.edition.is-main { border-color: var(--ink); }
.edition b { font: 400 1.3rem/1.2 var(--display); }
.edition span { font-size: 14px; color: var(--muted); grid-column: 1 / -1; }
.edition em { font-style: normal; font: 600 12px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--brass-deep); align-self: center; }
.ticks { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 10px; font-size: 15px; }
.ticks li { padding-left: 22px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .62em; width: 10px; height: 1px; background: var(--brass-deep); }
@media (max-width: 900px) { .buy { grid-template-columns: 1fr; } .buy__media { position: static; } }

/* generic content pages (cart, account, privacy, notes) */
.page-content { padding-block: clamp(48px, 7vw, 96px); }
.entry { font-size: 17px; }
.entry h2 { font-size: clamp(1.7rem, 2.6vw, 2.3rem); margin-top: 1.6em; }
.entry h3 { font-size: 1.5rem; margin-top: 1.4em; }
.entry img { margin: 1.6em 0; }
.entry blockquote { margin: 1.6em 0; padding-left: 22px; border-left: 2px solid var(--brass); font: italic 1.3rem/1.5 var(--serif); }
.entry a { color: var(--brass-deep); }

/* woo basics on our pages */
.woocommerce table.shop_table { width: 100%; border-collapse: collapse; background: var(--white); }
.woocommerce table.shop_table th, .woocommerce table.shop_table td { padding: 14px; border-bottom: 1px solid var(--line); text-align: left; }
.woocommerce .button, .woocommerce button.button, .woocommerce a.button, .woocommerce input.button { background: var(--ink); color: var(--paper); border: 0; padding: 14px 22px; border-radius: 2px; font: 600 14px/1 var(--sans); cursor: pointer; text-decoration: none; display: inline-block; }
.woocommerce .button.alt, .woocommerce a.checkout-button { background: var(--brass); color: var(--ink); }
.woocommerce-message, .woocommerce-info, .woocommerce-error { list-style: none; padding: 16px 20px; margin: 0 0 24px; background: var(--white); border-left: 2px solid var(--brass); }
.woocommerce input.input-text, .woocommerce select, .woocommerce textarea { padding: 12px 14px; border: 1px solid var(--line); background: var(--white); font: inherit; border-radius: 2px; }
.woocommerce .quantity input.qty { width: 64px; text-align: center; }
.woocommerce-cart .cart-collaterals { margin-top: 32px; max-width: 460px; margin-left: auto; }

/* gallery (shortcode) */
.tsg-filters { margin-bottom: 36px; }
.tsg-all { margin-bottom: 18px; }
.tsg-parts { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.tsg-part-label { font: 600 11px/1.4 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--brass-deep); margin: 0 0 10px; }
.tsg-part-chips { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.tsg-chip { background: none; border: 0; padding: 4px 0; font: 400 1.05rem/1.3 var(--serif); cursor: pointer; color: var(--text); text-align: left; }
.tsg-chip i { font: 500 11px/1 var(--sans); font-style: normal; color: var(--muted); margin-left: 4px; }
.tsg-chip:hover { color: var(--earth); }
.tsg-chip.is-active { color: var(--earth); text-decoration: underline; text-underline-offset: .2em; }
.tsg-chip.is-empty { color: #A9AEB3; cursor: default; }
.tsg-all .tsg-chip { font: 500 13px/1 var(--sans); border: 1px solid var(--ink); padding: 10px 16px; border-radius: 30px; }
.tsg-all .tsg-chip.is-active { background: var(--ink); color: var(--paper); text-decoration: none; }
.tsg-select { display: none; }
.tsg-select span { display: block; font: 600 11px/1.4 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--brass-deep); margin-bottom: 8px; }
.tsg-select select { width: 100%; padding: 14px; border: 1px solid var(--ink); background: var(--white); font: 400 1.05rem var(--serif); border-radius: 2px; }
.tsg-head { margin: 48px 0 28px; border-top: 1px solid var(--line); padding-top: 28px; }
.tsg-head-label { font: 600 12px/1.4 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--brass-deep); margin: 0 0 8px; }
.tsg-head-title { font-size: clamp(2rem, 3.4vw, 3rem); margin: 0 0 4px; }
.tsg-head-sub { font: italic 1.2rem/1.4 var(--serif); color: var(--muted); margin: 0; }
.tsg-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-flow: dense; gap: 14px; }
.tsg-item { margin: 0; position: relative; }
.tsg-item.is-hidden { display: none; }
.tsg-item.is-big { grid-column: span 2; grid-row: span 2; }
.tsg-item.is-wide { grid-column: span 2; }
.tsg-open { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: var(--paper-3); cursor: zoom-in; overflow: hidden; aspect-ratio: 1; }
.tsg-item.is-wide .tsg-open { aspect-ratio: 2 / 1; }
.tsg-open img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.tsg-open:hover img { transform: scale(1.03); }
.tsg-item figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 14px 12px; background: linear-gradient(transparent, rgba(16, 26, 37, .72)); color: var(--paper); pointer-events: none; opacity: 0; transition: opacity .4s; }
.tsg-item:hover figcaption { opacity: 1; }
.tsg-st { font: 600 11px/1.2 var(--sans); letter-spacing: .1em; text-transform: uppercase; }
.tsg-cap { display: block; font: italic 1rem/1.35 var(--serif); margin-top: 4px; }
.tsg-more-wrap { text-align: center; margin-top: 40px; }
.tsg-more { background: var(--ink); color: var(--paper); border: 0; padding: 16px 26px; font: 600 14px/1 var(--sans); border-radius: 2px; cursor: pointer; }
@media (max-width: 900px) { .tsg-parts { display: none; } .tsg-select { display: block; } .tsg-all { display: none; } .tsg-grid { grid-template-columns: 1fr 1fr; gap: 8px; } .tsg-item figcaption { opacity: 1; } }

/* lightbox (gallery + chapter photos) */
.tsg-lb { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; }
.tsg-lb[hidden] { display: none; }
.tsg-lb-bg { position: absolute; inset: 0; background: rgba(10, 16, 23, .97); }
.tsg-lb-fig { position: relative; margin: 0; max-width: min(92vw, 1200px); text-align: center; color: var(--on-ink); }
.tsg-lb-fig img { max-height: 76vh; width: auto; margin: 0 auto; }
.tsg-lb-fig figcaption { margin-top: 16px; }
.tsg-lb-st { display: block; font: 600 11px/1.4 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--brass); }
.tsg-lb-cap { display: block; font: italic 1.2rem/1.4 var(--serif); margin-top: 6px; }
.tsg-lb-cr { display: block; font-size: 12px; color: var(--on-ink-muted); margin-top: 6px; }
.tsg-lb-x, .tsg-lb-prev, .tsg-lb-next { position: absolute; background: none; border: 1px solid var(--line-ink); color: var(--on-ink); width: 48px; height: 48px; border-radius: 50%; cursor: pointer; font-size: 20px; }
.tsg-lb-x { top: 20px; right: 20px; }
.tsg-lb-prev { left: 20px; top: 50%; }
.tsg-lb-next { right: 20px; top: 50%; }
.tsg-lb-n { position: absolute; top: 32px; left: 28px; font-size: 12px; color: var(--on-ink-muted); letter-spacing: .1em; }
html.tsg-lock { overflow: hidden; }

/* masterclass shortcode (watch page) */
.tsmc-gate, .tsmc-soon { max-width: 560px; margin: 0 auto; background: var(--white); padding: clamp(28px, 4vw, 48px); }
.tsmc-k { font: 600 12px/1.4 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--brass-deep); margin: 0 0 12px; }
.tsmc-gate h2, .tsmc-soon h2 { font-size: 2.2rem; }
.tsmc-gate input[type=text], .tsmc-gate input[type=password], .tsmc-gate input[type=email] { width: 100%; padding: 12px 14px; border: 1px solid var(--line); margin-bottom: 14px; font: inherit; }
.tsmc-gate input[type=submit], .tsmc-btn { background: var(--ink); color: var(--paper); border: 0; padding: 14px 22px; font: 600 14px/1 var(--sans); cursor: pointer; text-decoration: none; display: inline-block; border-radius: 2px; }
.tsmc-player { display: grid; gap: 20px; margin-bottom: 32px; }
.tsmc-player video { width: 100%; background: #000; }
.tsmc-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.tsmc-lesson { display: grid; grid-template-columns: 54px 1fr 30px; align-items: center; width: 100%; text-align: left; background: none; border: 0; border-bottom: 1px solid var(--line); padding: 16px 0; cursor: pointer; }
.tsmc-num { font: 400 1.3rem var(--serif); color: var(--brass-deep); }

/* ---------- motion helpers (JS adds .is-in) ---------- */
.js:not(.rm) [data-fade] { opacity: 0; transform: translateY(16px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js:not(.rm) [data-fade].is-in { opacity: 1; transform: none; }
.js:not(.rm) [data-clip] { clip-path: inset(10% 6% 10% 6%); transition: clip-path 1.4s var(--ease); }
.js:not(.rm) [data-clip] img { transform: scale(1.08); transition: transform 1.6s var(--ease); }
.js:not(.rm) [data-clip].is-in { clip-path: inset(0 0 0 0); }
.js:not(.rm) [data-clip].is-in img { transform: none; }
.split-line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.split-line > span { display: block; }
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
@media print { .site-header, .site-footer, .scroll-cue { display: none; } }

/* cookie notice in the house style */
#surecookie-public-root .surecookie-banner { background: var(--ink) !important; color: var(--on-ink) !important; border-radius: 2px !important; box-shadow: 0 30px 60px -20px rgba(0,0,0,.5) !important; font-family: var(--sans) !important; max-width: 380px !important; }
#surecookie-public-root .surecookie-banner * { font-family: var(--sans) !important; }
#surecookie-public-root .surecookie-banner :is(p, span, div, h2, h3) { color: var(--on-ink) !important; }
#surecookie-public-root .surecookie-banner p, #surecookie-public-root .surecookie-banner-content { font-size: 14px !important; line-height: 1.55 !important; color: var(--on-ink) !important; }
#surecookie-public-root .surecookie-btn-base { background: transparent !important; color: var(--on-ink) !important; border: 1px solid var(--line-ink) !important; border-radius: 2px !important; font-size: 13px !important; font-weight: 600 !important; padding: 10px 14px !important; min-height: 0 !important; box-shadow: none !important; outline: none !important; }
#surecookie-public-root .surecookie-accept-all-btn { background: var(--brass) !important; color: var(--ink) !important; border-color: var(--brass) !important; }
#surecookie-public-root .surecookie-banner-buttons { gap: 8px !important; display: grid !important; grid-template-columns: 1fr 1fr; }
#surecookie-public-root .surecookie-btn-base { width: 100% !important; }
#surecookie-public-root .surecookie-branding { color: var(--on-ink-muted) !important; font-size: 11px !important; }
@media (max-width: 600px) { #surecookie-public-root .surecookie-banner { left: 12px !important; right: 12px !important; bottom: 12px !important; width: auto !important; max-width: none !important; transform: none !important; margin: 0 !important; } #surecookie-public-root .surecookie-banner-inner, #surecookie-public-root .surecookie-banner-content, #surecookie-public-root .surecookie-banner-buttons { width: auto !important; max-width: 100% !important; min-width: 0 !important; } #surecookie-public-root .surecookie-banner-buttons { display: grid !important; grid-template-columns: 1fr 1fr; } #surecookie-public-root .surecookie-btn-base { width: 100% !important; } }
.entry.prose--serif { font-size: clamp(1.18rem, .5vw + 1rem, 1.36rem); line-height: 1.62; }
.entry.prose--serif > p:first-child::first-letter { float: left; font: 400 4.6em/.82 var(--display); padding: .06em .1em 0 0; color: var(--ink); }

/* social links with the networks' own marks */
.social { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.social a { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.social img { height: 22px; width: auto; flex: none; border-radius: 5px; }
.social b { font-weight: 600; }
.social span { font-size: 15px; }
.site-footer .social a { color: var(--on-ink-muted); }
.site-footer .social a:hover { color: var(--on-ink); }
.social--row { display: flex; flex-wrap: wrap; gap: 14px 28px; }

/* video (author page) */
.video { position: relative; aspect-ratio: 16 / 9; background: var(--ink); overflow: hidden; }
.video > button { all: unset; position: absolute; inset: 0; cursor: pointer; display: grid; place-items: center; }
.video > button img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: opacity .4s, transform 1.2s var(--ease); }
.video > button:hover img { opacity: 1; transform: scale(1.02); }
.video > button .play { position: relative; width: 84px; height: 58px; }
.video > button:focus-visible { outline: 2px solid var(--brass); outline-offset: 4px; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* shop */
.shop-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(24px, 3vw, 44px); }
.pcard { display: grid; grid-template-rows: auto 1fr; text-decoration: none; background: var(--white); }
.pcard__img { aspect-ratio: 1; overflow: hidden; background: var(--paper-2); display: grid; place-items: center; }
.pcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.pcard:hover .pcard__img img { transform: scale(1.03); }
.pcard__bd { padding: 24px 26px 28px; display: flex; flex-direction: column; gap: 6px; }
.pcard__bd h2 { font-size: clamp(1.6rem, 2.4vw, 2.2rem); margin: 0; }
.pcard__bd .sub { font: italic 1.12rem/1.35 var(--serif); color: var(--muted); margin: 0 0 8px; }
.pcard__bd .row { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: auto; padding-top: 14px; }
.pcard__bd .price { font: 400 1.8rem/1 var(--display); }
.pcard .tag { font: 600 11px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--brass-deep); }
.shop-soon { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(16px, 2vw, 28px); }
.shop-soon a { display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 22px 0; border-top: 1px solid var(--line); text-decoration: none; }
.shop-soon b { font: 400 1.35rem/1.2 var(--display); }
.shop-soon span { font-size: 14px; color: var(--muted); }
@media (max-width: 760px) { .shop-grid, .shop-soon { grid-template-columns: 1fr; } }
.gallery-stack { display: grid; gap: 14px; }
.gallery-stack img { width: 100%; background: var(--paper-2); }
.gallery-stack .pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.video > button img.play { position: relative; inset: auto; width: 84px; height: auto; opacity: 1; transform: none; object-fit: contain; filter: drop-shadow(0 6px 18px rgba(0,0,0,.35)); }

/* ---------- The Book: turning pages ---------- */
.flip { background: var(--ink); color: var(--on-ink); position: relative; overflow: hidden; }
.flip__pin { min-height: 100svh; display: grid; grid-template-rows: auto 1fr auto auto; padding: clamp(80px, 9vh, 110px) 0 clamp(24px, 4vh, 40px); }
.flip__head { text-align: center; }
.flip__head .label { color: var(--brass); }
.flip__head h2 { margin: 0; }
.flip__stage { display: grid; place-items: center; perspective: 2400px; perspective-origin: 50% 40%; padding: 24px 0; }
.flip__book { --pw: min(28vw, 330px, calc((100svh - 330px) / 1.418)); --ph: calc(var(--pw) * 1.418); position: relative; width: calc(var(--pw) * 2); height: var(--ph); transform-style: preserve-3d; transform: translateX(calc(var(--pw) * -0.5)) rotateX(8deg); }
.flip__base, .flip__leaf { position: absolute; top: 0; left: 50%; width: 50%; height: 100%; }
.flip__base { background: #fbf8f1; box-shadow: inset 12px 0 18px -10px rgba(0,0,0,.28); }
.flip__base img, .flip__face img { width: 100%; height: 100%; object-fit: cover; display: block; }
.flip__leaf { transform-origin: 0 50%; transform-style: preserve-3d; will-change: transform; }
.flip__face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; background: #fbf8f1; overflow: hidden; }
.flip__face--back { transform: rotateY(180deg); }
.flip__face--front::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.22), rgba(0,0,0,0) 9%); pointer-events: none; }
.flip__face--back::after { content: ""; position: absolute; inset: 0; background: linear-gradient(270deg, rgba(0,0,0,.22), rgba(0,0,0,0) 9%); pointer-events: none; }
.flip__leaf--cover .flip__face--front { background: var(--ink); box-shadow: 0 0 0 1px rgba(255,255,255,.04); }
.flip__leaf--cover .flip__face--front::after { background: linear-gradient(90deg, rgba(0,0,0,.35), rgba(255,255,255,.06) 3%, rgba(0,0,0,0) 7%); }
.flip__endpaper { position: absolute; inset: 0; background: #f4efe3; display: grid; place-items: center; }
.flip__endpaper span { font: italic 1rem/1 var(--serif); color: #b7a98d; letter-spacing: .04em; }
.flip__shadow { position: absolute; left: 4%; right: 4%; bottom: -26px; height: 30px; background: radial-gradient(closest-side, rgba(0,0,0,.55), transparent); filter: blur(4px); transform: translateZ(-1px); }
.flip__captions { list-style: none; margin: 0 auto; padding: 0; position: relative; height: 54px; width: min(100% - 40px, 520px); text-align: center; }
.flip__captions li { position: absolute; inset: 0; opacity: 0; transform: translateY(8px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.flip__captions li.is-on { opacity: 1; transform: none; }
.flip__captions b { display: block; font: 400 1.35rem/1.2 var(--display); color: var(--on-ink); }
.flip__captions span { font-size: 14px; color: var(--on-ink-muted); }
.flip__progress { width: min(240px, 50%); height: 1px; background: var(--line-ink); margin: 18px auto 0; overflow: hidden; }
.flip__progress i { display: block; height: 100%; width: 100%; background: var(--brass); transform: scaleX(0); transform-origin: left; }
@media (max-width: 760px) { .flip__book { --pw: min(44vw, calc((100svh - 300px) / 1.418)); } }
/* static fallback (reduced motion / no 3D): the book lies open on the Kerala spread */
.flip.is-static .flip__book { transform: none; }
.flip.is-static .flip__leaf { transform: rotateY(-180deg); }
.flip.is-static .flip__progress { display: none; }

/* SureCookie consent placeholder inside the video frame */
.video .surecookie-placeholder { position: absolute !important; inset: 0; width: 100% !important; height: 100% !important; min-height: 0 !important; margin: 0 !important; background: var(--thumb) center / cover no-repeat, var(--ink); }
.video .surecookie-placeholder-content { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 18px; padding: 24px; text-align: center; background: rgba(13, 20, 30, .78) !important; }
.video .surecookie-placeholder-text { color: var(--on-ink) !important; font: 400 15px/1.5 var(--sans); max-width: 30em; }
.video .surecookie-placeholder-button { all: unset; cursor: pointer; background: var(--brass) !important; color: var(--ink) !important; padding: 13px 24px; font: 600 14px/1 var(--sans); letter-spacing: .02em; }
.video .surecookie-placeholder-button:hover { background: var(--paper) !important; }
.video .surecookie-placeholder-button:focus-visible { outline: 2px solid var(--paper); outline-offset: 3px; }

/* ---------- The Book page: hero book rig (entrance, float, tilt, scroll turn) ---------- */
.book3d-stage--hero { position: relative; perspective: 1600px; perspective-origin: 50% 35%; padding: 48px 0 72px; }
.book3d-stage--hero .book3d { --w: clamp(230px, 25vw, 350px); transform: rotateX(4deg) rotateY(-28deg); will-change: transform; }
.book3d-rig, .book3d-tilt { transform-style: preserve-3d; will-change: transform; }
.book3d__face { overflow: hidden; }
.book3d__front { border-radius: 0 3px 3px 0; }
.book3d__back { border-radius: 3px 0 0 3px; }
.book3d__bottom { height: var(--d); top: calc(50% - var(--d) / 2); left: 3px; right: 3px; transform: rotateX(-90deg) translateZ(calc(var(--h) / 2 - 3px)); background: #ddd4c2; }
.book3d__shade, .book3d__sheen { position: absolute; inset: 0; pointer-events: none; }
.book3d__shade { background: #05080d; opacity: var(--shade, 0); }
.book3d__spine .book3d__shade { opacity: var(--shade-spine, .25); }
.book3d__pages .book3d__shade { opacity: var(--shade-pages, .2); }
.book3d__sheen { background: linear-gradient(112deg, rgba(255,255,255,0) 40%, rgba(255,255,255,.08) 46%, rgba(255,255,255,.34) 50%, rgba(255,255,255,.08) 54%, rgba(255,255,255,0) 60%) 0 0 / 300% 100% no-repeat; background-position-x: calc(var(--sx, 100) * 1%); mix-blend-mode: soft-light; }
.book3d__back .book3d__sheen { background-position-x: calc(var(--sxb, 100) * 1%); }
.book3d-stage--hero .book3d__front::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg, rgba(0,0,0,.32), rgba(255,255,255,.10) 2.2%, rgba(0,0,0,.10) 4%, rgba(0,0,0,0) 7%); }
.book3d-floor { position: absolute; left: 50%; bottom: 34px; width: min(78%, 420px); height: 46px; margin-left: calc(min(78%, 420px) / -2); background: radial-gradient(closest-side, rgba(10, 16, 24, .42), rgba(10, 16, 24, 0)); filter: blur(5px); transform-origin: 50% 50%; pointer-events: none; }
.no-3d .book3d__bottom, .no-3d .book3d__shade, .no-3d .book3d__sheen { display: none; }
@media (max-width: 860px) { .book3d-stage--hero { padding: 24px 0 56px; } .book3d-stage--hero .book3d { --w: clamp(200px, 56vw, 300px); } }
.js:not(.rm) .book3d-stage--hero .book3d-rig, .js:not(.rm) .book3d-stage--hero .book3d-floor { visibility: hidden; }
.book-hero { padding: clamp(56px, 8vw, 110px) 0 clamp(64px, 8vw, 120px); }
@media (min-width: 861px) { .book-hero { min-height: calc(100svh - 77px); display: grid; align-items: center; padding: 24px 0; } .book-hero .book3d-stage--hero .book3d { --w: min(clamp(230px, 25vw, 350px), calc((100svh - 77px - 150px) / 1.433)); } }

/* ---------- header end: nav + cart + menu ---------- */
.site-header__end { display: flex; align-items: center; gap: clamp(14px, 1.6vw, 26px); }
.site-header__end .nav { order: 1; }
.site-header__end .cart-link { order: 2; }
.site-header__end .menu-toggle { order: 3; }
.nav ul { gap: clamp(14px, 1.55vw, 26px); }
.cart-link { position: relative; z-index: 3; display: inline-grid; place-items: center; width: 40px; height: 40px; color: inherit; text-decoration: none; border-radius: 50%; transition: background .3s var(--ease); }
.cart-link:hover { background: rgba(127, 127, 127, .1); }
.cart-count { position: absolute; top: 2px; right: 0; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--brass); color: var(--ink); font: 700 11px/18px var(--sans); text-align: center; transform: scale(1); transition: transform .35s var(--ease); }
.cart-count[data-n="0"] { transform: scale(0); }
.cart-link.is-bump .cart-count { animation: cartbump .5s var(--ease); }
@keyframes cartbump { 40% { transform: scale(1.35); } }
@media (max-width: 1180px) { .site-header__end { gap: 6px; } .nav ul { gap: 6px; } }

/* ---------- prices ---------- */
.price del { color: var(--muted); text-decoration-thickness: 1px; font-size: .62em; margin-right: .18em; vertical-align: .12em; }
.price ins { text-decoration: none; }
.price .save { display: inline-block; vertical-align: .35em; margin-left: .4em; font: 700 11px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: #2d6a4f; background: rgba(45, 106, 79, .1); padding: 5px 7px; border-radius: 2px; }
.section--ink .price del, .site-footer .price del { color: var(--on-ink-muted); }
.specs .price del { font-size: .7em; }
.specs .price .save, .pcard .price .save { display: none; }
.pcard__bd .price del { font-size: .55em; }

/* ---------- shop cards ---------- */
.pcard { position: relative; }
.pcard__img { position: relative; text-decoration: none; }
.pcard__bd h2 a { text-decoration: none; color: inherit; }
.pcard__bd h2 a::after { content: ""; position: absolute; inset: 0; z-index: 0; }
.pcard__bd .row { position: relative; z-index: 1; flex-wrap: wrap; }
.pcard__badge { position: absolute; top: 16px; left: 16px; z-index: 1; font: 700 11px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; background: var(--ink); color: var(--paper); padding: 9px 12px; border-radius: 2px; }
.pcard--soon .pcard__badge { background: var(--brass); color: var(--ink); }
.soon-tag { font: 700 11px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--brass-deep); }
.btn--sm { padding: 12px 16px; font-size: 13px; }
.btn.is-busy { opacity: .6; pointer-events: none; }

/* ---------- sizes ---------- */
.sizes { border: 0; padding: 0; margin: 26px 0 18px; }
.sizes legend { font: 600 12px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; margin-bottom: 12px; padding: 0; }
.sizes legend .muted { text-transform: none; letter-spacing: 0; font-weight: 500; margin-left: 8px; }
.sizes > div { display: flex; flex-wrap: wrap; gap: 8px; }
.sizes label { cursor: pointer; }
.sizes label { position: relative; }
.sizes input { position: absolute; opacity: 0; pointer-events: none; }
.sizes label span { display: inline-grid; place-items: center; min-width: 54px; height: 46px; padding: 0 14px; border: 1px solid var(--line); background: var(--white); font: 600 14px/1 var(--sans); transition: border-color .25s, background .25s, color .25s; }
.sizes label:hover span { border-color: var(--ink); }
.sizes input:checked + span { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.sizes input:focus-visible + span { outline: 2px solid var(--brass); outline-offset: 2px; }
.sizes input:disabled + span { opacity: .35; text-decoration: line-through; cursor: not-allowed; }
.sizes.is-needed label span { border-color: #b4452f; }
.sizes.is-needed legend .muted { color: #b4452f; }

/* ---------- added-to-cart toast ---------- */
.toast { position: fixed; z-index: 90; right: clamp(16px, 3vw, 32px); bottom: clamp(16px, 3vw, 32px); width: min(380px, calc(100vw - 32px)); background: var(--ink); color: var(--on-ink); padding: 20px 22px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .45); transform: translateY(20px); opacity: 0; transition: transform .45s var(--ease), opacity .45s var(--ease); }
.toast.is-on { transform: none; opacity: 1; }
.toast b { display: block; font: 400 1.35rem/1.2 var(--display); margin: 4px 0 14px; }
.toast .label { color: var(--brass); margin: 0; }
.toast .actions { gap: 10px 18px; }
.toast .btn { padding: 12px 16px; font-size: 13px; }
.toast .link { color: var(--on-ink); }
.toast__x { position: absolute; top: 10px; right: 12px; background: none; border: 0; color: var(--on-ink-muted); font-size: 22px; cursor: pointer; line-height: 1; }

/* ---------- cart page ---------- */
.cart { display: grid; grid-template-columns: 1fr minmax(300px, 380px); gap: clamp(32px, 5vw, 72px); align-items: start; }
.citem { display: grid; grid-template-columns: 112px 1fr auto auto; gap: 22px; align-items: center; padding: 22px 0; border-top: 1px solid var(--line); }
.citem:last-of-type { border-bottom: 1px solid var(--line); }
.citem__img { display: block; aspect-ratio: 1; background: var(--paper-2); overflow: hidden; }
.citem__img img, .citem__img picture { width: 100%; height: 100%; object-fit: cover; display: block; }
.citem__bd { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.citem__bd .tag { font: 600 11px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--brass-deep); }
.citem__name { font: 400 1.35rem/1.2 var(--display); text-decoration: none; color: var(--text); }
.citem__var { font-size: 14px; color: var(--muted); }
.citem__unit { font-size: 15px; }
.citem__unit del { color: var(--muted); margin-right: 4px; }
.citem__qty { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.citem__rm { font-size: 13px; color: var(--muted); }
.citem__total { font-size: 1.4rem; min-width: 90px; text-align: right; }
.qty { display: inline-flex; border: 1px solid var(--line); background: var(--white); }
.qty button { width: 38px; height: 42px; border: 0; background: none; font-size: 18px; cursor: pointer; color: var(--text); }
.qty button:hover { background: var(--paper-2); }
.qty input { width: 44px; height: 42px; border: 0; border-left: 1px solid var(--line); border-right: 1px solid var(--line); text-align: center; font: 600 15px var(--sans); background: transparent; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.cart__update { padding-top: 16px; text-align: right; }
.js .cart__update button { display: none; }
.cart__sum { position: sticky; top: 110px; background: var(--white); padding: 28px; }
.cart__sum dl { margin: 14px 0 22px; }
.cart__sum dl div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.cart__sum dt { color: var(--muted); }
.cart__sum dd { margin: 0; }
.cart__sum .save dd { color: #2d6a4f; }
.cart__sum .tot { border-bottom: 0; padding-top: 16px; }
.cart__sum .tot dt { color: var(--text); font-weight: 600; }
.cart__sum .tot dd { font-size: 1.8rem; }
.cart__go { width: 100%; justify-content: center; }
.cart-empty { padding: 24px 0 40px; }
@media (max-width: 900px) { .cart { grid-template-columns: 1fr; } .cart__sum { position: static; } }
@media (max-width: 600px) { .citem { grid-template-columns: 84px 1fr; gap: 14px 16px; } .citem__qty { grid-column: 2; flex-direction: row; justify-content: space-between; } .citem__total { grid-column: 2; text-align: left; } }

/* ---------- footer logo ---------- */
.footer-logo { display: inline-block; margin-bottom: 18px; }
.footer-logo img { width: clamp(200px, 22vw, 260px); height: auto; display: block; filter: drop-shadow(0 8px 18px rgba(0, 0, 0, .35)); }

/* ---------- masterclass poster ---------- */
.mc-poster { position: relative; margin: 32px 0 0; max-width: 520px; }
.mc-poster img { width: 100%; height: auto; display: block; }
.display { font-weight: 400; letter-spacing: -.012em; }
@media (max-width: 760px) { .hero__media::after { background: linear-gradient(180deg, rgba(16, 26, 37, .5) 0%, rgba(16, 26, 37, .05) 22%, rgba(16, 26, 37, .35) 40%, rgba(16, 26, 37, .82) 70%, rgba(16, 26, 37, .9) 100%); } }

/* =========================================================
   Explore India — atlas (India → state → district)
   ========================================================= */
.atlas-head { padding-bottom: clamp(20px, 3vw, 36px); }
.atlas { padding: 0 0 clamp(64px, 8vw, 110px); }
.atlas__bar { position: sticky; top: 76px; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px 0; background: var(--paper); border-bottom: 1px solid var(--line); transition: top .45s var(--ease); }
.is-scrolled.is-down .atlas__bar { top: 0; }
.atlas__crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font: 500 14px/1.3 var(--sans); min-width: 0; }
.atlas__crumbs a { color: var(--brass-deep); text-decoration: none; }
.atlas__crumbs a:hover { text-decoration: underline; }
.atlas__crumbs span[aria-hidden] { color: var(--muted); }
.atlas__crumbs [aria-current] { color: var(--text); font-weight: 600; }
.atlas__search { position: relative; flex: 0 1 380px; display: flex; align-items: center; gap: 10px; border-bottom: 1px solid var(--ink); }
.atlas__search svg { flex: none; color: var(--muted); }
.atlas__search input { width: 100%; border: 0; background: transparent; padding: 10px 0; font: 400 15px/1.2 var(--sans); color: var(--text); }
.atlas__search input:focus { outline: none; }
.atlas__search:focus-within { border-bottom-color: var(--brass-deep); }
.atlas__results { position: absolute; top: calc(100% + 8px); right: 0; width: min(440px, 92vw); max-height: 60vh; overflow: auto; background: var(--white); box-shadow: 0 30px 60px -24px rgba(16, 26, 37, .35); border: 1px solid var(--line); z-index: 30; }
.atlas__results a { display: block; padding: 12px 16px; text-decoration: none; border-bottom: 1px solid var(--line); }
.atlas__results a:hover, .atlas__results a:focus { background: var(--paper); outline: none; }
.atlas__results b { display: block; font: 400 1.08rem/1.25 var(--display); }
.atlas__results span { font-size: 13px; color: var(--muted); }
.atlas__results .none { padding: 16px; margin: 0; font-size: 14px; color: var(--muted); }

.atlas__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 4vw, 60px); align-items: start; padding-top: clamp(20px, 3vw, 32px); }
.atlas__map { position: sticky; top: 150px; }
.atlas__maphead { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 10px; min-height: 44px; }
.atlas__maphead .label { margin: 0 0 2px; }
.atlas__maphead b { display: block; font: 400 clamp(1.5rem, 2.2vw, 2rem)/1.1 var(--display); }
.atlas__hint { font-size: 13px; color: var(--muted); }
.atlas__back { font: 600 13px/1 var(--sans); text-decoration: none; padding: 10px 14px; border: 1px solid var(--line); border-radius: 40px; white-space: nowrap; transition: background .3s, border-color .3s; }
.atlas__back:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.atlas__stage { position: relative; height: min(calc(100svh - 270px), 760px); min-height: 420px; overflow: hidden; }
.atlas__india, .atlas__state { position: absolute; inset: 0; }
.atlas__india[hidden], .atlas__state[hidden] { display: none; }
.atlas__india .india-map, .atlas__state .dmap { position: absolute; inset: 0; width: 100%; height: 100%; }
.atlas__india .regions path { cursor: pointer; }
.atlas__india .regions path:focus-visible { outline: none; fill: var(--ink) !important; }
.atlas__india .regions path.is-hover, .atlas__india .regions path:hover { fill: var(--ink) !important; }
.atlas__india .regions path.is-active { fill: var(--ink) !important; }
.atlas__india .pins { display: block !important; }
.atlas__india .pins circle.pin { fill: var(--ink); stroke: var(--paper); stroke-width: 2; pointer-events: all; cursor: pointer; vector-effect: non-scaling-stroke; }
.atlas__india .pins circle.pin:hover { fill: var(--brass-deep); }
.atlas__india .pins circle:not(.pin) { display: none; }
.atlas__legend { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 12px 0 0; padding: 0; font-size: 12px; color: var(--muted); }
.atlas__legend i { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 6px; vertical-align: -1px; }
.atlas.is-state .atlas__legend { visibility: hidden; }

.dmap { width: 100%; height: 100%; overflow: hidden; }
.dmap .area { fill: var(--paper-3); stroke: var(--paper); stroke-width: 1.2; vector-effect: non-scaling-stroke; cursor: pointer; transition: fill .3s var(--ease), opacity .4s var(--ease); }
.dmap .area:nth-child(5n+1) { fill: #D9CDB8; } .dmap .area:nth-child(5n+2) { fill: #D1C6B0; } .dmap .area:nth-child(5n+3) { fill: #DED4C1; } .dmap .area:nth-child(5n+4) { fill: #CFC3AB; }
.dmap .area--tiny { stroke: var(--ink); stroke-width: 2.2; }
.dmap .area--off { fill: #E8E2D6; cursor: default; pointer-events: none; }
.dmap .area.is-hover, .dmap .area:hover, .dmap .area:focus-visible { fill: var(--sage); outline: none; }
.dmap.has-sel .area:not(.is-sel):not(.area--off) { fill: #E4DCCD; }
.dmap.has-sel .area:not(.is-sel).is-hover, .dmap.has-sel .area:not(.is-sel):hover { fill: var(--sand); }
.dmap .area.is-sel { fill: var(--earth); }
.dmap .area--multi { stroke-dasharray: none; }
.dmap .mark { fill: var(--ink); stroke: var(--paper); stroke-width: 1.5; vector-effect: non-scaling-stroke; cursor: pointer; }
.dmap .mark.is-sel { fill: var(--earth); }
.dmap .mark.is-hover { fill: var(--sage); }
.dmap .lbls text { font-family: var(--sans); font-weight: 600; text-anchor: middle; dominant-baseline: middle; fill: var(--ink); opacity: 0; pointer-events: none; paint-order: stroke; stroke: rgba(243, 238, 228, .85); stroke-width: .25em; stroke-linejoin: round; transition: opacity .3s; }
.dmap .lbls text.is-shown { opacity: .82; }
.dmap.has-sel .lbls text.is-shown { opacity: .45; }
.dmap .lbls text.is-sel { opacity: 1; fill: var(--paper); stroke: var(--earth); }

.atlas__tip { position: absolute; left: 0; top: 0; z-index: 5; max-width: 300px; background: var(--ink); color: var(--on-ink); padding: 10px 14px; font-size: 13px; line-height: 1.4; pointer-events: none; box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .5); }
.atlas__tip b { display: block; font: 400 1.1rem/1.2 var(--display); color: var(--paper); }
.atlas__tip span { color: var(--on-ink-muted); }
.atlas__tip.is-locked { pointer-events: auto; padding: 14px 16px 12px; max-width: 320px; }
.tip__note { display: block; margin: 4px 0 8px; font-size: 12px; }
.tip__list { display: grid; gap: 2px; }
.tip__list a { display: flex; justify-content: space-between; gap: 10px; color: var(--paper); text-decoration: none; padding: 8px 10px; border-radius: 2px; background: rgba(255, 255, 255, .06); }
.tip__list a:hover, .tip__list a:focus { background: var(--brass); color: var(--ink); outline: none; }
.tip__list small { font-size: 11px; color: inherit; opacity: .75; }
.tip__x { position: absolute; top: 4px; right: 6px; background: none; border: 0; color: var(--on-ink-muted); font-size: 20px; cursor: pointer; }

/* panel */
.atlas__panel { min-width: 0; transition: opacity .3s; }
.atlas__panel.is-loading { opacity: .45; pointer-events: none; }
.atlas__panel .h2 { font-size: clamp(2rem, 3.4vw, 3rem); margin: 0 0 6px; }
.ap-head .label { margin-bottom: 8px; }
.ap-local { font: 400 1.25rem/1.3 var(--sans); color: var(--brass-deep); margin: 0 0 8px; }
.ap-lede { font: 400 clamp(1.1rem, 1.3vw, 1.25rem)/1.5 var(--serif); color: var(--text); margin: 8px 0 0; }
.ap-back { display: inline-flex; gap: 8px; align-items: center; font: 600 13px/1 var(--sans); text-decoration: none; color: var(--brass-deep); margin-bottom: 18px; }
.ap-back:hover { color: var(--ink); }
.ap-back--end { margin: 28px 0 0; }
.ap-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ap-stats div { padding: 14px 12px 14px 0; min-width: 0; }
.ap-stats div + div { padding-left: 14px; border-left: 1px solid var(--line); }
.ap-stats dt { font: 600 11px/1.2 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.ap-stats dd { margin: 0; font: 400 1.9rem/1 var(--display); overflow-wrap: anywhere; }
.ap-stats dd.sm { font: 500 15px/1.35 var(--sans); }
.ap-note { font-size: 13px; color: var(--muted); margin: -8px 0 20px; }
.ap-filter, .ap-cats { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; }
.ap-cats { margin: 0 0 18px; }
.ap-chapter { display: grid; grid-template-columns: 120px 1fr; gap: 18px; text-decoration: none; background: var(--white); padding: 14px; margin: 0 0 22px; transition: box-shadow .4s var(--ease); }
.ap-chapter:hover { box-shadow: 0 24px 50px -28px rgba(16, 26, 37, .45); }
.ap-chapter img { width: 100%; height: 100%; min-height: 140px; object-fit: cover; }
.ap-chapter .bd { display: flex; flex-direction: column; gap: 6px; }
.ap-chapter .label { margin: 0; }
.ap-chapter b { font: 400 1.45rem/1.15 var(--display); }
.ap-chapter q { font: italic 1.02rem/1.4 var(--serif); color: var(--muted); }
.ap-chapter .t { font-size: 14px; color: var(--muted); }
.ap-chapter .link { margin-top: auto; align-self: flex-start; }
.ap-feature { display: block; text-decoration: none; background: var(--ink); color: var(--on-ink); padding: 22px 24px; margin: 0 0 26px; }
.ap-feature .label { color: var(--brass); margin: 0 0 6px; }
.ap-feature b { display: block; font: 400 1.6rem/1.15 var(--display); color: var(--paper); margin-bottom: 8px; }
.ap-feature > span:not(.label):not(.link) { display: block; font-size: 14px; color: var(--on-ink-muted); margin-bottom: 14px; }
.ap-feature .link { color: var(--paper); }
.ap-alert { border-left: 2px solid var(--earth); background: rgba(168, 95, 69, .07); padding: 14px 18px; margin: 0 0 18px; font-size: 14px; }
.ap-alert b, .ap-box > b { display: block; font: 600 12px/1.3 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--brass-deep); margin-bottom: 6px; }
.ap-alert p { margin: 4px 0; }
.ap-box { border-left: 2px solid var(--brass); background: var(--white); padding: 14px 18px; margin: 0 0 18px; font-size: 14px; }
.ap-box ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ap-box li span:first-child { font-weight: 600; }
.ap-box em { color: var(--muted); font-style: normal; }
.ap-sec { margin: 30px 0 0; padding-top: 24px; border-top: 1px solid var(--line); }
.ap-sec h3 { font: 400 1.6rem/1.15 var(--display); margin: 0 0 14px; }
.ap-sec__h { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 10px 20px; margin-bottom: 12px; }
.ap-sec__h h3 { margin: 0; }
.ap-sub { font: 600 12px/1.3 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--brass-deep); margin: 22px 0 8px; }
.count { font: 600 12px/1 var(--sans); color: var(--muted); letter-spacing: .04em; vertical-align: middle; margin-left: 4px; }
.ap-search { flex: 0 1 220px; border: 0; border-bottom: 1px solid var(--line); background: transparent; padding: 8px 0; font: 400 14px/1.2 var(--sans); }
.ap-search:focus { outline: none; border-bottom-color: var(--ink); }
.ap-small { font-size: 13px; color: var(--muted); }
.ap-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin-top: 16px; }

.dlist { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 26px; }
.dlist li { break-inside: avoid; }
.dlist li[hidden] { display: none; }
.dlist a { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); text-decoration: none; transition: padding .3s var(--ease), color .3s; }
.dlist a:hover, .dlist a.is-hover { padding-left: 6px; color: var(--earth); }
.dlist .s { font: 400 1.12rem/1.2 var(--display); min-width: 0; }
.dlist .s small { display: block; font: 400 12px/1.4 var(--sans); color: var(--muted); margin-top: 2px; }
.dlist .s small em { font-style: normal; color: var(--earth); }
.dlist .k { font: 400 1.05rem/1 var(--display); color: var(--muted); text-align: right; white-space: nowrap; }
.dlist .k small { display: block; font: 600 9px/1.4 var(--sans); letter-spacing: .1em; text-transform: uppercase; }
.atlas__panel .jlist .k { font: 400 1.05rem/1 var(--display); letter-spacing: 0; text-transform: none; text-align: right; }
.atlas__panel .jlist .k small { display: block; font: 600 9px/1.4 var(--sans); letter-spacing: .1em; text-transform: uppercase; }

.ap-photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.ap-photos figure { margin: 0; }
.ap-photos button { all: unset; display: block; cursor: zoom-in; aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper-2); width: 100%; }
.ap-photos button:focus-visible { outline: 2px solid var(--brass); outline-offset: 2px; }
.ap-photos img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.ap-photos button:hover img { transform: scale(1.05); }
.ap-photos figcaption { font-size: 12px; color: var(--muted); margin-top: 6px; line-height: 1.35; }
.ap-photos figcaption i { display: block; font-style: normal; opacity: .8; }

/* places */
.pgroup { margin: 0 0 18px; }
.pgroup[hidden] { display: none; }
.pgroup h4 { font: 600 12px/1.3 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--brass-deep); margin: 18px 0 4px; }
.place { border-bottom: 1px solid var(--line); }
.place[hidden] { display: none; }
.place summary { list-style: none; display: grid; grid-template-columns: 1fr auto; gap: 2px 14px; padding: 14px 28px 14px 0; cursor: pointer; position: relative; }
.place summary::-webkit-details-marker { display: none; }
.place summary::after { content: ""; position: absolute; right: 4px; top: 22px; width: 9px; height: 9px; border-right: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); transform: rotate(45deg); transition: transform .3s var(--ease); }
.place[open] summary::after { transform: rotate(-135deg); top: 26px; }
.place summary:hover .place__t { color: var(--earth); }
.place summary:focus-visible { outline: 2px solid var(--brass); outline-offset: 2px; }
.place__t { font: 400 1.18rem/1.25 var(--display); transition: color .3s; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.place__m { grid-column: 1; font-size: 13px; color: var(--muted); }
.place__c { grid-column: 2; grid-row: 1 / span 2; display: flex; flex-wrap: wrap; gap: 4px; align-items: flex-start; justify-content: flex-end; }
.place__b { padding: 0 0 20px; font-size: 15px; }
.place__b > p:first-child { margin-top: 0; font: 400 1.12rem/1.55 var(--serif); }
.place__b h5 { font: 600 11px/1.3 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--brass-deep); margin: 20px 0 8px; }
.place__link { display: inline-block; margin-top: 14px; font-size: 13px; color: var(--muted); }
.place--flag { border-left: 2px solid var(--brass); padding-left: 14px; margin-left: -16px; }
.place.is-flash, .subs li.is-flash { animation: flash 1.6s var(--ease); }
@keyframes flash { 0%, 40% { background: rgba(198, 164, 106, .22); } 100% { background: transparent; } }
.subs { list-style: none; margin: 0; padding: 0 0 0 14px; border-left: 1px solid var(--line); display: grid; gap: 10px; }
.subs b { font-weight: 600; }
.subs span:last-child { display: block; font-size: 14px; color: var(--muted); }
.vchip, .tchip { display: inline-block; font: 600 10px/1 var(--sans); letter-spacing: .06em; text-transform: uppercase; padding: 5px 7px; border-radius: 2px; white-space: nowrap; vertical-align: middle; }
.vchip--ok { background: rgba(104, 122, 104, .16); color: #3f5640; }
.vchip--sec { background: rgba(79, 111, 134, .14); color: #3b5a70; }
.vchip--grey { background: rgba(16, 26, 37, .07); color: var(--muted); }
.vchip--warn { background: rgba(168, 95, 69, .13); color: #8a4630; }
.tchip { background: rgba(198, 164, 106, .22); color: var(--brass-deep); }
.tchip--deep { background: var(--ink); color: var(--brass); }
.kv { margin: 0; display: grid; }
.kv > div { display: grid; grid-template-columns: minmax(96px, 32%) 1fr; gap: 14px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.kv dt { font-weight: 600; color: var(--text); }
.kv dd { margin: 0; color: var(--text); min-width: 0; overflow-wrap: anywhere; }
.kv--s > div { padding: 6px 0; font-size: 13px; }
.deep { margin-top: 10px; }
.deep__why { font: italic 400 1.15rem/1.55 var(--serif); color: var(--text); border-left: 2px solid var(--brass); padding-left: 14px; }
.tbl { overflow-x: auto; }
.tbl table { width: 100%; border-collapse: collapse; font-size: 13px; }
.tbl th, .tbl td { text-align: left; padding: 7px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl th { font: 600 10px/1.2 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 14px; }
.links a { color: var(--text); }
.stays { display: grid; gap: 12px; }
.stay { background: var(--white); padding: 14px 16px; font-size: 14px; }
.stay p { margin: 4px 0 0; }
.stay__h { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; }
.stay__h b { font: 400 1.1rem/1.25 var(--display); }
.stay__c a { color: var(--text); }

@media (max-width: 1100px) { .dlist { columns: 1; } }
@media (max-width: 900px) {
	.atlas__bar { top: 76px; flex-direction: column; align-items: stretch; gap: 8px; padding: 10px 0; }
	.atlas__search { flex: none; }
	.atlas__grid { grid-template-columns: 1fr; padding-top: 14px; }
	.atlas__map { position: relative; top: 0; }
	.atlas__stage { height: min(62svh, 520px); min-height: 320px; }
	.atlas__legend { display: none; }
	.ap-chapter { grid-template-columns: 96px 1fr; }
}
@media (max-width: 520px) {
	.ap-stats dd { font-size: 1.5rem; }
	.place summary { grid-template-columns: 1fr; }
	.place__c { grid-column: 1; grid-row: auto; justify-content: flex-start; margin-top: 4px; }
	.kv > div { grid-template-columns: 1fr; gap: 2px; }
	.ap-chapter { grid-template-columns: 1fr; }
	.ap-chapter img { aspect-ratio: 16 / 9; min-height: 0; }
}

/* ---------- mobile menu: top-aligned list with hairline rules (pinned design, Nov 2026) ---------- */
@media (max-width: 1180px) {
	.nav { justify-content: flex-start; gap: 28px; height: 100vh; height: 100dvh; padding: calc(96px + env(safe-area-inset-top, 0px)) var(--gutter) calc(32px + env(safe-area-inset-bottom, 0px)); overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
	.nav ul { width: 100%; gap: 0; }
	.nav li { border-bottom: 1px solid rgba(240, 233, 221, .12); }
	.nav li:last-child { border-bottom: 0; }
	.nav a:not(.btn) { display: block; font: 400 clamp(1.45rem, 6vw, 2.05rem)/1.1 var(--display); letter-spacing: .05em; padding: clamp(13px, 2.4svh, 20px) 0; }
	.nav a:not(.btn)::after { display: none; }
	.nav a[aria-current="page"] { color: var(--brass); }
	.nav a:not(.btn):active { color: var(--brass); }
	.nav .btn { flex: none; }
	.js .nav li { opacity: 0; transform: translateY(14px); transition: opacity .45s var(--ease), transform .55s var(--ease); }
	.js .menu-open .nav li { opacity: 1; transform: none; }
	.js .menu-open .nav li:nth-child(2) { transition-delay: .04s; } .js .menu-open .nav li:nth-child(3) { transition-delay: .08s; } .js .menu-open .nav li:nth-child(4) { transition-delay: .12s; }
	.js .menu-open .nav li:nth-child(5) { transition-delay: .16s; } .js .menu-open .nav li:nth-child(6) { transition-delay: .2s; } .js .menu-open .nav li:nth-child(7) { transition-delay: .24s; } .js .menu-open .nav li:nth-child(8) { transition-delay: .28s; }
	.menu-open .site-header { background: var(--ink) !important; }
}
@media (max-width: 1180px) and (prefers-reduced-motion: reduce) { .js .nav li { opacity: 1; transform: none; transition: none; } }

/* =========================================================
   Explore India — real map, near me, install (Nov 2026)
   ========================================================= */
.atlas__ctl { position: absolute; z-index: 6; left: 10px; top: 10px; display: flex; gap: 8px; flex-wrap: wrap; pointer-events: none; }
.atlas__ctl > * { pointer-events: auto; }
.atlas__views { display: inline-flex; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 3px; box-shadow: 0 6px 18px -10px rgba(16, 26, 37, .35); }
.atlas__views button { border: 0; background: none; font: 600 12.5px/1 var(--sans); letter-spacing: .02em; color: var(--muted); padding: 8px 13px; border-radius: 999px; cursor: pointer; transition: background .25s var(--ease), color .25s var(--ease); }
.atlas__views button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.atlas__views button:disabled { opacity: .45; cursor: not-allowed; }
.atlas__near { display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--line); background: #fff; color: var(--ink); border-radius: 999px; padding: 8px 13px 8px 11px; font: 600 12.5px/1 var(--sans); cursor: pointer; box-shadow: 0 6px 18px -10px rgba(16, 26, 37, .35); }
.atlas__near:hover { border-color: var(--ink); }
.atlas__geo { position: absolute; inset: 0; z-index: 3; background: #eef0f0; }
.atlas:not(.is-geo) .atlas__geo { display: none; }
.atlas.is-geo .atlas__india, .atlas.is-geo .atlas__state { display: none !important; }
.atlas.is-geo .atlas__legend { visibility: hidden; }
.atlas.is-geo-loading .atlas__stage::after { content: "Loading the map…"; position: absolute; inset: 0; z-index: 5; display: grid; place-items: center; background: rgba(243, 238, 228, .7); font: 600 13px/1 var(--sans); color: var(--muted); }
.atlas__tip { z-index: 7; }
.atlas__toast { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); z-index: 8; background: var(--ink); color: var(--paper); padding: 10px 14px; font-size: 13px; max-width: calc(100% - 28px); }
.atlas__toast[hidden] { display: none; }
/* MapLibre, in the site's voice */
.atlas__geo .maplibregl-ctrl-group { border-radius: 10px; box-shadow: 0 6px 18px -10px rgba(16, 26, 37, .4); }
.atlas__geo .maplibregl-ctrl-attrib { font-size: 10.5px; }
.atlas__geo .maplibregl-cooperative-gesture-screen { font: 500 14px/1.4 var(--sans); }
.gpop .maplibregl-popup-content { padding: 14px 16px 12px; border-radius: 4px; box-shadow: 0 18px 40px -16px rgba(16, 26, 37, .45); font: 13.5px/1.45 var(--sans); color: var(--text); }
.gpop .maplibregl-popup-close-button { font-size: 18px; width: 30px; height: 30px; right: 2px; top: 2px; color: var(--muted); }
.gpop b { display: block; font: 400 1.08rem/1.2 var(--display); color: var(--ink); margin: 3px 26px 2px 0; }
.gpop__k { font: 700 10.5px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--brass-deep); }
.gpop__m, .gpop__d { display: block; color: var(--muted); font-size: 12.5px; }
.gpop__d { color: var(--ink); font-weight: 600; margin-top: 4px; }
.gpop__p { display: inline-block; margin-top: 6px; font-size: 11.5px; padding: 3px 7px; background: rgba(45, 106, 79, .1); color: #2d6a4f; }
.gpop__p--1 { background: rgba(198, 164, 106, .16); color: #7a5d2a; }
.gpop__p--2 { background: rgba(16, 26, 37, .07); color: var(--muted); }
.gpop__a { display: flex; flex-wrap: wrap; gap: 6px 12px; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); }
.gpop__a a, .gpop__a button { font: 600 12.5px/1.2 var(--sans); color: var(--ink); background: none; border: 0; padding: 4px 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.groute { position: absolute; z-index: 6; left: 10px; right: 10px; bottom: 10px; max-width: 380px; background: #fff; border: 1px solid var(--line); padding: 13px 40px 13px 15px; font-size: 13.5px; line-height: 1.45; box-shadow: 0 18px 40px -16px rgba(16, 26, 37, .45); display: flex; flex-direction: column; gap: 3px; }
.groute[hidden] { display: none; }
.groute b { font: 400 1.05rem/1.2 var(--display); color: var(--ink); }
.groute__s { color: var(--muted); font-size: 12px; }
.groute a { font-weight: 600; color: var(--ink); margin-top: 4px; }
.groute button { position: absolute; right: 6px; top: 6px; width: 30px; height: 30px; border: 0; background: none; font-size: 20px; color: var(--muted); cursor: pointer; }
/* place actions */
.place__acts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-top: 14px; }
.place__btn { display: inline-flex; align-items: center; min-height: 34px; padding: 7px 12px; border: 1px solid var(--line); background: #fff; color: var(--ink); font: 600 12.5px/1 var(--sans); text-decoration: none; cursor: pointer; }
.place__btn:hover { border-color: var(--ink); }
.place__prec, .place__dist { font-size: 12px; color: var(--muted); }
.place__dist:not(:empty) { color: var(--ink); font-weight: 600; }
/* near me list */
.nearlist { list-style: none; margin: 18px 0 0; padding: 0; counter-reset: n; }
.nearlist li { display: flex; align-items: center; gap: 10px; border-top: 1px solid var(--line); counter-increment: n; }
.nearlist li:last-child { border-bottom: 1px solid var(--line); }
.nearlist a { flex: 1; display: flex; align-items: center; gap: 14px; padding: 12px 0; text-decoration: none; min-width: 0; }
.nearlist a::before { content: counter(n); font: 600 12px/1 var(--sans); color: var(--muted); width: 20px; flex: none; }
.nearlist .s { flex: 1; min-width: 0; font-weight: 600; }
.nearlist small { display: block; font-weight: 400; color: var(--muted); font-size: 12.5px; margin-top: 2px; }
.nearlist .k { font: 600 14px/1 var(--sans); white-space: nowrap; }
.nearlist__go { flex: none; border: 1px solid var(--line); background: #fff; font: 600 12px/1 var(--sans); padding: 8px 10px; cursor: pointer; }
/* install: call to action + sheet */
.app-cta { display: inline-flex; align-items: center; gap: 12px; margin-top: 22px; padding: 8px 18px 8px 8px; background: #fff; border: 1px solid var(--line); border-radius: 14px; cursor: pointer; text-align: left; color: var(--ink); box-shadow: 0 10px 24px -18px rgba(16, 26, 37, .5); transition: border-color .25s var(--ease), transform .25s var(--ease); }
.app-cta[hidden] { display: none; }
.app-cta:hover { border-color: var(--ink); transform: translateY(-1px); }
.app-cta img { border-radius: 10px; border: 1px solid var(--line); }
.app-cta b { display: block; font: 600 14px/1.2 var(--sans); }
.app-cta small { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; }
.appsheet { position: fixed; inset: 0; z-index: 2147483000; display: flex; align-items: flex-end; justify-content: center; }
.appsheet__scrim { position: absolute; inset: 0; background: rgba(16, 26, 37, .45); opacity: 0; transition: opacity .35s var(--ease); }
.appsheet__card { position: relative; width: min(100%, 440px); margin: 0 auto; background: var(--paper); color: var(--text); padding: 22px 22px calc(22px + env(safe-area-inset-bottom, 0px)); border-radius: 18px 18px 0 0; transform: translateY(100%); transition: transform .45s var(--ease); box-shadow: 0 -20px 50px -20px rgba(0, 0, 0, .35); outline: none; }
@media (min-width: 700px) { .appsheet { align-items: center; } .appsheet__card { border-radius: 16px; transform: translateY(24px); opacity: 0; transition: transform .45s var(--ease), opacity .3s var(--ease); } .appsheet.is-open .appsheet__card { opacity: 1; } }
.appsheet.is-open .appsheet__scrim { opacity: 1; }
.appsheet.is-open .appsheet__card { transform: none; }
.appsheet__x { position: absolute; right: 10px; top: 10px; width: 36px; height: 36px; border: 0; background: none; font-size: 22px; color: var(--muted); cursor: pointer; }
.appsheet__h { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.appsheet__h img { border-radius: 13px; border: 1px solid var(--line); background: #fff; }
.appsheet__h b { display: block; font: 400 1.35rem/1.1 var(--display); color: var(--ink); text-transform: uppercase; letter-spacing: .03em; }
.appsheet__h span { font-size: 13px; color: var(--muted); }
.appsheet p { margin: 0 0 16px; font-size: 14.5px; line-height: 1.55; }
.appsheet__steps { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 10px; }
.appsheet__steps li { display: flex; align-items: center; gap: 12px; font-size: 14.5px; }
.appsheet__steps small { color: var(--muted); }
.appsheet__i { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: #fff; border: 1px solid var(--line); color: #1a73e8; }
.appsheet__i--t { font: 600 13px/1 var(--sans); }
.appsheet__acts { display: flex; align-items: center; gap: 16px; }
.appsheet__acts .btn { flex: 1; justify-content: center; }
.appsheet__later { border: 0; background: none; font: 600 14px/1 var(--sans); color: var(--muted); padding: 12px 6px; cursor: pointer; }
@media (prefers-reduced-motion: reduce) { .appsheet__card, .appsheet__scrim { transition: none; } }
/* inside the installed app */
.is-app .app-cta { display: none !important; }
@media (display-mode: standalone) { .site-header { padding-top: env(safe-area-inset-top, 0px); } }
@media (max-width: 520px) {
	.atlas__ctl { left: 8px; top: 8px; gap: 6px; }
	.atlas__views button, .atlas__near { padding: 8px 11px; }
	.app-cta { width: 100%; }
}
.atlas .atlas__geo, .atlas .atlas__geo.maplibregl-map { position: absolute; inset: 0; width: 100%; height: 100%; }
.appsheet__steps li > span:last-child { flex: 1; min-width: 0; }
