/* A quiet place to see time. No build step or layout dependencies. */
:root {
    color-scheme: light;
    --paper: #f7f7f2;
    --surface: #fff;
    --ink: #272923;
    --muted: #76776f;
    --line: #e1e2d9;
    --accent: #dc5a36;
    --accent-deep: #b43f22;
    --accent-soft: #f4e9dd;
    --dot-empty: #e7e8df;
    --footer: #eeefe7;
    --dark-card: #292c25;
    --card-orange: #f08a60;
    --font: 'DM Sans',sans-serif;
    --display: 'Manrope',sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 95px;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font: 14px/1.6 var(--font);
    -webkit-font-smoothing: antialiased;
}

button,input,textarea {
    font: inherit;
    color: inherit;
}

button,a,input,textarea {
    -webkit-tap-highlight-color: transparent;
}

button,a {
    touch-action: manipulation;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    cursor: pointer;
    border: 0;
}

button:disabled {
    cursor: wait;
    opacity: .55;
}

button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 5px;
}

::selection {
    background: #f2c0aa;
    color: #272923;
}

h1,h2,h3,p {
    margin: 0;
}

[hidden] {
    display: none!important;
}

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

.skip-link {
    position: fixed;
    left: 20px;
    top: -80px;
    z-index: 100;
    background: var(--ink);
    color: var(--paper);
    padding: 12px 20px;
    border-radius: 4px;
}

.skip-link:focus {
    top: 12px;
}

.page-shell,.header-inner {
    width: min(1120px,calc(100% - 96px));
    margin-inline: auto;
}

.site-header {
    height: 89px;
    border-bottom: 1px solid var(--line);
    background: var(--paper);
}

.header-inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: var(--display);
    font-size: 17px;
    font-weight: 800;
    letter-spacing: -.8px;
    white-space: nowrap;
}

.brand-np {
    color: var(--accent);
    margin-left: 4px;
}

.brand-mark {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    height: 24px;
}

.brand-mark i {
    display: block;
    width: 5px;
    height: 9px;
    border-radius: 2px;
    background: var(--accent);
}

.brand-mark i:nth-child(2) {
    height: 14px;
}

.brand-mark i:nth-child(3) {
    height: 19px;
}

.brand-mark i:nth-child(4) {
    height: 24px;
    background: var(--ink);
}

nav {
    display: flex;
    gap: 34px;
    margin-left: auto;
    margin-right: 24px;
}

.nav-link {
    font-size: 12px;
    color: var(--muted);
    transition: color .2s;
}

.nav-link:hover,.nav-link.active {
    color: var(--ink);
}

.nav-link.active {
    position: relative;
}

.nav-link.active:after {
    content: '';
    position: absolute;
    bottom: -35px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--accent);
}

.icon-button {
    display: grid;
    place-items: center;
    width: 37px;
    height: 37px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: transparent;
    transition: background .2s;
    flex-shrink: 0;
}

.icon-button:hover {
    background: var(--accent-soft);
}

.sun-icon {
    display: none;
}

.intro {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 64px 0 43px;
    gap: 28px;
}

.eyebrow {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1.7px;
    display: flex;
    align-items: center;
    gap: 9px;
}

.live-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    display: inline-block;
    flex-shrink: 0;
}

h1 {
    font-family: var(--display);
    font-weight: 650;
    font-size: clamp(46px,5.2vw,70px);
    line-height: 1.1;
    letter-spacing: -3.8px;
    margin-top: 23px;
}

h1>span {
    color: var(--accent);
}

.intro-copy {
    color: var(--muted);
    margin-top: 22px;
    font-size: 14px;
    line-height: 1.7;
}

.intro-byline {
    margin-top: 13px;
    color: var(--muted);
    font-size: 11px;
}

.intro-byline a {
    color: var(--ink);
    border-bottom: 1px solid var(--line);
    padding-bottom: 2px;
}

.intro-byline a:hover {
    color: var(--accent);
}

.intro-byline a span {
    margin-left: 3px;
    color: var(--accent);
}

.nepal-now {
    text-align: right;
    padding-top: 37px;
}

.location-label {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    align-items: center;
    color: var(--muted);
    letter-spacing: 1.2px;
    font-size: 9px;
    font-weight: 600;
}

#clock {
    display: block;
    font: 500 33px/1.6 var(--display);
    letter-spacing: -1px;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
    margin-top: 6px;
}

#nepali-date {
    font-size: 14px;
    font-weight: 500;
    margin-top: 1px;
}

.native-date {
    margin-top: 3px;
    color: var(--muted);
    font-size: 12px;
    font-family: 'Nirmala UI','Noto Sans Devanagari',sans-serif;
}

.gregorian-date {
    color: var(--muted);
    font-size: 11px;
    margin-top: 6px;
}

.dashboard {
    display: grid;
    grid-template-columns: minmax(0,1fr) 313px;
    gap: 20px;
}

.main-progress-card {
    position: relative;
    background: var(--dark-card);
    color: #fff;
    padding: 29px 34px 0;
    border-radius: 13px;
    overflow: hidden;
    min-width: 0;
}

