:where(.oma-os-surface) {
    color: var(--oma-color-ink);
    background: var(--oma-color-paper);
    font-family: var(--oma-font-body);
    line-height: 1.7;
}

:where(.oma-os-surface h1, .oma-os-surface h2, .oma-os-surface h3) {
    color: var(--oma-color-forest);
    font-family: var(--oma-font-heading);
    font-weight: 500;
    letter-spacing: -.025em;
    line-height: 1.08;
}

:where(.oma-os-section) {
    padding-block: var(--oma-space-section);
}

:where(.oma-os-card) {
    background: color-mix(in srgb, var(--oma-color-paper) 92%, white);
    border: 1px solid color-mix(in srgb, var(--oma-color-stone) 34%, transparent);
    border-radius: var(--oma-radius-soft);
    box-shadow: var(--oma-shadow-soft);
}

:where(.oma-human-frame) {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: min(78vh, 760px);
    color: var(--oma-color-paper);
    background: var(--oma-color-dusk);
    border-radius: var(--oma-radius-soft);
}

:where(.oma-human-frame__media) {
    position: absolute;
    z-index: -2;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

:where(.oma-human-frame)::after {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    background: var(--oma-overlay-story);
}

:where(.oma-human-frame__story) {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    box-sizing: border-box;
    min-height: inherit;
    max-width: 42rem;
    padding: clamp(2rem, 7vw, 6rem);
}

:where(.oma-human-frame__story blockquote) {
    margin: 0;
    font-family: var(--oma-font-heading);
    font-size: clamp(2rem, 5vw, 4.6rem);
    font-weight: 500;
    line-height: 1.04;
}

:where(.oma-presence-grid) {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: clamp(1rem, 2vw, 2rem);
}

:where(.oma-presence-grid > :nth-child(3n + 1)) {
    grid-column: span 7;
}

:where(.oma-presence-grid > :nth-child(3n + 2)) {
    grid-column: span 5;
}

:where(.oma-presence-grid > :nth-child(3n)) {
    grid-column: 3 / span 8;
}

@media (max-width: 720px) {
    :where(.oma-presence-grid > *) {
        grid-column: 1 / -1 !important;
    }

    :where(.oma-human-frame) {
        width: 100%;
        min-width: 0;
        min-height: 560px;
        border-radius: 18px;
    }

    :where(.oma-human-frame)::after {
        background: linear-gradient(180deg, rgba(20, 25, 21, .42), rgba(20, 25, 21, .8));
    }

    :where(.oma-human-frame__story) {
        width: 100%;
        min-width: 0;
        max-width: 100%;
        min-height: 560px;
        padding: 34px 18px;
        justify-content: center;
    }

    :where(.oma-human-frame__story h1, .oma-human-frame__story h2, .oma-human-frame__story h3, .oma-human-frame__story p, .oma-human-frame__story blockquote) {
        width: 100%;
        max-width: 100%;
        overflow-wrap: anywhere;
        word-break: normal;
        hyphens: auto;
    }

    :where(.oma-human-frame__story blockquote) {
        font-size: clamp(25px, 7.4vw, 36px);
        line-height: 1.3;
    }

    :where(.oma-presence-hero h1) {
        font-size: clamp(34px, 10vw, 48px) !important;
        line-height: 1.04 !important;
    }

    :where(.oma-presence-hero__body) {
        font-size: 17px;
        line-height: 1.55;
    }
}

.footer-social.oma-social-links {
    gap: 12px;
}

.footer-social .oma-social-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 12px;
    color: inherit;
    text-decoration: none;
    border: 1px solid rgba(255,255,255,.3);
    border-radius: 999px;
}

.footer-social .oma-social-link:hover {
    background: rgba(255,255,255,.12);
}

.footer-social .oma-social-link b {
    font-size: 13px;
}

.oma-social-card {
    max-width: 1180px;
    box-sizing: border-box;
    margin: clamp(2rem, 6vw, 6rem) auto;
    padding: clamp(2rem, 6vw, 5rem);
    text-align: center;
    color: var(--oma-color-paper);
    background: linear-gradient(135deg, var(--oma-color-forest), var(--oma-color-sea));
    border-radius: 28px;
    box-shadow: var(--oma-shadow-soft);
}

.oma-social-card h2 {
    margin: .35rem 0 1rem;
    color: inherit;
    font-size: clamp(2.4rem, 5vw, 4.8rem);
}

.oma-social-card__eyebrow {
    margin: 0;
    color: var(--oma-color-sand);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .16em;
}

.oma-social-card__links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 2rem;
}

.oma-social-card__links a {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 13px 22px;
    color: var(--oma-color-forest);
    background: var(--oma-color-paper);
    text-decoration: none;
    font-weight: 750;
    border-radius: 999px;
}

