/* ==========================================================================
   CADD LABS v3 — design layer (Nov 2026)
   Loaded after style.css. It refines the theme tokens and adds the v3 home and
   course-page sections (lib/v3.mjs). Brand palette stays CADD LABS: navy
   (logo emblem), crimson (wordmark) and blueprint cyan.
   ========================================================================== */

:root {
  /* ---------------- THEME (v3) ---------------- */
  --ink-950: #070c2a;
  --ink-900: #0b1442;
  --ink-850: #101b52;
  --ink-800: #17246a;
  --bg-soft: #f4f6fb;
  --border: #e2e6f0;
  --text: #0c1335;
  --muted: #4f5874;
  --grad-brand: linear-gradient(135deg, #e5173a 0%, #c20f2c 100%);
  --grad-banner: linear-gradient(120deg, #c8102e 0%, #8c0f3c 48%, #1a1f66 100%);
  --grad-text-light: linear-gradient(90deg, #d40f2d 0%, #a3104a 100%);
  --grad-text-dark: linear-gradient(90deg, #ff6f89 0%, #ffb3c1 40%, #5fe3f7 100%);
  --mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  /* -------------------------------------------- */
  --container: 1260px;
  --radius: 16px;
  --radius-lg: 22px;
  --hdr-h: var(--header-h);
  --section-y: clamp(44px, 5.6vw, 84px);
}

/* ---------- headings & section heads ---------- */
.section-title { letter-spacing: -.025em; line-height: 1.12; }
.eyebrow {
  padding: 0; border: 0; background: none; border-radius: 0; gap: .65rem;
  font-size: .76rem; letter-spacing: .16em; color: var(--brand-600);
}
.eyebrow::before { width: 26px; height: 2px; border-radius: 2px; background: currentColor; box-shadow: none; }
.section--dark .eyebrow, .modal__intro .eyebrow { background: none; color: #7fe8f9; }
.section--dark .eyebrow::before, .modal__intro .eyebrow::before { background: currentColor; box-shadow: none; }
.section-head--center .eyebrow { justify-content: center; }
.section-head--center .eyebrow::after { content: ""; width: 26px; height: 2px; border-radius: 2px; background: currentColor; }

/* ---------- small shared pieces ---------- */
.link-arrow { display: inline-flex; align-items: center; gap: .35rem; font-family: var(--font-head); font-weight: 700; font-size: .92rem; color: var(--brand-600); text-decoration: none; }
.link-arrow .icon { width: 16px; height: 16px; transition: transform .2s; }
.link-arrow:hover .icon { transform: translateX(3px); }
.btn--dark:hover { background: var(--ink-800); }
.course-card { border-radius: 18px; }
.course-card:hover { border-color: #f3b6c2; }

/* ==========================================================================
   Sticky in-page navigation
   ========================================================================== */
.secnav { position: sticky; top: var(--hdr-h); z-index: 40; background: rgba(255, 255, 255, .94); backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid var(--border); box-shadow: 0 10px 24px -22px rgba(11, 20, 66, .5); }
.secnav__inner { display: flex; align-items: center; gap: 1rem; min-height: 54px; }
.secnav__list { list-style: none; display: flex; gap: .25rem; margin: 0; padding: 0; overflow-x: auto; scrollbar-width: none; flex: 1; min-width: 0; }
.secnav__list::-webkit-scrollbar { display: none; }
.secnav__list a { position: relative; display: block; padding: .5rem .85rem; border-radius: 999px; font-family: var(--font-head); font-weight: 700; font-size: .88rem; color: var(--muted); text-decoration: none; white-space: nowrap; transition: color .2s, background-color .2s; }
.secnav__list a:hover { color: var(--text); background: var(--bg-soft); }
.secnav__list a[aria-current="true"] { color: #fff; background: var(--ink-900); }
.secnav__cta { flex: none; }

/* ==========================================================================
   Enquiry card with the offset drafting sheet
   ========================================================================== */
.form-card { position: relative; isolation: isolate; }
.form-card__sheet { position: absolute; inset: 14px -12px -14px 16px; z-index: -1; border-radius: 26px; background: var(--grad-brand); transform: rotate(2.4deg); box-shadow: 0 30px 60px -30px rgba(200, 16, 46, .7); }
.form-card__sheet::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--blueprint); opacity: .9; }
.form-card__body { position: relative; background: #fff; color: var(--text); border-radius: 22px; padding: clamp(20px, 2.4vw, 28px); box-shadow: 0 30px 70px -34px rgba(7, 12, 42, .65); border: 1px solid rgba(255, 255, 255, .6); }
.form-card__head { display: flex; gap: .85rem; align-items: flex-start; margin-bottom: 1rem; }
.form-card__icon { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; background: var(--brand-50); color: var(--brand); }
.form-card__icon .icon { width: 22px; height: 22px; }
.form-card__title { font-size: 1.3rem; font-weight: 800; letter-spacing: -.02em; margin: 0 0 .15rem; }
.form-card__text { margin: 0; font-size: .88rem; color: var(--muted); line-height: 1.5; }
.form-card .enquiry--plain { padding: 0; }
.form-card .field input, .form-card .field select { height: 44px; }

/* ==========================================================================
   Home hero
   ========================================================================== */
.hero3 { position: relative; overflow: hidden; color: var(--on-dark); background: var(--ink-950); }
.hero3__bg { position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(42% 55% at 92% 0%, rgba(229, 23, 58, .38), transparent 70%),
    radial-gradient(38% 50% at 0% 100%, rgba(43, 212, 242, .2), transparent 70%),
    radial-gradient(50% 60% at 40% 40%, rgba(40, 60, 190, .35), transparent 70%); }
.hero3__bg::after { content: ""; position: absolute; inset: 0; background: var(--blueprint); -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%); mask-image: linear-gradient(180deg, #000, transparent 85%); }
.hero3__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(28px, 5vw, 76px); align-items: center; padding-block: clamp(36px, 5vw, 72px) clamp(36px, 4.5vw, 64px); }
.hero3__h1 { display: inline-flex; align-items: center; gap: .55rem; margin: 0 0 1.1rem; padding: .42rem .9rem; border-radius: 999px; border: 1px solid rgba(95, 227, 247, .3); background: rgba(43, 212, 242, .08); font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #9eeef9; line-height: 1.35; }
.hero3__h1 .icon { flex: none; width: 16px; height: 16px; color: var(--accent); }
.hero3__display { margin: 0 0 1.4rem; font-family: var(--font-head); font-weight: 800; font-size: clamp(2.2rem, 1.25rem + 3.4vw, 4.1rem); line-height: 1.04; letter-spacing: -.035em; color: #fff; }
.hero3__accent { display: block; margin-top: .12em; background: var(--grad-text-dark); -webkit-background-clip: text; background-clip: text; color: transparent; }
.rotator { position: relative; display: inline-block; vertical-align: bottom; height: 1.1em; line-height: 1.1; overflow: hidden; color: #ff5c79; white-space: nowrap; transition: width .55s cubic-bezier(.7, 0, .3, 1); }
.rotator > span { display: inline-block; }
.rotator > span + span { display: none; }
.js .rotator > span { display: inline-block; position: absolute; left: 0; top: 0; transform: translateY(105%); transition: transform .55s cubic-bezier(.7, 0, .3, 1); }
.js .rotator > span.is-active { position: relative; transform: none; }
.js .rotator > span.is-out { transform: translateY(-105%); }
.hero3__badges { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, auto)); width: fit-content; max-width: 100%; margin: 0 0 1.3rem; padding: 0; border: 1px solid rgba(255, 255, 255, .14); border-radius: 14px; background: rgba(255, 255, 255, .04); }
.hero3__badges li { display: flex; align-items: center; gap: .55rem; padding: .7rem .95rem; font-size: .86rem; font-weight: 600; line-height: 1.3; color: #e6e9f6; }
.hero3__badges li + li { border-left: 1px solid rgba(255, 255, 255, .12); }
.hero3__badges .icon { flex: none; width: 20px; height: 20px; color: var(--accent); }
.hero3__lead { max-width: 560px; margin: 0; font-size: 1.06rem; color: #c3c9e2; }
.hero3 .btn-row { margin-top: 1.6rem; }
.hero3__note { display: flex; align-items: center; gap: .45rem; margin: 1rem 0 0; font-size: .82rem; color: var(--on-dark-muted); }
.hero3__note .icon { flex: none; width: 15px; height: 15px; color: var(--accent); }
.hero3__form { position: relative; max-width: 520px; width: 100%; justify-self: end; padding-top: 30px; }
/* Drafting dimension line above the form */
.hero3__dim { position: absolute; top: 0; left: 16px; right: 0; display: flex; justify-content: center; margin: 0; font-family: var(--mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: #8fe9f8; }
.hero3__dim::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: linear-gradient(90deg, #5fe3f7 0 8px, transparent 8px) left / 100% 1px no-repeat, rgba(95, 227, 247, .55); }
.hero3__dim::after { content: ""; position: absolute; inset: calc(50% - 5px) 0 auto; height: 10px; border-inline: 1px solid rgba(95, 227, 247, .7); }
.hero3__dim span { position: relative; z-index: 1; padding: 0 .7rem; background: var(--ink-950); border-radius: 4px; }
/* stats strip */
.hero3__strip { position: relative; border-top: 1px solid rgba(255, 255, 255, .1); background: rgba(3, 6, 26, .45); }
.strip3 { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin: 0; padding: 0; }
.strip3 > li { display: flex; flex-direction: column; gap: .2rem; padding: clamp(14px, 1.8vw, 22px) clamp(12px, 1.6vw, 22px); min-width: 0; }
.strip3 > li + li { border-left: 1px solid rgba(255, 255, 255, .1); }
.strip3 > li:first-child { padding-left: 0; }
.strip3__label { display: flex; align-items: center; gap: .4rem; font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #7fe8f9; }
.strip3__label .icon { flex: none; width: 15px; height: 15px; }
.strip3__value { display: flex; align-items: center; flex-wrap: wrap; gap: .45rem; font-family: var(--font-head); font-size: clamp(1.15rem, .9rem + .9vw, 1.6rem); font-weight: 800; line-height: 1.2; color: #fff; letter-spacing: -.01em; }
.strip3__value .stars .icon { width: 14px; height: 14px; }
.strip3__note { font-size: .78rem; color: var(--on-dark-muted); }
.from3 { display: flex; align-items: center; gap: .6rem 1.2rem; flex-wrap: wrap; padding: 14px 0 16px; border-top: 1px solid rgba(255, 255, 255, .08); }
.from3__label { margin: 0; font-size: .84rem; color: var(--on-dark-muted); white-space: nowrap; }
.from3__label strong { color: #fff; font-family: var(--font-head); margin-right: .25rem; }
.from3__list { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; margin: 0; padding: 0; }
.from3__list li { display: inline-flex; align-items: center; gap: .4rem; padding: .22rem .6rem .22rem .25rem; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); font-size: .76rem; font-weight: 600; color: #dfe3f3; }
.from3__list img { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; }

/* ==========================================================================
   Tracks
   ========================================================================== */
.tracks__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); }
.track { position: relative; display: flex; flex-direction: column; border-radius: 22px; overflow: hidden; background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow); transition: transform .25s ease, box-shadow .25s ease; }
.track:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.track__art { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--ink-900); }
.track__art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(7, 12, 42, .55)); }
.track__art img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.track:hover .track__art img { transform: scale(1.05); }
.track--cad .track__art { background: linear-gradient(135deg, #3a0618, #0b1442); }
.track--piping .track__art { background: linear-gradient(135deg, #062a45, #0b1442); }
.track__body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 22px; }
.track__no { margin: 0 0 .35rem; font-family: var(--mono); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-600); }
.track__title { display: flex; align-items: center; gap: .55rem; font-size: 1.35rem; font-weight: 800; letter-spacing: -.02em; margin-bottom: .45rem; }
.track__title .icon { width: 26px; height: 26px; padding: 5px; border-radius: 9px; background: var(--brand-50); color: var(--brand); }
.track__text { margin: 0 0 1rem; font-size: .93rem; color: var(--muted); line-height: 1.6; }
.track__links { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 0 1.2rem; padding: 0; }
.track__links a { display: inline-flex; align-items: center; gap: .3rem; padding: .3rem .65rem; border-radius: 8px; background: var(--bg-soft); border: 1px solid var(--border); font-size: .82rem; font-weight: 600; color: var(--text); text-decoration: none; transition: border-color .2s, color .2s; }
.track__links a:hover { border-color: var(--brand); color: var(--brand-600); }
.track__links small { font-weight: 500; color: var(--muted); }
.track__cta { margin-top: auto; display: inline-flex; align-items: center; gap: .4rem; align-self: flex-start; font-family: var(--font-head); font-weight: 800; font-size: .95rem; color: var(--brand-600); text-decoration: none; }
.track__cta .icon { width: 17px; height: 17px; transition: transform .2s; }
.track__cta:hover .icon { transform: translateX(4px); }

/* ==========================================================================
   Software marquee
   ========================================================================== */
.software { background: var(--bg-soft); overflow: hidden; }
.software__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.software__head .section-head { margin-bottom: clamp(22px, 3vw, 34px); }
.software__count { flex: none; display: flex; align-items: center; gap: .8rem; margin-bottom: clamp(22px, 3vw, 34px); padding: 14px 18px; border-radius: 16px; background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.software__count strong { font-family: var(--font-head); font-size: 2rem; font-weight: 800; line-height: 1; color: var(--brand-600); letter-spacing: -.03em; }
.software__count span { font-size: .82rem; line-height: 1.35; color: var(--muted); font-weight: 600; }

/* ==========================================================================
   Why us roadmap
   ========================================================================== */
.why3__grid { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.why3__intro { position: sticky; top: calc(var(--hdr-h) + 80px); }
.why3__intro .section-head { margin-bottom: 1rem; }
.roadmap { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; counter-reset: rm; }
.roadmap__item { position: relative; display: flex; flex-direction: column; gap: .9rem; min-height: 150px; padding: 18px; border-radius: 18px; background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow-sm); overflow: hidden; transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.roadmap__item:hover { transform: translateY(-4px); border-color: #f3b6c2; box-shadow: var(--shadow); }
.roadmap__no { position: absolute; right: 14px; top: 8px; font-family: var(--font-head); font-size: 2.6rem; font-weight: 800; line-height: 1; color: transparent; -webkit-text-stroke: 1px #d8dcea; letter-spacing: -.04em; }
.roadmap__icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; background: var(--ink-900); color: #fff; }
.roadmap__item:nth-child(3n + 2) .roadmap__icon { background: var(--grad-brand); }
.roadmap__item:nth-child(3n) .roadmap__icon { background: linear-gradient(135deg, var(--accent-600), #22b3cf); }
.roadmap__icon .icon { width: 23px; height: 23px; }
.roadmap__label { margin-top: auto; font-family: var(--font-head); font-weight: 800; font-size: 1.04rem; line-height: 1.3; letter-spacing: -.01em; }



/* ==========================================================================
   Placements (dark) + employer logos
   ========================================================================== */
.placements3 { background: var(--aurora), var(--blueprint), var(--ink-900); color: var(--on-dark); overflow: hidden; }
.placements3 .section-title { color: #fff; }
.placements3 .text-accent { background-image: var(--grad-text-dark); }
.placements3 .section-text { color: var(--on-dark-muted); }
.placements3 .eyebrow { color: #7fe8f9; }
.placements3__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; margin-bottom: clamp(18px, 2.5vw, 28px); }
.placements3__head .section-head { margin-bottom: 0; }
.placements3__stats { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; }
.placements3__stats li { display: flex; flex-direction: column; gap: .2rem; padding: 18px 20px; border-radius: 18px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line-dark); }
.placements3__stats strong { font-family: var(--font-head); font-size: clamp(1.5rem, 1rem + 1.4vw, 2.2rem); font-weight: 800; line-height: 1.05; letter-spacing: -.03em; background: var(--grad-text-dark); -webkit-background-clip: text; background-clip: text; color: transparent; }
.placements3__stats span { font-size: .84rem; font-weight: 600; color: var(--on-dark-muted); }
.placements3__sub { display: flex; align-items: flex-start; gap: .7rem; margin: 0 0 clamp(18px, 2.5vw, 26px); padding: 14px 18px; border-radius: 14px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line-dark); font-size: .92rem; color: var(--on-dark-muted); }
.placements3__sub > .icon { flex: none; width: 22px; height: 22px; color: var(--accent); margin-top: .1rem; }
.placements3__sub strong { color: #fff; font-family: var(--font-head); }
.placements3 .btn-row { margin-top: clamp(22px, 3vw, 30px); }


/* ==========================================================================
   Reviews (home), branches, final enquiry
   ========================================================================== */
.stories3__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(18px, 2.5vw, 28px); }
.stories3__head .section-head { margin-bottom: 0; }
.stories3__rating { flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: .6rem; }
.stories3 .google-badge { margin: 0; border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.review-card { border-radius: 18px; }

.branch-card { border-radius: 22px; transition: transform .25s, box-shadow .25s; }
.branch-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.final3 { background: linear-gradient(180deg, #fff 0%, var(--bg-soft) 100%); }
.final3__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 480px); gap: clamp(28px, 5vw, 72px); align-items: center; }
.final3__points { margin: 0 0 1.4rem; }
.final3__points li { font-weight: 600; }
.final3__contact { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; }
.final3__contact a { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto auto; column-gap: .65rem; align-items: center; height: 100%; padding: 12px 14px; border-radius: 16px; background: #fff; border: 1px solid var(--border); text-decoration: none; font-family: var(--font-head); font-weight: 800; font-size: .86rem; color: var(--text); overflow-wrap: anywhere; transition: border-color .2s, transform .2s; }
.final3__contact li:nth-child(3) { grid-column: 1 / -1; }
.final3__contact a:hover { border-color: var(--brand); transform: translateY(-2px); }
.final3__contact a > span { grid-row: 1 / span 2; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: var(--brand-50); color: var(--brand); }
.final3__contact li:nth-child(2) a > span { background: #e7f8ee; color: #0e7a3b; }
.final3__contact li:nth-child(3) a > span { background: var(--accent-50); color: var(--accent-600); }
.final3__contact .icon { width: 19px; height: 19px; }
.final3__contact small { font-family: var(--font-body); font-weight: 600; font-size: .72rem; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; }

/* ==========================================================================
   Course pages
   ========================================================================== */
/* Hero: no overlapping info cards in v3 - the facts strip sits inside the hero. */
.page-hero--v3 { --overlap: 0px; padding-bottom: 0; }
.page-hero--banner.page-hero--v3:not(.page-hero--simple) { --overlap: 0px; }
.page-hero--v3.page-hero--banner > .hero-facts { grid-area: 2 / 1; }
.page-hero--v3 > .container { padding-bottom: clamp(30px, 3.5vw, 48px); }
.page-hero--v3:not(.page-hero--banner) > .container { padding-top: clamp(28px, 4vw, 44px); }
.page-hero--v3 .page-hero__title { letter-spacing: -.03em; line-height: 1.08; }
.hero-facts { position: relative; z-index: 1; background: rgba(4, 7, 28, .62); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-top: 1px solid rgba(255, 255, 255, .12); }
.hero-chips { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; margin: .4rem 0 0; padding: 0; }
.hero-chips li { display: flex; align-items: center; gap: .55rem; padding: .5rem .85rem .5rem .55rem; border-radius: 12px; background: rgba(0, 0, 0, .32); border: 1px solid rgba(255, 255, 255, .16); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font-family: var(--font-head); font-weight: 700; font-size: .92rem; line-height: 1.2; color: #fff; }
.hero-chips .icon { flex: none; width: 30px; height: 30px; padding: 6px; border-radius: 9px; background: rgba(43, 212, 242, .16); color: var(--accent); }
.hero-chips small { display: block; font-family: var(--font-body); font-weight: 600; font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: #9eeef9; }
.page-hero--v3 .btn-row { margin-top: 1.4rem; }

/* overview + form */
.overview3__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 430px); gap: clamp(28px, 5vw, 64px); align-items: start; }
.overview3__grid .sticky { top: calc(var(--hdr-h) + 76px); padding: 14px 12px 14px 0; }
.overview3__text .prose p { font-size: 1.02rem; }
.overview3__points { margin-top: 1.4rem; padding: clamp(18px, 2.5vw, 26px); border-radius: 20px; background: var(--bg-soft); border: 1px solid var(--border); }
.overview3__label { margin: 0 0 .8rem; font-family: var(--font-head); font-weight: 800; font-size: 1.05rem; }
.check-list--tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
.check-list--tiles li { padding: .7rem .8rem; border-radius: 12px; background: #fff; border: 1px solid var(--border); font-weight: 600; font-size: .93rem; line-height: 1.4; }
.check-list--tiles li > span { text-align: left !important; }
.check-list--tiles .icon { color: var(--success); }
.overview3__outro { margin: 1.2rem 0 0; color: var(--muted); }

/* syllabus tabs */
.mods { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: clamp(16px, 2.5vw, 28px); align-items: start; }
.mods__nav { position: sticky; top: calc(var(--hdr-h) + 72px); padding: 14px; border-radius: 22px; background: var(--ink-900); color: #fff; box-shadow: var(--shadow-lg); }
.mods__meta { display: flex; align-items: center; gap: .45rem; margin: 2px 6px 10px; font-family: var(--mono); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: #8fe9f8; }
.mods__meta .icon { width: 16px; height: 16px; }
.mods__list { list-style: none; display: grid; gap: 4px; margin: 0; padding: 0; max-height: min(64vh, 620px); overflow-y: auto; scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, .25) transparent; }
.mods__heading { display: flex; align-items: center; gap: .45rem; padding: .6rem .6rem .3rem; font-family: var(--font-head); font-size: .78rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #ffb3c1; }
.mods__heading .icon { width: 15px; height: 15px; }
.mods__tab { display: flex; align-items: center; gap: .7rem; padding: .55rem .6rem; border-radius: 12px; color: #cdd3ea; text-decoration: none; font-family: var(--font-head); font-weight: 600; font-size: .9rem; line-height: 1.3; transition: background-color .2s, color .2s; }
.mods__tab:hover { background: rgba(255, 255, 255, .07); color: #fff; }
.mods__tab[aria-selected="true"] { background: #fff; color: var(--text); font-weight: 800; }
.mods__panels { display: grid; gap: 16px; min-width: 0; }
.mods__panel { padding: clamp(20px, 3vw, 34px); border-radius: 22px; background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow); outline: none; }
.mods__panel:focus-visible { box-shadow: 0 0 0 3px rgba(79, 70, 229, .35); }
.mods.is-tabs .mods__panel { min-height: 100%; animation: mod-in .35s ease both; }
@keyframes mod-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.mods__count { margin: 0 0 .3rem; font-family: var(--mono); font-size: .76rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--brand-600); }
.mods__count span { color: var(--muted); }
.mods__title { margin: 0 0 1rem; padding-bottom: 1rem; border-bottom: 1px solid var(--border); font-size: clamp(1.25rem, 1rem + .9vw, 1.65rem); font-weight: 800; letter-spacing: -.02em; }
.mods__body .syl-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.syllabus3__cta { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin-top: clamp(18px, 2.5vw, 26px); padding: 16px 20px; border-radius: 18px; border: 1.5px dashed #f0a8b6; background: var(--brand-50); }
.syllabus3__cta > .icon { flex: none; width: 34px; height: 34px; color: var(--brand); }
.syllabus3__cta p { flex: 1; min-width: 220px; margin: 0; font-weight: 600; }

/* course careers (dark) */
.job-strip { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin-top: clamp(26px, 3.5vw, 40px); padding: 16px 18px 16px 16px; border-radius: 20px; background: var(--grad-banner); color: #fff; }
.job-strip__icon { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: #fff; color: var(--brand); }
.job-strip__icon .icon { width: 26px; height: 26px; }
.job-strip p { flex: 1; min-width: 220px; margin: 0; font-size: 1rem; color: #ffe2e8; }
.job-strip strong { display: block; font-family: var(--font-head); font-size: clamp(1.1rem, .95rem + .6vw, 1.4rem); color: #fff; }

/* FAQ */
.faq3__grid { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.faq3__intro { position: sticky; top: calc(var(--hdr-h) + 76px); }
.faq3__intro .section-title { font-size: clamp(1.45rem, 1.1rem + 1.2vw, 2.1rem); }
.faq3__help { padding: 20px; border-radius: 20px; background: var(--ink-900); color: var(--on-dark-muted); }
.faq3__help-title { margin: 0 0 .2rem; font-family: var(--font-head); font-weight: 800; font-size: 1.1rem; color: #fff; }
.faq3__help p { margin: 0; font-size: .92rem; }
.faq3__help .btn-row { margin-top: 1rem; gap: .5rem; }
.faq3__help .btn--outline { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .35); }
.js .faq3__list.has-more:not(.is-all) [data-faq-extra] { display: none; }

/* highlights as a bento */
.hl-grid { gap: 14px; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .hero3__grid { grid-template-columns: minmax(0, 1fr); }
  .hero3__form { justify-self: stretch; max-width: 640px; }
  .strip3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .strip3 > li:nth-child(4) { padding-left: 0; border-left: 0; }
  .strip3 > li:nth-child(n + 4) { border-top: 1px solid rgba(255, 255, 255, .1); }
  .strip3--course { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .why3__grid { grid-template-columns: minmax(0, 1fr); }
  .why3__intro { position: static; }
  .placements3__head { grid-template-columns: minmax(0, 1fr); }
  .overview3__grid { grid-template-columns: minmax(0, 1fr); }
  .overview3__form { max-width: 640px; }
  .overview3__grid .sticky { position: static; padding-right: 12px; }
  .faq3__grid { grid-template-columns: minmax(0, 1fr); }
  .faq3__intro { position: static; }
  .faq3__help { max-width: 640px; }
  .final3__grid { grid-template-columns: minmax(0, 1fr); }
  .final3__grid .form-card { max-width: 640px; }
  .stories3__head { flex-direction: column; align-items: flex-start; }
  .stories3__rating { align-items: flex-start; }
}
@media (max-width: 960px) {
  .tracks__grid { grid-template-columns: minmax(0, 1fr); max-width: 640px; margin-inline: auto; }
  .track { display: grid; grid-template-columns: 220px minmax(0, 1fr); }
  .track__art { aspect-ratio: auto; height: 100%; }
  .mods { grid-template-columns: minmax(0, 1fr); }
  .mods__nav { position: static; padding: 10px; border-radius: 18px; }
  .mods__meta { margin: 2px 4px 8px; }
  .mods__list { display: flex; gap: 6px; max-height: none; overflow-x: auto; overflow-y: hidden; padding-bottom: 4px; scroll-snap-type: x proximity; }
  .mods__list > li { flex: none; scroll-snap-align: start; }
  .mods__heading { display: none; }
  .mods__tab { width: 210px; height: 100%; padding: .5rem; font-size: .84rem; }
}
@media (max-width: 767px) {
  .secnav__cta { display: none; }
  .secnav__inner { min-height: 48px; }
  .secnav__list a { padding: .45rem .75rem; font-size: .84rem; }
  .hero3__badges { grid-template-columns: minmax(0, 1fr); width: 100%; }
  .hero3__badges li + li { border-left: 0; border-top: 1px solid rgba(255, 255, 255, .12); }
  .hero3 .btn-row .btn { flex: 1 1 100%; }
  .hero3__form { padding-top: 28px; }
  .form-card__sheet { inset: 10px -6px -10px 10px; }
  .strip3, .strip3--course { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .strip3 > li { padding: 14px 12px; }
  .strip3 > li:nth-child(odd) { padding-left: 0; border-left: 0; }
  .strip3 > li:nth-child(4) { padding-left: 12px; border-left: 1px solid rgba(255, 255, 255, .1); }
  .strip3 > li:nth-child(n + 3) { border-top: 1px solid rgba(255, 255, 255, .1); }
  .strip3 > li:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .from3__list li span { display: none; }
  .from3__list li { padding: .2rem; }
  .software__head { flex-direction: column; align-items: flex-start; gap: 0; }
  .roadmap { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .roadmap__item { min-height: 128px; padding: 14px; }
  .roadmap__no { font-size: 2.1rem; }
  .roadmap__label { font-size: .96rem; }
  .stories3__head { flex-direction: column; align-items: flex-start; }
  .stories3__rating { align-items: flex-start; }
  .final3__contact { grid-template-columns: minmax(0, 1fr); }
  .check-list--tiles { grid-template-columns: minmax(0, 1fr); }
  .mods__body .syl-list { grid-template-columns: minmax(0, 1fr); }
  .hero-chips li { flex: 1 1 calc(50% - .5rem); }
  .page-hero--v3 .btn-row .btn { flex: 1 1 auto; }
  .placements3__stats li { padding: 14px 16px; }
  .job-strip .btn { width: 100%; }
}
@media (max-width: 560px) {
  .track { grid-template-columns: minmax(0, 1fr); }
  .track__art { aspect-ratio: 16 / 9; height: auto; }
}
@media (max-width: 420px) {
  .roadmap { grid-template-columns: minmax(0, 1fr); }
  .roadmap__item { min-height: 0; flex-direction: row; align-items: center; }
  .roadmap__label { margin-top: 0; }
  .hero3__display { font-size: 2rem; }
  .strip3__value { font-size: 1.1rem; }
  .final3__contact a { font-size: .82rem; }
}
@media (prefers-reduced-motion: reduce) {
  .rotator, .js .rotator > span { transition: none; }
  .mods.is-tabs .mods__panel { animation: none; }
}
@media print {
  .secnav, .hero3__form, .sheet-wrap, .overview3__form { display: none !important; }
  .mods__panel { break-inside: avoid; }
}

/* Phones: shorter course cards (20 cards on the home and All Courses pages). */
@media (max-width: 560px) {
  .course-card__media { aspect-ratio: 3 / 1; padding: 12px 14px; }
  .course-card__icon { width: 42px; height: 42px; right: 10px; top: 10px; }
  .course-card__icon .icon { width: 22px; height: 22px; }
  .course-card__soft { font-size: 1.15rem; }
  .course-card__body { padding: 12px 14px 14px; }
  .course-card__text { -webkit-line-clamp: 2; margin-bottom: .7rem; }
  .course-card__foot { padding-top: 10px; }
}

/* The tilted sheet behind a form must not widen the page on phones (clip, unlike hidden, keeps the sticky form working). */
.final3, .overview3 { overflow-x: clip; }

/* Contrast (WCAG AA) for small text */
.gap-card__no { color: #8b92ab; }
.gap-card__fix strong { color: #1d7a34; }
.sw-card__exp { color: #08687d; }

/* ---------------- footer logo: sharp on every screen (retina sources in layout.mjs) ---------------- */
.footer__logo { padding: 14px 18px; border-radius: 12px; box-shadow: 0 6px 20px rgba(0,0,0,.25); line-height: 0; }
.footer__logo picture, .footer__logo img { display: block; }
.footer__logo img { width: 240px; max-width: 100%; height: auto; image-rendering: auto; }
.drawer__brand picture, .drawer__brand img { display: block; }
@media (max-width: 420px) { .footer__logo img { width: 210px; } }

/* Centred section intros are short: never split a word there (the justified rule allows breaks at soft hyphens). */
.section-head .section-text { hyphens: none; -webkit-hyphens: none; }
/* Footer intro is justified in a narrow column: let the browser hyphenate long words so the gaps stay even. */
.footer__about p { hyphens: auto; -webkit-hyphens: auto; }

/* Slider / module arrows on light sections: the white-button rule outranked the hover fill, so on hover the arrow
   turned white on a white button. Give the hover its brand fill back. */
.section:not(.section--dark) .carousel__nav .slider-btn:hover { background: var(--grad-brand); border-color: transparent; color: #fff; }
.section:not(.section--dark) .carousel__nav .slider-btn:focus-visible { border-color: var(--brand); }

/* Teal badges behind white numbers/icons: the old teal→light-cyan gradient left white text at under 2:1 at its light
   end. Darker teal keeps the colour and gives white at least 4.5:1. */
.num-steps--dark .num-steps__item:nth-child(4) .num-steps__no,
.role-card:nth-child(3) .role-card__icon,
.float-badge--c .icon { background: linear-gradient(135deg, #075f72, #0a7f98); }

/* Gallery: show complete rows only. A photo that starts a row with fewer items left than columns hides itself and
   everything after it, so the grid always ends on a full row (new photos fill a row and appear automatically).
   The photos stay in the HTML. Columns: 4 above 1100 px, 3 down to 768 px, 2 on phones (style.css). */
@media (min-width: 1101px) {
  .gallery-grid > li:nth-child(4n+1):nth-last-child(-n+3),
  .gallery-grid > li:nth-child(4n+1):nth-last-child(-n+3) ~ li { display: none; }
}
@media (min-width: 768px) and (max-width: 1100px) {
  .gallery-grid > li:nth-child(3n+1):nth-last-child(-n+2),
  .gallery-grid > li:nth-child(3n+1):nth-last-child(-n+2) ~ li { display: none; }
}
@media (max-width: 767px) {
  .gallery-grid > li:nth-child(2n+1):last-child { display: none; }
}

/* ==========================================================================
   Drawing language — CADD LABS' own visual vocabulary, taken from engineering drawings:
   dimension lines, drawing sheets with title blocks, detail callouts, CAD ribbons, scale rulers.
   ========================================================================== */

/* dimension line: extension ticks at both ends, label in the middle */
.dimline { --dl: rgba(11, 20, 66, .38); display: flex; align-items: center; gap: .6rem; margin: .2rem 0 1rem; font-family: var(--mono); font-size: .68rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.dimline::before, .dimline::after { content: ""; flex: 1; height: 12px;
  background: linear-gradient(var(--dl), var(--dl)) center / 100% 1px no-repeat,
    linear-gradient(135deg, transparent 42%, var(--dl) 42% 58%, transparent 58%) left center / 10px 10px no-repeat; }
.dimline::after { background: linear-gradient(var(--dl), var(--dl)) center / 100% 1px no-repeat,
    linear-gradient(135deg, transparent 42%, var(--dl) 42% 58%, transparent 58%) right center / 10px 10px no-repeat; }
.dimline > span { flex: none; white-space: nowrap; }
.section--dark .dimline, .sheet .dimline { --dl: rgba(143, 233, 248, .55); color: #8fe9f8; }

/* ---------------- demo CTA: drawing sheet + title block ---------------- */
.sheet-wrap { padding-block: clamp(28px, 4vw, 52px); }
.section--soft + .sheet-wrap, .sheet-wrap + .section--soft { padding-top: clamp(28px, 4vw, 52px); }
.sheet { position: relative; padding: 24px; border-radius: 4px; color: #fff; box-shadow: 0 44px 80px -50px rgba(11, 20, 66, .95);
  background:
    linear-gradient(rgba(95, 227, 247, .07) 1px, transparent 1px) 0 0 / 24px 24px,
    linear-gradient(90deg, rgba(95, 227, 247, .07) 1px, transparent 1px) 0 0 / 24px 24px,
    radial-gradient(55% 90% at 100% 0%, rgba(229, 23, 58, .38), transparent 62%),
    radial-gradient(40% 70% at 0% 100%, rgba(43, 212, 242, .16), transparent 65%),
    #0a1240; }
.sheet__zones { position: absolute; display: flex; justify-content: space-around; font-family: var(--mono); font-size: .6rem; font-weight: 600; color: rgba(255, 255, 255, .42); pointer-events: none; }
.sheet__zones i { font-style: normal; }
.sheet__zones--x { left: 24px; right: 24px; top: 5px; }
.sheet__zones--y { top: 24px; bottom: 24px; left: 7px; flex-direction: column; }
.sheet__frame { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 330px; border: 1.5px solid rgba(255, 255, 255, .6); outline: 1px solid rgba(255, 255, 255, .16); outline-offset: 6px; }
.sheet__draw { padding: clamp(24px, 4vw, 46px) clamp(22px, 4vw, 48px); }
.sheet__kicker { display: inline-flex; align-items: center; gap: .5rem; margin: 0 0 .9rem; font-family: var(--mono); font-size: .74rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #8fe9f8; }
.sheet__kicker .icon { width: 16px; height: 16px; }
.sheet__title { margin: 0 0 1rem; font-size: clamp(1.8rem, 1.1rem + 2.4vw, 2.9rem); font-weight: 800; line-height: 1.18; letter-spacing: -.03em; color: #fff; }
/* the highlighted words look like a selected object in CAD: dashed selection box with blue grips */
.sheet__hl { padding: 0 .16em; color: #ff6b86; border: 1.5px dashed rgba(95, 227, 247, .85); box-decoration-break: clone; -webkit-box-decoration-break: clone;
  background: linear-gradient(#2bd4f2, #2bd4f2) 0 0 / 7px 7px no-repeat, linear-gradient(#2bd4f2, #2bd4f2) 100% 0 / 7px 7px no-repeat,
    linear-gradient(#2bd4f2, #2bd4f2) 0 100% / 7px 7px no-repeat, linear-gradient(#2bd4f2, #2bd4f2) 100% 100% / 7px 7px no-repeat; background-origin: border-box; }
.sheet .dimline { max-width: 520px; }
.sheet__points { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; margin: 0; padding: 0; }
.sheet__points li { display: inline-flex; align-items: center; gap: .45rem; font-weight: 600; font-size: .95rem; color: #e6eaf7; }
.sheet__points .icon { width: 18px; height: 18px; color: #5fe3f7; }
.sheet__block { display: flex; flex-direction: column; border-left: 1.5px solid rgba(255, 255, 255, .6); background: rgba(5, 9, 34, .45); }
.sheet__table { display: grid; grid-template-columns: 1fr 1fr; margin: 0; }
.sheet__table > div { padding: 10px 14px; border-bottom: 1px solid rgba(255, 255, 255, .28); }
.sheet__table > div:nth-child(even) { border-right: 1px solid rgba(255, 255, 255, .28); }
.sheet__table dt { font-family: var(--mono); font-size: .6rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
.sheet__table dd { margin: .15rem 0 0; font-family: var(--font-head); font-weight: 800; font-size: .98rem; color: #fff; }
.sheet__table .sheet__brand { grid-column: 1 / -1; border-right: 0; background: var(--grad-brand); }
.sheet__table .sheet__brand dd { font-size: 1.25rem; letter-spacing: .04em; }
.sheet__actions { display: grid; gap: .6rem; margin-top: auto; padding: 18px; }

/* ---------------- career cards: detail callouts ---------------- */
.callouts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(22px, 2.6vw, 30px); padding: 6px; }
.callouts--course { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.callout { --c: #1e40af; position: relative; display: flex; flex-direction: column; padding: 22px 22px 0; background: #fff; color: var(--text); border: 1px solid var(--card-border, var(--border)); border-radius: 6px; box-shadow: 0 26px 50px -40px rgba(11, 20, 66, .55); transition: transform .3s ease, box-shadow .3s ease; }
.callout::before, .callout::after { content: ""; position: absolute; width: 20px; height: 20px; border: 2px solid var(--c); transition: width .3s ease, height .3s ease; pointer-events: none; }
.callout::before { top: -7px; left: -7px; border-right: 0; border-bottom: 0; }
.callout::after { bottom: -7px; right: -7px; border-left: 0; border-top: 0; }
.callout:hover { transform: translateY(-4px); box-shadow: 0 34px 60px -38px rgba(11, 20, 66, .6); }
.callout:hover::before, .callout:hover::after { width: 34px; height: 34px; }
.callout--cad { --c: #c20f2c; }
.callout--bim { --c: #1e40af; }
.callout--mech { --c: #6d28d9; }
.callout--civil { --c: #0f766e; }
.callout--electrical { --c: #c2410c; }
.callout--piping { --c: #0b7fae; }
.callout__head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: .9rem; align-items: center; }
.callout__bubble { position: relative; display: grid; grid-template-rows: 1fr 1fr; place-items: center; width: 56px; height: 56px; border-radius: 50%; border: 2px solid var(--c); color: var(--c); line-height: 1; }
.callout__bubble::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px; background: var(--c); }
.callout__bubble b { align-self: end; padding-bottom: 4px; font-family: var(--font-head); font-size: 1.02rem; font-weight: 800; }
.callout__bubble i { align-self: start; padding-top: 5px; font-family: var(--mono); font-size: .52rem; font-style: normal; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; max-width: 44px; overflow: hidden; white-space: nowrap; }
.callout__icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: color-mix(in srgb, var(--c) 10%, #fff); color: var(--c); }
.callout__icon .icon { width: 21px; height: 21px; }
.callout__dept { margin: 0 0 .15rem; font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.callout__role { margin: 0; font-size: 1.1rem; font-weight: 800; line-height: 1.25; letter-spacing: -.01em; }
.callout .dimline--card { margin: 1rem 0 .8rem; }
.callout__roles { list-style: none; display: grid; gap: .42rem; margin: 0 0 1rem; padding: 0; }
.callout__roles li { display: flex; gap: .5rem; align-items: flex-start; font-size: .88rem; line-height: 1.4; color: #39405c; }
.callout__roles .icon { flex: none; width: 16px; height: 16px; margin-top: .12em; color: var(--c); }
.callout__roles .callout__more { padding-left: 1.5rem; font-weight: 700; color: var(--accent-600); }
.callout__foot { margin-top: auto; padding: 14px 0 18px; border-top: 1px dashed var(--border); }
.callout__course { display: inline-flex; align-items: center; gap: .35rem; font-family: var(--font-head); font-weight: 800; font-size: .88rem; color: var(--brand-600); text-decoration: none; }
span.callout__course { color: var(--text); }
.callout__course .icon { width: 15px; height: 15px; transition: transform .2s; }
.callout:hover .callout__course .icon { transform: translateX(3px); }
/* on the dark course-page careers band */
.section--dark .callout { --c: #5fe3f7; background: rgba(255, 255, 255, .045); color: #fff; border-color: rgba(255, 255, 255, .16); box-shadow: none; }
.section--dark .callout__dept { color: #9aa3c4; }
.section--dark .callout__roles li { color: #d5daf0; }
.section--dark .callout__icon { background: rgba(95, 227, 247, .12); }
.section--dark .callout__foot { border-top-color: rgba(255, 255, 255, .16); }
.section--dark span.callout__course { color: #fff; }

/* ---------------- comparison: spec sheet with a checking stamp ---------------- */
.spec { position: relative; max-width: 1100px; margin: 0 auto; padding: clamp(14px, 2vw, 24px); background: #fff; border: 1px solid var(--card-border, var(--border)); border-radius: 6px; outline: 1px solid var(--border); outline-offset: 6px; box-shadow: var(--shadow); }
.spec__stamp { position: absolute; top: -20px; right: clamp(16px, 4vw, 40px); z-index: 1; display: grid; justify-items: center; padding: .35rem .9rem .3rem; border: 2.5px solid var(--brand); border-radius: 8px; outline: 1px solid var(--brand); outline-offset: 2px; background: #fff; color: var(--brand); font-family: var(--mono); text-transform: uppercase; line-height: 1.1; transform: rotate(-7deg); pointer-events: none; }
.spec__stamp b { font-size: .95rem; letter-spacing: .2em; }
.spec__stamp span { font-size: .58rem; letter-spacing: .22em; }
.spec__table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.spec__table th, .spec__table td { padding: 15px 16px; text-align: left; vertical-align: middle; font-size: .95rem; line-height: 1.45; border-bottom: 1px dashed #d5daea; }
.spec__table thead th { padding-top: 6px; font-family: var(--mono); font-size: .7rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); border-bottom: 2px solid var(--ink-900); }
.spec__table thead th:first-child { width: 24%; }
.spec__table thead th.spec__us { width: 41%; color: var(--brand-600); }
thead th.spec__us .icon { display: inline-block; width: 16px; height: 16px; margin-right: .4rem; vertical-align: -3px; }
.spec__table tbody tr:last-child > * { border-bottom: 0; }
.spec__key { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--font-head); font-weight: 800; color: var(--text); }
.spec__key::before { content: ""; flex: none; width: 10px; height: 10px; border: 1.5px solid var(--accent-600); border-radius: 50%; background: radial-gradient(circle, var(--accent-600) 0 1.5px, transparent 2px); }
td.spec__us { position: relative; padding-left: 50px; font-weight: 600; color: var(--text); background: linear-gradient(90deg, rgba(229, 23, 58, .07), rgba(229, 23, 58, 0) 85%); border-left: 3px solid var(--brand); }
td.spec__them { position: relative; padding-left: 50px; color: var(--muted); }
.spec__tick, .spec__q { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; }
.spec__tick { background: var(--brand); color: #fff; }
.spec__tick .icon { width: 14px; height: 14px; stroke-width: 3; }
.spec__q { border: 1.5px dashed #8b92ab; font-family: var(--mono); font-size: .78rem; font-weight: 700; color: #5d6584; }
.spec__table tbody tr { transition: background-color .2s; }
.spec__table tbody tr:hover { background: var(--bg-soft); }

/* ---------------- software: CAD ribbon ---------------- */
.ribbon { overflow: hidden; background: #fff; border: 1px solid var(--card-border, var(--border)); border-radius: 12px; box-shadow: var(--shadow-lg); }
.ribbon__bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .55rem 1rem; background: var(--ink-900); color: #cdd3ea; font-family: var(--mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; }
.ribbon__app { display: inline-flex; align-items: center; gap: .5rem; }
.ribbon__app .icon { width: 15px; height: 15px; color: #5fe3f7; }
.ribbon__dots { display: inline-flex; gap: 6px; }
.ribbon__dots i { width: 10px; height: 10px; border: 1px solid rgba(255, 255, 255, .45); border-radius: 2px; }
.ribbon__panels { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.ribbon__panel { --g1: #1e3a8a; --g2: #3b5bdb; display: flex; flex-direction: column; border-right: 1px solid var(--border); }
.ribbon__panel--bim { grid-column: span 4; }
.ribbon__panel--mechanical { --g1: #5b21b6; --g2: #7c3aed; grid-column: span 3; border-right: 0; }
.ribbon__panel--civil { --g1: #a3123a; --g2: #e5173a; grid-column: span 4; border-top: 1px solid var(--border); }
.ribbon__panel--electrical { --g1: #9a3412; --g2: #d9660f; grid-column: span 1; border-top: 1px solid var(--border); }
.ribbon__panel--piping { --g1: #0c4a75; --g2: #0b8fc0; grid-column: span 2; border-top: 1px solid var(--border); border-right: 0; }
.ribbon__tools { list-style: none; display: grid; grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); gap: 4px; margin: 0; padding: 10px; }
.ribbon__panel--mechanical .ribbon__tools { --cols: 3; }
.ribbon__panel--electrical .ribbon__tools { --cols: 1; }
.ribbon__panel--piping .ribbon__tools { --cols: 2; }
.ribbon__tool { display: flex; flex-direction: column; align-items: center; gap: .45rem; height: 100%; padding: 12px 6px 10px; border-radius: 10px; text-decoration: none; color: var(--text); text-align: center; transition: background-color .2s; }
.ribbon__tool:hover { background: var(--bg-soft); }
.ribbon__glyph { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 11px; background: linear-gradient(135deg, var(--g1), var(--g2)); color: #fff; font-family: var(--font-head); font-size: 1.05rem; font-weight: 800; letter-spacing: -.02em; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18), 0 10px 18px -12px var(--g1); transition: transform .25s ease; }
.ribbon__tool:hover .ribbon__glyph { transform: translateY(-3px); }
.ribbon__name { font-family: var(--font-head); font-size: .82rem; font-weight: 700; line-height: 1.25; }
.ribbon__label { display: flex; align-items: center; justify-content: center; gap: .4rem; margin: auto 0 0; padding: .4rem .6rem; background: var(--bg-soft); border-top: 1px solid var(--border); font-family: var(--mono); font-size: .66rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #5d6584; }
.ribbon__label .icon { width: 13px; height: 13px; color: var(--g2); }
.ribbon__label small { padding: 0 .4rem; border-radius: 4px; background: #fff; border: 1px solid var(--border); font-size: .62rem; }

/* ---------------- syllabus: layer list + scale-ruler pager ---------------- */
.mods__nav { background: #fff; color: var(--text); border: 1px solid var(--card-border, var(--border)); padding: 0; overflow: hidden; border-radius: 12px; box-shadow: var(--shadow); }
.mods__meta { margin: 0; padding: .6rem 1rem; background: var(--ink-900); color: #cdd3ea; }
.mods__list { padding: 8px; scrollbar-color: #c9cfe2 transparent; }
.mods__heading { color: var(--brand-600); }
.mods__tab { position: relative; gap: .75rem; padding: .55rem .7rem; border-radius: 8px; color: #39405c; }
.mods__tab:hover { background: var(--bg-soft); color: var(--text); }
.mods__no { flex: none; display: inline-flex; align-items: center; gap: .5rem; font-family: var(--mono); font-size: .74rem; font-weight: 700; color: #646c88; }
.mods__no::before { content: ""; width: 10px; height: 10px; border-radius: 2px; border: 1.5px solid #b9c0d6; }
.mods__tab[aria-selected="true"] { background: var(--brand-50); color: var(--text); font-weight: 800; box-shadow: inset 3px 0 0 var(--brand); }
.mods__tab[aria-selected="true"] .mods__no { color: var(--brand-600); }
.mods__tab[aria-selected="true"] .mods__no::before { background: var(--brand); border-color: var(--brand); }
.mods__panel { border-radius: 12px; border-color: var(--card-border, var(--border)); }
.mods__pager { display: none; align-items: center; gap: clamp(10px, 2vw, 22px); margin-top: 1.4rem; padding-top: 1rem; border-top: 1px dashed var(--border); }
.mods.is-tabs .mods__pager { display: flex; }
.mods__step { display: inline-flex; align-items: center; gap: .35rem; padding: .5rem .2rem; background: none; border: 0; font-family: var(--font-head); font-size: .92rem; font-weight: 800; color: var(--brand-600); cursor: pointer; transition: gap .2s, color .2s; }
.mods__step .icon { width: 18px; height: 18px; }
.mods__step:hover { gap: .6rem; color: var(--brand); }
.mods__step[disabled] { color: #a3aac2; cursor: default; gap: .35rem; }
.mods__ruler { position: relative; flex: 1; display: flex; justify-content: space-between; align-items: flex-end; height: 30px; border-bottom: 1.5px solid #c3c9dc; }
.mods__ruler::before { content: ""; position: absolute; left: 0; bottom: -1.5px; height: 1.5px; width: calc((var(--i) - 1) / max(var(--n) - 1, 1) * 100%); background: var(--brand); }
.mods__ruler i { width: 1.5px; height: 8px; background: #c3c9dc; }
.mods__ruler i.done { background: var(--brand); }
.mods__ruler i.on { height: 16px; background: var(--brand); box-shadow: 0 -3px 0 2px rgba(229, 23, 58, .18); }
.mods__ruler b { position: absolute; left: 50%; top: -4px; transform: translateX(-50%); font-family: var(--mono); font-size: .68rem; font-weight: 700; letter-spacing: .12em; color: var(--muted); background: #fff; padding: 0 .4rem; }

/* ---------------- FAQ: drafting-line toggle ---------------- */
.faq3__more { display: flex; align-items: center; gap: .7rem; width: 100%; margin-top: 10px; padding: .7rem 0; background: none; border: 0; font-family: var(--mono); font-size: .76rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--brand-600); cursor: pointer; }
.faq3__more::before, .faq3__more::after { content: ""; flex: 1; border-top: 1.5px dashed #e8b2bd; }
.faq3__more .icon { width: 16px; height: 16px; transition: transform .25s; }
.faq3__more:hover { color: var(--brand); }
.faq3__more[aria-expanded="true"] .icon { transform: rotate(180deg); }
.faq3__list:not(.has-more) .faq3__more, .no-js .faq3__more { display: none; }

/* ---------------- responsive ---------------- */
@media (max-width: 1100px) {
  .callouts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ribbon__panels { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .ribbon__panel--bim { grid-column: span 4; border-right: 0; }
  .ribbon__panel--mechanical { grid-column: span 4; border-top: 1px solid var(--border); }
  .ribbon__panel--mechanical .ribbon__tools { --cols: 6; }
  .ribbon__panel--civil { grid-column: span 4; border-right: 0; }
  .ribbon__panel--electrical { grid-column: span 1; }
  .ribbon__panel--piping { grid-column: span 3; }
  .ribbon__panel--mechanical .ribbon__tools, .ribbon__panel--bim .ribbon__tools { grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); }
}
@media (max-width: 960px) {
  .sheet__frame { grid-template-columns: minmax(0, 1fr); }
  .sheet__block { border-left: 0; border-top: 1.5px solid rgba(255, 255, 255, .6); }
  .sheet__table { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .sheet__table .sheet__brand { grid-column: auto; }
  .sheet__table > div { border-right: 1px solid rgba(255, 255, 255, .28); }
  .sheet__table > div:last-child { border-right: 0; }
  .sheet__actions { grid-template-columns: 1fr 1fr; }
  .spec__table thead th:first-child { width: 22%; }
  .mods__nav { border-radius: 12px; }
}
@media (max-width: 767px) {
  .sheet { padding: 18px; }
  .sheet__zones--x { left: 18px; right: 18px; top: 3px; }
  .sheet__zones--y { top: 18px; bottom: 18px; left: 4px; }
  .sheet__table { grid-template-columns: 1fr 1fr; }
  .sheet__table .sheet__brand { grid-column: 1 / -1; }
  .sheet__table > div { border-right: 0; }
  .sheet__table > div:nth-child(even) { border-right: 1px solid rgba(255, 255, 255, .28); }
  .sheet__actions { grid-template-columns: minmax(0, 1fr); }
  .callouts { grid-template-columns: minmax(0, 1fr); max-width: 480px; margin-inline: auto; }
  .ribbon__panels { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ribbon__panel--bim, .ribbon__panel--mechanical, .ribbon__panel--civil { grid-column: 1 / -1; border-right: 0; }
  .ribbon__panel--electrical { grid-column: span 1; border-right: 1px solid var(--border); }
  .ribbon__panel--piping { grid-column: span 1; }
  .ribbon__panel .ribbon__tools { grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); }
  .ribbon__panel--electrical .ribbon__tools, .ribbon__panel--piping .ribbon__tools { grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); }
  .ribbon__bar { font-size: .62rem; }
  /* spec: one block per criterion */
  .spec { padding: 12px; outline-offset: 4px; }
  .spec__stamp { top: -16px; right: 12px; transform: rotate(-6deg) scale(.86); }
  .spec__table, .spec__table tbody, .spec__table tr, .spec__table th, .spec__table td { display: block; width: 100%; }
  .spec__table thead { display: none; }
  .spec__table tbody tr { padding: 4px 0 8px; border-bottom: 1px dashed #d5daea; }
  .spec__table tbody tr:last-child { border-bottom: 0; }
  .spec__table tbody th { padding: 12px 4px 8px; border: 0; }
  .spec__table td { border: 0; padding-top: 10px; padding-bottom: 10px; }
  td.spec__us { border-left: 3px solid var(--brand); border-radius: 0 8px 8px 0; }
  td.spec__them { font-size: .9rem; }
  .mods__pager { gap: 8px; }
  .mods__step { font-size: .84rem; }
  .mods__ruler b { font-size: .62rem; }
}
@media (prefers-reduced-motion: reduce) {
  .callout, .callout::before, .callout::after, .ribbon__glyph { transition: none; }
  .callout:hover { transform: none; }
}

/* Final pass (5 Nov): a hidden last element (e.g. the "No articles found" message) left the block before it with its
   bottom margin; short form notes are one-line UI text, centred rather than justified so the words don't spread. */
.section > .container > :nth-last-child(2):has(+ [hidden]:last-child) { margin-bottom: 0; }
.form__note { text-align: center; text-align-last: center; hyphens: none; -webkit-hyphens: none; }

/* "Get Me Job" tab: pinned to the left edge it covered page text wherever the side margin is narrow (tablets and
   small laptops). There it becomes a pill in the bottom-left corner, mirroring the WhatsApp/call buttons. */
@media (min-width: 768px) and (max-width: 1340px) {
  .side-tab { top: auto; bottom: 20px; left: 14px; transform: none; writing-mode: horizontal-tb; padding: .7rem 1.05rem; border-radius: 999px; font-size: .82rem; }
  .side-tab .icon { transform: none; }
  .side-tab:hover { padding-right: 1.05rem; transform: translateY(-2px); }
}
/* Quick links: keep all six on one line on tablets. */
@media (max-width: 1000px) {
  .quicklinks ul { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .quicklinks a { padding: .45rem .6rem; font-size: .8rem; white-space: nowrap; }
}

/* ==========================================================================
   Client corrections — 7 Nov 2026 (New-Correction-7-11-26)
   ========================================================================== */

/* 1. Home: the v2 stat cards and "Students From" pill, overlapping the bottom of the v3 hero. */
.hero3__grid { padding-bottom: calc(clamp(36px, 4.5vw, 64px) + 64px); }
.hero3 + .stats-wrap { margin-top: -64px; padding-bottom: clamp(26px, 3.5vw, 40px); }
.hero3 + .stats-wrap .stat-card { border-color: var(--card-border); }
.hero3 + .stats-wrap .stat-card__value { color: var(--text); }
@media (max-width: 1100px) {
  .hero3 + .stats-wrap .stats-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .hero3 + .stats-wrap .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .hero3 + .stats-wrap .stat-card { padding: 14px; }
  .hero3 + .stats-wrap .stat-card__value { font-size: 1.3rem; }
  /* six cards → three full rows: the rating and Book Demo cards share the last row */
  .hero3 + .stats-wrap .stat-card--cta { grid-column: auto; padding: 12px; }
  .hero3 + .stats-wrap .stat-card--cta .btn { padding-inline: .6rem; font-size: .92rem; }
}

/* 3. BIM level cards: list rows 7 px top and bottom (were .85rem = 13.6 px), both BIM course pages. */
.level-card--bim .level-card__list li { padding: 7px 0; }

/* 2a. BIM tools in tiers (BIM Course in Chennai): a stack of BIM layers. */
.bimstack .tiers__head { margin-bottom: clamp(22px, 3vw, 34px); }
.bimstack__list { --tier: #1e3a8a; list-style: none; display: grid; gap: 0; margin: 0; padding: 0; counter-reset: none; position: relative; }
.bimstack__tier { position: relative; display: grid; grid-template-columns: 280px minmax(0, 1fr); background: #fff; border: 1px solid var(--card-border, var(--border)); }
.bimstack__tier + .bimstack__tier { margin-top: -1px; }
.bimstack__tier:first-child { border-radius: 14px 14px 0 0; }
.bimstack__tier:last-child { border-radius: 0 0 14px 14px; }
.bimstack__tier--1 { --tier: #1e3a8a; --tier-2: #3b5bdb; }
.bimstack__tier--2 { --tier: #a3123a; --tier-2: #e5173a; }
.bimstack__tier--3 { --tier: #075f72; --tier-2: #0b8fc0; }
.bimstack__label { position: relative; display: grid; grid-template-columns: 74px minmax(0, 1fr); grid-template-rows: auto auto auto; column-gap: 14px; align-content: center; padding: 22px 22px; background: var(--ink-900); color: #fff; overflow: hidden; }
.bimstack__tier:first-child .bimstack__label { border-top-left-radius: 13px; }
.bimstack__tier:last-child .bimstack__label { border-bottom-left-radius: 13px; }
.bimstack__label::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(95, 227, 247, .06) 1px, transparent 1px) 0 0 / 18px 18px, linear-gradient(90deg, rgba(95, 227, 247, .06) 1px, transparent 1px) 0 0 / 18px 18px; pointer-events: none; }
.bimstack__art { grid-row: 1 / 4; align-self: center; width: 74px; height: auto; }
.bimstack__art path { fill: rgba(255, 255, 255, .05); stroke: rgba(255, 255, 255, .38); stroke-width: 1.2; }
.bimstack__art path.is-on { fill: var(--tier-2); stroke: #fff; }
.bimstack__no { display: flex; align-items: baseline; gap: .45rem; margin: 0; font-family: var(--font-head); font-size: 1.9rem; font-weight: 800; line-height: 1; color: #fff; }
.bimstack__no span { font-family: var(--mono); font-size: .62rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: #8fe9f8; }
.bimstack__label h3 { margin: .35rem 0 .2rem; font-size: 1.02rem; line-height: 1.25; text-transform: uppercase; letter-spacing: .03em; color: #fff; }
.bimstack__count { margin: 0; font-family: var(--mono); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
.bimstack__tools { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; align-content: center; margin: 0; padding: 20px; }
.bimstack__tools li { display: flex; align-items: center; gap: .7rem; padding: .55rem .7rem; border: 1px solid var(--border); border-radius: 10px; background: #fff; font-family: var(--font-head); font-weight: 700; font-size: .93rem; line-height: 1.25; transition: border-color .2s, transform .2s, box-shadow .2s; }
.bimstack__tools li:hover { border-color: var(--tier-2); transform: translateY(-2px); box-shadow: 0 10px 20px -16px var(--tier); }
.bimstack__glyph { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 9px; background: linear-gradient(135deg, var(--tier), var(--tier-2)); color: #fff; font-size: .86rem; font-weight: 800; letter-spacing: -.02em; }

/* 2b. BIM tool grid (BIM Course in Coimbatore): software tiles. */
.bimtools__list { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 0 0 clamp(20px, 3vw, 28px); padding: 0; }
.bimtools__item { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: .8rem; align-items: center; height: 100%; min-height: 72px; padding: 12px 14px; background: #fff; border: 1px solid var(--card-border, var(--border)); border-radius: 12px; color: var(--text); text-decoration: none; transition: transform .2s, box-shadow .2s; }
.bimtools__item::after { content: ""; position: absolute; right: 8px; top: 8px; width: 9px; height: 9px; border-top: 1.5px solid #c3c9dc; border-right: 1.5px solid #c3c9dc; }
.bimtools__glyph { grid-row: 1 / 3; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 11px; background: linear-gradient(135deg, #1e3a8a, #3b5bdb); color: #fff; font-family: var(--font-head); font-size: .95rem; font-weight: 800; letter-spacing: -.02em; }
.bimtools__list li:nth-child(3n + 2) .bimtools__glyph { background: linear-gradient(135deg, #a3123a, #e5173a); }
.bimtools__list li:nth-child(3n) .bimtools__glyph { background: linear-gradient(135deg, #075f72, #0b8fc0); }
.bimtools__name { grid-column: 2; font-family: var(--font-head); font-weight: 800; font-size: .96rem; line-height: 1.25; }
.bimtools__go { grid-column: 2; display: inline-flex; align-items: center; gap: .3rem; font-size: .76rem; font-weight: 700; color: var(--brand-600); }
.bimtools__go .icon { width: 13px; height: 13px; transition: transform .2s; }
.bimtools__item.is-link:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.bimtools__item.is-link:hover::after { border-color: var(--brand); }
.bimtools__item.is-link:hover .bimtools__go .icon { transform: translateX(3px); }
.bimtools__item:not(.is-link) .bimtools__name { grid-row: 1 / 3; }

@media (max-width: 1100px) {
  .bimtools__list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .bimstack__tier { grid-template-columns: 240px minmax(0, 1fr); }
}
@media (max-width: 767px) {
  .bimstack__tier { grid-template-columns: minmax(0, 1fr); }
  .bimstack__tier:first-child .bimstack__label { border-radius: 13px 13px 0 0; }
  .bimstack__tier:last-child .bimstack__label { border-bottom-left-radius: 0; }
  .bimstack__label { grid-template-columns: 56px minmax(0, 1fr); padding: 16px 18px; }
  .bimstack__art { width: 56px; }
  .bimstack__tools { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 14px; gap: 8px; }
  .bimstack__tools li { font-size: .86rem; padding: .5rem; gap: .55rem; }
  .bimstack__glyph { width: 32px; height: 32px; font-size: .78rem; }
  .bimtools__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
}
@media (max-width: 420px) {
  .bimtools__list { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Dynamic blog (admin panel posts, Nov 2026): cards with a cover photo, the post page, home "latest" ---------- */
.article-card__art--photo { display: block; height: auto; aspect-ratio: 16 / 9; overflow: hidden; background: var(--bg-soft); }
.article-card__art--photo img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.article-card:hover .article-card__art--photo img { transform: scale(1.03); }
.article-card__meta .article-card__date { background: var(--bg-soft); color: var(--muted); }
.article-card h3 a { color: inherit; text-decoration: none; }
.article-card h3 a:hover { color: var(--brand-600); }
.article-cards--related { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.blog-latest .btn-row { margin-top: 0; }
.post-hero .page-hero__title { max-width: 900px; }
.post-meta { list-style: none; display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; margin: 1.2rem 0 0; padding: 0; color: var(--on-dark-muted); font-size: .92rem; }
.post-meta li { display: inline-flex; align-items: center; gap: .45rem; }
.post-meta .icon { width: 17px; height: 17px; color: var(--accent); }
.post-preview { margin: 0; padding: 10px 16px; background: #fff6e0; color: #6b4600; text-align: center; font-weight: 600; }
.post-cover { margin: 0 0 clamp(24px, 3vw, 36px); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.post-cover img { display: block; width: 100%; height: auto; max-height: 560px; object-fit: cover; }
.post-body { max-width: 760px; margin: 0 auto; font-size: 1.06rem; line-height: 1.8; color: var(--text); overflow-wrap: break-word; hyphens: auto; -webkit-hyphens: auto; }
.post-body > :first-child { margin-top: 0; }
.post-body p, .post-body ul, .post-body ol, .post-body blockquote, .post-body pre, .post-body table, .post-body figure { margin: 0 0 1.2em; }
.post-body h2 { margin: 1.8em 0 .6em; font-size: clamp(1.4rem, 2.4vw, 1.75rem); line-height: 1.3; }
.post-body h3 { margin: 1.5em 0 .5em; font-size: clamp(1.15rem, 1.8vw, 1.35rem); line-height: 1.35; }
.post-body h4 { margin: 1.3em 0 .4em; font-size: 1.08rem; }
.post-body ul, .post-body ol { padding-left: 1.4em; }
.post-body li { margin-bottom: .4em; }
.post-body li::marker { color: var(--brand-600); }
.post-body a { color: var(--brand-600); text-underline-offset: 3px; }
.post-body a:hover { color: var(--ink-900); }
.post-body img { display: block; max-width: 100%; height: auto; margin: 1.6em auto; border-radius: 14px; }
.post-body blockquote { padding: .8em 1.2em; border-left: 4px solid var(--brand); background: var(--brand-50); border-radius: 0 12px 12px 0; font-style: italic; }
.post-body blockquote p:last-child { margin: 0; }
.post-body pre { padding: 1em; overflow-x: auto; background: var(--ink-950); color: var(--on-dark); border-radius: 12px; font-size: .9rem; }
.post-body code { font-size: .92em; }
.post-body :not(pre) > code { padding: .1em .35em; border-radius: 5px; background: var(--bg-soft); }
.post-body hr { border: 0; height: 1px; margin: 2em 0; background: var(--border); }
.post-body table { display: block; overflow-x: auto; border-collapse: collapse; font-size: .95rem; }
.post-body th, .post-body td { padding: .6em .9em; border: 1px solid var(--border); text-align: left; }
.post-body th { background: var(--bg-soft); }
.post-foot { max-width: 760px; margin: clamp(28px, 4vw, 44px) auto 0; padding-top: 22px; border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.post-share { display: flex; align-items: center; gap: 8px; margin: 0; font-weight: 600; color: var(--muted); }
.post-share__btn { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--bg-soft); color: var(--ink-900); font-weight: 800; text-decoration: none; transition: background .2s, color .2s, transform .2s; }
.post-share__btn:hover { background: var(--brand); color: #fff; transform: translateY(-2px); }
.post-share__btn .icon { width: 18px; height: 18px; }