.nepal-contour {
    position: absolute;
    top: 20px;
    right: 50px;
    width: 230px;
    height: auto;
    opacity: .075;
    pointer-events: none;
}

.card-topline,.progress-heading,.track-labels,.hero-bottom,.today-top,.today-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.card-eyebrow {
    font-size: 9px;
    letter-spacing: 1.6px;
    color: #c4c8bd;
}

.live-badge {
    font-size: 10px;
    color: #dbdfd3;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.live-badge .live-dot {
    background: #b4c89c;
    width: 5px;
    height: 5px;
    box-shadow: 0 0 0 3px #b4c89c14;
}

.period-picker {
    display: inline-flex;
    background: #ffffff09;
    border: 1px solid #ffffff13;
    padding: 4px;
    gap: 3px;
    border-radius: 6px;
    margin: 23px 0 24px;
}

.period-picker button {
    padding: 6px 19px;
    border-radius: 3px;
    color: #bdc2b4;
    background: transparent;
    font-size: 11px;
    transition: background .2s,color .2s;
}

.period-picker button:hover {
    background: #ffffff0d;
    color: white;
}

.period-picker button[aria-pressed="true"] {
    background: #f0f0e7;
    color: #292c25;
}

.progress-heading h2 {
    font-size: 15px;
    font-weight: 400;
    letter-spacing: -.2px;
}

.progress-heading>span {
    color: #b4b9ac;
    font-size: 10px;
}

.hero-number {
    display: flex;
    align-items: baseline;
    padding: 4px 0 17px;
    font-family: var(--display);
    white-space: nowrap;
}

#hero-percentage {
    font-size: clamp(54px,7vw,97px);
    font-weight: 500;
    line-height: 1.3;
    letter-spacing: -5px;
    font-variant-numeric: tabular-nums;
}

.percent-sign {
    font-size: 45px;
    font-weight: 400;
    color: var(--card-orange);
    margin-left: 4px;
}

.elapsed-label {
    margin-left: auto;
    padding-left: 14px;
    color: #aeb5a4;
    font: 11px/1.6 var(--font);
}

.hero-track {
    width: 100%;
    height: 32px;
    border-radius: 3px;
    background: #494d41;
    overflow: hidden;
    position: relative;
}

.hero-track:after {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(90deg,transparent 0,transparent calc(2.5% - 3px),var(--dark-card) calc(2.5% - 3px),var(--dark-card) 2.5%);
    pointer-events: none;
}

#hero-fill {
    height: 100%;
    width: 0;
    background: var(--card-orange);
    transition: width .4s;
}

.track-labels {
    font-size: 10px;
    color: #b7bdad;
    padding-top: 9px;
}

.hero-bottom {
    border-top: 1px solid #ffffff17;
    margin-top: 24px;
    padding-block: 17px;
    font-size: 10px;
    color: #b5bba9;
}

.hero-bottom p {
    display: flex;
    align-items: center;
    gap: 5px;
}

.hero-bottom strong {
    color: #f1f2e9;
    font-weight: 500;
}

.small-orange-dot {
    width: 5px;
    height: 5px;
    background: var(--card-orange);
    border-radius: 50%;
    display: inline-block;
    margin-right: 4px;
}

.hero-bottom>span {
    font-size: 9px;
}

.calendar-notice {
    color: #ffbf9c;
    font-size: 11px;
    padding-bottom: 16px;
}

.today-card {
    border: 1px solid var(--line);
    border-radius: 13px;
    background: var(--surface);
    padding: 26px 24px 0;
    display: flex;
    align-items: center;
    flex-direction: column;
}

.today-top {
    width: 100%;
}

.today-top h2 {
    font-size: 13px;
    font-weight: 500;
}

.today-sun {
    color: var(--accent);
}

.day-ring {
    --day-progress: 0%;
    width: 168px;
    height: 168px;
    background: conic-gradient(from -90deg,var(--accent) var(--day-progress),var(--dot-empty) var(--day-progress));
    border-radius: 50%;
    padding: 8px;
    margin-top: 24px;
}

.ring-inner {
    background: var(--surface);
    height: 100%;
    width: 100%;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#day-readable {
    font-family: var(--display);
    font-size: 36px;
    line-height: 1.4;
    font-weight: 500;
    letter-spacing: -1.6px;
    font-variant-numeric: tabular-nums;
}

#day-readable small {
    font-size: 19px;
    letter-spacing: 0;
    margin-left: 2px;
}

.ring-caption {
    font-size: 8px;
    letter-spacing: 1.5px;
    color: var(--muted);
}

.day-caption {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-top: 18px;
    font-size: 10px;
    color: var(--muted);
}

.day-caption .live-dot {
    width: 4px;
    height: 4px;
}

.day-caption strong {
    color: var(--ink);
    font-weight: 500;
}

.today-foot {
    width: calc(100% + 48px);
    margin-top: auto;
    border-top: 1px solid var(--line);
    padding: 17px 24px;
    color: var(--muted);
    font-size: 9px;
}

