
/* =========================================================
   LILIA LEAF GREEN v6
   THEME: ZINE KEBUN
   Style: Cream Paper, Dark Green Ink, Hard Shadow
========================================================= */


/* =========================================================
   01. ROOT & VARIABLES
========================================================= */

:root {
    --paper: #f3eedd;
    --ink: #0f2418;
    --leaf: #1d6a3b;
    --lime: #c9f25a;
    --tom: #ff5b35;
    --but: #ffd45c;

    --f: 'Fraunces', Georgia, serif;
    --b: 'Space Grotesk', system-ui, sans-serif;

    --e: cubic-bezier(.7, 0, .2, 1);

    --bd: 3px solid var(--ink);
    --hs: 6px 6px 0 var(--ink);
}


/* =========================================================
   02. RESET & GLOBAL
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font: 16px/1.6 var(--b);
    background: var(--paper);
    background-image: radial-gradient(
        rgba(15, 36, 24, .12) 1px,
        transparent 1.4px
    );
    background-size: 16px 16px;
    color: var(--ink);
    overflow-x: hidden;
}

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

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea {
    font: inherit;
    color: inherit;
}

button {
    cursor: pointer;
}

h1,
h2,
h3,
.f {
    font-family: var(--f);
    font-weight: 900;
    line-height: 1.02;
    letter-spacing: -.02em;
}

.wrap {
    width: min(1180px, 92%);
    margin: auto;
}

.sx {
    padding: clamp(60px, 9vw, 120px) 0;
}

em {
    font-style: italic;
    color: var(--tom);
}


/* =========================================================
   03. BUTTONS
========================================================= */

.bt {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    justify-content: center;

    background: var(--lime);
    color: var(--ink);

    border: var(--bd);
    border-radius: 50px;

    padding: 12px 24px;

    font-weight: 700;
    font-size: 15px;

    box-shadow: 4px 4px 0 var(--ink);

    transition:
        transform .2s,
        box-shadow .2s,
        background .2s;
}

.bt:hover {
    transform: translate(4px, 4px);
    box-shadow: 0 0 0 var(--ink);
    background: var(--but);
}

.bt.ol {
    background: transparent;
    color: inherit;
    border-color: currentColor;
    box-shadow: 4px 4px 0 currentColor;
}

.bt.tm {
    background: var(--tom);
    color: #fff;
}

.bt.dk {
    background: var(--ink);
    color: var(--lime);
    box-shadow: 4px 4px 0 var(--lime);
}

.bt.w {
    width: 100%;
}


/* =========================================================
   04. WELCOME GATE / GERBANG SAMBUTAN
========================================================= */

#gate {
    position: fixed;
    inset: 0;
    z-index: 9500;

    display: grid;
    place-items: center;

    color: var(--paper);
    text-align: center;
}

html.seen #gate {
    display: none;
}

#gate .d {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 50.2%;

    background: var(--ink);
    background-image: radial-gradient(
        rgba(201, 242, 90, .18) 1.2px,
        transparent 1.6px
    );
    background-size: 18px 18px;

    transition: transform 1.2s var(--e);
}

#gate .gl {
    left: 0;
    border-right: 2px solid rgba(201, 242, 90, .3);
}

#gate .gr {
    right: 0;
    border-left: 2px solid rgba(201, 242, 90, .3);
}

#gate.open .gl {
    transform: translateX(-101%);
}

#gate.open .gr {
    transform: translateX(101%);
}

#gate .gc {
    position: relative;
    width: min(640px, 90%);

    transition:
        opacity .5s,
        transform .8s var(--e);
}

#gate.open .gc {
    opacity: 0;
    transform: scale(.8);
}

#gate .gc img {
    width: 92px;
    height: 92px;

    margin: 0 auto 18px;

    border-radius: 50%;
    border: 4px solid var(--lime);

    background: #fff;

    animation: wob 2.4s ease-in-out infinite;
}

#gate .k {
    display: block;

    font-style: italic;
    font-family: var(--f);
    color: var(--lime);

    font-size: clamp(16px, 2.4vw, 22px);

    margin-bottom: 10px;
}

#gate h1 {
    font-size: clamp(38px, 8vw, 84px);
}

#gate h1 .w i {
    transform: none;
    animation: rise 1s var(--e) both;
    animation-delay: calc(var(--i) * 90ms + .3s);
}

#gate p.s {
    margin: 18px auto 26px;
    max-width: 460px;
    opacity: .85;
}

#gate .ld {
    width: min(340px, 80%);
    margin: 0 auto;
    transition: opacity .4s;
}

#gate .ld div {
    height: 14px;
    border: 3px solid var(--lime);
    border-radius: 20px;
    overflow: hidden;
}

#gate .ld i {
    display: block;
    height: 100%;
    width: 0;

    background: var(--lime);

    transition: width .2s;
}

