/* Parbat Nepal SEO: one stylesheet, no JavaScript. */

@font-face { font-family: "Cabinet Grotesk"; src: url("../fonts/cabinet-grotesk-800.woff2") format("woff2"); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Cabinet Grotesk"; src: url("../fonts/cabinet-grotesk-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Switzer"; src: url("../fonts/switzer-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Switzer"; src: url("../fonts/switzer-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Switzer"; src: url("../fonts/switzer-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }

:root {
  --navy: #001224;
  --navy-2: #0b2239;
  --navy-line: #1f3a57;
  --lime: #ccf52e;
  --white: #ffffff;
  --mist: #eef2f6;
  --slate: #3e4f66;
  --muted: #a9b8cb;
  --line: #d5dde6;

  --font-display: "Cabinet Grotesk", "Switzer", system-ui, sans-serif;
  --font-body: "Switzer", system-ui, -apple-system, "Segoe UI", sans-serif;

  --max: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --section: clamp(72px, 9vw, 128px);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --col-gap: clamp(32px, 5vw, 72px);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 24px;
}
@media (min-width: 900px) { html { scroll-padding-top: 96px; } }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  margin: 0;
  background: var(--white);
  color: var(--navy);
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; text-wrap: pretty; }

:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; border-radius: 6px; }
.band-navy :focus-visible, .site-footer :focus-visible, .specimen :focus-visible { outline-color: var(--lime); }

.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip {
  position: absolute; left: 16px; top: -100px; z-index: 50;
  background: var(--navy); color: var(--white); padding: 10px 16px; border-radius: 8px;
  font-weight: 600; text-decoration: none;
}
.skip:focus { top: 12px; outline: 3px solid var(--lime); outline-offset: -6px; }

.icon { width: 1em; height: 1em; flex: none; }
.nowrap, time { white-space: nowrap; }
@media (max-width: 599px) { .profile-handle .nowrap, .footer-small .nowrap { display: block; } .profile-handle .dot, .footer-small .dot { display: none; } }
blockquote { margin: 0; }

/* ---------- Brand lockup ---------- */

.tag {
  display: inline-block;
  background: var(--lime);
  color: var(--navy);
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1;
  border-radius: 999px;
  padding: 0.2em 0.48em 0.16em;
}

.brand {
  display: inline-flex; align-items: center; gap: 12px;
  text-decoration: none; color: var(--navy);
}
.brand-mark { width: 36px; height: 36px; }
.brand-name {
  font-family: var(--font-display); font-weight: 800; font-size: 1.1875rem;
  letter-spacing: -0.01em; white-space: nowrap;
}
.brand-name .tag { font-size: 0.68em; margin-left: 0.05em; vertical-align: 0.14em; }

/* ---------- Header ---------- */

.site-header { background: var(--white); border-bottom: 1px solid var(--line); }
.site-header .wrap {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 4px 24px; padding-block: 14px 10px;
}
.site-nav { width: 100%; }
.site-nav ul { display: flex; flex-wrap: wrap; gap: 0 16px; list-style: none; margin: 0; padding: 2px 0; }
.site-nav a {
  display: inline-block; padding: 6px 0; white-space: nowrap;
  font-size: 0.875rem; font-weight: 500; color: var(--slate); text-decoration: none;
}
@media (min-width: 600px) { .site-nav ul { gap: 0 22px; } .site-nav a { font-size: 0.9375rem; } }
.site-nav a:hover { color: var(--navy); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }

@media (min-width: 900px) {
  .site-header { position: sticky; top: 0; z-index: 20; }
  .site-header .wrap { flex-wrap: nowrap; min-height: 76px; padding-block: 0; }
  .site-nav { width: auto; }
  .site-nav ul { gap: 30px; }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding-block: clamp(36px, 6vw, 88px) clamp(56px, 8vw, 112px);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Ccircle cx='1.5' cy='1.5' r='1.1' fill='%23001224' fill-opacity='0.14'/%3E%3C/svg%3E");
  background-size: 24px 24px;
}
.hero-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 1000px) {
  .hero-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--col-gap); }
}

.lockup {
  margin: 0 0 22px;
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(3.4rem, 8.6vw, 6rem);
  line-height: 0.92; letter-spacing: -0.035em;
  color: var(--navy);
}
.lockup .line { display: block; }
.lockup .tag { font-size: 0.34em; margin-left: 0.04em; vertical-align: 0.42em; letter-spacing: 0.02em; }

/* The headshot sits beside the name so the face and the name are read together; flat, like the portrait. */
.hero-id { display: flex; flex-wrap: wrap; align-items: center; gap: 16px clamp(18px, 2.4vw, 32px); margin: 0 0 22px; }
.hero-id .lockup { margin: 0; }
.hero-photo { flex: none; width: 92px; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 12px; background: var(--mist); }
@media (min-width: 600px) { .hero-photo { width: 132px; border-radius: 14px; } }
@media (min-width: 1000px) { .hero-photo { width: 168px; border-radius: 16px; } }