.year-section {
    padding-block: 47px 0;
    scroll-margin-top: 25px;
}

.section-topline {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 23px;
    gap: 15px;
}

.section-topline .eyebrow {
    font-size: 9px;
    color: var(--muted);
    letter-spacing: 1.4px;
    margin-bottom: 10px;
}

.section-topline h2 {
    font: 600 24px/1.3 var(--display);
    letter-spacing: -.8px;
}

.year-tag {
    display: flex;
    align-items: baseline;
    gap: 5px;
    border: 1px solid var(--line);
    padding: 5px 13px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 500;
}

.year-tag>span:last-child {
    color: var(--muted);
    font-size: 9px;
}

.year-view {
    display: grid;
    grid-template-columns: minmax(0,1fr) 247px;
    gap: 35px;
    border-top: 1px solid var(--line);
    padding-block: 27px 21px;
}

.year-map {
    min-width: 0;
}

.dot-grid {
    display: grid;
    grid-template-columns: repeat(37,1fr);
    gap: 8px 7px;
    padding-top: 3px;
    min-height: 180px;
    align-content: start;
}

.year-dot {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: var(--dot-empty);
    transition: opacity .2s,box-shadow .2s;
    max-width: 14px;
}

.year-dot.passed {
    background: #d3a58a;
}

.year-dot.current {
    background: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-soft);
}

.year-dot.highlight {
    box-shadow: 0 0 0 2px var(--accent);
}

.dot-grid.has-selection .year-dot:not(.highlight) {
    opacity: .22;
}

.map-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 19px;
    font-size: 10px;
    color: var(--muted);
}

.dot-legend {
    display: flex;
    gap: 16px;
}

.dot-legend span {
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}

.dot-legend i {
    width: 6px;
    height: 6px;
    display: block;
    border-radius: 50%;
    background: var(--dot-empty);
}

.dot-legend .legend-passed {
    background: #d3a58a;
}

.dot-legend .legend-today {
    background: var(--accent);
}

.year-summary {
    border-left: 1px solid var(--line);
    padding-left: 29px;
}

.summary-label {
    font-size: 8px;
    letter-spacing: 1.2px;
    color: var(--muted);
}

.day-of-year {
    font-family: var(--display);
    font-size: 30px;
    font-weight: 500;
    letter-spacing: -1px;
    margin-top: 9px;
}

.of-total {
    font-size: 14px;
    color: var(--muted);
    letter-spacing: -.2px;
}

.year-reflection {
    color: var(--muted);
    font-size: 11px;
    margin-top: 4px;
}

.summary-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    font-size: 10px;
    margin-top: 20px;
    color: var(--muted);
}

.summary-line strong {
    color: var(--ink);
    font-weight: 500;
    font-variant-numeric: tabular-nums;
}

.progress {
    height: 4px;
    background: var(--dot-empty);
    border-radius: 3px;
    margin-top: 8px;
    overflow: hidden;
}

.progress-inner {
    background: var(--accent);
    height: 100%;
    width: 0;
}

.progress+.summary-line {
    margin-top: 11px;
}

.months-strip {
    display: grid;
    grid-template-columns: repeat(12,minmax(0,1fr));
    gap: 7px;
    border-top: 1px solid var(--line);
    padding-top: 19px;
}

.month-button {
    padding: 0;
    text-align: left;
    background: transparent;
    min-width: 0;
}

.month-bar {
    height: 3px;
    border-radius: 1px;
    display: block;
    background: var(--dot-empty);
    margin-bottom: 8px;
}

.month-button.past .month-bar {
    background: #d3a58a;
}

.month-button.current .month-bar {
    background: var(--accent);
}

.month-button span:last-child {
    font-size: 9px;
    color: var(--muted);
}

.month-button.current span:last-child {
    color: var(--accent-deep);
    font-weight: 600;
}

.month-button[aria-pressed="true"] .month-bar {
    outline: 2px solid var(--ink);
    outline-offset: 3px;
}

.month-button:hover span:last-child {
    color: var(--ink);
}

.month-detail {
    color: var(--muted);
    font-size: 10px;
    min-height: 20px;
    margin-top: 13px;
}

.calendar-source {
    display: flex;
    flex-wrap: wrap;
    gap: 5px 18px;
    margin-top: 7px;
    color: var(--muted);
    font-size: 10px;
}

.calendar-source a:hover {
    color: var(--accent);
}

.calendar-milestones {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    border-bottom: 1px solid var(--line);
    padding: 26px 0;
    margin-top: 4px;
}

.calendar-milestone {
    min-width: 0;
    padding-inline: 26px;
    border-left: 1px solid var(--line);
}

.calendar-milestone:first-child {
    border-left: 0;
    padding-left: 0;
}

.calendar-milestone:last-child {
    padding-right: 0;
}

.milestone-label {
    font-size: 8px;
    letter-spacing: 1.2px;
    color: var(--muted);
}

.milestone-label [lang="ne"] {
    letter-spacing: 0;
    font-size: 11px;
}