#gate .ld small {
    display: flex;
    justify-content: space-between;

    margin-top: 8px;

    font-size: 13px;
    color: var(--lime);
}

#gate .bt {
    opacity: 0;
    transform: translate(-50%, 20px) scale(.8);
    pointer-events: none;

    position: absolute;
    left: 50%;

    white-space: nowrap;

    padding: 14px 32px;
    font-size: 16px;

    transition: .6s var(--e);
}

#gate.rdy .ld {
    opacity: 0;
    height: 0;
    overflow: hidden;
}

#gate.rdy .bt {
    opacity: 1;
    transform: none;
    pointer-events: auto;

    position: relative;
    left: 0;
}


/* =========================================================
   05. GATE ANIMATIONS
========================================================= */

@keyframes rise {
    from {
        transform: translateY(110%) rotate(6deg);
    }
}

@keyframes wob {
    50% {
        transform: rotate(-8deg) scale(1.08);
    }
}


/* =========================================================
   06. PAGE TRANSITION / TIRAI PERGANTIAN HALAMAN
========================================================= */

#veil {
    position: fixed;
    inset: 0;
    z-index: 9000;
    pointer-events: none;
}

#veil .a,
#veil .b {
    position: absolute;
    inset: 0;

    clip-path: circle(0 at var(--x, 50%) var(--y, 50%));

    transition: clip-path .8s var(--e);
}

#veil .a {
    background: var(--lime);
}

#veil .b {
    background: var(--ink);
    transition-delay: .14s;
}

#veil.x .a {
    transition-delay: .14s;
}

#veil.x .b {
    transition-delay: 0s;
}

#veil.on .a,
#veil.on .b,
html.cover #veil .a,
html.cover #veil .b {
    clip-path: circle(150vmax at var(--x, 50%) var(--y, 50%));
}

html.cover #veil .a,
html.cover #veil .b,
html.cover #veil .m {
    transition: none;
}

#veil .m {
    position: absolute;
    inset: 0;

    display: grid;
    place-content: center;
    justify-items: center;

    gap: 16px;

    color: var(--lime);
    opacity: 0;

    transition: opacity .3s .5s;
}

#veil.on .m,
html.cover #veil .m {
    opacity: 1;
}

#veil.x .m {
    transition-delay: 0s;
}

#veil img {
    width: 104px;
    height: 104px;

    border-radius: 50%;
    border: 4px solid var(--lime);

    background: #fff;

    animation: vl 1.1s var(--e) infinite;
}

#veil b {
    font-family: var(--f);
    font-style: italic;
    font-size: clamp(30px, 6vw, 56px);
}

@keyframes vl {
    0% {
        transform: translateY(0) rotate(0);
    }

    40% {
        transform: translateY(-22px) rotate(180deg) scale(1.1);
    }

    100% {
        transform: translateY(0) rotate(360deg);
    }
}


/* =========================================================
   07. HEADER / NAVIGATION
========================================================= */

.hd {
    position: fixed;
    top: 12px;
    left: 3%;
    right: 3%;

    max-width: 1180px;
    margin: 0 auto;

    z-index: 800;

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

    background: var(--paper);
    border: var(--bd);
    border-radius: 60px;

    padding: 7px 8px 7px 12px;

    box-shadow: var(--hs);

    transition: top .5s var(--e);
}

.hd.hide {
    top: -100px;
}

.br {
    display: flex;
    align-items: center;
    gap: 10px;

    font-family: var(--f);
    font-weight: 900;
    font-size: 19px;
}

.br img {
    width: 40px;
    height: 40px;

    border-radius: 50%;
    border: 2px solid var(--ink);

    background: #fff;

    transition: transform .6s var(--e);
}

.br:hover img {
    transform: rotate(360deg) scale(1.1);
}

.br em {
    color: var(--leaf);
    padding: 0 3px;
}

.nv {
    display: flex;
    gap: 4px;
}

.nv a {
    padding: 8px 15px;
    border-radius: 30px;

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

    transition:
        background .2s,
        transform .2s;
}

.nv a:hover {
    background: var(--lime);
    transform: rotate(-3deg);
}

.nv a.on {
    background: var(--ink);
    color: var(--lime);
}

.nv s {
    text-decoration: none;
    display: inline-block;

    min-width: 22px;
    text-align: center;

    background: var(--tom);
    color: #fff;

    border-radius: 20px;
    font-size: 12px;

    margin-left: 4px;
}


/* =========================================================
   08. MOBILE MENU
========================================================= */

.bg {
    display: none;

    width: 46px;
    height: 42px;

    border: var(--bd);
    border-radius: 30px;

    background: var(--lime);

    position: relative;
}

.bg i {
    position: absolute;
    left: 11px;

    width: 20px;
    height: 3px;

    background: var(--ink);

    transition: .4s var(--e);
}

