/* davidnawee.com: personal look on top of the shared style.css (same building blocks as nawee.net) */
:root {
    /* company site (nawee.net): same colours as the Nawee learning platform – nothing to override */
}

/* header: name as wordmark instead of a logo image */
.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
    color: var(--blue-dark);
    text-decoration: none;
}

.brand-name {
    font-family: var(--display);
    font-size: 1.55rem;
    font-weight: 700;
    letter-spacing: -.02em;
}

.brand-role {
    margin-top: 4px;
    color: var(--yellow);
    font-size: .62rem;
    font-weight: 700;
    letter-spacing: .16em; /* "Consulting & Coaching" stays about as wide as the name */
    text-transform: uppercase;
    white-space: nowrap;
}

.brand-text:hover .brand-name {
    color: var(--blue);
}

/* footer wordmark */
.footer-wordmark {
    margin: 0 0 6px;
    color: var(--blue-dark);
    font-family: var(--display);
    font-size: 1.5rem;
    font-weight: 700;
}

.footer-free {
    margin-top: 0; /* same spacing as the other footer items (flex gap) */
    font-size: .9rem;
    color: var(--muted);
}

.footer-free a {
    color: var(--blue);
    font-weight: 600;
}

/* homepage hero: text left, portrait right */
.me-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    gap: clamp(28px, 5vw, 72px);
    align-items: center;
    max-width: 1220px;
    margin: 0 auto;
    padding: clamp(36px, 6vw, 80px) 6vw clamp(48px, 6vw, 88px);
}

.me-hero h1 {
    margin: 0 0 22px;
    font-size: clamp(2.4rem, 5vw, 4.2rem);
    line-height: 1.05;
}

.me-hero h1 span {
    display: block;
    margin-top: 10px;
    color: var(--blue);
    font-size: .62em;
    line-height: 1.15;
}

.me-hero-text {
    max-width: 560px;
    margin: 0 0 8px;
    color: var(--muted);
    font-size: 1.12rem;
}

.me-hero-trust {
    margin: 22px 0 0;
    color: var(--muted);
    font-size: .9rem;
    font-weight: 600;
}

.me-hero-photo img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: 50% 30%;
    border-radius: 28px;
    box-shadow: 0 30px 70px rgba(23, 43, 69, .18);
}

@media (prefers-reduced-motion: no-preference) {
    .me-hero-copy { animation: hero-in .7s ease backwards; }
    .me-hero-photo { animation: hero-fade .9s .2s ease backwards; }
}

@media (max-width: 860px) {
    .me-hero {
        grid-template-columns: minmax(0, 1fr);
    }

    .me-hero h1 { font-size: clamp(2rem, 9vw, 3rem); }
    .me-hero-copy, .hero-points li { min-width: 0; overflow-wrap: break-word; }

    .me-hero-photo {
        order: -1;
        max-width: 420px;
    }
}

/* offer cards on the homepage: link at the bottom */
.offer-card {
    display: flex;
    flex-direction: column;
}

.offer-card ul {
    flex: 1;
}

/* workshops: two topic cards per row, four process steps */
.cards-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.learn-steps-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 1000px) {
    .learn-steps-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .cards-2,
    .learn-steps-4 {
        grid-template-columns: 1fr;
    }
}

/* "Für wen?": three audience cards side by side */
#fuer-wen .cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 1180px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 900px) {
    #fuer-wen .cards {
        grid-template-columns: 1fr;
        max-width: 640px;
    }
}

/* homepage offers: coaching, teaching, workshops side by side */
.cards-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 1180px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 900px) {
    .cards-3 {
        grid-template-columns: 1fr;
        max-width: 640px;
    }
}

/* coaching ↔ teaching: short pointer under the topic cards */
.offer-switch {
    max-width: 760px;
    margin: 28px auto 0;
    color: var(--muted);
    text-align: center;
}

.offer-switch a {
    color: var(--blue);
    font-weight: 700;
}

.section-soft {
    background: var(--soft);
}

/* four menu items: keep each on one line, tighten on mid-size screens */
.site-header nav > a {
    white-space: nowrap;
}