.milestone-heading {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 4px 12px;
    margin-top: 7px;
}

.milestone-heading h2 {
    font: 600 16px/1.5 var(--display);
    letter-spacing: -.4px;
}

.milestone-heading>span {
    font-size: 11px;
    font-variant-numeric: tabular-nums;
}

.new-year-milestone .milestone-heading>span {
    color: var(--accent-deep);
}

.milestone-note {
    margin-top: 6px;
    color: var(--muted);
    font-size: 10px;
}

.milestone-track {
    height: 3px;
    margin-top: 9px;
    border-radius: 2px;
    background: var(--dot-empty);
    overflow: hidden;
}

.milestone-track>div {
    height: 100%;
    background: var(--accent);
    width: 0;
}

.international-section {
    margin-top: 32px;
    padding-top: 29px;
    border-top: 1px solid var(--line);
}

.international-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 22px;
}

.international-heading .eyebrow {
    color: var(--muted);
    font-size: 8px;
    letter-spacing: 1.1px;
}

.international-heading h2 {
    margin-top: 7px;
    font: 500 21px/1.4 var(--display);
    letter-spacing: -.6px;
}

.international-date {
    color: var(--muted);
    font-size: 11px;
    margin-top: 3px;
}

.international-percentage {
    flex-shrink: 0;
    font: 500 32px/1.25 var(--display);
    text-align: right;
    letter-spacing: -1px;
    font-variant-numeric: tabular-nums;
}

.international-percentage>span:nth-child(2) {
    color: var(--muted);
    font-size: 18px;
    margin-left: 2px;
}

.international-percentage small {
    display: block;
    color: var(--muted);
    font: 10px/1.6 var(--font);
    letter-spacing: 0;
}

.international-track {
    height: 7px;
    border-radius: 3px;
    background: var(--dot-empty);
    overflow: hidden;
}

#international-fill {
    width: 0;
    height: 100%;
    background: #788368;
    border-radius: inherit;
}

.international-months {
    display: flex;
}

.international-month {
    min-width: 0;
    border-left: 1px solid var(--line);
    padding: 8px 0 0 7px;
    color: var(--muted);
    font-size: 10px;
}

.international-month[aria-current="date"] {
    color: var(--ink);
    font-weight: 600;
    border-color: #788368;
}

.international-month[aria-current="date"]:after {
    content: ' · Now';
    font-size: 8px;
    font-weight: 400;
}

.international-foot {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 20px;
    margin-top: 17px;
    color: var(--muted);
    font-size: 10px;
}

.international-foot>span:last-child {
    margin-left: auto;
}

.perspective-section {
    position: relative;
    margin-block: 45px 56px;
    padding-top: 44px;
    border-top: 1px solid var(--line);
    display: grid;
    grid-template-columns: 69px minmax(0,1fr) 300px;
    gap: 28px;
}

.about-mark {
    display: flex;
    gap: 5px;
    align-items: center;
    height: 75px;
    padding-top: 11px;
}

.about-mark span {
    width: 7px;
    height: 23px;
    border-radius: 3px;
    background: #d3a58a;
}

.about-mark span:nth-child(2) {
    height: 37px;
}

.about-mark span:nth-child(3) {
    height: 60px;
    background: var(--accent);
}

.about-mark span:nth-child(4) {
    height: 37px;
}

.about-mark span:nth-child(5) {
    height: 23px;
}

.about-copy .eyebrow {
    color: var(--muted);
    font-size: 8px;
    letter-spacing: 1.4px;
}

.about-copy h2 {
    font: 600 29px/1.25 var(--display);
    letter-spacing: -1px;
    margin-top: 14px;
}

.about-copy>p:not(.eyebrow) {
    max-width: 390px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.9;
    margin-top: 17px;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    background: transparent;
    padding: 0;
    font-size: 11px;
    font-weight: 500;
    color: var(--ink);
}

.text-link:hover {
    color: var(--accent);
}

.about-copy .text-link {
    margin-top: 20px;
}

.creator-note {
    max-width: 390px;
    margin-top: 24px;
    padding-top: 21px;
    border-top: 1px solid var(--line);
}

.creator-note h3 {
    font-family: var(--display);
    font-size: 14px;
    font-weight: 650;
    letter-spacing: -.2px;
}

.creator-note p {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.9;
    margin-top: 9px;
}

.creator-links {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 22px;
}

.creator-links .text-link {
    margin-top: 15px;
    gap: 10px;
}

.text-link>span {
    font-size: 17px;
    line-height: 1;
}

.community-panel {
    background: var(--accent-soft);
    padding: 23px 26px 25px;
    border-radius: 8px;
    align-self: start;
}

.community-symbol {
    display: block;
    color: var(--accent);
    font-size: 43px;
    line-height: 1;
    margin-bottom: 21px;
}

.community-panel h3 {
    font-family: var(--display);
    font-size: 16px;
    letter-spacing: -.4px;
    font-weight: 650;
}

.community-panel p {
    font-size: 11px;
    line-height: 1.9;
    color: #71675c;
    margin-top: 10px;
}