.bg i:first-child {
    top: 13px;
}

.bg i:last-child {
    top: 22px;
}

.bg.on i:first-child {
    top: 17px;
    transform: rotate(45deg);
}

.bg.on i:last-child {
    top: 17px;
    transform: rotate(-45deg);
}


/* =========================================================
   09. SCROLL PROGRESS
========================================================= */

#sp {
    position: fixed;
    left: 0;
    top: 0;

    width: 6px;
    height: 0;

    background: linear-gradient(var(--lime), var(--tom));

    z-index: 900;

    border-radius: 0 0 6px 0;
}


/* =========================================================
   10. HERO SECTION
========================================================= */

.hero {
    position: relative;

    min-height: 100svh;

    background: var(--ink);
    color: var(--paper);

    overflow: hidden;
}

.sl {
    position: absolute;
    inset: 0;
    visibility: hidden;
}

.sl.on,
.sl.pv {
    visibility: visible;
}

.sl.on {
    z-index: 3;
}

.sl.pv {
    z-index: 2;
}

.bgi {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
    opacity: .4;

    clip-path: inset(100% 0 0 0);

    transition: clip-path 1.1s var(--e);
}

.sl.on .bgi,
.sl.pv .bgi {
    clip-path: inset(0);
}

.sl:after {
    content: "";

    position: absolute;
    inset: 0;

    background: linear-gradient(
        90deg,
        var(--ink) 15%,
        rgba(15, 36, 24, .55) 70%,
        rgba(15, 36, 24, .2)
    );

    z-index: 1;
}

.sl:before {
    content: "";

    position: absolute;
    inset: 0;

    background: var(--ink);

    z-index: 0;
}

.sl .in {
    position: relative;
    z-index: 2;

    height: 100%;
    min-height: 100svh;

    width: min(1180px, 92%);
    margin: auto;

    display: grid;
    grid-template-columns: 1.15fr .85fr;

    align-items: center;
    gap: 30px;

    padding: 110px 0 90px;
}


/* =========================================================
   11. HERO TEXT
========================================================= */

.tx > * {
    opacity: 0;
    transform: translateY(50px);

    transition:
        opacity .5s,
        transform .9s var(--e);
}

.sl.on .tx > * {
    opacity: 1;
    transform: none;

    transition-delay: calc(.45s + var(--i) * .1s);
}

.sl.pv .tx > * {
    opacity: 0;
    transition: opacity .3s;
}

.kk {
    display: inline-block;

    font-weight: 700;
    font-size: 13px;
    letter-spacing: .14em;
    text-transform: uppercase;

    color: var(--ink);
    background: var(--lime);

    padding: 5px 14px;
    border-radius: 30px;

    margin-bottom: 18px;
}

.hh {
    display: block;

    font-family: var(--f);
    font-weight: 900;

    font-size: clamp(46px, 8.6vw, 128px);
    line-height: .92;
    letter-spacing: -.03em;

    margin-bottom: 18px;
}

.hh span {
    color: var(--lime);
    font-style: italic;
}

.tx p {
    max-width: 480px;

    font-size: 18px;
    opacity: .9;

    margin-bottom: 26px;
}

.cta {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}


/* =========================================================
   12. HERO IMAGE & STAMP
========================================================= */

.ar {
    justify-self: center;

    position: relative;

    width: min(100%, 400px);
    aspect-ratio: 3 / 4;

    border-radius: 999px 999px 20px 20px;
    border: 5px solid var(--lime);

    overflow: hidden;

    box-shadow: 14px 14px 0 var(--tom);

    background: var(--lime);

    translate:
        calc(var(--mx, 0) * 16px)
        calc(var(--my, 0) * 16px);

    opacity: 0;

    transform: translateY(90px) rotate(9deg) scale(.9);

    transition:
        opacity .6s,
        transform 1.1s var(--e);
}

.sl.on .ar {
    opacity: 1;
    transform: none;
    transition-delay: .55s;
}

.ar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.stamp {
    position: absolute;
    z-index: 6;

    left: calc(50% - 10px);
    bottom: 19%;

    width: 120px;
    height: 120px;

    animation: spin 16s linear infinite;
}

.stamp text {
    fill: var(--lime);
    font: 700 11px var(--b);
    letter-spacing: 1.6px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}


/* =========================================================
   13. HERO SLIDER CONTROLS
========================================================= */

.pr {
    position: absolute;
    z-index: 6;

    left: 50%;
    bottom: 24px;

    transform: translateX(-50%);

    width: min(1180px, 92%);

    display: flex;
    gap: 10px;
    align-items: center;
}

.pr i {
    flex: 1;

    height: 6px;
    border-radius: 6px;

    background: rgba(243, 238, 221, .25);

    overflow: hidden;
    cursor: pointer;
}

