@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@600;700&family=Nunito:wght@400;500;600;700;800&display=swap');

:root {
    --font-display: "Fredoka", "Nunito", sans-serif;
    --font-body: "Nunito", "Inter", sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: -0.01em;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-body);
    background: #f7f3ea;
    color: #111;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
}

.wp-site-blocks {
    overflow: hidden;
}

/* Reusable wide section spacing */

.yello-section {
    padding: clamp(72px, 8vw, 120px) 24px;
}

/* Main site container */

.yello-container {
    width: min(1240px, 100%);
    margin-inline: auto;
}

/* Chunky card style */

.yello-card {
    background: #fff;
    border: 3px solid #111;
    border-radius: 16px;
    box-shadow: 5px 5px 0 #111;
    padding: 28px;
}

/* Small outlined label */

.yello-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;

    padding: 12px 20px;

    background: #fff;
    color: #111;

    border: 4.5px solid #111;
    border-radius: 999px;

    box-shadow: 3px 4px 0 #111;

    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 700;
    line-height: 1;

    width: fit-content;
}

.yello-badge__icon {
    display: inline-flex;
    flex-shrink: 0;
}

.yello-badge__icon svg {
    width: 17px;
    height: 17px;
    display: block;
}

/* Buttons */

.wp-block-button__link {
    border: 4.5px solid #111;
    border-radius: 20px;
    padding: 24px 54px;
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    line-height: 1;
    box-shadow: 8px 8px 0 #111;
    transition:
        transform 0.15s ease,
        box-shadow 0.15s ease;
}

.wp-block-button__link:hover {
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0 #111;
}

.wp-block-button__link:active {
    transform: translate(4px, 4px);
    box-shadow: 0 0 0 #111;
}

/* Yellow button */

.yello-button .wp-block-button__link {
    background: #ffd529;
    color: #111;
}

/* White button */

.yello-button-secondary .wp-block-button__link {
    background: #fff;
    color: #111;
}

/* Slightly wonky cards */

.yello-tilt-left {
    transform: rotate(-1deg);
}

.yello-tilt-right {
    transform: rotate(1deg);
}

/* Mobile */

@media (max-width: 782px) {
    .yello-section {
        padding: 56px 18px;
    }

    .yello-card {
        padding: 22px;
    }
}

/* --------------------------------------------------
   Header
-------------------------------------------------- */

.site-header {
    width: 100%;
    padding: 18px 24px;
    background: #f7f3ea;
    border-bottom: 3px solid #111;
}

.site-header__inner {
    width: 100%;
    min-height: 48px;
}

.site-brand__title {
    margin: 0;
    font-size: 20px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.03em;
}

.site-brand__title a {
    text-decoration: none;
}

.site-nav {
    font-size: 15px;
    font-weight: 700;
}

.site-nav .wp-block-navigation-item__content {
    text-decoration: none;
}

.site-nav .wp-block-navigation-item__content:hover {
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}

/* Temporary page content */

.placeholder-content {
    padding-top: 80px;
    padding-bottom: 80px;
}

/* Mobile header */

@media (max-width: 782px) {
    .site-header {
        padding: 14px 18px;
    }

    .site-brand__title {
        font-size: 18px;
    }
}

/* --------------------------------------------------
   Header CTA
-------------------------------------------------- */

/* Navigation spacing */
.site-nav .wp-block-navigation__container {
    gap: 24px;
}

/* Last navigation item = Say hello */
.site-nav .wp-block-navigation-item:last-child .wp-block-navigation-item__content {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 10px 18px;

    background: #ffd529;
    color: #111;

    border: 2px solid #111;
    border-radius: 10px;

    box-shadow: 3px 3px 0 #111;

    text-decoration: none;

    transition:
        transform 0.15s ease,
        box-shadow 0.15s ease;
}

.site-nav .wp-block-navigation-item:last-child .wp-block-navigation-item__content:hover {
    transform: translate(1px, 1px);
    box-shadow: 2px 2px 0 #111;
    text-decoration: none;
}

.site-nav .wp-block-navigation-item:last-child .wp-block-navigation-item__content:active {
    transform: translate(3px, 3px);
    box-shadow: none;
}