.hero-title {
  margin: 0 0 6px;
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.5rem, 2.7vw, 2.125rem); line-height: 1.12; letter-spacing: -0.015em;
}
.hero-role { margin: 0 0 22px; font-size: 1.125rem; font-weight: 500; color: var(--slate); }
.hero-role a { color: var(--navy); text-decoration-thickness: 1px; text-underline-offset: 4px; }
.hero-role a:hover { text-decoration-thickness: 2px; }
.hero-lede { max-width: 36ch; margin: 0; font-size: clamp(1.125rem, 1.55vw, 1.3125rem); line-height: 1.55; color: var(--slate); }

.hero-profiles { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 28px 0 0; padding: 0; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 0 16px 0 18px;
  border: 1.5px solid var(--navy); border-radius: 999px;
  background: var(--white); color: var(--navy);
  font-size: 0.9375rem; font-weight: 600; text-decoration: none;
  transition: background-color 0.18s var(--ease), color 0.18s var(--ease);
}
.pill .icon { width: 14px; height: 14px; }
.pill:hover { background: var(--navy); color: var(--white); }

/* ---------- Specimen card (the scanpath) ---------- */

.specimen {
  margin: 0;
  background: var(--navy); color: var(--white);
  border-radius: 22px; padding: clamp(16px, 2vw, 22px);
  box-shadow: 0 28px 56px -28px rgb(0 0 0 / 0.5), 0 2px 8px rgb(0 0 0 / 0.12);
}
.specimen-head {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  margin: 2px 4px 14px; font-size: 0.9375rem;
}
.specimen-head strong { font-weight: 600; }
.specimen-head span { font-size: 0.8125rem; color: var(--muted); }
.specimen-svg { width: 100%; height: auto; border-radius: 14px; }
.specimen-svg text { font-family: var(--font-display); font-weight: 800; }

.legend { counter-reset: fx; list-style: none; margin: 16px 4px 0; padding: 0; display: grid; gap: 7px; }
.legend li { counter-increment: fx; display: grid; grid-template-columns: 24px 1fr; gap: 10px; align-items: baseline; font-size: 0.9375rem; line-height: 1.4; color: var(--muted); }
.legend li::before {
  content: counter(fx);
  display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%;
  background: var(--lime); color: var(--navy);
  font-family: var(--font-display); font-weight: 800; font-size: 0.75rem; line-height: 1;
  transform: translateY(4px);
}
.legend b { color: var(--white); font-weight: 600; }
.specimen-note { margin: 14px 4px 2px; padding-top: 12px; border-top: 1px solid var(--navy-line); font-size: 0.8125rem; line-height: 1.5; color: var(--muted); }

.sp-line { stroke-dasharray: 100; }
@media (max-width: 599px) { .fx text { font-size: 14px; } .fx-1 text { font-size: 18px; } }
@media (prefers-reduced-motion: no-preference) {
  .sp-line { animation: sp-draw 1.7s var(--ease) 0.35s both; }
  .fx { transform-box: fill-box; transform-origin: center; animation: fx-in 0.6s var(--ease) both; }
  .fx-1 { animation-delay: 0.3s; }
  .fx-2 { animation-delay: 0.62s; }
  .fx-3 { animation-delay: 0.94s; }
  .fx-4 { animation-delay: 1.22s; }
  .fx-5 { animation-delay: 1.5s; }
}
@keyframes sp-draw { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }
@keyframes fx-in { from { opacity: 0; transform: scale(0.35); } to { opacity: 1; transform: scale(1); } }

/* ---------- Facts strip ---------- */