.pr i:after {
    content: "";

    display: block;
    height: 100%;
    width: 0;

    background: var(--lime);
}

.pr i.on:after {
    animation: fill 6s linear forwards;
}

.pr i.dn:after {
    width: 100%;
}

@keyframes fill {
    to {
        width: 100%;
    }
}

.hp,
.hn {
    position: absolute;
    z-index: 6;
    bottom: 52px;

    width: 48px;
    height: 48px;

    border-radius: 50%;
    border: var(--bd);

    background: var(--lime);
    color: var(--ink);

    font-size: 22px;
    font-weight: 700;

    transition: transform .2s;
}

.hp {
    left: max(4%, calc((100vw - 1180px) / 2));
}

.hn {
    left: calc(max(4%, calc((100vw - 1180px) / 2)) + 60px);
}

.hp:hover,
.hn:hover {
    transform: scale(1.15) rotate(-8deg);
}


/* =========================================================
   14. TICKER / RUNNING TEXT
========================================================= */

.mq {
    background: var(--lime);

    border-block: var(--bd);

    overflow: hidden;
    white-space: nowrap;

    transform: rotate(-1.2deg);

    margin: -14px -10px 0;

    position: relative;
    z-index: 10;
}

.mq div {
    display: inline-block;
    animation: mq 28s linear infinite;
}

.mq span {
    font-family: var(--f);
    font-style: italic;
    font-weight: 900;

    font-size: clamp(26px, 4vw, 44px);

    padding: 10px 26px;
    display: inline-block;
}

.mq span:nth-child(even) {
    -webkit-text-stroke: 1.5px var(--ink);
    color: transparent;
    font-style: normal;
}

@keyframes mq {
    to {
        transform: translateX(-50%);
    }
}


/* =========================================================
   15. TEXT REVEAL ANIMATIONS
========================================================= */

.w {
    display: inline-block;
    overflow: hidden;
    vertical-align: top;

    padding: 0 .04em .14em;
}

.w i {
    display: inline-block;
    font-style: inherit;

    transform: translateY(112%);

    transition: transform .9s var(--e);
    transition-delay: calc(var(--i) * 55ms);
}

.in .w i,
.w.in i {
    transform: none;
}

[data-r] {
    opacity: 0;
    transform: translateY(46px) rotate(1.5deg);

    transition:
        opacity .8s,
        transform .9s var(--e);

    transition-delay: var(--d, 0s);
}

[data-r].in {
    opacity: 1;
    transform: none;
}

[data-r=m] {
    transform: none;
    clip-path: inset(0 0 100% 0);
    opacity: 1;

    transition: clip-path 1.1s var(--e);
}

[data-r=m].in {
    clip-path: inset(0);
}

.big {
    font-size: clamp(28px, 4.8vw, 64px);
    max-width: 1000px;
}

.big b {
    background: var(--lime);
    padding: 0 .15em;
    border-radius: 12px;
}

.lbl {
    display: inline-block;

    font-weight: 700;
    font-size: 13px;
    letter-spacing: .14em;
    text-transform: uppercase;

    border: var(--bd);
    background: var(--but);

    padding: 4px 14px;
    border-radius: 30px;

    transform: rotate(-3deg);
    margin-bottom: 14px;
}

.t2 {
    font-size: clamp(34px, 5.6vw, 72px);
    margin-bottom: 12px;
}


/* =========================================================
   16. FEATURE CARDS
========================================================= */

.fg3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 30px;
    margin-top: 40px;
}

.fc {
    border: var(--bd);
    border-radius: 26px;

    padding: 28px;

    box-shadow: var(--hs);
    background: var(--lime);

    transition: transform .3s var(--e);
}

.fc:nth-child(2) {
    background: var(--but);
    margin-top: 30px;
}

.fc:nth-child(3) {
    background: #ffb59f;
}

.fc:hover {
    transform: rotate(-2.5deg) translateY(-8px);
}

.fc .e {
    font-size: 50px;
    display: inline-block;

    animation: wob 3s ease-in-out infinite;
}

.fc h3 {
    font-size: 26px;
    margin: 10px 0 6px;
}


/* =========================================================
   17. STATISTICS
========================================================= */

.stt {
    background: var(--ink);
    color: var(--paper);

    border-block: var(--bd);

    padding: 60px 0;
}

.sg {
    display: grid;
    grid-template-columns: repeat(4, 1fr);

    gap: 20px;
    text-align: center;
}

.sg b {
    display: block;

    font-family: var(--f);
    font-size: clamp(54px, 8vw, 110px);

    color: var(--lime);
    line-height: 1;
}

.sg span {
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    font-size: 13px;
}


/* =========================================================
   18. PROCESS STEPS
========================================================= */

