@font-face {
    font-family: 'Quicksand';
    src: url('../fonts/Quicksand-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Quicksand';
    src: url('../fonts/Quicksand-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Quicksand';
    src: url('../fonts/Quicksand-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

:root {
    --yh-blue: #0095da;
    --yh-yellow: #fdb812;
    --yh-pink: #ed0872;
    --yh-ink: #17202a;
    --yh-muted: #667085;
    --yh-surface: #ffffff;
    --yh-soft: #f5fbff;
    --yh-border: rgba(23, 32, 42, .12);
    --yh-radius: 24px;
    --yh-shadow: 0 20px 60px rgba(0, 0, 0, .10);
    --yh-font: 'Quicksand', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--yh-font);
    color: var(--yh-ink);
    background: #fff;
    font-size: 18px;
    line-height: 1.65;
}

img { max-width: 100%; height: auto; display: block; }
a {
    color: var(--yh-blue);
    text-decoration: none;
    transition: color .2s ease, transform .2s ease, opacity .2s ease;
}
a:hover, a:focus-visible { color: var(--yh-yellow); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--yh-yellow); outline-offset: 4px; }

h1, h2, h3, h4 { line-height: 1.12; margin: 0 0 .7em; font-weight: 700; }
h1 { font-size: clamp(3rem, 8vw, 6.5rem); letter-spacing: -.06em; }
h2 { font-size: clamp(2rem, 4vw, 3.4rem); letter-spacing: -.04em; }
h3 { font-size: clamp(1.35rem, 2.5vw, 2rem); }
p { margin: 0 0 1.1em; }

.container { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }
.narrow { width: min(820px, calc(100% - 40px)); }
.skip-link, .screen-reader-text {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link:focus { width: auto; height: auto; padding: 12px 16px; background: #fff; z-index: 1000; clip: auto; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--yh-border);
}
.header-inner { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { display: flex; align-items: center; gap: 14px; }
.custom-logo { max-height: 72px; width: auto; }
.site-title { color: var(--yh-ink); font-size: 1.55rem; font-weight: 700; }
.site-description { margin: 0; color: var(--yh-muted); font-size: .9rem; }
.primary-navigation ul { list-style: none; display: flex; gap: 10px; padding: 0; margin: 0; align-items: center; }
.primary-navigation a {
    display: inline-flex;
    align-items: center;
    padding: 10px 14px;
    border-radius: 999px;
    color: var(--yh-ink);
    font-weight: 700;
    font-size: .95rem;
}
.primary-navigation a:hover,
.primary-navigation .current-menu-item > a {
    background: var(--yh-blue);
    color: #fff;
    transform: translateY(-1px);
}
.menu-toggle { display: none; border: 0; background: transparent; padding: 10px; cursor: pointer; }
.menu-toggle span:not(.screen-reader-text) { display: block; width: 28px; height: 3px; background: var(--yh-ink); margin: 5px 0; border-radius: 999px; }

.hero {
    position: relative;
    overflow: hidden;
    min-height: 720px;
    display: grid;
    align-items: center;
    background:
        radial-gradient(circle at 15% 20%, rgba(253,184,18,.28), transparent 30%),
        radial-gradient(circle at 85% 15%, rgba(237,8,114,.20), transparent 32%),
        linear-gradient(135deg, #f5fbff 0%, #ffffff 54%, #fff7fb 100%);
}
.hero::after {
    content: '';
    position: absolute;
    inset: auto -8% -18% auto;
    width: 52vw;
    height: 52vw;
    min-width: 440px;
    min-height: 440px;
    border-radius: 50%;
    background: conic-gradient(from 120deg, var(--yh-blue), var(--yh-yellow), var(--yh-pink), var(--yh-blue));
    opacity: .15;
    filter: blur(4px);
}
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.eyebrow { color: var(--yh-pink); text-transform: uppercase; font-size: .86rem; font-weight: 700; letter-spacing: .16em; margin-bottom: 16px; }
.lead { font-size: clamp(1.2rem, 2.4vw, 1.65rem); color: #344054; max-width: 720px; }
.button-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.button, .wp-block-button__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 50px;
    padding: 13px 22px;
    border-radius: 999px;
    border: 2px solid var(--yh-blue);
    background: var(--yh-blue);
    color: #fff !important;
    font-weight: 700;
    box-shadow: 0 12px 30px rgba(0, 149, 218, .24);
}
.button:hover, .button:focus-visible, .wp-block-button__link:hover {
    background: var(--yh-yellow);
    border-color: var(--yh-yellow);
    color: var(--yh-ink) !important;
    transform: translateY(-2px);
}
.button-secondary { background: var(--yh-pink); border-color: var(--yh-pink); box-shadow: 0 12px 30px rgba(237,8,114,.22); }
.button-outline { background: transparent; color: var(--yh-blue) !important; box-shadow: none; }
.hero-card {
    justify-self: end;
    width: min(380px, 100%);
    padding: 34px;
    border-radius: var(--yh-radius);
    background: rgba(255,255,255,.84);
    box-shadow: var(--yh-shadow);
    border: 1px solid rgba(255,255,255,.75);
}
.hero-number { display: block; font-size: 6rem; line-height: .9; color: var(--yh-blue); font-weight: 700; letter-spacing: -.08em; }
.hero-card p { font-size: 1.35rem; font-weight: 600; margin: 18px 0 0; }

.intro-section, .content-section, .teaser-section, .cta-section { padding: clamp(60px, 8vw, 110px) 0; }
.intro-section { background: #fff; }
.intro-section .narrow > :first-child::before,
.page-content > h2::before,
.section-heading::before {
    content: '';
    display: block;
    width: 92px;
    height: 7px;
    margin-bottom: 24px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--yh-blue), var(--yh-yellow), var(--yh-pink));
}
.teaser-section { background: var(--yh-soft); }
.section-heading { margin-bottom: 34px; }
.teaser-grid, .posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.teaser-card, .post-card, .card {
    position: relative;
    overflow: hidden;
    padding: 30px;
    background: #fff;
    border: 1px solid var(--yh-border);
    border-radius: var(--yh-radius);
    box-shadow: 0 14px 40px rgba(16, 24, 40, .08);
}
.teaser-card { min-height: 245px; color: var(--yh-ink); display: flex; flex-direction: column; justify-content: flex-end; }
.teaser-card:hover { color: var(--yh-ink); transform: translateY(-6px); }
.teaser-card::before { content: ''; position: absolute; inset: 0 0 auto; height: 10px; background: var(--yh-blue); }
.teaser-card.yellow::before { background: var(--yh-yellow); }
.teaser-card.pink::before { background: var(--yh-pink); }
.teaser-card h3 { margin-bottom: 10px; }
.teaser-card p { margin: 0; color: #475467; }
.cta-box {
    padding: clamp(28px, 5vw, 56px);
    border-radius: calc(var(--yh-radius) + 10px);
    background: var(--yh-ink);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}
.cta-box p { color: rgba(255,255,255,.78); }

.page-hero {
    padding: clamp(84px, 12vw, 150px) 0;
    background:
        linear-gradient(135deg, rgba(0,149,218,.11), rgba(253,184,18,.13)),
        #fff;
}
.compact-hero h1 { max-width: 920px; }
.page-content { font-size: 1.1rem; }
.page-content h2, .page-content h3 { margin-top: 1.4em; }
.page-content ul, .page-content ol { padding-left: 1.2em; }
.featured-image img { border-radius: var(--yh-radius); box-shadow: var(--yh-shadow); margin-bottom: 36px; }
.wp-block-separator { border: 0; height: 7px; width: 120px; margin: 36px 0; border-radius: 999px; background: linear-gradient(90deg, var(--yh-blue), var(--yh-yellow), var(--yh-pink)); }

.post-card { padding: 0; }
.post-thumb img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.post-card-body { padding: 24px; }
.post-meta { color: var(--yh-pink); font-weight: 700; font-size: .9rem; margin-bottom: 8px; }
.read-more { font-weight: 700; }

.site-footer { background: #101828; color: rgba(255,255,255,.78); }
.footer-stripe { display: grid; grid-template-columns: 1fr 1fr 1fr; height: 9px; }
.footer-stripe span:nth-child(1) { background: var(--yh-blue); }
.footer-stripe span:nth-child(2) { background: var(--yh-yellow); }
.footer-stripe span:nth-child(3) { background: var(--yh-pink); }
.footer-grid { padding: 58px 0; display: grid; grid-template-columns: 1.15fr .85fr 1fr; gap: 36px; }
.footer-title { font-size: 1.25rem; color: #fff; margin-bottom: 16px; }
.footer-menu { list-style: none; padding: 0; margin: 0; }
.footer-menu a { display: inline-block; padding: 3px 0; }
.footer-widgets { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 18px 0; font-size: .95rem; }

@media (max-width: 900px) {
    .menu-toggle { display: block; }
    .primary-navigation { position: fixed; inset: 88px 0 auto 0; display: none; background: #fff; border-bottom: 1px solid var(--yh-border); padding: 18px 20px 26px; box-shadow: var(--yh-shadow); }
    .primary-navigation.is-open { display: block; }
    .primary-navigation ul { flex-direction: column; align-items: stretch; }
    .primary-navigation a { justify-content: center; }
    .hero { min-height: auto; padding: 80px 0; }
    .hero-inner, .teaser-grid, .posts-grid, .footer-grid, .footer-widgets { grid-template-columns: 1fr; }
    .hero-card { justify-self: stretch; }
    .cta-box { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 560px) {
    body { font-size: 16px; }
    .container, .narrow { width: min(100% - 28px, 1120px); }
    .header-inner { min-height: 74px; }
    .primary-navigation { inset: 74px 0 auto 0; }
    .hero-number { font-size: 4.5rem; }
    .teaser-card, .post-card-body, .card { padding: 22px; }
}