.facts { background: var(--mist); border-block: 1px solid var(--line); }
.facts dl { margin: 0; display: grid; }
.fact { display: grid; grid-template-columns: 7.5rem 1fr; gap: 16px; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--line); }
.fact:last-child { border-bottom: 0; }
.fact dt { font-size: 0.8125rem; font-weight: 600; color: var(--slate); }
.fact dd { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 1.125rem; line-height: 1.36; text-wrap: balance; }
@media (min-width: 1000px) {
  .facts dl { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .fact { display: block; padding: 30px 24px; border-bottom: 0; border-left: 1px solid var(--line); }
  .fact:first-child { border-left: 0; padding-left: 0; }
  .fact:last-child { padding-right: 0; }
  .fact dd { margin-top: 6px; }
}

/* ---------- Sections ---------- */

.section { padding-block: var(--section); }
.section-title {
  margin: 0 0 28px; max-width: 20ch;
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(2.125rem, 4.4vw, 3.5rem); line-height: 1.02; letter-spacing: -0.03em;
  text-wrap: balance;
}
.band-mist { background: var(--mist); }
.band-navy { background: var(--navy); color: var(--white); }

/* Who is Parbat Nepal? */
.about-grid { display: grid; gap: 40px; }
@media (min-width: 900px) {
  .about-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--col-gap); align-items: center; }
  .about-grid .portrait { grid-column: 1; grid-row: 1; }
  .about-grid .about-copy { grid-column: 2; grid-row: 1; }
}
.portrait { max-width: 520px; }
.portrait { margin: 0; }
.portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 20px; background: var(--mist); }
.portrait figcaption { margin-top: 12px; font-size: 0.875rem; color: var(--slate); }
.about-copy p { max-width: 64ch; color: var(--slate); }
.about-copy .about-lead { font-size: clamp(1.25rem, 2vw, 1.5rem); line-height: 1.5; color: var(--navy); }
.about-copy a { color: var(--navy); text-underline-offset: 4px; }
.about-note { margin-top: 28px !important; margin-bottom: 0 !important; padding-top: 18px; border-top: 1px solid var(--line); font-size: 0.9375rem; }

/* What is visual semantics in SEO? */
.vs-grid { display: grid; gap: 32px; }
@media (min-width: 1000px) { .vs-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--col-gap); align-items: end; } }
.band-navy .section-title { color: var(--white); }
.definition {
  margin: 0; max-width: 24ch;
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.5rem, 2.6vw, 2.125rem); line-height: 1.34; letter-spacing: -0.015em;
  text-wrap: balance;
}
.vs-body p { color: var(--muted); max-width: 62ch; }
.vs-body p:last-child { margin-bottom: 0; }
.vs-sub { margin: clamp(56px, 7vw, 88px) 0 18px; font-family: var(--font-display); font-weight: 700; font-size: 1.375rem; }
.checks { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--navy-line); }
.checks li { display: grid; gap: 4px; padding: 18px 0; border-bottom: 1px solid var(--navy-line); }
.checks b { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; color: var(--white); }
.checks span { color: var(--muted); text-wrap: pretty; }
@media (min-width: 640px) { .checks li { grid-template-columns: 11rem 1fr; gap: 24px; align-items: baseline; } }
@media (min-width: 1100px) {
  .checks { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-bottom: 1px solid var(--navy-line); }
  .checks li { display: block; padding: 26px 24px 30px; border-bottom: 0; border-left: 1px solid var(--navy-line); }
  .checks li:first-child { border-left: 0; padding-left: 0; }
  .checks li:last-child { padding-right: 0; }
  .checks b { display: block; margin-bottom: 10px; }
  .checks span { font-size: 1rem; line-height: 1.6; }
}

/* Videos */
.section-intro { max-width: 60ch; color: var(--slate); margin-bottom: 44px; }
.videos-grid { display: grid; gap: 40px; }
@media (min-width: 1000px) { .videos-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--col-gap); } }
.video { display: block; color: inherit; text-decoration: none; }
.video-thumb { position: relative; display: block; }
.video-thumb img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 14px; background: var(--mist); }
.play {
  position: absolute; left: 14px; bottom: 14px; display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: var(--white);
  outline: 2px solid rgb(255 255 255 / 0.85); outline-offset: -1px;
  transition: transform 0.2s var(--ease);
}
.play .icon { width: 20px; height: 20px; }
.video h3 { text-wrap: balance; margin: 18px 0 6px; font-family: var(--font-display); font-weight: 700; font-size: 1.375rem; line-height: 1.2; letter-spacing: -0.01em; }
.video-featured h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.video .meta { margin: 0 0 8px; font-size: 0.875rem; font-weight: 500; color: var(--slate); font-variant-numeric: tabular-nums; }
.video .desc { margin: 0; font-size: 1rem; color: var(--slate); max-width: 56ch; }
.video:hover h3 { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.video:hover .play { transform: scale(1.08); }

.video-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 24px; align-content: start; }
.video-list li + li { padding-top: 24px; border-top: 1px solid var(--line); }
.video-list .desc { margin-top: 6px; font-size: 0.9375rem; line-height: 1.5; }
.video-list .video { display: grid; grid-template-columns: 132px 1fr; gap: 16px; align-items: start; }
.video-list .play { width: 32px; height: 32px; left: 8px; bottom: 8px; }
.video-list .play .icon { width: 16px; height: 16px; }
.video-list .video-thumb img { border-radius: 10px; }
.video-list h3 { margin: 0 0 4px; font-size: 1.0625rem; line-height: 1.25; }
.video-list .meta { margin-bottom: 0; }
@media (min-width: 640px) { .video-list .video { grid-template-columns: 176px 1fr; gap: 20px; } .video-list h3 { font-size: 1.1875rem; } }