.oma-contact-card {
    margin: clamp(2.5rem, 6vw, 6rem) 0 0;
    padding: clamp(2rem, 6vw, 5rem);
    text-align: center;
    color: var(--oma-color-paper);
    background:
        radial-gradient(circle at 82% 18%, rgba(216,203,181,.2), transparent 30%),
        linear-gradient(135deg, var(--oma-color-forest), var(--oma-color-sea));
    border-radius: 28px;
}

.oma-about-contact-fallback {
    padding: 0 5vw 5vw;
    background: var(--oma-color-paper);
}

.oma-about-contact-fallback .oma-contact-card {
    max-width: 1370px;
    margin-inline: auto;
}

.oma-contact-card h2 {
    margin: .35rem 0 1rem;
    color: inherit;
    font-size: clamp(2.5rem, 5vw, 4.8rem);
}

.oma-contact-card__eyebrow {
    margin: 0;
    color: var(--oma-color-sand);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .16em;
}

.oma-contact-card > a {
    display: inline-flex;
    margin-top: 1.4rem;
    padding: 13px 24px;
    color: var(--oma-color-forest);
    background: var(--oma-color-paper);
    text-decoration: none;
    font-weight: 750;
    border-radius: 999px;
}

.oma-shop-intro {
    margin: 0 0 clamp(2.5rem, 6vw, 5rem);
    padding: clamp(2.5rem, 7vw, 5.5rem);
    text-align: center;
    background: var(--oma-color-paper);
    border: 1px solid color-mix(in srgb, var(--oma-color-stone) 34%, transparent);
    border-radius: 28px;
    box-shadow: var(--oma-shadow-soft);
}

.oma-shop-intro__eyebrow {
    margin: 0;
    color: var(--oma-color-ember);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .16em;
}

.oma-shop-intro h2 {
    margin: .35rem 0 1.25rem;
    font-size: clamp(3rem, 7vw, 6rem);
}

.oma-shop-intro__content {
    max-width: 760px;
    margin: 0 auto;
    font-size: 18px;
}

.oma-shop-intro__gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 2.5rem;
}

.oma-shop-intro__gallery figure {
    overflow: hidden;
    aspect-ratio: 4 / 3;
    margin: 0;
    border-radius: 18px;
}

.oma-shop-intro__gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 720px) {
    .oma-shop-intro__gallery {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: no-preference) {
    :where(.oma-os-card, .oma-os-button) {
        transition: transform 220ms ease, box-shadow 220ms ease;
    }
}

.oma-tarinapaja--public {
    max-width: 920px;
    box-sizing: border-box;
    margin: clamp(2rem, 6vw, 6rem) auto;
    padding: clamp(1.5rem, 5vw, 4rem);
    background: var(--oma-color-paper);
    border: 1px solid color-mix(in srgb, var(--oma-color-stone) 38%, transparent);
    border-radius: 28px;
    box-shadow: var(--oma-shadow-soft);
}

.oma-tarinapaja--public h2 {
    margin: .25rem 0 1rem;
    font-size: clamp(2.4rem, 6vw, 5rem);
}

.oma-tarinapaja__eyebrow {
    color: var(--oma-color-ember);
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .16em;
}

.oma-tarinapaja__questions,
.oma-tarinapaja__result {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
    margin-top: 2rem;
}

.oma-tarinapaja--public label,
.oma-tarinapaja--public label > span {
    display: block;
}

.oma-tarinapaja--public label > span {
    margin-bottom: .45rem;
    font-weight: 650;
}

.oma-tarinapaja--public input[type="text"],
.oma-tarinapaja--public select,
.oma-tarinapaja--public textarea {
    width: 100%;
    box-sizing: border-box;
    padding: .85rem 1rem;
    color: var(--oma-color-ink);
    background: #fff;
    border: 1px solid var(--oma-color-stone);
    border-radius: 12px;
    font: inherit;
}

.oma-tarinapaja__wide,
.oma-tarinapaja__result > label,
.oma-tarinapaja__consent {
    grid-column: 1 / -1;
}

.oma-tarinapaja__button {
    margin-top: 1.5rem;
    padding: .9rem 1.4rem;
    color: var(--oma-color-paper);
    background: var(--oma-color-forest);
    border: 0;
    border-radius: 999px;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.oma-tarinapaja__result {
    padding-top: 2rem;
    border-top: 1px solid var(--oma-color-stone);
}

.oma-tarinapaja__consent {
    display: flex !important;
    align-items: flex-start;
    gap: .75rem;
}

.oma-tarinapaja__consent > span {
    margin: 0 !important;
    font-weight: 400 !important;
}

.oma-tarinapaja__notice {
    margin: 1.5rem 0;
    padding: 1rem 1.2rem;
    background: var(--oma-color-linen);
    border-radius: 12px;
}

.oma-tarinapaja__honey {
    position: absolute !important;
    left: -9999px !important;
}

@media (max-width: 720px) {
    .oma-tarinapaja__questions,
    .oma-tarinapaja__result {
        grid-template-columns: 1fr;
    }
}