/* --------------------------------------------------
   Hero
-------------------------------------------------- */

.hero {
    min-height: 650px;
    display: flex;
    align-items: center;
}

.hero__columns {
    width: 100%;
    gap: clamp(48px, 7vw, 100px);
}

.hero__content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero__title {
    margin: 24px 0 20px;
    font-size: clamp(56px, 6vw, 88px);
    line-height: 0.92;
    letter-spacing: -0.01em;
}

.hero__intro {
    max-width: 520px;
    margin: 0 0 30px;
    font-size: clamp(18px, 1.5vw, 21px);
    line-height: 1.5;
}

.hero__buttons {
    gap: 16px;
}

.hero__art-placeholder {
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;

    background: #ffd529;

    border: 3px solid #111;
    border-radius: 24px;

    box-shadow: 8px 8px 0 #111;

    transform: rotate(1.5deg);
}

.hero__art-placeholder p {
    margin: 0;

    font-size: clamp(28px, 4vw, 52px);
    font-weight: 800;
    line-height: 0.95;
    text-align: center;
}

.yellow-highlight {
    position: relative;
    display: inline-block;
    z-index: 1;
}

.yellow-highlight::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0.08em;
    height: 0.28em;
    background: #ffd426;
    z-index: -1;
}

.hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;

    width: fit-content;
    padding: 0.65rem 1.15rem;

    background: #fff;
    border: 4px solid #111;
    border-radius: 999px;

    box-shadow: 7px 7px 0 #111;

    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1;
}

/* Hero mobile */

@media (max-width: 782px) {

    .hero {
        min-height: auto;
    }

    .hero__columns {
        gap: 48px;
    }

    .hero__title {
        font-size: clamp(48px, 14vw, 70px);
    }

    .hero__intro {
        font-size: 18px;
    }

}

/* Hero visual sizing */

.hero__visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
}

.hero__art {
    width: 800px;
    max-width: none !important;
    flex-shrink: 0;
    margin: 0;
    transform: rotate(1.5deg);
}

.hero__art img {
    display: block;
    width: 800px;
    max-width: none !important;
    height: auto;
}

/* --------------------------------------------------
   Services
-------------------------------------------------- */

.services-section {
    border-top: 3px solid #111;
    background: #ffd529;
}

.services-header {
    width: 100% !important;
    max-width: 1240px !important;
    margin: 0 auto 48px !important;
}

.services-header > * {
    margin-left: 0 !important;
    margin-right: auto !important;
}

.services-title {
    max-width: 760px;
    margin-left: 0;
    margin: 22px 0 18px;
    font-size: clamp(48px, 5vw, 76px);
    line-height: 0.95;
    letter-spacing: -0.05em;
}

.services-intro {
    max-width: 620px;
    margin: 0;
    font-size: 19px;
    line-height: 1.5;
    margin-left: 0;
}

.services-grid {
    gap: 24px;
}

.service-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 340px;
    padding: 30px;
    border: 3px solid #111;
    border-radius: 18px;
    box-shadow: 6px 6px 0 #111;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card--yellow {
    background: #fff;
}

.service-card--white {
    background: #fff;
}

.service-card:nth-child(1) {
    transform: rotate(-1deg);
}

.service-card:nth-child(2) {
    transform: rotate(0.7deg);
}

.service-card:nth-child(3) {
    transform: rotate(-0.5deg);
}

.service-card:nth-child(1):hover {
    transform: rotate(-1deg) translate(-4px, -4px);
    box-shadow: 10px 10px 0 #111;
}

.service-card:nth-child(2):hover {
    transform: rotate(0.7deg) translate(-4px, -4px);
    box-shadow: 10px 10px 0 #111;
}

.service-card:nth-child(3):hover {
    transform: rotate(-0.5deg) translate(-4px, -4px);
    box-shadow: 10px 10px 0 #111;
}

.service-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    border: 3px solid #111;
    border-radius: 999px;
    box-shadow: 3px 3px 0 #111;
}

.service-icon svg {
    width: 26px;
    height: 26px;
    display: block;
}

.service-icon--yellow {
    background: #ffd529;
}

.service-icon--pink {
    background: #FF9FCB;
}