.outline-button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    font-size: 10px;
    border: 1px solid #c7b8a5;
    border-radius: 4px;
    background: transparent;
    padding: 10px 11px;
    margin-top: 21px;
}

.outline-button:hover {
    background: #fff4;
}

.message-board {
    border-top: 1px solid var(--line);
    padding: 35px 0 50px;
}

.message-board h2 {
    font: 600 26px var(--display);
    letter-spacing: -.7px;
    margin-top: 10px;
}

.muted {
    color: var(--muted);
    font-size: 12px;
    margin-top: 12px;
}

.board-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    margin-top: 24px;
}

.board-layout label {
    display: block;
    font-size: 12px;
    margin-bottom: 10px;
}

.board-layout textarea {
    width: 100%;
    resize: vertical;
    border: 1px solid var(--line);
    background: var(--surface);
    border-radius: 5px;
    padding: 14px;
    font-size: 12px;
}

.primary-button {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    padding: 11px 18px;
    margin-top: 12px;
    border-radius: 4px;
    font-size: 12px;
    background: var(--ink);
    color: var(--paper);
}

.primary-button:hover {
    background: var(--accent);
    color: white;
}

.message-list {
    max-height: 360px;
    overflow-y: auto;
}

.message-list:empty:before {
    content: 'A little space for a shared perspective.';
    display: block;
    color: var(--muted);
    font-size: 12px;
    padding: 20px 0;
}

.message-list-item {
    border-bottom: 1px solid var(--line);
    padding: 16px 0;
    font-size: 12px;
    overflow-wrap: anywhere;
    white-space: pre-wrap;
}

.timestamp {
    color: var(--muted);
    font-size: 10px;
    padding-top: 8px;
}

.site-footer {
    background: var(--footer);
    border-top: 1px solid var(--line);
}

.footer-main {
    display: grid;
    grid-template-columns: 1fr .75fr 1fr;
    gap: 65px;
    padding-block: 42px 36px;
}

.footer-brand .brand {
    font-size: 15px;
}

.footer-brand .brand-mark {
    transform: scale(.85);
    transform-origin: left center;
    width: 25px;
}

.footer-brand>p {
    margin-top: 18px;
    font-size: 12px;
    color: var(--muted);
    line-height: 1.8;
}

.made-in {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 9px;
    color: var(--muted);
    margin-top: 24px;
}

.made-in .live-dot {
    width: 4px;
    height: 4px;
}

