/* LH CONDO LAST DEAL
 *
 * Desktop (>= 992px) is a scaled copy of the 4000px-wide artwork: every size is
 * written in artwork pixels times var(--u), so measurements can be read straight
 * off design/design-desktop.jpg. --u caps at 0.48px (= 1920px viewport).
 * Mobile (< 992px) is a stacked layout in normal px (no mobile artwork was supplied).
 */

/* Kittithada: LH's standard text font (from the PHP projects' resources/fonts). */
@font-face {
    font-family: 'Kittithada';
    src: url('../fonts/KittithadaLight45.woff2') format('woff2'), url('../fonts/KittithadaLight45.woff') format('woff');
    font-weight: 300;
    font-display: swap;
}
@font-face {
    font-family: 'Kittithada';
    src: url('../fonts/KittithadaRoman55.woff') format('woff');
    font-weight: 400;
    font-display: swap;
}
@font-face {
    font-family: 'Kittithada';
    src: url('../fonts/KittithadaMedium65.ttf') format('truetype');
    font-weight: 500;
    font-display: swap;
}
@font-face {
    font-family: 'Kittithada';
    src: url('../fonts/KittithadaBold75.woff2') format('woff2'), url('../fonts/KittithadaBold75.woff') format('woff');
    font-weight: 700;
    font-display: swap;
}

:root {
    --u: min(0.025vw, 0.48px);
    --navy: #0b3a60;
    --navy-deep: #003556;
    --red: #a3161a;
    --text: #333;
}

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

html { scroll-behavior: smooth; }

body {
    margin: 0;
    background: #fff;
    color: var(--text);
    font-family: 'Kittithada', 'Helvetica Neue', Tahoma, sans-serif;
    font-weight: 400;
    line-height: 1.3;
    -webkit-text-size-adjust: 100%;
}

img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul { margin: 0; }
a { color: inherit; }

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

.mobile { display: none !important; }
.br-m { display: none; }          /* line break used on mobile only */

