/* =====================================================================
   ShikkhaNet Technologies
   Motif: running stitch (nakshi kantha) — thread joining separate
   pieces into one cloth, which is what "Net" in ShikkhaNet means.
   ===================================================================== */

/* --- Tokens --------------------------------------------------------- */
:root {
    --paper:      #f5f7f4;
    --paper-raise:#fffffe;
    --wash:       #eaf0ea;
    --ink:        #16302a;
    --ink-soft:   #4c635c;
    --teal:       #1f5a4d;
    --teal-deep:  #103b31;
    --brass:      #a97c36;
    --line:       #cfdcd3;
    --line-soft:  #e0e8e1;

    --serif: "Newsreader", "Iowan Old Style", Georgia, "Times New Roman", serif;
    --sans:  "Instrument Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

    --wrap: 76rem;
    --gut: 1.5rem;
    --rail: 13.5rem;

    --r-sm: 3px;
    --r-md: 6px;
    --r-lg: 14px;

    --band-y: clamp(4rem, 8vw, 7.5rem);
}

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

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 1.0625rem;
    line-height: 1.62;
    font-feature-settings: "kern" 1;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
    font-family: var(--serif);
    font-weight: 400;
    line-height: 1.16;
    letter-spacing: -0.012em;
    margin: 0;
    overflow-wrap: break-word;
}
h2, h3, h4 { text-wrap: balance; }

p, ul, ol, dl, figure, blockquote { margin: 0; }

a { color: var(--teal); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--teal-deep); }

button { font: inherit; }

address { font-style: normal; }

:focus-visible {
    outline: 2px solid var(--brass);
    outline-offset: 3px;
    border-radius: 2px;
}

.skip {
    position: absolute;
    left: -9999px;
    top: 0;
    background: var(--teal-deep);
    color: #fff;
    padding: 0.75rem 1.25rem;
    z-index: 100;
}
.skip:focus { left: 0.5rem; top: 0.5rem; }

/* --- Layout --------------------------------------------------------- */
.wrap {
    width: 100%;
    max-width: var(--wrap);
    margin-inline: auto;
    padding-inline: var(--gut);
}

