/* home.css: new home page (2026-11-08). Section blocks use the existing .short-info panels;
   everything new is prefixed home-*. */

/* Section headings are h2 now (one h1 per page); they keep the old gradient h1 look */
.short-info h2.home-h2 {
    font-family: "Livvic ExtraLight", "Times New Roman", Georgia, Serif;
    font-weight: 400;
    font-size: clamp(2.2rem, 3.8vmin, 4.5rem);
    line-height: 1.15;
    /* Room below the baseline: the gradient is clipped to the box, so descenders (y, g, p) need it */
    padding: .06em 0 .15em;
    margin: .34em 0 .6em;
    background: linear-gradient(45deg, #68a3df 30%, #ff93e4 70%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Width and padding stay those of .short-info (90%, max 1200px, 20px padding), as on the live page */
.home-section { margin-top: clamp(48px, 8vw, 110px); }
/* More vertical room inside every section (Andreas, 2026-11-09): above the heading, below the last element,
   and between heading, intro, content and buttons. Side padding stays that of .short-info. */
.short-info.home-section { padding-top: clamp(28px, 4vw, 56px); padding-bottom: clamp(32px, 4.5vw, 64px); }
.home-section .videobox-container { margin-top: clamp(16px, 2vw, 32px); }
.home-section .testimonial-widget { margin-top: clamp(24px, 3vw, 40px); }
.short-info.home-testimonials { padding-bottom: clamp(20px, 2.5vw, 32px); }
.home-testimonials .testimonial-widget { margin-bottom: 0; }
.short-info.home-section p { max-width: 680px; margin: 0 auto 1em; line-height: 1.55; }
/* Product boxes keep their own compact text rules (videobox.css), not the section paragraph rule */
.short-info.home-section .videobox p { max-width: none; margin: 0; line-height: 1.4; }
.short-info.home-section .videobox p.videobox-sub { margin: -45px 0 10px; }
/* Quote cards: same paragraph rules as before the new home page, and a slightly more compact
   two-up layout, so the cards stay close to the old 350px without cutting off any quote */
.short-info.home-section .testimonial-widget p { line-height: normal; margin: 0; }
@media (min-width: 769px) {
    .home-section .testimonial-widget { font-size: 17px; }
    .home-section .testimonial-card { grid-template-columns: 180px minmax(0, 1fr); }
    .home-section .testimonial-image { min-width: 180px; }
    .home-section .testimonial-body { padding-top: 44px; max-width: none; }
}
.short-info.home-section .home-sub {
    max-width: 680px;
    margin: .83em auto;
    font-size: 1.5em;
    font-weight: 700;
    line-height: 1.35;
}

/* Plain text links inside copy (the global a rule adds a shadow and a radius).
   No line at rest, a light pink tint marks them as links; one underline on hover (Andreas, 2026-11-09) */
a.home-link {
    color: #ffc6ef;
    font-size: inherit;
    box-shadow: none;
    border-radius: 0;
    text-decoration: none;
    transition: color .2s;
}
a.home-link:hover, a.home-link:focus-visible {
    color: var(--main-pink);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: .2em;
}

/* Buttons: the existing white .cta-button, as an inline block next to a text link */
a.cta-button.home-cta { display: inline-block; box-sizing: border-box; margin: 0; width: auto; min-width: 240px; padding: 12px 26px; font-size: 1rem; }
.home-ctas { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 28px; margin-top: clamp(36px, 4vw, 56px); }

/* 1 Hero ---------------------------------------------------------------------------------- */
.hero-space.home-hero-space { height: auto; min-height: 100svh; align-items: center; padding: 110px 0 64px; }
.hero-content.home-hero { max-width: 980px; position: relative; }

.hero-content h1.home-claim {
    -webkit-user-select: none;
    user-select: none;
    position: static;
    transform: none;
    display: block;
    width: fit-content;
    max-width: 100%;
    box-sizing: border-box;
    margin: 0 auto;
    /* No box: a soft round shadow directly behind the lines */
    padding: .25em .9em;
    background: radial-gradient(ellipse at center, rgba(0, 0, 0, .42) 0%, rgba(0, 0, 0, .22) 45%, rgba(0, 0, 0, 0) 72%);
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    font-family: "Livvic ExtraLight", "Times New Roman", Georgia, Serif;
    font-weight: 400;
    /* Sized to the ring of dots, which scales with the window height (radius about 34% of it),
       and to the width on narrow phones, so the three lines stay inside the ring (omega, 2026-11-09) */
    font-size: clamp(1.8rem, min(7.4vh, 9vw), 4.4rem);
    line-height: 1.08;
    letter-spacing: -.01em;
    color: #fff;
    -webkit-text-fill-color: #fff;
    text-shadow: 0 2px 24px rgba(0, 0, 0, .45);
}
.home-claim span { display: block; white-space: nowrap; }
.home-claim b {
    font-family: "Livvic Medium", "Times New Roman", Georgia, Serif;
    font-weight: 400;
    background: linear-gradient(90deg, #68a3df 0%, #ff93e4 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.home-lede {
    font-family: "Livvic ExtraLight", "Times New Roman", Georgia, Serif;
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    line-height: 1.5;
    max-width: 720px;
    margin: .9em auto 1.3em;
    text-wrap: pretty; /* natural line breaks, not lines of equal length; only avoids a lone last word */
    text-shadow: 0 1px 12px rgba(0, 0, 0, .6);
    /* Same soft round shadow as behind the claim, instead of a rectangle that broke the circle */
    padding: .9em 2.2em;
    background: radial-gradient(ellipse at center, rgba(0, 0, 0, .5) 0%, rgba(0, 0, 0, .3) 45%, rgba(0, 0, 0, 0) 72%);
}
/* 3 Built with our clients: three figure tiles ----------------------------------------------- */
.short-info.home-section p.home-kicker {
    margin: .6em auto -.2em;
    font-family: "Livvic Medium", "Times New Roman", Georgia, Serif;
    font-size: .8rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--main-pink);
    opacity: .9;
}
.home-tiles { list-style: none; padding: 0; margin: clamp(32px, 3.5vw, 48px) 0 8px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; text-align: left; }
.short-info ul.home-tiles { max-width: none; margin: clamp(32px, 3.5vw, 48px) auto 8px; }
.home-tile {
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 12px;
    overflow: hidden;
    transition: border-color .3s ease, box-shadow .3s ease;
}
.home-tile:hover { border-color: rgba(255, 147, 228, .45); box-shadow: 0 0 30px rgba(255, 147, 228, .15); }
.home-tile-media { display: block; aspect-ratio: 1200 / 630; overflow: hidden; box-shadow: none; border-radius: 0; }
.home-tile-media img, .home-tile-graphic { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.home-tile:hover .home-tile-media img { transform: scale(1.04); }
.home-tile-body { display: flex; flex-direction: column; flex: 1; padding: 18px 22px 22px; }
#consulting-build .home-tile-body { container-type: inline-size; }
.short-info.home-section .home-tile p { text-align: left; max-width: none; margin: 0 0 .8em; line-height: 1.45; text-wrap: pretty; }
.short-info.home-section .home-tile p.home-figure {
    --home-figure-row-size: clamp(1.6rem, 15cqw, 3.6rem);
    margin: 0 0 .45rem;
    padding: .15rem 0; /* Room for ascenders and descenders in the clipped gradient */
    font-family: "Livvic ExtraLight", "Times New Roman", Georgia, Serif;
    font-size: var(--home-figure-row-size);
    line-height: calc(var(--home-figure-row-size) * 1.25);
    text-align: left;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
    background: linear-gradient(45deg, #68a3df 30%, #ff93e4 70%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.short-info.home-section .home-tile p.home-figure-long {
    font-size: clamp(1.2rem, 10.5cqw, 2.5rem);
}
.short-info.home-section .home-tile p.home-tile-meta { margin: auto 0 0; padding-top: .6em; font-size: .85em; opacity: .75; }

/* 6 Training, compact: same tiles as section 3, the level number in the place of the big figure */
.home-train-body { margin-top: clamp(32px, 3.5vw, 48px); }
.home-train-body ul.home-tiles { margin-top: 0; }

/* The whole photo next to the three levels, which stack as rows (Andreas chose this, 2026-11-09) */
.home-training-split .home-train-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: stretch; }
.home-train-photo { display: block; border-radius: 12px; overflow: hidden; box-shadow: none; min-height: 100%; }
.home-train-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.home-training-split .home-tiles { grid-template-columns: 1fr; gap: 14px; margin-bottom: 0; }

.home-tiles-levels {
    --home-level-size: 48px;
    --home-level-left: 24px;
    --home-level-top: 20px;
}
/* Solid numbered steps, joined by a plain line. Hover only changes the card fill. */
.home-tiles-levels .home-tile {
    position: relative;
    overflow: visible;
    border: 0;
    box-shadow: none;
    transition: background-color .12s ease-out;
}
a.home-level-button {
    color: inherit;
    font-size: inherit;
    text-decoration: none;
    box-shadow: none;
    border-radius: inherit;
}
a.home-level-button:hover { text-decoration: none; }
a.home-level-button:focus-visible { outline: 2px solid var(--main-pink); outline-offset: 3px; }
.home-tiles-levels .home-tile:hover,
.home-tiles-levels .home-tile:focus-within {
    background-color: rgba(255, 147, 228, .12);
    box-shadow: none;
    transform: none;
}
.home-tiles-levels .home-tile-body { position: relative; padding: 20px 24px 20px calc(var(--home-level-left) + var(--home-level-size) + 20px); min-height: 104px; box-sizing: border-box; }
.short-info.home-section .home-tile h3.home-level-title {
    margin: 10px 0 .35em;
    text-align: left;
    font-family: "Livvic Medium", "Times New Roman", Georgia, Serif;
    font-weight: 400;
    font-size: 1.3rem;
    line-height: 1.2;
}
.home-level-num {
    position: absolute;
    left: var(--home-level-left);
    top: var(--home-level-top);
    z-index: 1;
    width: var(--home-level-size);
    height: var(--home-level-size);
    display: grid;
    place-items: center;
    border-radius: 50%;
    font-family: "Livvic Medium", "Times New Roman", Georgia, Serif;
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 1;
    padding: 0;
    box-sizing: border-box;
    background: #b8a4db;
    color: #182031;
    -webkit-text-fill-color: currentColor;
}
/* Each connector ends exactly at the next circle, including on narrow screens. */
.home-tiles-levels .home-tile:not(:last-child)::after {
    content: "";
    position: absolute;
    pointer-events: none;
    z-index: 0;
    left: calc(var(--home-level-left) + (var(--home-level-size) - 2px) / 2);
    top: calc(var(--home-level-top) + var(--home-level-size));
    bottom: calc(-1 * (14px + var(--home-level-top)));
    width: 2px;
    border-radius: 1px;
    background: #81758f;
}
.short-info.home-section .home-tiles-levels .home-tile p:last-child { margin-bottom: 0; }

/* 7 Team */
.home-section#team .home-h2 { margin-bottom: clamp(36px, 4vw, 56px); }

/* 8 Philosophy: the original section of the live site, same look as there */
.short-info.home-philosophy h2.home-h2 { font-size: clamp(2.6rem, 3.8vmin, 4.5rem); margin: 1em 0 .5em; }
.short-info.home-philosophy h3 { font-family: "Livvic ExtraLight", "Times New Roman", Georgia, Serif; font-size: 27px; font-weight: 700; margin: 22px 0; }
.short-info.home-section.home-philosophy p { max-width: 600px; margin: 0 auto; padding-bottom: 40px; line-height: normal; }

/* 10 Closing */
.short-info.home-closing { margin-bottom: clamp(24px, 3vw, 40px); }

@media (prefers-reduced-motion: reduce) {
    .home-tiles-levels .home-tile { transition: none; }
}

@media (max-width: 900px) {
    .home-tiles { grid-template-columns: 1fr; max-width: 520px; margin-left: auto; margin-right: auto; }
    .home-training-split .home-train-body { grid-template-columns: 1fr; }
    .home-train-photo { aspect-ratio: 1200 / 630; min-height: 0; max-width: 520px; width: 100%; margin: 0 auto; }
    .home-tiles-levels { --home-level-size: 40px; --home-level-left: 18px; --home-level-top: 18px; }
    .home-tiles-levels .home-tile-body { padding: 18px 18px 18px calc(var(--home-level-left) + var(--home-level-size) + 16px); min-height: 88px; }
    .home-level-num { font-size: 1.25rem; }
    .short-info.home-section .home-tile h3.home-level-title { margin-top: 4px; font-size: 1.2rem; }
}
@media (max-width: 768px) {
    .hero-content h1.home-claim { padding-left: .3em; padding-right: .3em; }
    .hero-space.home-hero-space { min-height: 92svh; padding: 96px 0 48px; }
    a.cta-button.home-cta { min-width: 0; width: min(320px, 88vw); }
    .home-section { width: 94%; box-sizing: border-box; }
}

/* <main> holds the hero and all sections; it keeps the old centred column of .content-wrapper */
.home-main { display: flex; flex-direction: column; align-items: center; width: 100%; }