/* ===== Hero ===== */
#hero {
    background: #d3d3d3;
    text-align: center;
}
.hero-img { width: 100%; }
.disclaimer {
    padding: calc(var(--u) * 30) calc(var(--u) * 200) 0;
    font-size: calc(var(--u) * 46);
    font-weight: 300;
    color: #777;
    line-height: 1.3;   /* artwork: 2 lines ~52px apart at ~40px type */
    background: linear-gradient(#d3d3d3, #d9d9d9);
}

/* ===== CTA ===== */
#cta {
    background: linear-gradient(#d9d9d9, #ececec);
    padding: calc(var(--u) * 260) 0 calc(var(--u) * 230);
    text-align: center;
}
.cta-link {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
}
.cta-title { width: calc(var(--u) * 1046); }
.cta-unit {
    width: calc(var(--u) * 447);
    filter: drop-shadow(0 calc(var(--u) * 10) calc(var(--u) * 12) rgba(0,0,0,.18));   /* the .ai cut has no shadow */
    margin-top: calc(var(--u) * 33);
    transition: transform .25s ease, filter .25s ease;
}
.cta-link:hover .cta-unit,
.cta-link:focus-visible .cta-unit { transform: translateY(-3px); filter: drop-shadow(0 calc(var(--u) * 14) calc(var(--u) * 16) rgba(0,0,0,.22)) brightness(1.04); }

/* ===== Promotion ===== */
#promo { background: #ededed; }
.promo-panel {
    width: calc(var(--u) * 3748);
    margin: 0 auto;
    background: #f3f3f3 url('../img/tex-brush.jpg') center / cover;
    padding: calc(var(--u) * 260) calc(var(--u) * 100) calc(var(--u) * 165);
    text-align: center;
}
.promo-title {
    font-size: calc(var(--u) * 205);
    font-weight: 700;
    color: var(--navy);
    line-height: 1.1;
}
.promo-sub {
    margin-top: calc(var(--u) * -18);
    font-size: calc(var(--u) * 116);
    font-weight: 300;
    color: #222;
}
.promo-band { background: linear-gradient(90deg, #003c66, #00406b 50%, #002a42); }
.promo-band img.desktop { width: 100%; }
.promo-panel--bottom {
    background-position: center bottom;
    padding: calc(var(--u) * 50) calc(var(--u) * 100) calc(var(--u) * 130);
}
.promo-note {
    font-size: calc(var(--u) * 40);
    font-weight: 300;
    color: #777;
}
.promo-date {
    margin-top: calc(var(--u) * 170);
    font-size: calc(var(--u) * 175);
    font-weight: 700;
    color: #222;
    letter-spacing: .02em;
}

/* ===== LH Living Quality ===== */
#quality {
    background: linear-gradient(#fefefe, #e0e0e0);
    padding: calc(var(--u) * 320) calc(var(--u) * 100) calc(var(--u) * 264);
    text-align: center;
}
.section-title { margin: 0 auto; }
#quality .section-title { width: calc(var(--u) * 1381); }
.quality-sub {
    margin-top: calc(var(--u) * 30);
    font-size: calc(var(--u) * 114);
    font-weight: 700;
    color: var(--navy);
}
.quality-text {
    margin-top: calc(var(--u) * 32);
    font-size: calc(var(--u) * 97);
    color: #222;
    line-height: 1.15;
}

/* ===== Real Voices ===== */
#voices {
    background: #043a5c url('../img/tex-brush.jpg') center / cover;
    background-blend-mode: multiply;
    padding: calc(var(--u) * 320) 0 calc(var(--u) * 297);
    text-align: center;
    color: #fff;
}
#voices .section-title { width: calc(var(--u) * 1942); }
.voices-sub {
    margin-top: calc(var(--u) * 20);
    font-size: calc(var(--u) * 114);
}
.voices-grid {
    display: grid;
    grid-template-columns: repeat(3, calc(var(--u) * 789));
    column-gap: calc(var(--u) * 288);
    row-gap: calc(var(--u) * 165);
    justify-content: center;
    margin-top: calc(var(--u) * 207);
}
.voice {
    padding: 0;
    border: 0;
    background: none;
    color: inherit;
    font: inherit;
    cursor: pointer;
    text-align: center;
}
.voice img {
    width: 100%;
    box-shadow: 0 calc(var(--u) * 12) calc(var(--u) * 40) rgba(0,0,0,.35);
    transition: transform .25s ease;
}
.voice:hover img, .voice:focus-visible img { transform: translateY(-4px); }
.voices-dots { display: none; }
.voice--loop-copy { display: none; }   /* only the mobile carousel uses it */
.voice__name {
    display: block;
    margin-top: calc(var(--u) * 50);
    font-size: calc(var(--u) * 48);
    line-height: calc(var(--u) * 56);
    font-weight: 300;
}

/* ===== Units ===== */
#units {
    background: linear-gradient(#cfcfcf 0, #f6f6f6 calc(var(--u) * 900), #fbfbfb 60%, #e0e0e0);
    padding: calc(var(--u) * 266) 0 calc(var(--u) * 254);
}
.project {
    display: grid;
    width: calc(var(--u) * 3748);
    margin: 0 auto;
    grid-template-columns: calc(var(--u) * 1706) calc(var(--u) * 1998);
    grid-template-rows: 1fr auto;
    grid-template-areas: "media head" "media table";
    column-gap: calc(var(--u) * 44);
}
.project + .project { margin-top: calc(var(--u) * 281); }
.project--reverse {
    grid-template-columns: calc(var(--u) * 1998) calc(var(--u) * 1708);
    grid-template-areas: "head media" "table media";
    column-gap: calc(var(--u) * 42);
}
.project__media { grid-area: media; position: relative; }
/* small print the client added on each photo (2026-10-06): white, top-left, as in the artwork */
.project__note {
    position: absolute;
    left: calc(var(--u) * 27);
    top: calc(var(--u) * 11);   /* ink top 22u from the photo edge, as in the artwork */
    margin: 0;
    color: #fff;
    font-size: calc(var(--u) * 47.6);   /* same line length as the artwork (1639u) */
    font-weight: 300;
    line-height: 1.2;
    white-space: nowrap;
    pointer-events: none;
    opacity: .8;
}
.project__head  { grid-area: head; }
.project__table { grid-area: table; }

.project__photo { width: 100%; }
.project__bar {
    display: flex;
    height: calc(var(--u) * 102);
    padding-left: calc(var(--u) * 337);
    background: #252120;
}
.project__bar a {
    display: block;
    margin-top: calc(var(--u) * -50);
    height: calc(var(--u) * 101);
    transition: filter .2s ease;
}
.project__bar a:hover, .project__bar a:focus-visible { filter: brightness(1.15); }
.project__bar img { height: 100%; width: auto; max-width: none; }

.project__head {
    background:
        linear-gradient(90deg, rgba(250,250,250,.35), rgba(225,225,225,.45)),
        #f2f2f2 url('../img/tex-geo.jpg') center / cover;
    padding: calc(var(--u) * 163) calc(var(--u) * 100) calc(var(--u) * 60) calc(var(--u) * 155);
}
.project--reverse .project__head { padding-left: calc(var(--u) * 184); }
.project__title { height: calc(var(--u) * 89); width: auto; max-width: 100%; }   /* SVG, artwork height */
#the-room-sukhumvit-38 .project__title { height: calc(var(--u) * 93); }
.project__tagline {
    margin-top: calc(var(--u) * 55);
    font-size: calc(var(--u) * 75);
    font-weight: 500;
    color: #111;
    line-height: 1.1;
}
.project__points {
    margin-top: calc(var(--u) * 32);
    padding: 0;
    list-style: none;
}
.project__points li {
    position: relative;
    padding-left: calc(var(--u) * 62);
    font-size: calc(var(--u) * 72);
    font-weight: 300;
    color: #333;
    line-height: 1.05;
}
.project__points li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .31em;   /* icon centre = letter-body centre (measured; Pom: ต้องอยู่กลาง) */
    width: calc(var(--u) * 36);
    height: calc(var(--u) * 36);
    border-radius: 50%;
    background: #333 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.3l2.6 2.5L12 5.5' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 70% no-repeat;
}

.unit-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    text-align: center;
    font-size: calc(var(--u) * 74);
}
.unit-table th, .unit-table td {
    height: calc(var(--u) * 163);
    /* one baseline per row (header and values use different sizes/weights, Pom 2026-10-06),
       then the padding-top puts that baseline where the letters look centred */
    vertical-align: baseline;
    padding: calc(var(--u) * 33) calc(var(--u) * 10) 0;
    white-space: nowrap;
}
.unit-table th {
    width: calc(var(--u) * 384);
    background: linear-gradient(90deg, #00406b, #002a42);
    color: #fff;
    font-size: calc(var(--u) * 70);
    font-weight: 300;
    border-bottom: 1px solid rgba(255,255,255,.08);
}
.unit-table td { background: #f9f9f9; color: #444; font-weight: 300; }
.unit-table tr:nth-child(even) td { background: #e3e3e3; }
.unit-table td.g2 { background: #fff; }
/* "1 BED EXTRA" needs 336u + padding; the other columns' longest value is ~230u, so give it more room */
.unit-table td.col-wide { width: calc(var(--u) * 370); }
.unit-table tr:nth-child(even) td.g2 { background: #ebebeb; }
.unit-table tr:first-child td,
.unit-table tr.r-unit td { color: var(--navy); font-weight: 500; }
/* the Medium-weight rows (TYPE, UNIT NO.) sit ~1.25px high: push the whole row down to centre it */
.unit-table tr:first-child > *, .unit-table tr.r-unit > * { padding-top: calc(var(--u) * 36.5); }
.unit-table tr.r-red td { color: var(--red); font-weight: 400; }

/* ===== Unit cards (mobile) =====
 * On mobile each unit is a card instead of the sideways price table (the client chose it, option 1,
 * 2026-10-06). The cards are generated from the tables by
 * tools/option-pages/lhcondolastdeal_sync_cards.py, so edit the TABLE and re-run the script.
 * Values from the approved mockup (CLAUDE.md "Pom's taste for UI details").
 */
.unit-cards { display: none; }
@media (max-width: 991.98px) {
    .project__table { display: none; }
    .unit-cards { display: grid; gap: 14px; margin: 16px 16px 0; }
    .unit-card { background: #fff; box-shadow: 0 6px 18px rgba(0, 42, 66, .12); }
    .unit-card__head {
        display: flex; align-items: baseline; justify-content: space-between;
        height: 50px; padding: 10px 16px 13px;   /* Kittithada sits low: 10/13 centres the ink (measured 19/19) */
        background: linear-gradient(90deg, #00406b, #002a42); color: #fff;
    }
    .unit-card__type { font-size: 26px; font-weight: 500; letter-spacing: .02em; }
    .unit-card__no { font-size: 18px; font-weight: 400; }
    .unit-card__no b { font-weight: 700; margin-left: 4px; }
    .unit-card__row {
        display: flex; justify-content: space-between; align-items: baseline;
        height: 38px; padding: 0 16px 4px; border-top: 1px solid #ececec;   /* ink centred (measured 13/13) */
    }
    .unit-card__row:first-of-type { border-top: 0; }
    .unit-card__label { line-height: 32px; font-size: 19px; font-weight: 400; color: #6b7280; letter-spacing: .03em; }
    .unit-card__val { line-height: 32px; font-size: 23px; font-weight: 300; color: #444; }
    .unit-card__row--red .unit-card__val { color: var(--red); font-weight: 400; }
}

/* ===== Footer =====
 * Same as 2026Pool4Mfurniture (Pom, 2026-10-05): its Bootstrap container widths, logo 200px,
 * contact 170px, 22px icons, side-by-side from 768px, stacked + centred below. Plain px, not --u.
 */
#footer {
    background: #fff;
    padding: 30px 15px 100px;
}
.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 12px;
}
.footer-logo { width: 200px; }
.footer-contact { width: 170px; padding-top: 16px; }
.social-box { display: flex; }
.social-box img { width: 22px; height: 22px; margin: 0 8px; }
#footer a { transition: opacity .3s; }
#footer a:hover { opacity: .75; }
@media (max-width: 1199.98px) { .footer-inner { max-width: 960px; } }
@media (max-width: 991.98px) { .footer-inner { max-width: 720px; } }
@media (max-width: 767.98px) {
    #footer { padding: 30px 15px 40px; }
    .footer-inner { max-width: none; flex-direction: column; align-items: center; text-align: center; }
    .footer-logo, .footer-contact { margin: 0 auto; }
    .social-box { justify-content: center; padding-top: 24px; }
}

/* ===== Video lightbox ===== */
.vdo-lightbox {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,.8);
}
.vdo-lightbox[hidden] { display: none; }
.vdo-lightbox__content {
    position: relative;
    width: min(90vw, 400px, calc((100vh - 120px) * 9 / 16));
    aspect-ratio: 9 / 16;
    background: #000;
    box-shadow: 0 0 20px rgba(0,0,0,.5);
}
.vdo-lightbox video { display: block; width: 100%; height: 100%; }
.vdo-lightbox__close {
    position: absolute;
    top: -48px;
    right: -6px;
    padding: 5px;
    border: 0;
    background: none;
    color: #fff;
    font-size: 40px;
    line-height: 1;
    cursor: pointer;
}
.vdo-lightbox__close:hover { opacity: .7; }

/* ================= Mobile / tablet (< 992px) ================= */
@media (max-width: 991.98px) {
    .desktop { display: none !important; }
    .mobile { display: block !important; }

    /* hero */
    #hero { background: linear-gradient(#d3d3d3, #dadada); }
    /* hero-m runs to artwork y 2460 like desktop (floor fades naturally); this only blends the last edge */
    .hero-img.mobile {
        -webkit-mask-image: linear-gradient(to bottom, #000 88%, transparent 100%);
        mask-image: linear-gradient(to bottom, #000 88%, transparent 100%);
    }
    .disclaimer { background: none; }
    .hero-prices { padding: 0 16px; }   /* hero-m now includes the floor fade (+~30px), so no extra top gap */
    .hero-prices__label { font-size: 25px; font-weight: 700; color: #111; }
    .hero-prices__row {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
        max-width: 520px;
        margin: 10px auto 0;
        align-items: end;
    }
    .price-item img { width: 100%; max-width: 140px; margin: 0 auto 8px; }
    /* THE ROOM logos are 58.5% as wide as THE BANGKOK in the artwork (374 vs 639px) */
    .price-item:nth-child(n+2) img { width: 58.5%; max-width: 82px; }
    .price-pill {
        display: block;
        padding: 4px 0 6px;
        border-radius: 6px;
        background: linear-gradient(90deg, #1b1916 0%, #3a352f 30%, #7d7466 50%, #3a352f 70%, #1b1916 100%);
        box-shadow: 0 3px 8px rgba(0,0,0,.25), inset 0 1px 0 rgba(255,255,255,.25);
        color: #fff;
        font-size: 25px;
        line-height: 1.1;
    }
    .hero-prices__free { width: 61%; max-width: 280px; margin: 22px auto 0; }
    /* 2 lines at any phone width: the 2-line limit measured ~3.7vw from 320 to 430px */
    .disclaimer { padding: 14px 16px 0; font-size: min(3.5vw, 16px); line-height: 1.2; text-wrap: balance; }
    .disclaimer br { display: none; }

    /* cta */
    #cta { padding: 42px 16px 42px; }   /* balanced ink gaps (were 45/41) */
    .cta-title { width: min(65.1vw, 351px); }   /* keeps the approved visual size after the tighter .ai cut */
    .cta-unit { width: min(35.7vw, 178px); margin-top: 12px; }

    /* promo */
    .promo-panel { width: auto; padding: 32px 16px 29px; }   /* visible gaps 37/37px */
    .promo-title { font-size: 46px; }
    .promo-sub { margin-top: 4px; font-size: 25px; line-height: 1.15; }
    .br-m { display: inline; }
    .promo-band__m { padding: 10px 16px; }
    /* cut from the .ai (tools/ai_extract.py cutout); the artwork's soft shadow under the metallic type is re-added here */
    .promo-band__m img { margin: 0 auto; padding: 20px 0; filter: drop-shadow(0 3px 4px rgba(0,0,0,.35)); }
    /* each block 15% smaller than the first draft (Pom, 2026-10-05) */
    .promo-band__m img:nth-child(1) { width: min(71.4%, 323px); }
    .promo-band__m img:nth-child(2) { width: min(50.3%, 227px); border-top: 1px solid rgba(255,255,255,.25); border-bottom: 1px solid rgba(255,255,255,.25); padding: 24px 40px; box-sizing: content-box; }  /* wider side padding keeps the divider lines their old length */
    .promo-band__m img:nth-child(3) { width: min(73.1%, 332px); }
    .promo-panel--bottom { padding: 14px 16px 30px; }
    .promo-note { font-size: 16px; }
    .promo-date { margin-top: 21px; font-size: 42px; line-height: 1.1; }

    /* quality */
    #quality { padding: 42px 16px 38px; }   /* Pom 2026-10-06: top −2, bottom −4 from 44/42 */
    /* section titles share one scale (same format = same size): REAL VOICES (1942 artwork px) fills the column */
    #quality .section-title { width: calc(min(100vw - 32px, 520px) * 1381 / 1942); }
    .quality-sub { margin-top: 8px; font-size: 27px; }
    /* each sentence/phrase on its own line: shrink only when the longest line (344px at 23px) wouldn't fit */
    .quality-text { margin-top: 20px; font-size: min(23px, calc((100vw - 32px) * 23 / 352)); }

    /* voices */
    #voices { padding: 56px 16px 58px; }   /* balanced ink gaps (were 57/59.5); whole px only: half-px offsets blur rows below */
    #voices .section-title { width: min(100vw - 32px, 520px); }
    .voices-sub { margin-top: 6px; font-size: 22px; }
    /* testimonials: one card per view, swipeable (scroll-snap), dots + autoplay in js/main.js */
    .voices-grid {
        display: flex;
        justify-content: flex-start;   /* desktop grid centres; centred overflow can't be scrolled to */
        gap: 0;
        margin: 30px -16px 0;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }
    .voices-grid::-webkit-scrollbar { display: none; }
    .voice {
        flex: 0 0 100%;
        padding: 0 max(16px, calc((100% - 330px) / 2)) 4px;
        scroll-snap-align: center;
        scroll-snap-stop: always;
    }
    .voice--loop-copy { display: block; }
    .voice img { box-shadow: 0 8px 22px rgba(0,0,0,.35); }
    .voice:hover img, .voice:focus-visible img { transform: none; }
    .voice__name { margin-top: 14px; font-size: 18px; line-height: 1.3; }
    .voices-dots {
        display: flex !important;
        justify-content: center;
        gap: 10px;
        margin-top: 22px;
    }
    .voices-dots button {
        width: 9px;
        height: 9px;
        padding: 0;
        border: 0;
        border-radius: 50%;
        background: rgba(255,255,255,.35);
        cursor: pointer;
        transition: background .3s, transform .3s;
    }
    .voices-dots button.is-active { background: #fff; transform: scale(1.25); }

    /* units */
    #units { padding: 40px 0 50px; background: linear-gradient(#d4d4d4 0, #f6f6f6 400px, #fbfbfb 60%, #e0e0e0); }
    .project,
    .project--reverse {
        width: auto;
        max-width: 640px;
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: auto;
        grid-template-areas: "head" "media" "table";
        column-gap: 0;
    }
    .project + .project { margin-top: 56px; }
    .project__head,
    .project--reverse .project__head { padding: 0 16px 20px; background: none; }
    /* one scale for all three names (Pom: same-format text = same size). The widest name, SUKHUMVIT 38,
       is 1437 artwork px and fills the text column; the others keep their artwork heights at that scale. */
    .project__title { height: calc((min(100vw, 640px) - 32px) * 89 / 1437); width: auto; max-width: 100%; }
    #the-room-sukhumvit-38 .project__title { height: calc((min(100vw, 640px) - 32px) * 93 / 1437); }
    .project__tagline { text-wrap: balance; }
    .project__tagline { margin-top: 12px; font-size: min(22px, calc((100vw - 32px) * 22 / 326)); }   /* longest line 316px at 22px */
    .br-d { display: none; }   /* only breaks Pom marked desktop-only; desktop line breaks are separate sentences, keep them */
    .project__points { margin-top: 12px; }
    .project__points li { padding-left: 21px; font-size: 21px; }
    .project__points li::before { width: 11px; height: 11px; top: .30em; }   /* icon = 0.5 × font like desktop; centred on the letters (measured) */
    /* same size as the hero disclaimer (small print = one size); 2 lines at the phrase break */
    .project__note { left: 16px; right: 16px; top: 9px; font-size: calc(min(3.5vw, 16px) - 1px); line-height: .9; text-align: center; white-space: normal; }   /* tight (Pom): line 1 has no below-marks, so .9 is clear; re-check if the copy changes */
    .project__bar { height: auto; padding: 0 16px 12px; justify-content: center; }   /* same 16px gutter as the table below */
    .project__bar a { height: auto; margin-top: -18px; }
    .project__bar a:first-child { flex: 495 1 0; }
    .project__bar a:last-child { flex: 532 1 0; }
    .project__bar img { width: 100%; height: auto; }

    .project__table {
        margin: 16px 16px 0;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    .unit-table { width: auto; min-width: 100%; table-layout: auto; font-size: 18px; }
    .unit-table th, .unit-table td { height: 42px; padding: 9px 12px 0; }   /* baseline-aligned row, letters centred */
    .unit-table tr:first-child > *, .unit-table tr.r-unit > * { padding-top: 10px; }   /* Medium-weight rows sit high */
    .unit-table th {
        width: auto;
        position: sticky;
        left: 0;
        z-index: 1;
        font-size: 16px;
    }

}