.service-icon--blue {
    background: #77C7FF;
}

.service-number {
    margin: 0 0 50px;
    font-size: 14px;
    font-weight: 800;
}

.service-card h3 {
    margin: 0 0 16px;
    font-size: clamp(30px, 3vw, 42px);
    line-height: 1;
}

.service-card > p:not(.service-number):not(.service-link) {
    margin: 0 0 28px;
    line-height: 1.5;
}

.service-link {
    margin-top: auto;
    margin-bottom: 0;
    font-weight: 800;
}

.service-link a {
    text-decoration: none;
}

.service-link a:hover {
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}

@media (max-width: 782px) {
    .services-header {
        margin-bottom: 36px;
    }

    .services-grid {
        gap: 28px;
    }

    .service-card {
        min-height: 300px;
    }
}

/* --------------------------------------------------
   Selected Work
-------------------------------------------------- */

.work-section {
    background: #f7f3ea;
    border-top: 3px solid #111;
}

.work-header {
    margin-bottom: 34px;
    align-items: flex-end;
}

.work-header__copy {
    margin: 0;
}

.work-title {
    margin: 16px 0 0;
    font-size: clamp(34px, 4vw, 54px);
    line-height: 1;
    letter-spacing: -0.04em;
}

.work-all-link {
    margin: 0 0 4px;
    font-weight: 800;
}

.work-all-link a {
    text-decoration: none;
}

.work-all-link a:hover {
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}

.work-grid {
    gap: 24px;
}

.work-card {
    overflow: hidden;
    border: 3px solid #111;
    border-radius: 18px;
    box-shadow: 6px 6px 0 #111;
    background: #fff;
}

.work-card:nth-child(1) {
    transform: rotate(-0.7deg);
}

.work-card:nth-child(2) {
    transform: rotate(0.9deg);
}

.work-card:nth-child(3) {
    transform: rotate(-0.4deg);
}

.work-card__image {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 260px;
    padding: 24px;
    border-bottom: 3px solid #111;
}

.work-card__image p {
    margin: 0;
    font-size: 24px;
    font-weight: 800;
    text-align: center;
}

.work-card--yellow .work-card__image {
    background: #ffd529;
}

.work-card--pink .work-card__image {
    background: #FF9FCB;
}

.work-card--blue .work-card__image {
    background: #77C7FF;
}

.work-card__meta {
    padding: 18px 20px 20px;
}

.work-card__type {
    margin: 0 0 6px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.05em;
}

.work-card__title {
    margin: 0;
    font-size: clamp(24px, 2.4vw, 32px);
    line-height: 1;
}

@media (max-width: 782px) {
    .work-header {
        gap: 18px;
        margin-bottom: 28px;
    }

    .work-grid {
        gap: 28px;
    }

    .work-card__image {
        min-height: 220px;
    }
}

/* --------------------------------------------------
   About / Why Us
-------------------------------------------------- */

.about-section {
    background: #fff;
    border-top: 3px solid #111;
}

.about-columns {
    gap: 70px;
}

.about-visual {
    overflow: visible;
}

.about-art-placeholder {
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;

    background: #ffd529;
    border: 3px solid #111;
    border-radius: 22px;
    box-shadow: 7px 7px 0 #111;

    transform: rotate(-1deg);
}

.about-art-placeholder p {
    margin: 0;
    font-size: clamp(26px, 3vw, 42px);
    font-weight: 800;
    text-align: center;
}

.about-title {
    max-width: 760px;
    margin: 22px 0 20px;
    font-size: clamp(40px, 3.6vw, 58px);
    line-height: 0.96;
    letter-spacing: -0.045em;
}

.about-copy {
    max-width: 620px;
    margin: 0 0 34px;

    font-size: 18px;
    line-height: 1.55;
}

.about-stats {
    gap: 14px;
}

.stat-card {
    padding: 18px 16px;

    background: #f7f3ea;
    border: 3px solid #111;
    border-radius: 14px;
    box-shadow: 4px 4px 0 #111;
}

.stat-number {
    margin: 0 0 6px;
    font-size: clamp(26px, 3vw, 38px);
    line-height: 1;
}

