/* Breakpoints are in `em`, not `px`, so they respond to text zoom.
 * `em` in a media query is always the browser's root font size, so 80em is
 * 1280px at 100% and 640px-worth of layout at 200% — the layout switches to
 * the narrow arrangement exactly when the text needs it to. With px, a reader
 * at 200% on a 1440px screen kept the desktop nav and it overflowed the
 * viewport by 40px on every page (WCAG 1.4.4). Divide px by 16 to convert. */

/* about.css — Dr. Chandini Chinta About page
 * Long-scroll editorial layout matching the homepage brand system.
 * Anchored to the --brand-* tokens defined in main.css.
 */

.about {
    color: var(--brand-ink);
    /* Pink handoff into white — coral accents elsewhere, not a cream wash. */
    background: linear-gradient(
        180deg,
        color-mix(in srgb, var(--brand-pink-soft) 55%, #fff) 0%,
        #fff 7rem,
        #fff 100%
    );
}

/* Shared utility (also defined in index.css but kept here for safety) */
.about .section-eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--brand-eyebrow);
    margin: 0 0 1.25rem;
}

.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;
}

/* ============================================================
 * Opening — pink→cream + portrait plate (home abundance language)
 * ============================================================ */
.about .page-header {
    position: relative;
    isolation: isolate;
    border-bottom: none;
    background: linear-gradient(
        180deg,
        var(--brand-pink-soft) 0%,
        var(--brand-pink-soft) 70%,
        color-mix(in srgb, var(--brand-pink-soft) 40%, #fff) 100%
    );
    padding-bottom: clamp(2.5rem, 5vw, 3.5rem);
}

.about .page-header::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    opacity: 0.9;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 420' fill='none'%3E%3Cg stroke='%23C95B43' stroke-linecap='round' stroke-linejoin='round' fill='none'%3E%3Cg opacity='0.14' transform='translate(-30 240) rotate(-16)'%3E%3Cpath stroke-width='2' d='M20 210c8-70 48-118 108-138 42-14 82-4 104 24-28 12-52 46-60 86-8 40 4 72 24 98-48 6-88-16-114-54-24-32-40-14-62-16z'/%3E%3Cpath stroke-width='2' d='M118 72c12-20 32-32 56-34'/%3E%3C/g%3E%3Cg opacity='0.12' transform='translate(980 40) rotate(28) scale(0.75)'%3E%3Cpath stroke-width='2' d='M18 160c6-52 36-88 82-102 32-10 62-2 78 18-20 10-40 34-46 64-6 30 2 54 16 74-36 4-66-12-86-40-18-24-30-10-44-14z'/%3E%3Cpath stroke-width='2' d='M92 58c10-15 24-24 42-26'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    background-size: cover;
    background-position: center;
}

.about .page-header > .page-header__inner {
    position: relative;
    z-index: 1;
}

.about .page-header__media {
    position: relative;
    isolation: isolate;
}

.about .page-header__media::before {
    content: "";
    position: absolute;
    inset: 0.65rem -0.55rem -0.55rem 0.55rem;
    background: color-mix(in srgb, var(--brand-coral) 16%, var(--brand-pink-soft));
    border-radius: var(--radius-sm);
    z-index: 0;
}

.about .page-header__media img {
    position: relative;
    z-index: 1;
    box-shadow:
        0 0 0 1px rgba(228, 115, 88, 0.14),
        0 2px 6px rgba(45, 31, 24, 0.06),
        0 12px 28px rgba(45, 31, 24, 0.08);
}

/* ============================================================
 * Education timeline
 * Three horizontal stops on desktop, stacked on mobile
 * ============================================================ */
.education {
    background: #fff;
    padding: var(--section-spacing-tight) clamp(1.25rem, 4vw, 3rem);
}

.education__inner {
    max-width: var(--measure);
    margin: 0 auto;
}

.education__header {
    max-width: 36em;
    margin: 0 0 clamp(1.5rem, 3vw, 2.5rem);
}

.education__title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(1.5rem, 3.5vw, 2.75rem);
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin: 0;
    color: var(--brand-ink);
}

