/* Lemon Inc. official theme — complete layout styles */

/* Brand */
.brand-logo-link {
    gap: 10px;
    letter-spacing: 0;
}

.brand-logo-link img {
    display: block;
    width: 36px;
    height: 36px;
    object-fit: contain;
    filter: invert(1) brightness(4);
    mix-blend-mode: screen;
}

.brand-wordmark {
    font: 600 18px/1 "DM Sans", sans-serif;
    letter-spacing: .01em;
}

.site-header {
    border-bottom: 1px solid rgba(255, 255, 255, .18);
    background: linear-gradient(180deg, rgba(5, 19, 12, .58), rgba(5, 19, 12, .05));
}

/* Hero */
.hero {
    display: block;
    min-height: 800px;
    padding: 0;
    background: #13291d url("images/hero-event-v1.png") center center / cover no-repeat;
}

.hero::after {
    background: linear-gradient(90deg, rgba(5, 22, 14, .90) 0%, rgba(5, 22, 14, .68) 34%, rgba(5, 22, 14, .28) 61%, rgba(5, 22, 14, .04) 100%);
}

.hero-grid,
.hero-slice {
    display: none;
}

.hero-content {
    position: absolute !important;
    z-index: 2 !important;
    inset: 0 auto 0 5vw;
    width: 60vw;
    max-width: 1120px;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero h1 {
    margin: 18px 0 30px;
    font-family: "Noto Sans KR", sans-serif;
    font-size: clamp(43px, 4.2vw, 78px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -.10em;
    white-space: nowrap;
    text-shadow: 0 3px 28px rgba(0, 0, 0, .26);
}

.hero-copy {
    margin: 0;
    color: #f0f4ee;
    font-size: 17px;
    line-height: 1.85;
    text-shadow: 0 2px 15px rgba(0, 0, 0, .5);
}

.round-link {
    right: 7vw;
    bottom: 58px;
}

.hero-index {
    bottom: 66px;
}

/* About navigation */
.intro {
    padding-top: 145px;
}

.about-card {
    background: rgba(255, 255, 255, .26);
}

.about-card:hover {
    background: var(--lime);
    transform: none;
}

/* Vision */
.vision-section {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 50px;
    padding: 135px 11vw;
    background: #f2f3ee;
}

.vision-heading h2,
.greeting-section h2,
.history-heading h2,
.identity-heading h2 {
    margin: 0;
    font-size: clamp(42px, 5vw, 76px);
    line-height: 1.05;
    letter-spacing: -.075em;
}

.vision-copy {
    max-width: 620px;
    padding-top: 62px;
}

.vision-copy p {
    color: var(--muted);
    font-size: 16px;
    line-height: 2;
}

.vision-copy .vision-lead {
    margin: 0 0 30px;
    color: var(--ink);
    font-size: 23px;
    font-weight: 600;
    line-height: 1.65;
}

.principles {
    grid-column: 1 / -1;
    margin-top: 70px;
}

.principles ol {
    margin: 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid var(--ink);
}

.principles li {
    display: grid;
    grid-template-columns: 15% 1fr;
    gap: 20px;
    padding: 29px 0;
    border-bottom: 1px solid var(--line);
}

.principles li > span {
    color: var(--leaf);
    font: 600 13px "DM Sans", sans-serif;
}

.principles h3 {
    margin: 0 0 8px;
    font-size: 20px;
}

.principles p {
    margin: 0;
    color: var(--muted);
    line-height: 1.8;
}

/* Greeting */
.greeting-section {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 50px;
    padding: 135px 11vw;
    background: #e5ede3;
}

.greeting-message {
    max-width: 660px;
    padding-top: 38px;
    color: #4e5c51;
    font-size: 16px;
    line-height: 2;
}

.greeting-message p {
    margin: 0 0 23px;
}

.greeting-message strong {
    color: var(--ink);
}

.greeting-message .signature {
    margin-top: 48px;
    line-height: 1.8;
}

.greeting-message .signature strong {
    font-size: 20px;
}

/* History */
.history-section {
    padding: 135px 11vw;
    background: #11221a;
    color: #fff;
}

.history-heading .eyebrow {
    color: var(--lime);
}

.timeline {
    margin-top: 72px;
    border-top: 1px solid #718078;
}

.timeline article {
    display: grid;
    grid-template-columns: 24% 1fr;
    padding: 36px 0;
    border-bottom: 1px solid #506055;
}

.timeline time {
    color: var(--lime);
    font: 600 50px "DM Sans", sans-serif;
    letter-spacing: -.07em;
}

.timeline ul {
    margin: 0;
    padding: 2px 0;
    list-style: none;
}

.timeline li {
    margin: 0 0 16px;
    color: #d4ddd4;
    font-size: 15px;
    line-height: 1.8;
}

.timeline li:last-child {
    margin-bottom: 0;
}

.timeline li span {
    display: inline-block;
    width: 58px;
    color: #93ad99;
    font-size: 13px;
}

/* Identity */
.identity-section {
    padding: 135px 11vw;
    background: #f6f5ef;
}

.identity-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 6vw;
}

.identity-heading > p:last-child {
    max-width: 400px;
    margin: 0;
    color: var(--muted);
    line-height: 1.8;
}

.brand-identity-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 65px;
}