.stp {
    display: grid;
    grid-template-columns: repeat(4, 1fr);

    margin-top: 40px;

    border: var(--bd);
    border-radius: 26px;

    overflow: hidden;

    background: #fff;
    box-shadow: var(--hs);
}

.sp1 {
    padding: 26px 22px;

    border-right: var(--bd);

    position: relative;

    transition: background .3s;
}

.sp1:last-child {
    border: 0;
}

.sp1:hover {
    background: var(--lime);
}

.sp1 .n {
    font-family: var(--f);
    font-size: 80px;
    font-weight: 900;
    line-height: .9;

    -webkit-text-stroke: 2px var(--ink);
    color: transparent;

    transition: .4s;
}

.sp1:hover .n {
    color: var(--ink);
    transform: translateY(-6px) rotate(-6deg);
}

.sp1 h3 {
    font-size: 22px;
    margin: 8px 0 4px;
}


/* =========================================================
   19. ABOUT SECTION
========================================================= */

.sp2 {
    display: grid;
    grid-template-columns: .9fr 1.1fr;

    gap: clamp(30px, 6vw, 80px);

    align-items: center;
}

.arc {
    aspect-ratio: 3 / 4;

    max-width: 430px;
    width: 100%;

    border-radius: 999px 999px 24px 24px;
    border: var(--bd);

    overflow: hidden;

    box-shadow: 12px 12px 0 var(--leaf);

    background: var(--lime);

    margin: auto;
}

.arc img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 1.2s var(--e);
}

.arc:hover img {
    transform: scale(1.08);
}


/* =========================================================
   20. CHIPS & TIPS
========================================================= */

.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;

    margin: 18px 0;
}

.chips span {
    border: var(--bd);
    border-radius: 30px;

    padding: 5px 16px;

    background: #fff;
    font-weight: 700;

    transition: transform .2s;
}

.chips span:hover {
    transform: rotate(-5deg) scale(1.08);
    background: var(--but);
}

.tip {
    background: var(--ink);
    color: var(--paper);

    border-radius: 22px;

    padding: 20px 24px;

    box-shadow: 6px 6px 0 var(--tom);

    margin-bottom: 22px;
}

.tip p {
    transition:
        opacity .4s,
        transform .4s;
}

.tip b {
    color: var(--lime);
}


/* =========================================================
   21. FAQ
========================================================= */

.fq {
    max-width: 820px;
    margin: 34px auto 0;
}

.fq details {
    border: var(--bd);
    border-radius: 20px;

    background: #fff;

    margin-bottom: 14px;
    padding: 16px 22px;

    transition:
        background .3s,
        box-shadow .3s;
}

.fq details[open] {
    background: var(--lime);
    box-shadow: var(--hs);
}

.fq summary {
    list-style: none;
    cursor: pointer;

    font-weight: 700;
    font-size: 18px;

    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.fq summary::-webkit-details-marker {
    display: none;
}

.fq summary:after {
    content: "+";

    font: 900 28px/1 var(--f);

    transition: transform .4s var(--e);
}

.fq details[open] summary:after {
    transform: rotate(135deg);
}

.fq p {
    margin-top: 10px;
}


/* =========================================================
   22. CALL TO ACTION BAND
========================================================= */

.band {
    background: var(--tom);
    color: #fff;

    border-block: var(--bd);

    text-align: center;

    padding: clamp(50px, 8vw, 100px) 0;
}

.band h2 {
    font-size: clamp(36px, 7vw, 92px);

    max-width: 900px;
    margin: 0 auto 24px;
}

.band em {
    color: var(--ink);
}


/* =========================================================
   23. SOCIAL MEDIA
========================================================= */

.soc {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;

    justify-content: center;

    margin-top: 30px;
}

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

    border: var(--bd);
    background: #fff;
    border-radius: 60px;

    padding: 8px 22px 8px 8px;

    box-shadow: 4px 4px 0 var(--ink);

    font-weight: 700;
    line-height: 1.2;

    transition:
        transform .25s var(--e),
        box-shadow .25s;
}

.so:hover {
    transform: translate(4px, 4px) rotate(-2deg);
    box-shadow: 0 0 0 var(--ink);
}

.so small {
    display: block;
    font-weight: 400;
    font-size: 12px;
}

.ic {
    width: 46px;
    height: 46px;

    border-radius: 50%;

    display: grid;
    place-items: center;

    border: 2px solid var(--ink);
    flex: none;
}

.ic svg {
    width: 58%;
    height: 58%;
    fill: #fff;
}