.education__timeline {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    border-top: 2px solid var(--brand-sage);
}

.education__step {
    padding: 1.75rem 1.5rem 1.75rem 0;
    border-right: 1px solid rgba(45, 31, 24, 0.12);
    position: relative;
    min-width: 0;   /* ZOOM-01: an institution name must not widen its track */
}

.education__step:first-child {
    padding-left: 0;
}

.education__step:not(:first-child) {
    padding-left: 1.5rem;
}

.education__step:last-child {
    border-right: 0;
}

.education__step::before {
    content: "";
    position: absolute;
    top: -8px;
    left: 0;
    width: 14px;
    height: 14px;
    background: var(--brand-coral);
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 0 0 2px var(--brand-sage);
}

.education__step:not(:first-child)::before {
    left: 1.5rem;
}

.education__year {
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--brand-ink-muted);
    margin: 0 0 0.5rem;
    letter-spacing: 0.02em;
}

.education__step h3 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.15rem;
    line-height: 1.25;
    margin: 0 0 0.5rem;
    color: var(--brand-ink);
}

.education__institution {
    font-size: 1rem;
    font-weight: 600;
    color: var(--brand-ink);
    margin: 0 0 0.4rem;
}

.education__detail {
    font-size: 1rem;
    line-height: 1.5;
    color: var(--brand-ink-muted);
    margin: 0;
}

.education__addendum {
    margin: 1.75rem 0 0;
    padding: 1rem 1.25rem;
    background: var(--brand-pink-soft);
    font-size: 1rem;
    line-height: 1.5;
    color: var(--brand-ink);
    max-width: 38em;
}

/* ============================================================
 * Singapore fellowship gallery
 * ============================================================ */
.sgh {
    background: color-mix(in srgb, var(--brand-pink-soft) 35%, #fff);
    padding: var(--section-spacing-tight) clamp(1.25rem, 4vw, 3rem);
}

.sgh__inner {
    max-width: var(--measure);
    margin: 0 auto;
}

.sgh__header {
    max-width: 40em;
    margin: 0 0 clamp(1.5rem, 3vw, 2.25rem);
}

.sgh__title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(1.5rem, 3.5vw, 2.5rem);
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin: 0 0 0.85rem;
    color: var(--brand-ink);
}

.sgh__lede {
    font-size: 1.05rem; /* Lead */
    line-height: 1.55;
    color: var(--brand-ink-muted);
    margin: 0;
}

.sgh__gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    align-items: start;
}

.sgh__shot {
    margin: 0;
    min-width: 0;
}

.sgh__shot img {
    display: block;
    width: 100%;
    height: auto;
    /* Show the full frame you shared — no cover-crop, no recompress. */
    border-radius: var(--radius-sm, 6px);
    border: 1px solid rgba(45, 31, 24, 0.08);
    box-shadow:
        0 0 0 1px rgba(228, 115, 88, 0.1),
        0 8px 24px rgba(45, 31, 24, 0.08);
}

.sgh__shot figcaption {
    margin: 0.45rem 0 0;
    font-size: 0.8rem; /* Label */
    letter-spacing: 0.04em;
    color: var(--brand-ink-muted);
}

@media (max-width: 47.5em) {
    .sgh__gallery {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 47.5em) {
    .education__timeline {
        grid-template-columns: minmax(0, 1fr);
        border-top: 0;
        border-left: 2px solid var(--card-border-color);   /* a spine is a divider */
        padding-left: 1.25rem;
    }
    .education__step {
        padding: 1rem 0 1.5rem !important;
        border-right: 0;
        border-bottom: 1px solid rgba(45, 31, 24, 0.08);
    }
    .education__step::before,
    .education__step:not(:first-child)::before {
        top: 1.1rem;
        left: -1.55rem;
    }
    .education__step:last-child {
        border-bottom: 0;
    }
}

/* ============================================================
 * 3 — Experience
 * ============================================================ */
.experience {
    background: #fff;
    padding: var(--section-spacing-tight) clamp(1.25rem, 4vw, 3rem);
}

.experience__inner {
    max-width: var(--measure);
    margin: 0 auto;
}

.experience__header {
    max-width: 36em;
    margin: 0 0 clamp(1.25rem, 2.5vw, 1.75rem);
}

.experience__title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(1.5rem, 3.5vw, 2.75rem);
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin: 0;
    color: var(--brand-ink);
}