.identity-card {
    min-height: 420px;
    padding: 34px;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: 0 12px 35px rgba(23, 41, 31, .04);
}

.identity-card > p {
    margin: 0;
    color: var(--leaf);
    font: 700 11px "DM Sans", sans-serif;
    letter-spacing: .1em;
}

.identity-card img {
    display: block;
    width: auto;
    max-width: 72%;
    max-height: 185px;
    margin: 55px auto 38px;
    object-fit: contain;
}

.corporate-logo-wrap {
    height: 230px;
    margin: 24px 0 16px;
    display: grid;
    place-items: center;
}

.corporate-logo-wrap img {
    width: auto;
    max-width: 220px;
    max-height: 185px;
    margin: 0;
    mix-blend-mode: multiply;
}

.identity-card h3 {
    margin: 0 0 6px;
    font-size: 22px;
}

.identity-card span {
    color: var(--muted);
    font: 12px "DM Sans", sans-serif;
    letter-spacing: .05em;
}

/* Social contribution introduction */
.contribution {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: #11221a;
    color: #fff;
}

.contribution-visual {
    position: relative;
    min-height: 600px;
    overflow: hidden;
    background: #dce969;
    border-right: 1px solid rgba(17, 34, 26, .35);
}

.contribution-visual::before {
    content: "";
    position: absolute;
    inset: 11%;
    border: 1px solid rgba(17, 34, 26, .35);
    border-radius: 0;
    background: transparent;
}

.contribution-visual::after {
    display: none;
}

.contribution-stamp {
    position: absolute;
    z-index: 2;
    top: 16%;
    left: 10%;
    color: #173326;
    font: 700 clamp(36px, 4vw, 64px)/.88 "DM Sans", sans-serif;
    letter-spacing: -.08em;
}

.contribution-visual p {
    position: absolute;
    z-index: 2;
    right: 11%;
    bottom: 13%;
    margin: 0;
    color: #173326;
    font: 25px/1.2 Georgia, serif;
}

.contribution-copy {
    padding: 125px 10vw 90px 8vw;
}

.contribution-copy .eyebrow {
    color: var(--lime);
}

.contribution-copy h2 {
    color: #fff;
}

.contribution-copy > p:not(.eyebrow) {
    max-width: 440px;
    margin: 37px 0;
    color: #c4cec5;
    line-height: 2;
}

/* Support categories */
.contribution-detail {
    padding: 125px 11vw;
    background: #e9eee6;
}

.contribution-detail h2 {
    margin: 0;
    font-size: clamp(32px, 3.5vw, 52px);
    line-height: 1.16;
    letter-spacing: -.065em;
}

.support-title-row {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 45px;
}

.support-title-row > p {
    max-width: 410px;
    margin: 0;
    color: var(--muted);
    line-height: 1.9;
}

.support-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    margin-top: 62px;
    border-top: 1px solid var(--ink);
    border-left: 1px solid var(--ink);
}