.stat-card p {
    margin: 0;
    font-size: 13px;
    font-weight: 700;
}

@media (max-width: 782px) {
    .about-columns {
        gap: 42px;
    }

    .about-art-placeholder {
        min-height: 320px;
    }

    .about-stats {
        gap: 18px;
    }
}

/* About column proportions */

.about-columns > .about-visual {
    flex-basis: 42% !important;
}

.about-columns > .about-content {
    flex-basis: 58% !important;
}

/* --------------------------------------------------
   Testimonials — Lovable style
-------------------------------------------------- */

.testimonials-section {
    background: #f7f3ea;
    border-top: 3px solid #111;
}

.testimonials-header {
    max-width: 900px;
    margin: 0 auto 42px;
    text-align: center;
}

.testimonials-header .yello-badge {
    margin-left: auto !important;
    margin-right: auto !important;
}

.testimonials-title {
    margin: 24px 0 0;
    font-size: clamp(42px, 4vw, 60px);
    line-height: 0.95;
    letter-spacing: -0.045em;
    text-align: center;
}

.testimonials-grid {
    gap: 30px;
}

.testimonial-card {
    min-height: 300px;

    display: flex;
    flex-direction: column;

    padding: 34px 34px 30px;

    background: #fff;

    border: 3px solid #111;
    border-radius: 20px;

    box-shadow: 8px 8px 0 #111;
    gap: 0 !important;
    justify-content: flex-start !important;
}

/* Lovable-style wonkiness */

.testimonials-grid > .wp-block-column:nth-child(1) .testimonial-card {
    transform: rotate(-0.6deg);
}

.testimonials-grid > .wp-block-column:nth-child(2) .testimonial-card {
    transform: rotate(0.5deg);
}

.testimonials-grid > .wp-block-column:nth-child(3) .testimonial-card {
    transform: rotate(-0.5deg);
}

/* Stars */

.testimonial-stars {
    margin: 0 0 22px !important;
    color: #ffd529;
    font-size: 21px;
    line-height: 1;
    letter-spacing: 0.08em;
    text-align: left !important;
}

/* Quote */

.testimonial-quote {
    min-height: 110px;
    margin: 0 !important;
    font-size: 18px;
    line-height: 1.55;
}

/* Author */

.testimonial-author {
    width: 100%;
    margin: 18px 0 0 !important;
    display: flex;
    align-items: center;
    justify-content: flex-start !important;
    gap: 14px !important;
    text-align: left !important;
}

.testimonial-author > * {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.testimonial-author > .wp-block-group {
    margin: 0 !important;
    gap: 0 !important;
}

.testimonial-card > * {
    margin-block-start: 0 !important;
    margin-block-end: 0 !important;
}

.testimonial-avatar {
    flex: 0 0 44px;

    width: 44px;
    height: 44px;
    margin: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #ffd529;

    border: 3px solid #111;
    border-radius: 50%;

    font-size: 17px;
    font-weight: 800;
}

.testimonial-name {
    margin: 0 !important;
    font-size: 15px;
    font-weight: 800;
    text-align: left !important;
}

.testimonial-role {
    margin: 3px 0 0 !important;
    font-size: 13px;
    line-height: 1.3;
    text-align: left !important;
}

@media (max-width: 782px) {

    .testimonials-header {
        margin-bottom: 32px;
    }

    .testimonials-grid {
        gap: 30px;
    }

    .testimonial-card {
        min-height: 270px;
        padding: 28px 24px;
    }

    .testimonial-quote {
        min-height: 0;
    }
}

/* ========================================
   FINAL CTA
======================================== */

.final-cta {
    padding: 100px 24px;
    background: #f7f3ea;
}

.final-cta__card {
    position: relative;
    overflow: hidden;

    max-width: 1040px;
    min-height: 500px;
    margin: 0 auto;
    padding: 70px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-align: center;

    background: #ffd529;

    border: 3px solid #111;
    border-radius: 30px;

    box-shadow: 10px 12px 0 #111;
}

/* Decorative corner circles */

.final-cta__card::before,
.final-cta__card::after {
    content: "";
    position: absolute;

    width: 135px;
    height: 135px;

    border-radius: 50%;
    background: rgba(255, 255, 255, 0.28);
}

.final-cta__card::before {
    left: -55px;
    bottom: -45px;
}

.final-cta__card::after {
    right: -45px;
    top: -55px;
}

/* Icon */

.final-cta__icon {
    position: relative;
    z-index: 1;

    width: 58px;
    height: 58px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 30px;

    background: #fff;

    border: 3px solid #111;
    border-radius: 50%;

    font-size: 30px;
    font-weight: 800;
    line-height: 1;
}

/* Heading */

.final-cta__title {
    position: relative;
    z-index: 1;

    margin: 0;

    font-size: clamp(44px, 4.4vw, 68px);
    line-height: 0.98;
    letter-spacing: -0.04em;
}

/* Supporting text */

.final-cta__text {
    position: relative;
    z-index: 1;

    max-width: 650px;
    margin: 28px auto 0;

    font-size: 18px;
    line-height: 1.5;
    font-weight: 600;
}

/* Button */

.final-cta__button {
    position: relative;
    z-index: 1;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    margin-top: 38px;
    padding: 18px 32px;

    background: #111;
    color: #fff;

    border: 3px solid #111;
    border-radius: 15px;

    font-weight: 800;
    text-decoration: none;

    transition:
        transform 0.15s ease,
        box-shadow 0.15s ease;
}

.final-cta__button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 0 rgba(0, 0, 0, 0.2);
}