.ig {
    background: linear-gradient(45deg, #fd5949, #d6249f 55%, #285aeb);
}

.wa {
    background: #25d366;
}

.tt {
    background: #000;
}

.fb {
    background: #1877f2;
}

.yt {
    background: #f00;
}

.mi {
    display: flex;
    gap: 10px;
}

.mi .ic {
    width: 42px;
    height: 42px;

    transition: transform .3s var(--e);
}

.mi .ic:hover {
    transform: rotate(360deg) scale(1.15);
}


/* =========================================================
   24. PAGE HEADER
========================================================= */

.ph {
    padding: 150px 0 40px;
    text-align: center;
}

.ph h1 {
    font-size: clamp(46px, 9vw, 130px);
}

.ph p {
    max-width: 540px;
    margin: 14px auto 0;
    font-size: 18px;
}


/* =========================================================
   25. PRODUCT GRID
========================================================= */

.pg {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));

    gap: 36px;

    padding: 30px 0 100px;
}

.pc {
    background: #fff;

    border: var(--bd);
    border-radius: 30px 30px 20px 20px;

    box-shadow: var(--hs);

    padding: 14px;

    position: relative;

    transition:
        transform .3s var(--e),
        box-shadow .3s;
}

.pc:hover {
    transform: translate(-4px, -4px) rotate(-1deg);
    box-shadow: 10px 10px 0 var(--ink);
}

.pc .im {
    aspect-ratio: 4 / 5;

    border-radius: 999px 999px 14px 14px;
    overflow: hidden;

    border: var(--bd);
    background: var(--lime);
}

.pc .im img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform .7s var(--e);
}

.pc:hover .im img {
    transform: scale(1.12) rotate(2deg);
}

.pc .tg {
    position: absolute;
    top: 10px;
    right: 6px;
    z-index: 2;

    background: var(--tom);
    color: #fff;

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

    padding: 5px 12px;

    border: var(--bd);
    border-radius: 30px;

    transform: rotate(8deg);
}

.pc h3 {
    font-size: 24px;
    margin: 14px 6px 4px;
}

.pc p {
    margin: 0 6px 12px;
    font-size: 14px;
    opacity: .8;
}

.pc .pf {
    display: flex;
    justify-content: space-between;
    align-items: center;

    margin: 0 6px 4px;
}

.pc .pf b {
    font: 900 22px var(--f);
}


/* =========================================================
   26. FLYING CART IMAGE
========================================================= */

.fly {
    position: fixed;
    z-index: 9100;

    width: 64px;
    height: 64px;

    object-fit: cover;

    border-radius: 50%;
    border: 3px solid var(--ink);

    pointer-events: none;
}


/* =========================================================
   27. PRODUCT FILTER
========================================================= */

.fl {
    display: flex;
    gap: 12px;

    justify-content: center;
    flex-wrap: wrap;

    margin: 10px 0 36px;
}

.fl button {
    border: var(--bd);
    background: #fff;

    border-radius: 30px;
    padding: 8px 22px;

    font-weight: 700;

    transition: .25s var(--e);
}

.fl button:hover {
    transform: rotate(-4deg);
}

.fl button.on {
    background: var(--ink);
    color: var(--lime);
}


/* =========================================================
   28. GALLERY
========================================================= */

.gg {
    columns: 3 260px;
    column-gap: 24px;

    padding-bottom: 100px;
}

.gi {
    break-inside: avoid;

    margin-bottom: 24px;

    border: var(--bd);
    border-radius: 22px;

    overflow: hidden;

    box-shadow: var(--hs);

    cursor: zoom-in;

    position: relative;

    background: var(--lime);

    transition: transform .3s var(--e);
}

.gi:nth-child(3n + 2) {
    border-radius: 999px 999px 22px 22px;
}

.gi:hover {
    transform: rotate(-1.5deg) scale(1.02);
}

.gi img {
    width: 100%;
    transition: transform .8s var(--e);
}

.gi:hover img {
    transform: scale(1.08);
}

.gi span {
    position: absolute;
    left: 10px;
    bottom: 10px;

    background: var(--paper);

    border: 2px solid var(--ink);
    border-radius: 20px;

    padding: 2px 12px;

    font-size: 13px;
    font-weight: 700;

    transform: translateY(60px);

    transition: transform .4s var(--e);
}

.gi:hover span {
    transform: none;
}

.gi.hide {
    display: none;
}


/* =========================================================
   29. LIGHTBOX
========================================================= */

#lb {
    position: fixed;
    inset: 0;
    z-index: 9200;

    background: rgba(15, 36, 24, .96);

    display: grid;
    place-items: center;
    align-content: center;

    clip-path: circle(0 at 50% 50%);

    transition: clip-path .7s var(--e);

    color: var(--paper);
    text-align: center;
}

#lb.on {
    clip-path: circle(150vmax at 50% 50%);
}

#lb img {
    max-height: 76vh;

    border: 5px solid var(--lime);
    border-radius: 20px;

    box-shadow: 12px 12px 0 var(--tom);
}

#lb p {
    margin-top: 18px;
    font: italic 700 22px var(--f);
}