.support-grid .support-card {
    position: relative;
    min-width: 0;
    min-height: 390px;
    padding: 28px;
    background: transparent;
    border: 0;
    border-right: 1px solid var(--ink);
    border-bottom: 1px solid var(--ink);
    transition: background .25s;
}

.support-grid .support-card:hover {
    background: rgba(255, 255, 255, .68);
}

.support-number {
    margin: 0 0 42px;
    color: var(--leaf);
    font: 600 12px "DM Sans", sans-serif;
}

.support-category {
    margin: 0 0 24px;
    color: var(--ink);
    font-size: 13px;
    font-weight: 700;
}

.support-grid .support-card img {
    display: block;
    width: 170px;
    max-width: 100%;
    height: 58px;
    margin: 0 0 38px;
    object-fit: contain;
    object-position: left center;
    mix-blend-mode: multiply;
}

.support-grid .support-card h3 {
    margin: 0 0 12px;
    font-size: 19px;
}

.support-grid .support-card > p:last-child {
    max-width: 270px;
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.85;
}

/* Contact */
.contact-section {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 50px;
    padding: 110px 11vw;
    background: #dce969;
}

.contact-section .eyebrow {
    margin: 0;
    color: #1c4c34;
}

.contact-section h2 {
    margin: 0 0 16px;
    font-size: clamp(36px, 4vw, 60px);
    letter-spacing: -.07em;
}

.contact-section p:last-child {
    margin: 0;
    color: #31503e;
    font-size: 16px;
    line-height: 1.9;
}

.footer-brand img {
    width: 32px;
    height: 32px;
    filter: invert(1) brightness(5);
    mix-blend-mode: screen;
}

/* Tablet and mobile */
@media (max-width: 780px) {
    .brand-logo-link {
        gap: 8px;
    }

    .brand-logo-link img {
        width: 30px;
        height: 30px;
    }

    .brand-wordmark {
        font-size: 15px;
    }

    .hero {
        min-height: 690px;
        background-position: 62% center;
    }

    .hero::after {
        background: linear-gradient(180deg, rgba(5, 22, 14, .40) 0%, rgba(5, 22, 14, .74) 65%, rgba(5, 22, 14, .88) 100%);
    }

    .hero-content {
        inset: 0;
        width: 100%;
        padding: 115px 25px 0;
    }

    .hero h1 {
        font-size: clamp(33px, 9vw, 50px);
        line-height: 1.2;
        white-space: normal;
    }

    .hero-copy {
        font-size: 15px;
    }

    .vision-section,
    .greeting-section {
        display: block;
        padding: 85px 27px;
    }

    .vision-copy {
        padding-top: 34px;
    }

    .vision-copy .vision-lead {
        font-size: 19px;
    }

    .principles {
        margin-top: 54px;
    }

    .principles li {
        grid-template-columns: 48px 1fr;
    }

    .principles h3 {
        font-size: 17px;
    }

    .history-section,
    .identity-section {
        padding: 85px 27px;
    }

    .timeline {
        margin-top: 45px;
    }

    .timeline article {
        display: block;
    }

    .timeline time {
        display: block;
        margin-bottom: 21px;
        font-size: 40px;
    }

    .timeline li {
        font-size: 14px;
    }

    .identity-heading,
    .support-title-row {
        display: block;
    }

    .identity-heading > p:last-child,
    .support-title-row > p {
        margin-top: 26px;
    }

    .brand-identity-grid,
    .support-grid {
        grid-template-columns: 1fr;
        margin-top: 42px;
    }

    .identity-card {
        min-height: 340px;
    }

    .corporate-logo-wrap {
        height: 175px;
    }

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

    .contribution-visual {
        min-height: 390px;
    }

    .contribution-stamp {
        font-size: 48px;
    }

    .contribution-copy,
    .contribution-detail,
    .news {
        padding: 82px 27px;
    }

    .support-grid .support-card {
        min-height: 300px;
        padding: 24px;
    }

    .support-number {
        margin-bottom: 28px;
    }

    .support-grid .support-card img {
        margin-bottom: 30px;
    }

    .contact-section {
        display: block;
        padding: 78px 27px;
    }

    .contact-section .eyebrow {
        margin-bottom: 40px;
    }

    .contact-section h2 {
        font-size: 42px;
    }
}