/* ========================================
   MOBILE
======================================== */

@media (max-width: 782px) {

    .final-cta {
        padding: 70px 18px;
    }

    .final-cta__card {
        min-height: 0;
        padding: 60px 24px 55px;

        border-radius: 24px;
        box-shadow: 7px 8px 0 #111;
    }

    .final-cta__title {
        font-size: clamp(38px, 11vw, 52px);
    }

    .final-cta__title br {
        display: none;
    }

    .final-cta__text {
        margin-top: 22px;

        font-size: 16px;
    }

    .final-cta__button {
        margin-top: 30px;
    }
}

/* --------------------------------------------------
   Footer
-------------------------------------------------- */

.site-footer {
    padding: 54px 24px;
    background: #111;
    color: #ffffff;
}

.site-footer__inner {
    width: min(1240px, 100%);
    margin: 0 auto;

    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;

    gap: 40px;
}

/* Logo */

.site-footer__brand {
    display: flex;
    align-items: center;
}

.site-footer__logo {
    display: block;
    width: 145px;
    height: auto;
}

/* Navigation */

.site-footer__nav {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 28px;
}

.site-footer__nav a {
    color: #ffffff;
    text-decoration: none;

    font-size: 14px;
    font-weight: 800;
}

.site-footer__nav a:hover {
    color: #ffd529;
}

/* Copyright */

.site-footer__copyright {
    margin: 0;

    color: #bdbdbd;

    font-size: 12px;
    font-weight: 600;

    text-align: right;
}

/* --------------------------------------------------
   Mobile Footer
-------------------------------------------------- */

@media (max-width: 782px) {

    .site-footer {
        padding: 48px 20px;
    }

    .site-footer__inner {
        grid-template-columns: 1fr;

        justify-items: center;

        gap: 28px;

        text-align: center;
    }

    .site-footer__nav {
        flex-wrap: wrap;
        gap: 18px 24px;
    }

    .site-footer__copyright {
        text-align: center;
    }

}

/* --------------------------------------------------
   Hero Art Mobile Fix
   (overrides the fixed 800px width that was cropping
   the illustration on narrow viewports)
-------------------------------------------------- */

@media (max-width: 782px) {

    .hero__art {
        width: 100% !important;
        max-width: 420px !important;
    }

    .hero__art img {
        width: 100% !important;
        max-width: 420px !important;
    }

}

/* --------------------------------------------------
   Mobile Nav Overlay
-------------------------------------------------- */

.wp-block-navigation__responsive-dialog {
    background: #f7f3ea;
    padding: 90px 28px 40px;
}

.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
    font-size: 22px;
    font-weight: 800;
    text-decoration: none;
}

.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-close,
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-open {
    border: 3px solid #111;
    border-radius: 10px;
    background: #fff;
}