.footer-main h2 {
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 16px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-links>a {
    color: var(--muted);
    font-size: 11px;
    padding-block: 5px;
}

.footer-links>a:hover {
    color: var(--accent);
}

.archive-label {
    font-size: 7px;
    letter-spacing: .4px;
    border: 1px solid var(--line);
    padding: 2px 4px;
    margin-left: 5px;
    border-radius: 2px;
    color: var(--accent-deep);
    white-space: nowrap;
}

.contact-panel>p {
    font-size: 10px;
    color: var(--muted);
    margin-top: -9px;
    margin-bottom: 13px;
}

.contact-panel input,.contact-panel textarea {
    display: block;
    width: 100%;
    padding: 9px 0;
    border: 0;
    border-bottom: 1px solid #d0d3c6;
    background: transparent;
    border-radius: 0;
    font-size: 10px;
    resize: vertical;
}

.contact-panel textarea {
    padding-top: 13px;
}

.contact-panel .text-link {
    margin-top: 13px;
    font-size: 10px;
}

.contact-panel .text-link>span {
    color: var(--accent);
}

.form-status {
    font-size: 11px;
    margin-top: 10px;
    padding: 8px 10px;
    border-left: 2px solid var(--accent);
    background: var(--accent-soft);
    color: var(--ink);
}

.form-status[data-state="success"] {
    border-color: #64784d;
}

.form-status[data-state="error"] {
    color: var(--accent-deep);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    color: var(--muted);
    font-size: 9px;
    border-top: 1px solid var(--line);
    padding-block: 20px;
}

.footer-bottom>span:last-child {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-flower {
    color: var(--accent);
    font-size: 24px;
    line-height: 1;
}

.noscript-notice {
    padding: 20px;
    text-align: center;
}

.dark-theme {
    color-scheme: dark;
    --paper: #1d201b;
    --surface: #252921;
    --ink: #f0f0e5;
    --muted: #a5ac9b;
    --line: #3b4034;
    --accent: #f08a60;
    --accent-deep: #f0a17d;
    --accent-soft: #3e3428;
    --dot-empty: #3d4335;
    --footer: #24281f;
    --dark-card: #30362a;
}

.dark-theme .moon-icon {
    display: none;
}

.dark-theme .sun-icon {
    display: block;
}

.dark-theme .community-panel p {
    color: #c5b6a4;
}

.dark-theme .contact-panel input,.dark-theme .contact-panel textarea {
    border-color: #4c5144;
}

.dark-theme .month-button.past .month-bar,.dark-theme .year-dot.passed,.dark-theme .dot-legend .legend-passed {
    background: #a98368;
}

@media(min-width:1600px) {
    .page-shell,.header-inner {
        width: min(1200px,calc(100% - 120px));
    }
    .intro {
        padding-block: 76px 54px;
    }
    .dashboard {
        grid-template-columns: minmax(0,1fr) 340px;
    }
    .main-progress-card {
        padding-inline: 38px;
    }
    .period-picker {
        margin-block: 26px 28px;
    }
    .hero-number {
        padding-block: 8px 22px;
    }
    .today-card {
        padding-top: 32px;
    }
    .day-ring {
        width: 184px;
        height: 184px;
        margin-top: 29px;
    }
    .hero-bottom {
        margin-top: 30px;
    }
}

@media(max-width:1000px) {
    .page-shell,.header-inner {
        width: calc(100% - 64px);
    }
    .dashboard {
        grid-template-columns: minmax(0,1fr) 270px;
        gap: 16px;
    }
    .main-progress-card {
        padding-inline: 25px;
    }
    #hero-percentage {
        font-size: 72px;
    }
    .percent-sign {
        font-size: 35px;
    }
    .hero-bottom>span {
        display: none;
    }
    .today-card {
        padding-inline: 20px;
    }
    .today-foot {
        width: calc(100% + 40px);
        padding-inline: 20px;
    }
    .elapsed-label {
        font-size: 10px;
    }
    .year-view {
        grid-template-columns: minmax(0,1fr) 210px;
        gap: 25px;
    }
    .dot-grid {
        grid-template-columns: repeat(31,1fr);
        gap: 7px;
    }
    .map-bottom {
        flex-wrap: wrap;
        gap: 10px;
    }
    .perspective-section {
        grid-template-columns: 45px minmax(0,1fr) 260px;
        gap: 20px;
    }
    .about-mark {
        gap: 3px;
    }
    .about-mark span {
        width: 5px;
    }
    .community-panel {
        padding-inline: 20px;
    }
    .footer-main {
        gap: 35px;
    }
    .footer-timezone {
        display: none;
    }
}

@media(max-width:760px) {
    .site-header {
        height: 74px;
    }
    nav {
        gap: 20px;
        margin-right: 0;
    }
    .nav-link {
        font-size: 11px;
    }
    .nav-link:nth-child(2) {
        display: none;
    }
    .nav-link.active:after {
        bottom: -28px;
    }
    .brand {
        font-size: 15px;
        gap: 9px;
    }
    .intro {
        padding-top: 43px;
    }
    .eyebrow {
        font-size: 8px;
        letter-spacing: 1.2px;
    }
    h1 {
        font-size: 54px;
        letter-spacing: -3px;
    }
    .intro-copy {
        font-size: 12px;
    }
    .nepal-now {
        padding-top: 25px;
    }
    #clock {
        font-size: 25px;
    }
    .location-label {
        font-size: 7px;
        letter-spacing: .7px;
    }
    .gregorian-date {
        font-size: 9px;
    }
    .dashboard {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .main-progress-card {
        padding-inline: 27px;
    }
    .period-picker {
        margin-block: 22px;
    }
    #hero-percentage {
        font-size: 88px;
    }
    .percent-sign {
        font-size: 40px;
    }
    .hero-number {
        padding-bottom: 20px;
    }
    .elapsed-label {
        font-size: 11px;
    }
    .hero-bottom>span {
        display: block;
    }
    .today-card {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto auto;
        padding: 20px 24px 0;
        column-gap: 20px;
    }
    .today-top {
        grid-area: 1/1/2/2;
        align-items: flex-start;
        flex-direction: column-reverse;
        gap: 10px;
    }
    .day-ring {
        grid-area: 1/2/3/3;
        width: 130px;
        height: 130px;
        margin: 0 0 17px auto;
        padding: 6px;
    }
    #day-readable {
        font-size: 30px;
    }
    .day-caption {
        grid-area: 2/1/3/2;
        margin: 0 0 17px;
        align-self: start;
    }
    .day-caption p {
        max-width: 170px;
    }
    .today-foot {
        grid-area: 3/1/4/3;
        width: calc(100% + 48px);
        margin-left: -24px;
        padding: 12px 24px;
    }
    .year-section {
        padding-top: 38px;
    }
    .year-view {
        grid-template-columns: 1fr;
        gap: 20px;
        padding-top: 23px;
    }
    .dot-grid {
        grid-template-columns: repeat(31,1fr);
        gap: 8px;
        min-height: 0;
    }
    .year-dot {
        max-width: none;
    }
    .year-summary {
        border-left: 0;
        border-top: 1px solid var(--line);
        padding: 18px 0 0;
        display: grid;
        grid-template-columns: 1fr 1fr;
        column-gap: 25px;
    }
    .summary-label {
        grid-column: 1/2;
    }
    .day-of-year {
        grid-column: 1/2;
        grid-row: 2/4;
        margin-top: 4px;
    }
    .year-reflection {
        grid-column: 1/2;
        grid-row: 4;
        font-size: 10px;
    }
    .summary-line {
        grid-column: 2/3;
        margin: 0;
    }
    .summary-line:first-of-type {
        grid-row: 1/3;
    }
    .year-summary .progress {
        grid-column: 2/3;
        grid-row: 3;
    }
    .progress+.summary-line {
        grid-column: 2/3;
        grid-row: 4;
        margin-top: 6px;
    }
    .months-strip {
        grid-template-columns: repeat(6,1fr);
        gap: 15px 12px;
    }
    .month-button span:last-child {
        font-size: 10px;
    }
    .perspective-section {
        grid-template-columns: 1fr 1fr;
        gap: 26px;
        margin-top: 29px;
        padding-top: 32px;
    }
    .about-mark {
        display: none;
    }
    .about-copy h2 {
        font-size: 26px;
    }
    .community-panel {
        padding: 21px;
    }
    .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 35px;
    }
    .contact-panel {
        grid-column: 1/3;
        max-width: 450px;
        width: 100%;
    }
    .footer-main h2 {
        font-size: 13px;
    }
    .contact-panel input,.contact-panel textarea {
        font-size: 12px;
    }
    .contact-panel>p {
        font-size: 11px;
    }
    .contact-panel .text-link {
        font-size: 12px;
    }
    .board-layout {
        gap: 25px;
    }
}