#lb button {
    position: absolute;

    width: 52px;
    height: 52px;

    border-radius: 50%;
    border: var(--bd);

    background: var(--lime);

    font-size: 22px;
    font-weight: 700;

    color: var(--ink);
}

#lb .x {
    top: 20px;
    right: 20px;
}

#lb .p {
    left: 20px;
}

#lb .n {
    right: 20px;
}


/* =========================================================
   30. ABOUT PAGE
========================================================= */

.ab {
    padding-bottom: 100px;
}

.ab h3 {
    font-size: 30px;

    margin: 22px 0 8px;

    color: var(--leaf);
}

.ab p {
    margin-bottom: 12px;
    font-size: 17px;
}


/* =========================================================
   31. CONTACT PAGE
========================================================= */

.cl {
    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 34px;
    padding-bottom: 100px;
}

.box {
    background: #fff;

    border: var(--bd);
    border-radius: 28px;

    padding: 30px;

    box-shadow: var(--hs);
}

.box h2 {
    font-size: 34px;
    margin-bottom: 14px;
}

.box h3 {
    font-size: 26px;
    margin-bottom: 12px;
}

.ci p {
    margin-bottom: 10px;
}


/* =========================================================
   32. CONTACT FORM
========================================================= */

.fgp {
    margin-bottom: 14px;
}

.fgp label {
    display: block;
    font-weight: 700;
    margin-bottom: 4px;
}

input,
textarea {
    width: 100%;

    border: var(--bd);
    border-radius: 14px;

    padding: 11px 14px;

    background: var(--paper);

    outline: 0;

    transition:
        box-shadow .2s,
        background .2s;
}

textarea {
    min-height: 100px;
    resize: vertical;
}

input:focus,
textarea:focus {
    background: #fff;
    box-shadow: 4px 4px 0 var(--lime);
}


/* =========================================================
   33. CART / CHECKOUT
========================================================= */

.cb {
    display: grid;
    grid-template-columns: 1.5fr 1fr;

    gap: 34px;
    padding-bottom: 100px;

    align-items: start;
}

.it {
    display: grid;
    grid-template-columns: 86px 1fr auto;

    gap: 16px;

    align-items: center;

    padding: 14px 0;

    border-bottom: 2px dashed var(--ink);

    animation: pop .5s var(--e) both;
}

.it img {
    width: 86px;
    height: 86px;

    object-fit: cover;

    border: var(--bd);
    border-radius: 50%;
}

.qt {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    margin-top: 6px;
}

.qt button {
    width: 30px;
    height: 30px;

    border-radius: 50%;
    border: var(--bd);

    background: var(--lime);

    font-weight: 900;

    transition: transform .2s;
}

.qt button:hover {
    transform: scale(1.2);
}

.rm {
    background: none;
    border: 0;

    text-decoration: underline;
    color: var(--tom);

    font-weight: 700;
}

.sr {
    display: flex;
    justify-content: space-between;

    padding: 6px 0;
}

.sr.tt2 {
    font: 900 26px var(--f);

    border-top: 3px solid var(--ink);

    margin-top: 10px;
    padding-top: 12px;
}

.em0 {
    text-align: center;
    padding: 30px 0;
}

.em0 .e {
    font-size: 64px;
}


/* =========================================================
   34. PAYMENT OPTIONS
========================================================= */

.op {
    display: flex;
    justify-content: space-between;
    align-items: center;

    gap: 12px;

    border: var(--bd);
    border-radius: 16px;

    padding: 12px 16px;
    margin-bottom: 10px;

    cursor: pointer;

    transition: .2s;
}

.op input {
    width: auto;
    accent-color: var(--ink);
}

.op span {
    flex: 1;
    margin-left: 10px;
}

.op:has(input:checked) {
    background: var(--lime);
    box-shadow: 4px 4px 0 var(--ink);
}


/* =========================================================
   35. SUCCESS / ORDER COMPLETE
========================================================= */

.ok {
    text-align: center;

    max-width: 680px;
    margin: 0 auto 100px;
}

.ok .e {
    font-size: 76px;

    display: inline-block;

    animation: wob 1.6s infinite;
}


/* =========================================================
   36. CART ANIMATION
========================================================= */

@keyframes pop {
    from {
        opacity: 0;
        transform: scale(.9) translateY(20px);
    }
}


/* =========================================================
   37. FOOTER
========================================================= */

.ft {
    background: var(--ink);
    color: var(--paper);

    padding: 70px 0 30px;

    overflow: hidden;

    border-top: var(--bd);
}

.ft .mega {
    font: 900 clamp(56px, 14vw, 200px) / .85 var(--f);

    color: var(--lime);

    letter-spacing: -.04em;

    margin-bottom: 30px;
}

.ft .mega em {
    color: var(--paper);
}