.experience__list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border-top: 1px solid rgba(45, 31, 24, 0.12);
}

.experience__item {
    padding: 1.75rem 2rem 1.75rem 0;
    border-bottom: 1px solid rgba(45, 31, 24, 0.12);
}

.experience__item:nth-child(even) {
    padding-left: 2rem;
    padding-right: 0;
    border-left: 1px solid rgba(45, 31, 24, 0.12);
}

.experience__period {
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--brand-ink-muted);
    margin: 0 0 0.5rem;
    letter-spacing: 0.02em;
}

.experience__item h3 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.15rem;
    line-height: 1.2;
    margin: 0 0 0.5rem;
    color: var(--brand-ink);
}

.experience__item p {
    font-size: 1rem;
    line-height: 1.55;
    color: var(--brand-ink-muted);
    margin: 0;
    max-width: 32em;
}

@media (max-width: 47.5em) {
    .experience__list {
        grid-template-columns: minmax(0, 1fr);
    }
    .experience__item:nth-child(even) {
        padding-left: 0;
        border-left: 0;
    }
    .experience__item {
        padding: 1.75rem 0;
    }
}

/* ============================================================
 * 4 — Lived experience: letter plate (photos are in Singapore above)
 * ============================================================ */
.philosophy {
    background: #fff;
    color: var(--brand-ink);
    padding: var(--section-spacing-tight) clamp(1.25rem, 4vw, 3rem);
}

.philosophy__inner {
    max-width: var(--measure);
    margin: 0 auto;
    text-align: left;
}

.philosophy__letter {
    max-width: 40rem;
    padding: clamp(1.25rem, 3vw, 1.85rem) clamp(1.15rem, 2.5vw, 1.85rem);
    background: #fff;
    border: 1.5px solid color-mix(in srgb, var(--brand-coral) 28%, transparent);
    border-radius: var(--radius-md);
    box-shadow: 0 0 0 1px rgba(228, 115, 88, 0.06);
}

.philosophy__title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin: 0 0 1rem;
    color: var(--brand-ink);
}

.philosophy__quote {
    margin: 0 0 1.5rem;
    padding: 0;
}

.philosophy__quote p {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 1.05rem; /* Lead */
    line-height: 1.55;
    color: var(--brand-ink-muted);
    margin: 0;
    max-width: 36em;
}

.philosophy__cta {
    margin: 0;
}

.philosophy__cta-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    min-height: 44px;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.05rem; /* Lead */
    color: var(--brand-coral-ink);
    text-decoration: none;
}

.philosophy__cta-link:hover {
    color: var(--brand-ink);
}

.philosophy__cta-link .btn-arrow {
    width: 0.85em;
    height: 0.85em;
}

/* ============================================================
 * 5 — Languages + Who I see (linked guides)
 * ============================================================ */
.competencies {
    background: #fff;
    padding: var(--section-spacing-tight) clamp(1.25rem, 4vw, 3rem);
}

.competencies__inner {
    max-width: var(--measure);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: clamp(2rem, 5vw, 4rem);
}

.competencies__col {
    min-width: 0;
}

.competencies__list {
    list-style: none;
    margin: 0;
    padding: 0;
    border-top: 1px solid rgba(45, 31, 24, 0.12);
}

.competencies__list li {
    padding: 0.7rem 0;
    font-size: 1rem;
    line-height: 1.4;
    color: var(--brand-ink);
    border-bottom: 1px solid rgba(45, 31, 24, 0.08);
}

/* Native scripts — Wavehaus has no Telugu/Hindi/Kannada glyphs. */
.competencies__list li[lang="te"] {
    font-family: "Telugu Sangam MN", "Noto Sans Telugu", "Gautami", system-ui, sans-serif;
    font-size: 1.1rem;
}