@media (max-width: 1180px) {
    nav {
        gap: 16px;
    }

    .site-header nav > a:not(.nav-cta) {
        letter-spacing: .06em;
        font-size: .8rem;
    }

    .brand-name {
        white-space: nowrap;
    }
}

@media (max-width: 1040px) {
    nav {
        gap: 12px;
    }

    .site-header nav > a:not(.nav-cta) {
        letter-spacing: .03em;
        font-size: .76rem;
    }

    .nav-cta {
        padding-left: 16px;
        padding-right: 16px;
    }
}

/* below 1000px the burger menu takes over (four menu items no longer fit next to the button) */
@media (max-width: 1360px) {
    .site-header nav > a:not(.nav-cta) {
        display: none;
    }

    .language-switch {
        display: none;
    }

    nav .menu-switch {
        display: block;
    }
}

/* free courses (kurse.html / courses.html + homepage teaser): "coming soon" cards */
.course-card {
    display: flex;
    flex-direction: column;
}

.course-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.course-icon {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: var(--soft, #f6efe6);
    font-size: 1.6rem;
}

.course-badge {
    padding: 4px 12px;
    border-radius: 99px;
    background: var(--ink, #1d1d1b);
    color: #fff;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.course-who {
    color: var(--muted);
    font-style: italic;
}

.course-card .text-link {
    margin-top: auto;
    padding-top: 12px;
}

.course-note {
    max-width: 760px;
    margin: 24px auto 0;
    color: var(--muted);
    font-size: .9rem;
    text-align: center;
}

.courses-teaser .course-card h3 {
    margin-bottom: 4px;
}

/* coaching page: pointer to the free Business English course on nawee.net, inside the test band */
.test-band-more {
    margin-top: 12px;
    font-size: .95rem;
    opacity: .9;
}

.test-band-more a {
    color: inherit;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* the band's description is no longer the last paragraph – keep its light color and width */
.test-band-inner > div > p:not(.eyebrow) {
    max-width: 620px;
    color: #d7e3f7;
}

.test-band-inner > div > p:has(+ .test-band-more) {
    margin: 0;
}

/* header: link to nawee.net (free learning platform) */
.site-header nav > a.nav-ext {
    color: var(--blue, #2457a6);
}

/* homepage nawee.net band: what's on the platform */
.nawee-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 16px 0 0;
    padding: 0;
    list-style: none;
}

.nawee-features li {
    padding: 6px 12px;
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 999px;
    background: rgba(255, 255, 255, .08);
    color: #fff;
    font-size: .9rem;
    font-weight: 600;
}

/* homepage: outcome cards (communicate · AI · grow) */
.outcome-card { display: flex; flex-direction: column; }
.outcome-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.outcome-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--soft, #f7faff); font-size: 1.6rem; }
.outcome-badge { padding: 4px 12px; border-radius: 99px; background: var(--blue, #2457a6); color: #fff; font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.outcome-card .text-link { margin-top: 6px; }
.outcome-card .text-link:first-of-type { margin-top: auto; padding-top: 12px; }

/* AI training page */
.ai-act { max-width: 1000px; margin: 28px auto 0; padding: 22px 26px; border-left: 5px solid var(--blue, #2457a6); border-radius: 14px; background: var(--soft, #f7faff); }
.ai-act h3 { margin: 0 0 8px; }
.ai-act p { margin: 0 0 8px; }
.ai-act-note { color: var(--muted); font-size: .9rem; }
.ai-project h3 { margin-bottom: 6px; }

/* Hebrew page (he.html): right-to-left */
[dir="rtl"] body, [dir="rtl"] { font-family: "SF Hebrew", "Arial Hebrew", "Noto Sans Hebrew", -apple-system, "Segoe UI", Arial, sans-serif; }
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3, [dir="rtl"] .brand-name { font-family: "SF Hebrew", "Arial Hebrew", "Noto Sans Hebrew", -apple-system, Arial, sans-serif; letter-spacing: 0; }
[dir="rtl"] .brand-name, [dir="rtl"] .brand-role { font-family: inherit; }
[dir="rtl"] .card li::before { content: "←"; margin-right: 0; margin-left: 9px; }
[dir="rtl"] .eyebrow { letter-spacing: .04em; }
.he-about { max-width: 760px; margin: 0 auto; font-size: 1.05rem; line-height: 1.8; }
.he-about p { margin: 0 0 14px; }
[dir="rtl"] .ai-act { border-left: 0; border-right: 5px solid var(--blue, #2457a6); }

/* projects page */
.proj { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 40px; align-items: start; max-width: 1180px; margin: 0 auto; }
.proj-alt { background: var(--soft, #f7faff); max-width: none; padding-left: max(5vw, calc((100vw - 1180px) / 2)); padding-right: max(5vw, calc((100vw - 1180px) / 2)); }
.proj-text h2 { margin-top: 0; }
.proj-label { margin: 18px 0 4px; color: var(--blue, #2457a6); font-size: .8rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.proj-text p { margin-top: 0; }
.proj-tools { margin-top: 18px; color: var(--muted); font-size: .9rem; }
.proj-imgs { display: grid; gap: 18px; }
.proj-imgs figure { margin: 0; }
.proj-imgs img { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 12px 30px rgba(20, 33, 61, .08); }
.proj-imgs figcaption { margin-top: 6px; color: var(--muted); font-size: .82rem; }
@media (max-width: 900px) { .proj { grid-template-columns: 1fr; gap: 20px; } }

/* KI-Schulung Hannover: pilot offer + FAQ */
.pilot-card { max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: end; padding: 32px 36px; border-radius: 20px; background: var(--blue-dark, #0d2f82); color: #f8f6f2; }
.pilot-card .eyebrow { color: var(--yellow, #f5c542); }
.pilot-card h2 { margin: 6px 0 6px; color: #fff; font-size: clamp(2rem, 4vw, 2.8rem); }
.pilot-card ul { margin: 14px 0; padding-left: 20px; display: grid; gap: 6px; }
.pilot-sub { color: #c9d6e8; font-size: .95rem; margin: 0; }
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 10px; }
.faq-item { border: 1px solid var(--line, #e4ebf5); border-radius: 14px; background: #fff; padding: 14px 18px; }
.faq-item summary { cursor: pointer; font-weight: 700; color: var(--blue-dark, #0d2f82); }
.faq-item p { margin: 10px 0 0; }
@media (max-width: 760px) { .pilot-card { grid-template-columns: 1fr; padding: 24px; } }

/* free guide download box */
.guide-card { max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; padding: 28px 32px; border-radius: 20px; border: 2px solid var(--yellow, #f5c542); background: var(--soft, #f7faff); }
.guide-card h3 { margin: 4px 0 8px; }
.guide-card p { margin: 0; }
.guide-actions { display: grid; gap: 10px; justify-items: center; }
@media (max-width: 760px) { .guide-card { grid-template-columns: 1fr; padding: 22px; } .guide-actions { justify-items: start; } }

/* testimonials (testimonials.js) – hidden until a real one exists */
.testimonial-grid { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.testimonial { position: relative; margin: 0; padding: 28px 26px 22px; border-radius: 18px; background: #fff; border: 1px solid var(--line, #e4ebf5); display: flex; flex-direction: column; justify-content: space-between; gap: 18px; }
.testimonial blockquote { margin: 0; font-size: 1.05rem; line-height: 1.55; color: var(--ink, #14213d); }
.testimonial figcaption { display: flex; gap: 12px; align-items: center; font-size: .92rem; color: var(--muted, #5b6675); }
.testimonial-avatar { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--blue-soft, #eaf3ff); color: var(--blue, #1554c0); font-weight: 700; flex: none; }
.testimonial-sample { position: absolute; top: -11px; left: 18px; background: #b42318; color: #fff; font-size: .7rem; font-weight: 800; letter-spacing: .06em; padding: 3px 10px; border-radius: 99px; }
.testimonial-note { text-align: center; color: var(--muted, #5b6675); font-size: .85rem; margin-top: 16px; }

/* hero: three strong points instead of a paragraph */
.hero-points { list-style: none; margin: 22px 0 26px; padding: 0; display: grid; gap: 10px; }
.hero-points li { position: relative; padding-left: 34px; font-size: 1.08rem; line-height: 1.45; color: var(--muted, #3b4555); }
.hero-points li strong { color: var(--blue-dark, #0d2f82); }
.hero-points li::before { content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%; background: var(--yellow, #f5c542) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 14px no-repeat; }
.hero-claim { margin: 14px 0 0; font-size: 1.15rem; font-weight: 600; color: var(--blue); font-style: italic; }

/* footer navigation: two evenly balanced columns for any number of links (replaces the fixed-row grid) */
footer .footer-links { display: block; columns: 2; column-gap: 36px; }
footer .footer-links .footer-heading { column-span: all; margin-bottom: 12px; }
footer nav.footer-links > a:not(.nav-cta) { display: block; margin: 0 0 10px; break-inside: avoid; }
@media (max-width: 560px) { footer .footer-links { column-gap: 14px; } }

/* THEME BUTTON (sun/moon) – added to the header by script.js */
.theme-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: var(--white);
    color: var(--blue-dark);
    cursor: pointer;
    flex: none;
    transition: transform .2s, border-color .2s;
}

.theme-toggle:hover,
.theme-toggle:focus-visible {
    transform: rotate(-15deg);
    border-color: var(--blue);
}

.site-header > .theme-toggle {
    margin-left: auto;
}

/* homepage hero without portrait (2026-10-28): one centred block, the three points side by side */
.me-hero--solo {
    grid-template-columns: minmax(0, 1fr);
    max-width: 1080px;
    text-align: center;
}

.me-hero--solo h1 { font-size: clamp(2.4rem, 5.4vw, 4.6rem); }
.me-hero--solo .hero-claim { font-size: 1.25rem; }

.me-hero--solo .hero-points {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin: 34px 0 34px;
    text-align: left;
}

.me-hero--solo .hero-points li {
    padding: 18px 18px 18px 52px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--white);
}

.me-hero--solo .hero-points li::before { left: 18px; top: 20px; }
.me-hero--solo .hero-points li strong { display: block; margin-bottom: 2px; }
.me-hero--solo .hero-actions { justify-content: center; }

@media (max-width: 860px) {
    .me-hero--solo .hero-points { grid-template-columns: minmax(0, 1fr); gap: 10px; }
}
.me-hero--solo .hero-person { text-align: left; }

/* headline letter spacing: the global -.045em was cramped on long lines, and the smaller second line (span)
   inherited it as a fixed size → even tighter. Own spacing per line, matched to its size. */
.me-hero h1 { letter-spacing: -.022em; }
h1 span { letter-spacing: -.012em; word-spacing: .04em; }

/* small screens (burger menu): the language button stays in the header, the sun/moon switch moves into the burger menu */
.theme-toggle-row {
    display: none;
}

@media (max-width: 1360px) {
    .site-header .language-switch {
        display: block;
    }

    .site-header .theme-toggle {
        display: none;
    }

    .menu-switch .mobile-menu .theme-toggle-row {
        display: flex;
        align-items: center;
        gap: 10px;
        width: 100%;
        margin: 4px 0;
        padding: 12px 14px;
        border: 0;
        border-top: 1px solid var(--line);
        background: transparent;
        color: var(--blue-dark);
        font: inherit;
        font-weight: 600;
        text-align: left;
        cursor: pointer;
    }

    .menu-switch .mobile-menu .theme-toggle-row:hover {
        background: var(--blue-soft);
    }
}

/* homepage: nawee.net hint at the very end – smaller and calmer than the coaching sections */
.test-band--quiet {
    padding-top: 28px;
    padding-bottom: 28px;
    background: var(--soft);
    border-top: 1px solid var(--line);
}

.test-band--quiet .test-band-inner {
    max-width: 980px;
}

.test-band--quiet h2 {
    font-size: clamp(1.3rem, 2.4vw, 1.6rem);
}

.test-band--quiet .eyebrow {
    color: var(--muted);
}

.test-band--quiet h2 {
    color: var(--blue-dark);
}

.test-band--quiet .test-band-inner > div > p:not(.eyebrow) {
    color: var(--ink);
}

.test-band--quiet .test-band-inner > div > p strong {
    color: var(--blue-dark);
}

/* KI-Beratung / AI consulting (ki-beratung.html, ai-consulting.html) */
.ai-map {
    max-width: 900px;
    margin: 0 auto;
    border: 1px solid var(--line);
    border-radius: 18px;
    overflow: hidden;
    background: var(--white);
}

.ai-map-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
    gap: 16px;
    padding: 14px 20px;
    border-top: 1px solid var(--line);
}

.ai-map-row:first-child {
    border-top: 0;
}

.ai-map-head {
    background: var(--blue-dark);
    color: #fff;
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.ai-map-row span[role="cell"]:first-child {
    color: var(--blue-dark);
    font-weight: 700;
}

.ai-map-row span[aria-hidden="true"] {
    color: var(--yellow);
    font-weight: 800;
}

.ai-offer {
    border-top: 5px solid var(--yellow);
}

.ai-offer-tag {
    margin: 0 0 6px;
    color: var(--blue);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .1em;
}

.ai-note {
    max-width: 760px;
    margin: 18px auto 0;
    color: var(--muted);
    text-align: center;
}

.ai-tools {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    max-width: 900px;
    margin: 0 auto;
    padding: 0;
    list-style: none;
}

.ai-tools li {
    display: grid;
    gap: 2px;
    padding: 14px 18px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--white);
}

.ai-tools strong {
    color: var(--blue-dark);
}

.ai-tools span {
    color: var(--muted);
    font-size: .9rem;
}

@media (max-width: 760px) {
    .ai-map-row {
        grid-template-columns: minmax(0, 1fr);
        gap: 4px;
    }

    .ai-map-head span:last-child {
        display: none;
    }

    .ai-tools {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* header: the wordmark stays on one line next to the longer menu (three areas, 2026-11-01) */
.site-header .brand {
    white-space: nowrap;
    flex: none;
}

/* homepage: business motto band under the hero */
.motto-band {
    padding: 34px 16px 30px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: var(--blue-dark);
    color: #f8f6f2;
    text-align: center;
}

.motto-line {
    margin: 0;
    font-family: var(--display, Georgia, serif);
    font-size: clamp(1.6rem, 4vw, 2.6rem);
    font-weight: 700;
    letter-spacing: -.01em;
}

.motto-line span {
    margin: 0 .25em;
    color: var(--yellow);
}

.motto-text {
    max-width: 720px;
    margin: 10px auto 0;
    color: rgba(248, 246, 242, .85);
    font-size: clamp(1rem, 1.6vw, 1.12rem);
    line-height: 1.6;
}

/* motto band as a card with three tiles (like David's sketch, 2026-11-02) */
.motto-band {
    padding: 44px 16px;
}

.motto-card {
    max-width: 1080px;
    margin: 0 auto;
    padding: 28px clamp(16px, 3vw, 28px) 30px;
    border: 1px solid rgba(248, 246, 242, .14);
    border-radius: 22px;
}

.motto-ey {
    margin: 0;
    color: var(--yellow);
    font-size: .8rem;
    font-weight: 800;
    letter-spacing: .14em;
}

.motto-sub {
    margin: 6px 0 22px;
    color: rgba(248, 246, 242, .82);
    font-size: 1.05rem;
}

.motto-tiles {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.motto-tile {
    display: grid;
    justify-items: center;
    gap: 6px;
    padding: 22px 16px;
    border-radius: 16px;
    color: #f8f6f2;
    text-decoration: none;
    transition: transform .15s, box-shadow .15s, background-color .2s, color .2s;
}

.motto-tile:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, .25);
}

.motto-tile strong {
    font-size: 1.35rem;
}

.motto-tile > span:last-child {
    color: rgba(248, 246, 242, .82);
}

.motto-icon svg {
    width: 34px;
    height: 34px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.motto-tile--ai { background: rgba(77, 143, 224, .14); }
.motto-tile--ai .motto-icon { color: #7fb0f0; }
.motto-tile--biz { background: rgba(217, 160, 74, .14); }
.motto-tile--biz .motto-icon { color: #e3b46a; }
.motto-tile--ppl { background: rgba(80, 170, 110, .14); }
.motto-tile--ppl .motto-icon { color: #7cc995; }

/* hover / keyboard focus: the tile fills with its own colour (David, 2026-11-02) */
.motto-tile--ai:hover, .motto-tile--ai:focus-visible { background: #2d6fcc; color: #ffffff; }
.motto-tile--biz:hover, .motto-tile--biz:focus-visible { background: #e3b46a; color: #0d1b3a; }
.motto-tile--ppl:hover, .motto-tile--ppl:focus-visible { background: #2e8b57; color: #ffffff; }
.motto-tile:hover .motto-icon, .motto-tile:focus-visible .motto-icon,
.motto-tile:hover > span:last-child, .motto-tile:focus-visible > span:last-child { color: inherit; }

.motto-hr {
    margin: 26px 0 20px;
    border: 0;
    border-top: 1px solid rgba(248, 246, 242, .14);
}

@media (max-width: 700px) {
    .motto-tiles {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* business start package: example businesses */
.biz-ex {
    border-top: 4px solid var(--yellow);
}

.biz-ex h3 {
    font-size: 1.08rem;
}

/* education & certificates (homepage, under About me) */
.cred-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    max-width: 1000px;
    margin: 0 auto;
}

.cred {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 20px;
    border: 1px solid var(--line);
    border-left: 5px solid var(--yellow);
    border-radius: 16px;
    background: var(--white);
}

.cred-icon {
    display: grid;
    place-items: center;
    flex: none;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--blue-soft);
    color: var(--blue);
}

.cred-icon svg {
    width: 28px;
    height: 28px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.cred h3 {
    margin: 0 0 2px;
    font-size: 1.08rem;
    color: var(--blue-dark);
}

.cred-prog {
    margin: 0 0 4px;
    color: var(--blue);
    font-weight: 700;
    font-size: .92rem;
}

.cred-desc {
    margin: 0;
    color: var(--muted);
    font-size: .92rem;
    line-height: 1.5;
}

.cred-note {
    max-width: 760px;
    margin: 16px auto 0;
    color: var(--muted);
    font-size: .8rem;
    text-align: center;
}

@media (max-width: 760px) {
    .cred-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

.cred-badge img {
    display: block;
    width: 64px;
    height: 64px;
}

.cred-verify {
    display: inline-block;
    margin-top: 6px;
    color: var(--blue);
    font-size: .85rem;
    font-weight: 700;
}

/* five education cards: the last one spans both columns on wide screens */
@media (min-width: 761px) {
    .cred-grid > .cred:last-child:nth-child(odd) {
        grid-column: 1 / -1;
        max-width: calc(50% - 7px);
        justify-self: center;
        width: 100%;
    }
}

/* subpage headings: a bit looser, so colons and words don't collide ("AI consulting: where …") */
.page-hero h1 {
    letter-spacing: -.02em;
    word-spacing: .06em;
}

/* company site (nawee.net): Nawee arch logo in the header (no line below – removed 2026-11-02) */
.brand-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    flex: none;
    text-decoration: none;
}

.brand-logo .logo {
    display: block;
    width: auto;
    height: 60px;
}

/* company homepage: notice for returning Nawee Learning visitors (learn-redirect.js) */
.learn-moved {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 12px 16px;
    background: var(--blue-soft);
    color: var(--blue-dark);
    text-align: center;
}

.learn-moved[hidden] {
    display: none;
}

.learn-moved p {
    margin: 0;
}

/* homepage hero as a navy banner (inspired by David's Nawee banner): blue-gold arc, gold tagline, three icon pillars.
   Navy in light AND dark mode, so it uses fixed colours instead of the theme tokens. */
.me-hero.me-hero--banner {
    position: relative;
    max-width: none;
    overflow: hidden;
    padding-left: max(6vw, calc((100vw - 1080px) / 2));
    padding-right: max(6vw, calc((100vw - 1080px) / 2));
    padding-bottom: clamp(120px, 12vw, 170px);
    color: #dbe5f5;
    background:
        radial-gradient(ellipse 45% 70% at 100% 0%, rgba(47, 123, 255, .38), transparent 70%),
        radial-gradient(ellipse 40% 60% at 0% 100%, rgba(245, 197, 66, .12), transparent 70%),
        linear-gradient(160deg, #0d2152 0%, #081537 60%, #060f29 100%);
}
.me-hero.me-hero--banner .me-hero-copy { position: relative; z-index: 1; }
.banner-arc { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 150px; pointer-events: none; }
.me-hero.me-hero--banner .eyebrow { color: #f5c542; }
.me-hero.me-hero--banner h1 { color: #ffffff; margin-bottom: 14px; }
.me-hero.me-hero--banner mark.hl { background: none; color: #f5c542; }
.banner-sub { margin: 0 auto; max-width: 40ch; color: #c9d6ec; font-size: clamp(1.1rem, 1.8vw, 1.35rem); line-height: 1.45; }

/* gold tagline between two thin lines */
.banner-tagline { display: flex; align-items: center; gap: 18px; margin: 30px auto 6px; max-width: 760px; }
.banner-tagline::before, .banner-tagline::after { content: ""; flex: 1; height: 2px; background: #f5c542; opacity: .8; }
.banner-tagline span { min-width: 0; text-align: center; color: #f5c542; font-size: .95rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; }

/* three pillars: gold line icon, white title, light text, thin dividers */
.banner-pillars { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 30px 0 34px; padding: 0; }
.banner-pillars li { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 6px 24px; }
.banner-pillars li + li { border-left: 1px solid rgba(201, 214, 236, .25); }
.banner-pillars svg { width: 52px; height: 52px; margin-bottom: 4px; fill: none; stroke: #f5c542; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.banner-pillars svg text { fill: #f5c542; stroke: none; font: 700 5.6px/1 system-ui, sans-serif; }
.banner-pillars strong { color: #ffffff; font-size: 1.05rem; letter-spacing: .12em; text-transform: uppercase; }
.banner-pillars span { color: #c9d6ec; font-size: .98rem; line-height: 1.45; max-width: 26ch; }

.me-hero.me-hero--banner .button.secondary { color: #ffffff; background: transparent; border-color: rgba(255, 255, 255, .55); }
.me-hero.me-hero--banner .button.secondary:hover { border-color: #f5c542; color: #f5c542; }
.me-hero.me-hero--banner .hero-person { color: #c9d6ec; }
.me-hero.me-hero--banner .hero-person strong { color: #ffffff; }
.me-hero.me-hero--banner .hero-person em { color: #f5c542; }
.me-hero.me-hero--banner .hero-person img { border-color: #f5c542; }

@media (max-width: 760px) {
    .banner-pillars { grid-template-columns: minmax(0, 1fr); gap: 22px; }
    .banner-pillars li + li { border-left: 0; border-top: 1px solid rgba(201, 214, 236, .2); padding-top: 22px; }
    .me-hero.me-hero--banner h1 { font-size: clamp(2rem, 9.5vw, 3rem); }
    .banner-tagline { gap: 10px; }
    .banner-tagline::before, .banner-tagline::after { flex: 0 0 22px; }
    .banner-tagline span { font-size: .74rem; letter-spacing: .12em; line-height: 1.6; }
}

/* homepage "How we work together": four numbered steps (replaced the English-only method tabs, 2026-11-02) */
.process-steps {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0;
}
.process-step {
    position: relative;
    padding: 26px 22px 24px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--white);
}
.process-num {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    margin-bottom: 14px;
    border-radius: 50%;
    background: var(--blue-dark);
    color: var(--yellow);
    font-family: var(--display);
    font-size: 1.25rem;
    font-weight: 700;
}
.process-tag {
    display: block;
    color: var(--blue);
    font-size: .74rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.process-step h3 { margin: 4px 0 8px; font-size: 1.2rem; }
.process-step p { margin: 0; color: var(--muted); line-height: 1.55; }
.process-step .text-link { display: inline-block; margin-top: 12px; }
@media (max-width: 1000px) { .process-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .process-steps { grid-template-columns: minmax(0, 1fr); } }
/* "Who is it for?" cards have two links: one per line */
.audience-card .text-link { display: block; }
.audience-card .text-link + .text-link { margin-top: 6px; }