@media(max-width:480px) {
    .page-shell,.header-inner {
        width: calc(100% - 40px);
    }
    .header-inner {
        gap: 12px;
    }
    nav {
        gap: 16px;
    }
    .nav-link {
        font-size: 10px;
    }
    .brand {
        font-size: 13px;
        letter-spacing: -.6px;
    }
    .brand-mark {
        transform: scale(.85);
        width: 24px;
        gap: 3px;
    }
    .icon-button {
        width: 33px;
        height: 33px;
    }
    .intro {
        display: block;
        padding-top: 32px;
        padding-bottom: 26px;
    }
    h1 {
        font-size: 56px;
        margin-top: 19px;
    }
    .intro-copy {
        margin-top: 18px;
        font-size: 12px;
    }
    .intro-copy br {
        display: none;
    }
    .nepal-now {
        display: grid;
        grid-template-columns: 1fr auto;
        text-align: left;
        align-items: center;
        column-gap: 15px;
        border-top: 1px solid var(--line);
        margin-top: 27px;
        padding-top: 17px;
    }
    .location-label {
        justify-content: flex-start;
        font-size: 8px;
        letter-spacing: .6px;
    }
    #clock {
        grid-column: 2;
        grid-row: 1/3;
        font-size: 21px;
        margin: 0;
    }
    #nepali-date {
        font-size: 11px;
    }
    .gregorian-date {
        grid-column: 1/3;
        font-size: 9px;
        margin-top: 8px;
    }
    .main-progress-card {
        padding: 23px 22px 0;
    }
    .card-eyebrow {
        font-size: 8px;
    }
    .period-picker {
        display: flex;
        margin-block: 22px;
    }
    .period-picker button {
        flex: 1;
        padding-inline: 10px;
        font-size: 11px;
    }
    .progress-heading h2 {
        font-size: 14px;
    }
    .progress-heading>span {
        font-size: 9px;
    }
    #hero-percentage {
        font-size: 69px;
        letter-spacing: -4px;
    }
    .percent-sign {
        font-size: 31px;
    }
    .elapsed-label {
        font-size: 9px;
        padding-left: 8px;
    }
    .hero-number {
        padding-top: 8px;
        padding-bottom: 21px;
    }
    .hero-track {
        height: 30px;
    }
    .hero-track:after {
        background: repeating-linear-gradient(90deg,transparent 0,transparent calc(4% - 3px),var(--dark-card) calc(4% - 3px),var(--dark-card) 4%);
    }
    .hero-bottom {
        margin-top: 22px;
        padding-block: 15px;
    }
    .hero-bottom>span {
        font-size: 8px;
    }
    .hero-bottom p {
        font-size: 9px;
    }
    .today-card {
        padding-inline: 21px;
        column-gap: 9px;
    }
    .today-top h2 {
        font-size: 12px;
    }
    .day-ring {
        width: 120px;
        height: 120px;
    }
    .today-foot {
        width: calc(100% + 42px);
        margin-left: -21px;
        padding-inline: 21px;
    }
    .day-caption {
        font-size: 9px;
    }
    .section-topline h2 {
        font-size: 21px;
        letter-spacing: -.8px;
    }
    .section-topline .eyebrow {
        font-size: 8px;
    }
    .year-tag {
        padding: 4px 9px;
        font-size: 11px;
    }
    .dot-grid {
        grid-template-columns: repeat(25,1fr);
        gap: 7px;
    }
    .map-bottom {
        font-size: 9px;
        margin-top: 17px;
    }
    .dot-legend {
        gap: 14px;
    }
    .year-view {
        padding-bottom: 20px;
    }
    .year-summary {
        column-gap: 16px;
    }
    .summary-label {
        font-size: 7px;
    }
    .day-of-year {
        font-size: 27px;
    }
    .year-reflection {
        font-size: 9px;
    }
    .summary-line {
        font-size: 9px;
    }
    .month-detail {
        font-size: 9px;
    }
    .perspective-section {
        display: block;
        margin-bottom: 35px;
    }
    .about-copy h2 {
        font-size: 29px;
    }
    .about-copy>p:not(.eyebrow) {
        font-size: 12px;
    }
    .community-panel {
        margin-top: 28px;
        padding: 23px;
    }
    .community-symbol {
        float: right;
        margin-bottom: 0;
        font-size: 37px;
    }
    .community-panel h3 {
        padding-right: 45px;
    }
    .community-panel p {
        max-width: 260px;
    }
    .outline-button {
        max-width: 290px;
    }
    .footer-main {
        gap: 28px 20px;
        padding-top: 30px;
    }
    .footer-brand .brand {
        font-size: 12px;
        gap: 6px;
    }
    .footer-brand>p {
        font-size: 11px;
    }
    .made-in {
        font-size: 8px;
        max-width: 140px;
        align-items: flex-start;
    }
    .made-in .live-dot {
        margin-top: 4px;
    }
    .footer-links {
        padding-left: 10px;
    }
    .footer-links>a {
        font-size: 10px;
    }
    .archive-label {
        display: table;
        margin: 3px 0 0;
        font-size: 6px;
    }
    .footer-main h2 {
        font-size: 11px;
    }
    .footer-bottom {
        font-size: 8px;
        gap: 10px;
    }
    .footer-flower {
        font-size: 19px;
    }
    .footer-bottom>span:last-child {
        gap: 6px;
    }
    .board-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .message-board h2 {
        font-size: 23px;
    }
}