.band { padding-block: var(--band-y); position: relative; }
.band--wash { background: var(--wash); }
.band--deep {
    background: var(--teal-deep);
    color: #e8efe9;
    overflow: hidden;
}
.band--deep .band__title { color: #fff; }
.band--deep .lede { color: #c3d5c8; }
.band--deep .rail__label { color: #8fae99; }
.band--deep a { color: #e9c88a; }
.band--deep .feat__title { color: #fff; }
.band--deep .feat__body { color: #bdd1c3; }

.rail {
    display: grid;
    grid-template-columns: var(--rail) minmax(0, 1fr);
    gap: 3.5rem;
    align-items: start;
}

.rail__label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--ink-soft);
    margin-bottom: 0.9rem;
}

.band__title {
    font-size: clamp(1.7rem, 3.2vw, 2.375rem);
    max-width: 34ch;
    margin-bottom: 1.25rem;
}

.lede {
    font-size: 1.0625rem;
    color: var(--ink-soft);
    max-width: 62ch;
}
.lede + .lede { margin-top: 1rem; }
.lede--spaced { margin-top: 2.5rem; }
.lede strong { color: var(--ink); font-weight: 600; }

/* --- Stitch rules --------------------------------------------------- */
.stitch {
    display: block;
    height: 1px;
    background-image: repeating-linear-gradient(
        90deg, var(--line) 0 6px, transparent 6px 13px
    );
}
.stitch--short { width: 3.5rem; }
.stitch--wide { width: 100%; }
.stitch--light {
    background-image: repeating-linear-gradient(
        90deg, rgba(255,255,255,.35) 0 6px, transparent 6px 13px
    );
}

/* --- Buttons -------------------------------------------------------- */
.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.5rem;
    align-items: center;
    margin-top: 2rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.6rem;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 0.9688rem;
    font-weight: 500;
    text-decoration: none;
    text-align: center;
    white-space: nowrap;
    min-width: 0;
    transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}
.btn--solid { background: var(--teal-deep); color: #fff; }
.btn--solid:hover { background: var(--teal); color: #fff; }
.btn--brass { background: var(--brass); color: #241802; }
.btn--brass:hover { background: #c1913f; color: #241802; }
.btn--quiet {
    background: transparent;
    border-color: var(--line);
    color: var(--ink);
    padding-inline: 1.35rem;
}
.btn--quiet:hover { border-color: var(--teal); color: var(--teal-deep); }
.btn--sm { padding: 0.55rem 1.15rem; font-size: 0.9063rem; }

.link {
    display: inline-block;
    margin-top: 1rem;
    font-weight: 500;
    font-size: 0.9688rem;
}

/* --- Language switch ----------------------------------------------- */
.langsw {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 2px;
    margin-right: 0.5rem;
    flex: none;
}
.langsw__item {
    display: block;
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    font-size: 0.8438rem;
    line-height: 1.3;
    text-decoration: none;
    color: var(--ink-soft);
    white-space: nowrap;
}
.langsw__item:hover { color: var(--teal-deep); background: var(--wash); }
.langsw__item.is-active {
    background: var(--teal-deep);
    color: #fff;
    font-weight: 500;
}

/* --- Site header ---------------------------------------------------- */
.site {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(245, 247, 244, .92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line-soft);
}
.site__inner {
    display: flex;
    align-items: center;
    gap: 1rem;
    min-height: 4.5rem;
}
.site__brand { text-decoration: none; color: var(--teal-deep); margin-right: auto; }

.logo { display: inline-flex; align-items: center; gap: 0.6rem; }
.logo__mark { width: 1.75rem; height: 1.75rem; flex: none; }
.logo__text {
    font-family: var(--serif);
    font-size: 1.3125rem;
    letter-spacing: -0.015em;
    color: var(--ink);
}
.logo__net { color: var(--brass); }

.nav__list {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    list-style: none;
    padding: 0;
}
.nav__item { position: relative; }
.nav__link {
    display: block;
    padding: 0.55rem 0.8rem;
    font-size: 0.9688rem;
    color: var(--ink);
    text-decoration: none;
    border-radius: var(--r-md);
}
.nav__link:hover { background: var(--wash); color: var(--teal-deep); }
.nav__link.is-active { color: var(--teal-deep); font-weight: 500; }
.nav__item--cta { margin-left: 0.6rem; }

.subnav {
    position: absolute;
    top: calc(100% + 0.4rem);
    left: 0;
    min-width: 20rem;
    background: var(--paper-raise);
    border: 1px solid var(--line-soft);
    border-radius: var(--r-lg);
    box-shadow: 0 16px 36px -22px rgba(16, 59, 49, .35);
    padding: 0.5rem;
    list-style: none;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    transition: opacity .16s ease, transform .16s ease, visibility .16s;
}
.nav__item--sub:hover .subnav,
.nav__item--sub:focus-within .subnav {
    opacity: 1;
    visibility: visible;
    transform: none;
}
.subnav__link {
    display: block;
    padding: 0.55rem 0.75rem;
    border-radius: var(--r-md);
    font-size: 0.9375rem;
    color: var(--ink);
    text-decoration: none;
}
.subnav__link:hover { background: var(--wash); color: var(--teal-deep); }
.subnav__link.is-active { color: var(--teal-deep); font-weight: 500; }

.burger {
    display: none;
    align-items: center;
    gap: 0.55rem;
    background: transparent;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 0.5rem 0.9rem;
    color: var(--ink);
    cursor: pointer;
}
.burger__bars, .burger__bars::before, .burger__bars::after {
    display: block;
    width: 1rem;
    height: 1px;
    background: var(--ink);
    content: "";
}
.burger__bars { position: relative; }
.burger__bars::before { position: absolute; top: -5px; }
.burger__bars::after { position: absolute; top: 5px; }
.burger__label { font-size: 0.875rem; }

/* --- Hero ----------------------------------------------------------- */
/* Heroes are mobile-first: a single flow column by default, with the
   two-column arrangements added back only at wider viewports. Never set
   grid-column on a child without a matching template at that width. */
.hero { padding-block: clamp(2.75rem, 7vw, 6.5rem) clamp(2.25rem, 6vw, 5.5rem); }
.hero__inner { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
.hero__text { display: block; min-width: 0; }

.hero__kicker {
    font-size: 0.9063rem;
    color: var(--brass);
    font-weight: 500;
    margin-bottom: 0.85rem;
    max-width: 44ch;
}
.hero__title {
    font-size: clamp(2rem, 8.5vw, 4rem);
    font-weight: 300;
    line-height: 1.08;
    letter-spacing: -0.02em;
    text-wrap: pretty;
    overflow-wrap: break-word;
    hyphens: none;
}
.hero__sub {
    margin-top: 1.35rem;
    font-size: 1.0625rem;
    line-height: 1.6;
    color: var(--ink-soft);
    max-width: 54ch;
}
.hero__art { width: 100%; max-width: 19rem; justify-self: center; }
.hero__rule { margin-top: clamp(2.25rem, 5vw, 4rem); }

@media (min-width: 40rem) {
    .hero__title { font-size: clamp(2.4rem, 5.4vw, 4rem); max-width: 24ch; }
    .hero__sub { font-size: 1.125rem; }
    .hero__art { max-width: 27rem; }
}

/* Wide screens only: artwork heroes go side by side, and inner-page
   heroes set the standfirst beside the headline. */
@media (min-width: 58.0625rem) {
    .hero--art .hero__inner {
        grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
        gap: 3rem;
        align-items: center;
    }
    .hero:not(.hero--art) .hero__text {
        display: grid;
        grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
        column-gap: 4rem;
        align-items: end;
    }
    .hero:not(.hero--art) .hero__kicker { grid-column: 1 / -1; }
    .hero:not(.hero--art) .hero__title { grid-column: 1; max-width: 20ch; }
    .hero:not(.hero--art) .hero__sub { grid-column: 2; margin-top: 0; padding-bottom: 0.35rem; }
    .hero:not(.hero--art) .actions { grid-column: 1 / -1; }
}

.art-net { width: 100%; }
.art-net__threads path { opacity: 0; animation: thread 1.1s ease forwards .15s; }
.art-net__nodes circle { opacity: 0; animation: node .6s ease forwards; }
.art-net__nodes circle:nth-child(1) { animation-delay: .55s; }
.art-net__nodes circle:nth-child(2) { animation-delay: .68s; }
.art-net__nodes circle:nth-child(3) { animation-delay: .81s; }
.art-net__nodes circle:nth-child(4) { animation-delay: .94s; }
.art-net__nodes circle:nth-child(5) { animation-delay: 1.07s; }
.art-net__nodes circle:nth-child(6) { animation-delay: 1.2s; }
.art-net__nodes circle:nth-child(7) { animation-delay: .3s; }
.art-net__nodes circle:nth-child(8) { animation-delay: 1.35s; }

@keyframes thread { to { opacity: .62; } }
@keyframes node  { from { transform: scale(.6); } to { opacity: 1; transform: none; } }

.art-field {
    position: absolute;
    inset: auto 0 0 0;
    width: 100%;
    height: 16rem;
    pointer-events: none;
}

/* --- Statistics ----------------------------------------------------- */
.stats {
    background: var(--paper-raise);
    border-block: 1px solid var(--line-soft);
    padding-block: 2.75rem;
}
.stats__caption {
    font-size: 0.9375rem;
    color: var(--ink-soft);
    margin-bottom: 1.75rem;
    max-width: 60ch;
}
.stats__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.75rem;
}
.stat__value {
    font-family: var(--serif);
    font-size: clamp(1.875rem, 3.6vw, 2.625rem);
    font-weight: 300;
    line-height: 1;
    color: var(--teal-deep);
}
.stat__label {
    margin: 0.6rem 0 0;
    font-size: 0.875rem;
    color: var(--ink-soft);
    line-height: 1.45;
    max-width: 18ch;
}

/* --- Status pills --------------------------------------------------- */
.status {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--ink-soft);
    background: var(--wash);
    border-radius: 999px;
    padding: 0.3rem 0.75rem 0.3rem 0.65rem;
    margin-bottom: 0.9rem;
}
.status__dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--ink-soft);
    flex: none;
}
.status--live .status__dot { background: var(--teal); }
.status--pilot .status__dot { background: var(--brass); }
.status--dev .status__dot {
    background: transparent;
    border: 1px solid var(--ink-soft);
    width: 7px;
    height: 7px;
}
.band--deep .status { background: rgba(255,255,255,.1); color: #c3d5c8; }
.band--deep .status--dev .status__dot { border-color: #c3d5c8; }

/* --- Product rows --------------------------------------------------- */
.prods { list-style: none; padding: 0; }
.prod {
    display: grid;
    grid-template-columns: 3.75rem minmax(0, 1fr);
    gap: 1.5rem;
    padding-block: 2.25rem;
    border-top: 1px solid var(--line-soft);
}
.prod:first-child { border-top: 0; padding-top: 0; }
.prod__glyph { color: var(--teal); }
.glyph { width: 3.25rem; height: 3.25rem; }
.prod__name {
    font-size: 1.4375rem;
    margin-bottom: 0.55rem;
}
.prod__name a { color: var(--ink); text-decoration: none; }
.prod__name a:hover { color: var(--teal-deep); text-decoration: underline; }
.prod__desc { color: var(--ink-soft); max-width: 58ch; }
.prod__meta {
    margin-top: 0.6rem;
    font-size: 0.875rem;
    color: var(--brass);
}

/* --- Feature grid --------------------------------------------------- */
.feats {
    display: grid;
    gap: 2.25rem 2.75rem;
    margin-top: 2.5rem;
}
.feats--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.feats--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.feat { position: relative; padding-top: 1.25rem; }
.feat::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 1px;
    background-image: repeating-linear-gradient(
        90deg, var(--line) 0 6px, transparent 6px 13px
    );
}
.band--deep .feat::before {
    background-image: repeating-linear-gradient(
        90deg, rgba(255,255,255,.28) 0 6px, transparent 6px 13px
    );
}
.feat__title {
    font-family: var(--serif);
    font-size: 1.1875rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}
.feat__body { font-size: 0.9688rem; color: var(--ink-soft); }

/* --- Tick list ------------------------------------------------------ */
.ticks { list-style: none; padding: 0; margin-top: 1.75rem; max-width: 62ch; }
.ticks li {
    position: relative;
    padding: 0.85rem 0 0.85rem 1.85rem;
    border-top: 1px solid var(--line-soft);
    color: var(--ink-soft);
}
.ticks li:first-child { border-top: 0; }
.ticks li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 1.5rem;
    width: 0.8rem;
    height: 1px;
    background-image: repeating-linear-gradient(
        90deg, var(--brass) 0 4px, transparent 4px 8px
    );
}

/* --- Timeline (a genuine sequence) ---------------------------------- */
.timeline { list-style: none; padding: 0; margin-top: 2.25rem; }
.timeline__item {
    display: grid;
    grid-template-columns: 7.5rem minmax(0, 1fr);
    gap: 1.5rem;
    padding-block: 1.5rem;
    border-top: 1px solid var(--line-soft);
}
.timeline__item:first-child { border-top: 0; padding-top: 0; }
.timeline__when {
    font-family: var(--serif);
    font-size: 1.25rem;
    color: var(--teal-deep);
}
.timeline__what { color: var(--ink-soft); max-width: 56ch; }

/* --- Quotes --------------------------------------------------------- */
.quotes {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.5rem;
    margin-top: 2.5rem;
}
.quote {
    background: var(--paper-raise);
    border: 1px solid var(--line-soft);
    border-radius: var(--r-lg);
    padding: 2rem;
}
.quote blockquote p {
    font-family: var(--serif);
    font-size: 1.1875rem;
    line-height: 1.5;
    font-style: italic;
    font-weight: 300;
    color: var(--ink);
}
.quote figcaption { margin-top: 1.5rem; font-size: 0.875rem; }
.quote__name { display: block; font-weight: 600; }
.quote__role { display: block; color: var(--ink-soft); margin-top: 0.15rem; }

/* --- Audience split ------------------------------------------------- */
.aud {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
    margin-top: 2.5rem;
}
.aud__card {
    background: var(--paper-raise);
    border: 1px solid var(--line-soft);
    border-radius: var(--r-lg);
    padding: 2.25rem;
}
.aud__title { font-size: 1.375rem; margin-bottom: 0.75rem; }
.aud__body { color: var(--ink-soft); font-size: 0.9688rem; }

/* --- FAQ ------------------------------------------------------------ */
.faq { margin-top: 2rem; max-width: 64ch; }
.faq__item { border-top: 1px solid var(--line); }
.faq__item:last-child { border-bottom: 1px solid var(--line); }
.faq__q {
    cursor: pointer;
    list-style: none;
    padding: 1.15rem 2.5rem 1.15rem 0;
    font-family: var(--serif);
    font-size: 1.125rem;
    position: relative;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after {
    content: "";
    position: absolute;
    right: 0.4rem;
    top: 1.65rem;
    width: 0.7rem;
    height: 0.7rem;
    border-right: 1.5px solid var(--teal);
    border-bottom: 1.5px solid var(--teal);
    transform: rotate(45deg);
    transition: transform .2s ease;
}
.faq__item[open] .faq__q::after { transform: rotate(-135deg); }
.faq__a { padding-bottom: 1.35rem; }
.faq__a p { color: var(--ink-soft); max-width: 60ch; }

/* --- Split text ----------------------------------------------------- */
.split {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.5rem;
    margin-top: 2.5rem;
}
.split__part h3 {
    font-size: 1.25rem;
    margin-bottom: 0.6rem;
}
.split__part p { color: var(--ink-soft); font-size: 0.9688rem; }

.note {
    margin-top: 2.5rem;
    padding: 1.75rem 2rem;
    background: var(--paper-raise);
    border: 1px solid var(--line-soft);
    border-left: 3px solid var(--brass);
    border-radius: var(--r-md);
}
.note p { color: var(--ink-soft); max-width: 64ch; font-size: 0.9688rem; }
.note h3 { font-size: 1.125rem; margin-bottom: 0.5rem; }

/* --- Editions ------------------------------------------------------- */
.editions { display: grid; gap: 1.25rem; margin-top: 2.5rem; }
.edition {
    display: grid;
    grid-template-columns: 14rem minmax(0, 1fr);
    gap: 1.75rem;
    padding: 1.75rem 0 0;
    border-top: 1px solid var(--line);
}
.edition__name {
    font-size: 1.1875rem;
    color: var(--teal-deep);
}
.edition__for {
    display: block;
    font-family: var(--sans);
    font-size: 0.8125rem;
    color: var(--brass);
    margin-top: 0.35rem;
    letter-spacing: 0;
}
.edition__body { color: var(--ink-soft); font-size: 0.9688rem; }

/* --- Call to action ------------------------------------------------- */
.cta {
    background: var(--teal-deep);
    color: #e8efe9;
    padding-block: clamp(3rem, 6vw, 4.5rem);
    position: relative;
}
.cta__inner {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
    justify-content: space-between;
}
.cta__text { max-width: 46ch; }
.cta__title { font-size: clamp(1.5rem, 2.8vw, 2rem); color: #fff; }
.cta__body { margin-top: 0.75rem; color: #bdd1c3; font-size: 0.9688rem; }
.cta .stitch { position: absolute; left: 0; bottom: 0; }

/* --- Forms ---------------------------------------------------------- */
.form {
    margin-top: 2.5rem;
    max-width: 44rem;
}
.form__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.35rem 1.75rem;
}
.field--full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field__label { font-size: 0.9063rem; font-weight: 500; }
.field__hint { font-size: 0.8125rem; color: var(--ink-soft); }
.field__req { color: var(--brass); }

.input, .select, .textarea {
    width: 100%;
    padding: 0.75rem 0.9rem;
    font: inherit;
    font-size: 1rem;
    color: var(--ink);
    background: var(--paper-raise);
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    transition: border-color .15s ease, box-shadow .15s ease;
}
.input:focus, .select:focus, .textarea:focus {
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(31, 90, 77, .12);
    outline: none;
}
.textarea { min-height: 8.5rem; resize: vertical; line-height: 1.55; }
.select { appearance: none; background-image: none; padding-right: 2.25rem; }
.field--select { position: relative; }
.field--select::after {
    content: "";
    position: absolute;
    right: 1rem;
    bottom: 1.15rem;
    width: 0.5rem;
    height: 0.5rem;
    border-right: 1.5px solid var(--ink-soft);
    border-bottom: 1.5px solid var(--ink-soft);
    transform: rotate(45deg);
    pointer-events: none;
}

.checks {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.6rem 1.5rem;
    margin-top: 0.25rem;
}
.check {
    display: flex;
    gap: 0.6rem;
    align-items: flex-start;
    font-size: 0.9375rem;
    color: var(--ink-soft);
    cursor: pointer;
}
.check input { margin-top: 0.3rem; accent-color: var(--teal); flex: none; }

.hp { position: absolute; left: -9999px; }

.form__submit { margin-top: 2rem; display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.form__note { font-size: 0.875rem; color: var(--ink-soft); max-width: 40ch; }

.alert {
    padding: 1.25rem 1.5rem;
    border-radius: var(--r-md);
    margin-bottom: 2rem;
    font-size: 0.9688rem;
    border: 1px solid;
}
.alert--ok { background: #e8f2ea; border-color: #b6d3bd; color: #1a4a34; }
.alert--bad { background: #fbeee9; border-color: #e6c3b4; color: #7a3418; }
.alert ul { margin: 0.5rem 0 0 1.1rem; padding: 0; }
.field-error { font-size: 0.8125rem; color: #a1441d; }

.kv { list-style: none; padding: 0; margin-top: 2rem; display: grid; gap: 1rem; max-width: 32rem; }
.kv li {
    display: grid;
    grid-template-columns: 7rem minmax(0, 1fr);
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--line-soft);
    font-size: 0.9688rem;
}
.kv li:first-child { border-top: 0; padding-top: 0; }
.kv dt, .kv .kv__k { color: var(--ink-soft); }

.fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.fieldset legend { padding: 0; }

/* --- Bengali ------------------------------------------------------- */
/* Bengali needs its own families, a little more line-height for the
   matra, and no negative letter-spacing, which breaks conjuncts. */
.lang-bn {
    font-family: "Noto Sans Bengali", "Nirmala UI", "Hind Siliguri", var(--sans);
    line-height: 1.75;
}
.lang-bn h1, .lang-bn h2, .lang-bn h3, .lang-bn h4 {
    font-family: "Noto Serif Bengali", "Nirmala UI", var(--serif);
    letter-spacing: 0;
    line-height: 1.32;
}
.lang-bn .hero__title {
    letter-spacing: 0;
    line-height: 1.3;
    font-size: clamp(1.75rem, 7vw, 3.15rem);
}
.lang-bn .stat__value,
.lang-bn .timeline__when,
.lang-bn .logo__text { letter-spacing: 0; }
.lang-bn .band__title { line-height: 1.34; }
.lang-bn .lede, .lang-bn .feat__body, .lang-bn .prod__desc,
.lang-bn .aud__body, .lang-bn .edition__body { line-height: 1.8; }
.lang-bn .quote blockquote p { font-style: normal; line-height: 1.7; }
.lang-bn .nav__link, .lang-bn .subnav__link { font-size: 0.9375rem; }

/* Bengali at small sizes needs a little more room than Latin: the matra
   and conjuncts sit above and below the baseline. Letter-spacing and
   uppercasing are removed because neither applies to the script. */
.lang-bn .rail__label,
.lang-bn .stat__label,
.lang-bn .prod__meta,
.lang-bn .prod__state,
.lang-bn .edition__for,
.lang-bn .field__label,
.lang-bn .field__hint,
.lang-bn .foot__head,
.lang-bn .stats__caption {
    letter-spacing: 0;
    text-transform: none;
    font-size: 0.9063rem;
    line-height: 1.6;
}
.lang-bn .hero__kicker { font-size: 0.9688rem; line-height: 1.6; }
.lang-bn .quote__name, .lang-bn .quote__role { letter-spacing: 0; }
.lang-bn .btn { letter-spacing: 0; }
.lang-bn .foot__line { font-family: "Noto Serif Bengali", var(--serif); }
.lang-bn .logo__text { font-family: "Newsreader", var(--serif); }
@media (min-width: 40rem) {
    .lang-bn .hero__title { font-size: clamp(2.1rem, 4.6vw, 3.35rem); max-width: 26ch; }
}
@media (min-width: 58.0625rem) {
    .lang-bn .hero:not(.hero--art) .hero__title { max-width: 22ch; }
}

/* --- Footer --------------------------------------------------------- */
.foot {
    background: var(--paper-raise);
    border-top: 1px solid var(--line-soft);
    padding-top: clamp(3rem, 6vw, 4.5rem);
}
.foot__inner {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 2.5rem;
}
.foot__line {
    font-family: var(--serif);
    font-size: 1.0625rem;
    margin-top: 1rem;
    color: var(--teal-deep);
}
.foot__blurb { margin-top: 0.5rem; font-size: 0.875rem; color: var(--ink-soft); max-width: 30ch; }
.foot__head {
    font-family: var(--sans);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}
.foot__col ul { list-style: none; padding: 0; display: grid; gap: 0.6rem; }
.foot__col a { font-size: 0.9063rem; color: var(--ink-soft); text-decoration: none; }
.foot__col a:hover { color: var(--teal-deep); text-decoration: underline; }
.foot__contact address { font-size: 0.9063rem; color: var(--ink-soft); line-height: 1.5; }

.foot__base { padding-block: 2rem; margin-top: 3rem; }
.foot__base .stitch { margin-bottom: 1.75rem; }
.foot__copy, .foot__meaning { font-size: 0.8125rem; color: var(--ink-soft); }
.foot__meaning { margin-top: 0.35rem; }

/* --- Responsive ----------------------------------------------------- */
@media (max-width: 62rem) {
    :root { --rail: 10rem; }
    .rail { gap: 2.25rem; }
    .foot__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem 2rem; }
}

@media (max-width: 58rem) {
    .burger { display: inline-flex; }

    .nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--paper-raise);
        border-bottom: 1px solid var(--line);
        box-shadow: 0 20px 30px -26px rgba(16, 59, 49, .4);
        display: none;
        padding: 0.75rem var(--gut) 1.5rem;
    }
    body[data-nav="open"] .nav { display: block; }

    .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
    .nav__link { padding: 0.9rem 0; border-bottom: 1px solid var(--line-soft); border-radius: 0; }
    .nav__item--cta { margin: 1.25rem 0 0; }
    .nav__item--cta .btn { width: 100%; padding-block: 0.85rem; }

    .subnav {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: 0;
        border-bottom: 1px solid var(--line-soft);
        border-radius: 0;
        padding: 0.35rem 0 0.75rem 1rem;
        min-width: 0;
        background: transparent;
    }
    .subnav__link { padding: 0.5rem 0; font-size: 0.9063rem; color: var(--ink-soft); }


    .rail { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
    .rail__label { margin-bottom: 0.6rem; }

    .stats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.75rem 1.25rem; }
    .feats--two, .feats--three { grid-template-columns: minmax(0, 1fr); }
    .feats { gap: 1.75rem; }
    .quotes, .aud, .split, .form__grid, .checks { grid-template-columns: minmax(0, 1fr); }
    .edition, .timeline__item, .prod { grid-template-columns: minmax(0, 1fr); gap: 0.75rem; }
    .prod__glyph { margin-bottom: 0.25rem; }
    .cta__inner { flex-direction: column; align-items: flex-start; }
    .kv li { grid-template-columns: minmax(0, 1fr); gap: 0.2rem; }
}

@media (max-width: 26rem) {
    .btn { white-space: normal; }
    /* Brand, language switch and menu button must share one row at
       360px without wrapping or overflowing. */
    .logo__text { font-size: 1.0625rem; }
    .logo__mark { width: 1.5rem; height: 1.5rem; }
    .langsw { margin-right: 0.25rem; padding: 1px; }
    .langsw__item { padding: 0.28rem 0.5rem; font-size: 0.8125rem; }
    .burger { padding: 0.45rem 0.7rem; }
}

@media (max-width: 36rem) {
    .actions { gap: 0.75rem; }
    .actions .btn { width: 100%; }
}

@media (max-width: 32rem) {
    :root { --gut: 1.15rem; }
    .stats__grid { grid-template-columns: minmax(0, 1fr); gap: 1.35rem; }
    .stat { display: flex; align-items: baseline; gap: 0.85rem; }
    .stat__value { font-size: 1.75rem; }
    .stat__label { margin-top: 0; max-width: none; }
    .quote, .aud__card { padding: 1.5rem; }
    .foot__inner { grid-template-columns: minmax(0, 1fr); }
}

/* --- Motion and print ---------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: .001ms !important;
        animation-delay: 0ms !important;
        transition-duration: .001ms !important;
    }
    .art-net__threads path { opacity: .62; }
    .art-net__nodes circle { opacity: 1; }
}

@media print {
    .site, .foot, .cta, .burger, .skip { display: none; }
    body { background: #fff; font-size: 11pt; }
    .band { padding-block: 1.5rem; }
}