.more-links { display: flex; flex-wrap: wrap; gap: 12px 28px; margin: 48px 0 0; padding: 22px 0 0; border-top: 1px solid var(--line); list-style: none; }
.more-links a { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; }
.more-links a:hover span { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.more-links .icon { width: 14px; height: 14px; }

/* Book */
.book-grid { display: grid; gap: 20px; align-items: start; }
@media (min-width: 900px) { .book-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--col-gap); } }
.book-grid .section-title { margin-bottom: 0; }
.chip {
  display: flex; width: fit-content; align-items: center; margin: 0 0 18px;
  background: var(--lime); color: var(--navy);
  font-size: 0.875rem; font-weight: 600; line-height: 1;
  border-radius: 999px; padding: 8px 14px;
}
@media (min-width: 900px) { .book-copy { padding-top: 10px; } }
.book-copy p { max-width: 54ch; color: var(--slate); }
.book-copy p:last-child { margin-bottom: 0; }
.book-copy .book-lead { font-size: clamp(1.25rem, 2vw, 1.5rem); line-height: 1.5; color: var(--navy); }
.book-copy a { color: var(--navy); text-underline-offset: 4px; }

/* Recognition */
.quote-grid { display: grid; gap: 32px; }
@media (min-width: 1000px) { .quote-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--col-gap); align-items: start; } }
.quote { margin: 0; }
.quote-lead {
  margin: 0 0 22px; max-width: 26ch;
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.5rem, 2.9vw, 2.5rem); line-height: 1.32; letter-spacing: -0.02em;
  text-wrap: balance;
}
.quote-body { margin: 0; max-width: 62ch; font-size: 1.1875rem; color: var(--slate); }
.quote-cite { margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 1rem; color: var(--slate); }
.quote-cite cite { font-style: normal; font-weight: 600; color: var(--navy); }
.source-card {
  align-self: start; margin-top: 6px;
  border: 1px solid var(--line); border-radius: 18px; padding: 24px 24px 22px; background: var(--white);
}
.source-card p { margin: 0; }
.source-title { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; line-height: 1.25; }
.source-date { margin-top: 6px !important; font-size: 0.9375rem; color: var(--slate); }
.source-card a { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; font-weight: 600; text-underline-offset: 4px; }
.source-card .icon { width: 14px; height: 14px; }

/* Profiles and links */
.profiles-intro { max-width: 52ch; color: var(--muted); margin-bottom: 36px; }
.profile-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--navy-line); }
.profile {
  position: relative;
  display: grid; grid-template-columns: 1fr; gap: 2px;
  padding: 20px 44px 20px 0; border-bottom: 1px solid var(--navy-line);
  color: var(--white); text-decoration: none;
}
.profile-name { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.5rem, 3vw, 2.25rem); line-height: 1.1; letter-spacing: -0.015em; }
.profile-handle { color: var(--muted); font-size: 0.9375rem; overflow-wrap: anywhere; }
.profile .icon { position: absolute; right: 0; top: 50%; margin-top: -11px; width: 22px; height: 22px; color: var(--muted); transition: transform 0.2s var(--ease), color 0.2s var(--ease); }
.profile:hover .profile-name { text-decoration: underline; text-decoration-color: var(--lime); text-decoration-thickness: 3px; text-underline-offset: 7px; }
.profile:hover .icon { color: var(--lime); transform: translate(3px, -3px); }
@media (min-width: 800px) {
  .profile { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: var(--col-gap); align-items: baseline; padding: 24px 0; }
}

/* ---------- Footer ---------- */

.site-footer { background: var(--navy); color: var(--white); border-top: 1px solid var(--navy-line); padding-block: 48px 40px; }
.footer-grid { display: grid; gap: 20px; align-items: end; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1fr auto; } }
.site-footer .brand { color: var(--white); }
.footer-titles { margin: 14px 0 0; color: var(--muted); font-size: 1rem; }
.footer-small { margin: 0; color: var(--muted); font-size: 0.875rem; }
.footer-small a { color: var(--white); text-underline-offset: 4px; }
.footer-small a:hover { text-decoration-color: var(--lime); }

/* ---------- 404 ---------- */

.page-404 { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
.page-404 main { flex: 1 0 auto; }

.notfound { padding-block: clamp(80px, 14vw, 180px); }
.notfound h1 { margin: 0 0 16px; font-family: var(--font-display); font-weight: 800; font-size: clamp(2.5rem, 6vw, 4.5rem); line-height: 1; letter-spacing: -0.03em; }
.notfound p { color: var(--slate); max-width: 48ch; }
.notfound a { font-weight: 600; text-underline-offset: 4px; }
