/* ioann-karpovka «home_hero» block (task 10). Design: docs/design/Site.dc.html?page=home, first section
   under is.home. The grid is intrinsic (auto-fit collapses to one column below ~968px), so no media
   queries are needed here. If one is ever added: mobile = not all and (min-width: 768px),
   desktop = (min-width: 768px); never max-width (task 36). The design's cqw (page frame) is vw here. */
.ik-home-hero {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
    gap: 40px 64px;
    align-items: center;
    padding-block: clamp(40px, 6vw, 72px) clamp(56px, 8vw, 96px);
}
.ik-home-hero__copy {
    display: flex;
    flex-direction: column;
    gap: 28px;
    align-items: flex-start;
    min-width: 0;
}
.ik-home-hero__title {
    margin: 0;
    font: 600 clamp(48px, 6vw, 76px)/.98 var(--font-title);
    letter-spacing: -.015em;
    color: var(--iskm-navy);
    text-wrap: balance;
    overflow-wrap: break-word;
}
.ik-home-hero__flower {
    display: inline-block;
    width: .42em;
    height: .42em;
    margin-left: 1.3em;
    vertical-align: .05em;
}
.ik-home-hero__lead {
    margin: 0;
    max-width: 560px;
    font: italic 400 26px/1.3 var(--font-title);
    color: var(--iskm-mauve-700);
    text-wrap: pretty;
}
.ik-home-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 8px;
    max-width: 100%;
    align-self: stretch;
}
/* Task 78 (D12): the flower banner takes its own full-width row under the buttons (16px row gap of the actions). */
.ik-home-hero__banner { flex: 1 1 100%; min-width: 0; }
.ik-home-hero__media {
    position: relative;
    height: 600px;
    min-width: 0;
}
.ik-home-hero__panel {
    position: absolute;
    /* -5% of the column, but never beyond the page gutter (else a column wider than ~400px, e.g. 767-968px, overflows) */
    left: max(-5%, calc(var(--gutter, 32px) * -1));
    right: max(-5%, calc(var(--gutter, 32px) * -1));
    bottom: 0;
    height: 62%;
    border-radius: 20px;
    overflow: hidden;
    background: var(--iskm-cream);
}
.ik-home-hero__arch.ik-arch {
    position: relative;
    width: min(480px, 96%);
    height: 560px;
    aspect-ratio: auto;
    margin-inline: auto;
    padding: 10px;
    background: var(--iskm-cream-50);
    border-radius: 50% 50% 20px 20px / 150px 150px 20px 20px;
}
.ik-home-hero__arch .ik-arch__inner { border-radius: 50% 50% 12px 12px / 140px 140px 12px 12px; }
.ik-home-hero__arch .ik-arch__img { object-position: 70% top; }