@media(max-width:350px) {
    nav .nav-link:last-child {
        display: none;
    }
    h1 {
        font-size: 49px;
    }
    #hero-percentage {
        font-size: 58px;
    }
    .percent-sign {
        font-size: 27px;
    }
    .elapsed-label {
        font-size: 8px;
    }
    .hero-bottom>span {
        display: none;
    }
    #clock {
        font-size: 18px;
    }
    .location-label {
        font-size: 7px;
    }
    .today-top h2 {
        font-size: 11px;
    }
    .today-card {
        padding-inline: 17px;
    }
    .today-foot {
        width: calc(100% + 34px);
        margin-left: -17px;
        padding-inline: 17px;
    }
    .day-ring {
        width: 111px;
        height: 111px;
    }
    .day-caption {
        font-size: 8px;
    }
    .section-topline h2 {
        font-size: 18px;
    }
    .dot-grid {
        gap: 6px;
    }
    .footer-brand .brand {
        white-space: normal;
        font-size: 11px;
    }
}

@media(max-width:1000px) {
    .calendar-milestone {
        padding-inline: 18px;
    }
    .international-month[aria-current="date"]:after {
        content: '';
    }
}

@media(max-width:760px) {
    .calendar-milestones {
        grid-template-columns: repeat(2,minmax(0,1fr));
        gap: 20px 0;
        padding-block: 22px;
    }
    .current-month-milestone {
        grid-column: 1/-1;
        padding-right: 0;
        padding-bottom: 18px;
        border-bottom: 1px solid var(--line);
    }
    .calendar-milestone:nth-child(2) {
        border-left: 0;
        padding-left: 0;
    }
    .international-heading {
        gap: 14px;
    }
    .international-heading .eyebrow {
        max-width: 230px;
        line-height: 1.7;
    }
    .international-percentage {
        font-size: 27px;
    }
    .international-month {
        padding-left: 3px;
        font-size: 9px;
    }
    .international-foot>span:last-child {
        flex-basis: 100%;
        margin: 0;
    }
}

@media(max-width:480px) {
    h1 {
        font-size: clamp(36px,11vw,48px);
        letter-spacing: -2px;
    }
    .native-date {
        grid-column: 1/-1;
        font-size: 11px;
        margin-top: 6px;
    }
    .nepal-contour {
        right: 35px;
        width: 170px;
    }
    .calendar-milestones {
        gap: 18px 0;
    }
    .calendar-milestone {
        padding-inline: 14px;
    }
    .calendar-milestone:first-child {
        padding-right: 0;
    }
    .milestone-heading {
        display: block;
    }
    .current-month-milestone .milestone-heading {
        display: flex;
    }
    .milestone-heading>span {
        display: block;
        margin-top: 3px;
    }
    .milestone-label {
        font-size: 7px;
        letter-spacing: .7px;
    }
    .milestone-label [lang="ne"] {
        display: none;
    }
    .milestone-note {
        font-size: 9px;
    }
    .international-heading h2 {
        font-size: 18px;
    }
    .international-percentage {
        font-size: 24px;
    }
    .international-date {
        font-size: 10px;
    }
    .international-month {
        padding-left: 2px;
        font-size: 8px;
    }
}

@media(prefers-reduced-motion:reduce) {
    html {
        scroll-behavior: auto;
    }
    *,*:before,*:after {
        animation: none!important;
        transition: none!important;
    }
}