.ft .row {
    display: flex;
    justify-content: space-between;
    align-items: center;

    gap: 20px;
    flex-wrap: wrap;
}

.ft .mi .ic {
    border-color: var(--lime);
}

.ft small {
    opacity: .7;
}


/* =========================================================
   38. FLOATING BUTTONS
========================================================= */

.fab,
.wf {
    position: fixed;
    right: 18px;
    z-index: 850;

    width: 58px;
    height: 58px;

    border-radius: 50%;
    border: var(--bd);

    display: grid;
    place-items: center;

    font-size: 26px;

    box-shadow: 4px 4px 0 var(--ink);

    transition: transform .25s var(--e);
}

.fab {
    bottom: 20px;
    background: var(--lime);
}

.wf {
    bottom: 92px;
    background: #25d366;
}

.wf svg {
    width: 60%;
    fill: #fff;
}

.fab:hover,
.wf:hover {
    transform: scale(1.12) rotate(-8deg);
}

.fab s {
    text-decoration: none;

    position: absolute;
    top: -8px;
    right: -8px;

    min-width: 24px;
    height: 24px;

    border-radius: 20px;

    background: var(--tom);
    color: #fff;

    border: 2px solid var(--ink);

    font: 700 12px/20px var(--b);

    text-align: center;
}


/* =========================================================
   39. CART BUMP ANIMATION
========================================================= */

.bump {
    animation: bmp .5s;
}

@keyframes bmp {
    40% {
        transform: scale(1.6) rotate(12deg);
    }
}


/* =========================================================
   40. TOAST NOTIFICATION
========================================================= */

#toast {
    position: fixed;
    left: 50%;
    bottom: 26px;

    z-index: 8500;

    opacity: 0;

    transform: translate(-50%, calc(100% + 60px));

    background: var(--ink);
    color: var(--lime);

    border: 3px solid var(--lime);
    padding: 11px 22px;

    border-radius: 40px;

    font-weight: 700;

    transition:
        transform .5s var(--e),
        opacity .3s;

    max-width: 90%;
}

#toast.on {
    opacity: 1;
    transform: translate(-50%, 0);
}


/* =========================================================
   41. CONFETTI
========================================================= */

.cf {
    position: fixed;
    top: -30px;

    z-index: 9100;

    font-size: 26px;

    pointer-events: none;
}


/* =========================================================
   42. RESPONSIVE DESIGN / TABLET & MOBILE
========================================================= */

@media (max-width: 860px) {

    /* Hero buttons */

    .cta {
        padding-right: 64px;
    }


    /* Mobile navigation */

    .bg {
        display: block;
    }

    .nv {
        position: fixed;
        inset: 0;

        z-index: -1;

        background: var(--lime);

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

        gap: 10px;

        clip-path: circle(
            0 at calc(100% - 40px) 40px
        );

        transition: clip-path .8s var(--e);
    }

    .nv.on {
        clip-path: circle(
            150vmax at calc(100% - 40px) 40px
        );
    }

    .nv a {
        font: 900 clamp(34px, 9vw, 54px) var(--f);
    }

    .nv a.on {
        background: none;
        color: var(--tom);
    }


    /* Hero layout */

    .sl .in {
        grid-template-columns: 1fr;

        padding: 100px 0 80px;

        align-content: center;
        gap: 18px;
    }

    .ar {
        width: min(52vw, 230px);
        order: -1;
        justify-self: start;
    }

    .stamp {
        width: 90px;
        height: 90px;

        top: 15%;
        right: 5%;
    }


    /* Hero slider controls */

    .hp,
    .hn {
        bottom: 46px;
    }

    .hp {
        left: 4%;
    }

    .hn {
        left: calc(4% + 58px);
    }

    .hp,
    .hn {
        width: 42px;
        height: 42px;
    }


    /* Hero text */

    .tx p {
        font-size: 16px;
        margin-bottom: 18px;
    }


    /* Responsive grids */

    .fg3,
    .stp,
    .sp2,
    .cl,
    .cb {
        grid-template-columns: 1fr;
    }

    .fc:nth-child(2) {
        margin-top: 0;
    }

    .sg {
        grid-template-columns: 1fr 1fr;
    }

    .sp1 {
        border-right: 0;
        border-bottom: var(--bd);
    }

    .sp1:last-child {
        border: 0;
    }


    /* Cart items */

    .it {
        grid-template-columns: 64px 1fr;
    }

    .it > div:last-child {
        grid-column: 1 / -1;
        text-align: right;
    }

    .it img {
        width: 64px;
        height: 64px;
    }
}


/* =========================================================
   43. REDUCED MOTION / ACCESSIBILITY
========================================================= */

@media (prefers-reduced-motion: reduce) {

    * {
        animation-duration: .01s !important;
        transition-duration: .01s !important;
    }
}
