:root {
    --cream: #f7eedc;
    --cream-light: #fffaf0;
    --brown: #543c2d;
    --brown-soft: #806653;
    --brown-faint: rgba(84, 60, 45, 0.12);
    --green: #789c58;
    --green-dark: #46623a;
    --green-field: #82aa60;
    --green-field-dark: #668d4c;
    --yellow: #f2c85f;
    --sky: #cae4e9;
    --sky-light: #e9f2ed;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    min-height: 100%;
}

html {
    background: var(--cream);
}

body {
    min-width: 320px;
    color: var(--brown);
    font-family:
        ui-rounded,
        "SF Pro Rounded",
        "Segoe UI",
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        sans-serif;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

.page {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    isolation: isolate;

    background:
        linear-gradient(
            180deg,
            var(--sky) 0%,
            var(--sky-light) 48%,
            #a9c982 48.2%,
            var(--green-field) 73%,
            var(--green-field-dark) 100%
        );
}

.page::before {
    content: "";
    position: absolute;
    z-index: -2;
    left: -12%;
    right: -12%;
    bottom: 15%;
    height: 23%;

    border-radius: 50% 50% 0 0 / 100% 100% 0 0;

    background: rgba(105, 145, 77, 0.42);
}

.page::after {
    content: "";
    position: absolute;
    z-index: -1;
    left: -20%;
    right: -20%;
    bottom: 3%;
    height: 24%;

    border-radius: 50% 50% 0 0 / 100% 100% 0 0;

    background: rgba(69, 106, 55, 0.22);
}

.sun {
    position: absolute;
    z-index: 0;
    top: 8%;
    right: 10%;

    width: clamp(82px, 8vw, 125px);
    aspect-ratio: 1;

    border-radius: 50%;

    background: var(--yellow);

    box-shadow:
        0 0 0 18px rgba(244, 206, 102, 0.09),
        0 0 75px rgba(255, 229, 144, 0.70);
}

.header {
    position: relative;
    z-index: 10;

    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    padding: 26px 0;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-mark {
    display: grid;
    place-items: center;

    width: 46px;
    height: 46px;

    border: 1px solid rgba(84, 60, 45, 0.10);
    border-radius: 50%;

    background: rgba(255, 250, 240, 0.66);

    box-shadow:
        0 10px 30px rgba(67, 85, 48, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.78);

    font-size: 24px;
}

.brand-copy {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.brand-copy strong {
    font-size: 15px;
    letter-spacing: -0.025em;
}

.brand-copy span {
    color: rgba(84, 60, 45, 0.56);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.10em;
    text-transform: uppercase;
}

.status {
    display: flex;
    align-items: center;
    gap: 9px;

    padding: 10px 15px;

    border: 1px solid rgba(84, 60, 45, 0.10);
    border-radius: 999px;

    background: rgba(255, 250, 240, 0.55);

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.54);

    color: var(--brown-soft);
    font-size: 13px;
    font-weight: 750;
}

.status-dot {
    width: 8px;
    height: 8px;

    border-radius: 50%;

    background: #6d9958;

    box-shadow:
        0 0 0 5px rgba(109, 153, 88, 0.12);

    animation: pulse 2.6s ease-in-out infinite;
}

.hero {
    position: relative;
    z-index: 5;

    width: min(1180px, calc(100% - 40px));
    min-height: calc(100vh - 100px);
    margin: 0 auto;
    padding: 32px 0 135px;

    display: grid;
    grid-template-columns: minmax(0, 1.07fr) minmax(360px, 0.93fr);
    gap: clamp(35px, 6vw, 90px);
    align-items: center;
}

.hero-copy {
    max-width: 700px;
}

.eyebrow {
    width: max-content;
    max-width: 100%;

    display: inline-flex;
    align-items: center;
    gap: 9px;

    margin-bottom: 25px;
    padding: 9px 14px;

    border: 1px solid rgba(84, 60, 45, 0.10);
    border-radius: 999px;

    background: rgba(255, 250, 240, 0.56);

    color: var(--brown);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

h1 {
    max-width: 760px;
    margin: 0;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: clamp(68px, 9vw, 128px);
    font-weight: 500;
    line-height: 0.82;
    letter-spacing: -0.065em;
}

h1 em {
    display: block;

    color: var(--green-dark);

    font-weight: inherit;
}

.lead {
    max-width: 570px;
    margin: 32px 0 0;

    color: rgba(84, 60, 45, 0.77);

    font-size: clamp(17px, 1.7vw, 21px);
    line-height: 1.65;
    letter-spacing: -0.015em;
}

.facts {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;

    margin-top: 30px;
}

.fact {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    padding: 10px 14px;

    border: 1px solid rgba(84, 60, 45, 0.10);
    border-radius: 999px;

    background: rgba(255, 250, 240, 0.57);

    color: var(--brown-soft);

    font-size: 14px;
    font-weight: 720;

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.48);
}

.scene {
    position: relative;

    min-height: 600px;

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

.chicken-card {
    position: relative;
    z-index: 3;

    width: min(430px, 90%);
    aspect-ratio: 4 / 5;

    overflow: hidden;

    border: 1px solid rgba(255, 255, 255, 0.62);
    border-radius: 48px;

    background:
        linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.65),
            rgba(255, 250, 240, 0.47)
        );

    box-shadow:
        0 42px 90px rgba(68, 82, 48, 0.19),
        inset 0 1px 0 rgba(255, 255, 255, 0.86);

    transform: rotate(3deg);

    animation: float 6s ease-in-out infinite;
}

.chicken-card::before {
    content: "";
    position: absolute;
    inset: 22px;

    border: 1px solid rgba(84, 60, 45, 0.07);
    border-radius: 32px;

    pointer-events: none;
}

.chicken-card::after {
    content: "";
    position: absolute;
    left: 8%;
    right: 8%;
    bottom: -12%;
    height: 36%;

    border-radius: 50%;

    background: rgba(104, 145, 78, 0.14);

    filter: blur(2px);

    pointer-events: none;
}

.card-top {
    position: absolute;
    z-index: 2;
    top: 33px;
    left: 35px;
    right: 35px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    color: rgba(84, 60, 45, 0.53);

    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.big-chicken {
    position: absolute;
    z-index: 1;
    inset: 0;

    display: grid;
    place-items: center;

    padding-bottom: 4%;

    font-size: clamp(155px, 19vw, 235px);

    filter:
        drop-shadow(
            0 28px 24px rgba(88, 66, 44, 0.15)
        );

    animation: chicken 3.4s ease-in-out infinite;
}

.card-bottom {
    position: absolute;
    z-index: 4;
    left: 36px;
    right: 36px;
    bottom: 34px;

    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
}

.chicken-name strong {
    display: block;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 30px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: -0.035em;
}

.chicken-name span {
    display: block;

    margin-top: 8px;

    color: rgba(84, 60, 45, 0.56);

    font-size: 11px;
    font-weight: 650;
    line-height: 1.45;
}

.egg {
    flex: 0 0 auto;

    width: 54px;
    height: 66px;

    border-radius:
        50% 50% 46% 46% /
        58% 58% 42% 42%;

    background:
        radial-gradient(
            circle at 34% 24%,
            #fffdf8,
            #eadfc9 72%
        );

    box-shadow:
        inset -5px -7px 15px rgba(113, 88, 61, 0.07),
        0 10px 25px rgba(84, 60, 45, 0.12);

    transform: rotate(8deg);
}

.flower {
    position: absolute;
    z-index: 1;

    font-size: 39px;

    filter:
        drop-shadow(
            0 8px 8px rgba(68, 82, 48, 0.12)
        );

    animation: sway 4s ease-in-out infinite;
}

.flower-one {
    left: 3%;
    bottom: 16%;
}

.flower-two {
    top: 20%;
    right: 0;

    animation-delay: -1.3s;
}

.flower-three {
    right: 14%;
    bottom: 4%;

    animation-delay: -2.2s;
}

.cloud {
    position: absolute;
    z-index: 0;

    width: 170px;
    height: 52px;

    border-radius: 999px;

    background: rgba(255, 255, 255, 0.40);

    pointer-events: none;
}

.cloud::before,
.cloud::after {
    content: "";
    position: absolute;

    border-radius: 50%;

    background: inherit;
}

.cloud::before {
    width: 72px;
    height: 72px;

    left: 30px;
    top: -30px;
}

.cloud::after {
    width: 92px;
    height: 92px;

    right: 26px;
    top: -45px;
}

.cloud-one {
    top: 18%;
    left: 5%;

    opacity: 0.55;

    animation: drift 18s ease-in-out infinite;
}

.cloud-two {
    top: 31%;
    right: -2%;

    opacity: 0.32;

    transform: scale(0.7);

    animation: drift-small 22s ease-in-out infinite;
}

.meadow {
    position: absolute;
    z-index: 3;
    left: 0;
    right: 0;
    bottom: 5px;

    height: 74px;

    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: clamp(10px, 2vw, 30px);

    overflow: hidden;

    font-size: clamp(28px, 3.7vw, 49px);

    pointer-events: none;
}

.meadow span:nth-child(2n) {
    transform: translateY(10px);
}

.meadow span:nth-child(3n) {
    transform: translateY(18px);
}

.footer {
    position: absolute;
    z-index: 7;
    left: 50%;
    bottom: 16px;

    width: min(1180px, calc(100% - 40px));

    transform: translateX(-50%);

    display: flex;
    justify-content: space-between;
    gap: 24px;

    color: rgba(47, 67, 41, 0.65);

    font-size: 11px;
    font-weight: 700;
}

@keyframes float {
    0%,
    100% {
        transform:
            translateY(0)
            rotate(3deg);
    }

    50% {
        transform:
            translateY(-14px)
            rotate(2deg);
    }
}

@keyframes chicken {
    0%,
    100% {
        transform:
            translateY(8px)
            rotate(-1deg);
    }

    50% {
        transform:
            translateY(-1px)
            rotate(1deg);
    }
}

@keyframes sway {
    0%,
    100% {
        transform: rotate(-7deg);
    }

    50% {
        transform: rotate(8deg);
    }
}

@keyframes pulse {
    0%,
    100% {
        opacity: 0.72;
    }

    50% {
        opacity: 1;
    }
}

@keyframes drift {
    0%,
    100% {
        transform: translateX(-8px);
    }

    50% {
        transform: translateX(28px);
    }
}

@keyframes drift-small {
    0%,
    100% {
        transform:
            translateX(10px)
            scale(0.7);
    }

    50% {
        transform:
            translateX(-25px)
            scale(0.7);
    }
}

@media (max-width: 850px) {
    .page {
        overflow-y: auto;
    }

    .header {
        width: min(680px, calc(100% - 28px));
        padding-top: 18px;
    }

    .status {
        display: none;
    }

    .hero {
        width: min(680px, calc(100% - 28px));
        min-height: auto;
        padding-top: 52px;
        padding-bottom: 170px;

        grid-template-columns: 1fr;
        gap: 44px;
    }

    h1 {
        font-size: clamp(64px, 19vw, 100px);
    }

    .lead {
        max-width: 540px;
    }

    .scene {
        min-height: 520px;
    }

    .chicken-card {
        width: min(390px, 90%);
    }

    .footer {
        position: absolute;
        width: calc(100% - 28px);

        flex-direction: column;
        gap: 5px;
    }
}

@media (max-width: 480px) {
    .brand-copy span {
        display: none;
    }

    .brand-mark {
        width: 40px;
        height: 40px;

        font-size: 21px;
    }

    .hero {
        padding-top: 30px;
    }

    .eyebrow {
        font-size: 10px;
    }

    h1 {
        font-size: clamp(60px, 20vw, 88px);
    }

    .lead {
        font-size: 17px;
    }

    .fact {
        padding: 9px 12px;

        font-size: 12px;
    }

    .scene {
        min-height: 440px;
    }

    .chicken-card {
        border-radius: 38px;
    }

    .big-chicken {
        font-size: 155px;
    }

    .card-top {
        left: 29px;
        right: 29px;
    }

    .card-bottom {
        left: 29px;
        right: 29px;
        bottom: 29px;
    }

    .chicken-name strong {
        font-size: 26px;
    }

    .egg {
        width: 46px;
        height: 57px;
    }

    .flower {
        font-size: 31px;
    }

    .footer span:last-child {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation: none !important;
        scroll-behavior: auto !important;
    }
}