.competencies__list li[lang="hi"] {
    font-family: "Devanagari Sangam MN", "Noto Sans Devanagari", "Mangal", system-ui, sans-serif;
    font-size: 1.1rem;
}

.competencies__list li[lang="kn"] {
    font-family: "Kannada Sangam MN", "Noto Sans Kannada", "Tunga", system-ui, sans-serif;
    font-size: 1.1rem;
}

.competencies__lede {
    font-size: 1rem; /* Body */
    line-height: 1.55;
    color: var(--brand-ink-muted);
    margin: 0 0 1.25rem;
    max-width: 36em;
}

.competencies__lede a {
    color: var(--brand-coral-ink);
    font-weight: 600;
}

.competencies__guides {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.competencies__guides a {
    display: inline-flex;
    align-items: center;
    gap: 0.35em;
    min-height: 44px;
    padding: 0.45rem 0.85rem;
    font-family: var(--font-display);
    font-size: 0.88rem; /* Control */
    font-weight: 600;
    color: var(--brand-ink);
    text-decoration: none;
    background: color-mix(in srgb, #fff 70%, var(--brand-pink-soft));
    border: 1.5px solid color-mix(in srgb, var(--brand-coral) 38%, transparent);
    border-radius: var(--radius-sm, 6px);
}

.competencies__guides a::after {
    content: "→";
    color: var(--brand-coral-ink);
    font-weight: 700;
}

.competencies__guides a:hover,
.competencies__guides a:focus-visible {
    background: var(--brand-pink-soft);
    border-color: var(--brand-coral);
    outline: none;
}

.competencies__guides a:hover::after,
.competencies__guides a:focus-visible::after {
    color: var(--brand-ink);
}

@media (max-width: 47.5em) {
    .competencies__inner {
        grid-template-columns: minmax(0, 1fr);
        gap: 2rem;
    }
}

/* ============================================================
 * On television — Vanitha TV interview
 * ============================================================ */
.on-air {
    background: color-mix(in srgb, var(--brand-pink-soft) 35%, #fff);
    color: var(--brand-ink);
    padding: var(--section-spacing-tight) clamp(1.25rem, 4vw, 3rem);
}

.on-air__inner {
    max-width: 40rem;
    margin: 0 auto;
}

.on-air__title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin: 0 0 0.75rem;
    color: var(--brand-ink);
}

.on-air__lede {
    font-size: 1rem;
    line-height: 1.55;
    color: var(--brand-ink-muted);
    margin: 0 0 0.75rem;
    max-width: 38em;
}

.on-air__meta {
    margin: 0 0 1.25rem;
    font-size: 0.88rem;
    letter-spacing: 0.02em;
    color: var(--brand-ink);
}

.on-air__watch {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0.65rem 1.1rem;
    font-family: var(--font-display);
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--brand-ink);
    text-decoration: none;
    background: var(--brand-coral-soft);
    border-radius: var(--radius-sm, 6px);
}

.on-air__watch:hover,
.on-air__watch:focus-visible {
    background: var(--brand-pink);
    color: var(--brand-ink);
    outline: none;
}

/* ============================================================
 * 6 — Closing CTA: cream band, coral on the button (home contact)
 * ============================================================ */
.about-cta {
    background: color-mix(in srgb, var(--brand-pink-soft) 40%, #fff);
    color: var(--brand-ink);
    padding: var(--section-spacing) clamp(1.25rem, 4vw, 3rem);
    text-align: center;
}

.about-cta__inner {
    max-width: 600px;
    margin: 0 auto;
}

.about-cta .section-eyebrow {
    color: var(--brand-eyebrow);
    text-align: center;
}

.about-cta__title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin: 0 0 1rem;
    color: var(--brand-ink);
}

.about-cta__lede {
    font-size: clamp(1rem, 1.2vw, 1.15rem);
    line-height: 1.55;
    color: var(--brand-ink-muted);
    margin: 0 0 2rem;
}

.about-cta a[href^="tel:"],
.about-cta a[href^="https://share.google/"] {
    display: block;
    margin-top: 1rem;
    color: var(--brand-ink);
    text-decoration: none;
}

