.yfd-page {
    --yfd-ink: #163949;
    --yfd-paper: #f3eee3;
    --yfd-rule: #a5b1b7;
    margin: 0;
    color: var(--yfd-ink);
    background: #fff;
    font-family: "dinot", "DIN OT", Arial, sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 28px;
}
.yfd-page *, .yfd-page *::before, .yfd-page *::after { box-sizing: border-box; }
.yfd-page h1, .yfd-page h2, .yfd-page p, .yfd-page ul, .yfd-page figure { margin: 0; }
.yfd-page a { color: inherit; text-underline-offset: 3px; }
.yfd-page button, .yfd-page input { font: inherit; color: inherit; }
.yfd-page button, .yfd-page a, .yfd-page input { -webkit-tap-highlight-color: transparent; }
.yfd-page a:focus-visible, .yfd-page button:focus-visible, .yfd-page input:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 5px;
}
.yfd-page [hidden] { display: none !important; }
.yfd-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}
.yfd-skip-link { position: fixed; z-index: 102; top: -70px; left: 90px; padding: 12px 20px; background: #fff; }
.yfd-skip-link:focus { top: 8px; }

/* A landing-page variant of the shared MainMenu view component. */
.yfd-nav {
    position: absolute;
    z-index: 100;
    inset: 0 0 auto;
    display: flex;
    align-items: center;
    height: 60px;
    color: #000;
    background: #fff;
    font-size: 14px;
    font-weight: 500;
    line-height: 18px;
}
.yfd-nav a { text-decoration: none; }
.yfd-nav a:hover { text-decoration: underline; }
.yfd-nav__logo { display: grid; place-items: center; flex: 0 0 79px; align-self: stretch; background: #000; }
.yfd-nav__logo img { display: block; }
.yfd-nav__links { display: flex; align-items: center; gap: 24px; padding: 0 24px 0 72px; list-style: none; }
.yfd-nav__links a { display: flex; align-items: center; min-height: 44px; white-space: nowrap; }
.yfd-nav__utilities { display: flex; align-items: center; gap: 22px; margin-left: auto; padding: 0 41px; }
.yfd-nav__utilities a { display: grid; place-items: center; min-width: 24px; min-height: 44px; }
.yfd-nav__language { font-size: 12px; font-weight: 700; }
.yfd-nav__toggle { display: none; }

.yfd-scenes { max-width: 1920px; margin-inline: auto; }
.yfd-scene, .yfd-contact { height: 100vh; max-height: 100vh; min-height: 0; }
.yfd-scene {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    container-type: inline-size;
    font-size: clamp(15px, min(1.25vw, 2.4vh), 24px);
    line-height: 1.5556;
    background: #f5f5f7;
}
.yfd-scene h1, .yfd-scene h2:not(.yfd-lead) {
    font-size: clamp(28px, min(2.778vw, 5vh), 53.333px);
    line-height: 1.2;
    font-weight: 500;
    text-wrap: pretty;
}
.yfd-scene .yfd-lead { font-size: clamp(18px, min(1.667vw, 3.2vh), 32px); line-height: 1.1667; font-weight: 400; }
.yfd-scene__visual { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.yfd-scene__visual img { display: block; max-width: none; }
.yfd-scene__layout { position: relative; width: 85%; height: 100%; margin-inline: auto; overflow-x: hidden; overflow-y: auto; scrollbar-width: thin; }
.yfd-hero__visual > img { width: 100%; height: 100%; object-fit: cover; }
.yfd-hero__layout { display: grid; grid-template-rows: auto minmax(20px, 1fr) auto; padding-block: clamp(88px, 18vh, 195px) clamp(20px, 6.667vh, 80px); }
.yfd-hero__intro { grid-row: 1; }
.yfd-hero__intro > .yfd-lead { margin-top: 16px; }
.yfd-wordmark { position: relative; width: 343.82px; height: 82.0023px; margin-top: clamp(16px, 4vh, 36px); }
.yfd-wordmark img, .yfd-wordmark > svg { position: absolute; display: block; max-width: none; }
.yfd-wordmark__first { left: 11.89%; top: 0; }
.yfd-wordmark__your { left: 0; top: 52.33%; }
.yfd-wordmark__durst { right: 0; top: 52.33%; }
.yfd-hero__details { grid-row: 3; width: 31.22%; }
.yfd-hero__details h2.yfd-lead { font-weight: 500; }
.yfd-request-links { display: grid; gap: 10px; margin-top: 24px; }
.yfd-request-links a { display: flex; align-items: center; gap: 7px; width: fit-content; min-height: 28px; font-weight: 500; text-decoration: none; }
.yfd-request-links a:hover { text-decoration: underline; }
.yfd-request-links img { flex: 0 0 auto; }
.yfd-ecosystem::after { content: ""; position: absolute; z-index: 1; inset: 0 0 auto; height: 1px; background: url('/assets/your-first-durst/section-line.svg') top / 100% 1px no-repeat; pointer-events: none; }
.yfd-ecosystem__visual { left: -.4%; right: -.01%; }
.yfd-ecosystem__visual > img { position: absolute; width: 177.58%; height: 160.28%; left: -38.81%; top: -34.16%; object-fit: cover; }
.yfd-ecosystem__layout { display: grid; align-content: start; padding-top: 47.44vh; padding-bottom: 24px; }
.yfd-ecosystem__copy { max-width: 67%; }
.yfd-ecosystem__copy h2 { margin-bottom: 16px; }
.yfd-ecosystem__copy > p:not(.yfd-lead) { max-width: 74%; }
.yfd-costs { color: var(--yfd-paper); background: #303232; }
.yfd-costs__visual { transform-origin: 0 0; transform: translate(-473.471%, -101.534%) scale(8.097829); }
.yfd-costs__layout { padding-top: 15.67vh; padding-bottom: 24px; }
.yfd-costs__copy { max-width: 43.1%; }
.yfd-costs__copy h2 { margin-bottom: 16px; }
.yfd-test { background: #fff; }
.yfd-test__visual { left: 35.694%; }
.yfd-test__visual > img { position: absolute; width: 100%; height: 137.8%; top: 0; left: 0; object-fit: cover; object-position: top center; }
.yfd-test__layout { display: grid; align-content: start; padding-top: 31.44vh; padding-bottom: 24px; }
.yfd-test__copy { width: 43.76%; }
.yfd-test__copy h2 { max-width: 98%; margin-bottom: 28px; }
.yfd-test__description { margin-top: 24px !important; }
.yfd-test .yfd-request-links { margin-top: 32px; }

/* The shared sticky image uses exactly the two sections' existing scroll range. */
.yfd-zoom-sequence { position: relative; isolation: isolate; }
.yfd-zoom-stage { display: none; position: absolute; inset: 0; pointer-events: none; }
.yfd-zoom-stage__viewport { position: sticky; top: 0; height: 100vh; overflow: hidden; isolation: isolate; background: #f5f5f7; }
.yfd-zoom-stage__viewport > .yfd-scene__visual { z-index: 0; will-change: transform; }
.has-zoom > .yfd-zoom-stage { display: block; }
.has-zoom > .yfd-scene { z-index: 1; background: transparent; }
.has-zoom > .yfd-scene > .yfd-scene__visual { visibility: hidden; }

/* The form keeps the Figma field order and its original Italian copy. */
.yfd-contact { display: flex; flex-direction: column; overflow-x: hidden; overflow-y: auto; background: url('/assets/your-first-durst/section-line.svg') top / 100% 1px no-repeat; padding: clamp(24px, 4vh, 48px) 24px; scroll-margin-top: 0; }
.yfd-form { flex: 0 0 auto; width: min(100%, 808px); margin: auto; }
.yfd-form__fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 24px; }
.yfd-field { min-width: 0; background: url('/assets/your-first-durst/field-line.svg') left bottom / 100% 1px no-repeat; }
.yfd-field input { width: 100%; min-width: 0; height: 31px; padding: 0 0 7px; border: 0; border-radius: 0; background: transparent; }
.yfd-field input::placeholder { color: var(--yfd-ink); opacity: 1; }
.yfd-field:focus-within { box-shadow: 0 1px 0 var(--yfd-ink); }
.yfd-field input:user-invalid { box-shadow: 0 2px 0 #b13a31; }
.yfd-form fieldset { min-width: 0; padding: 0; border: 0; margin: 24px 0 0; }
.yfd-form legend { padding: 0; margin-bottom: 16px; }
.yfd-check { display: flex; align-items: flex-start; gap: 20px; cursor: pointer; }
.yfd-check input[type="checkbox"] {
    appearance: none;
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    margin: 5px 0 0;
    border: 1px solid var(--yfd-ink);
    border-radius: 0;
    background: #fff;
    cursor: pointer;
}
.yfd-check input[type="checkbox"]:checked { background: var(--yfd-ink); box-shadow: inset 0 0 0 3px #fff; }
.yfd-form__requests .yfd-check + .yfd-check { margin-top: 12px; }
.yfd-form__newsletter { gap: 16px; margin-top: clamp(24px, 3.5vh, 32px); }
.yfd-form__newsletter > img { flex: 0 0 auto; margin-top: 1px; }
.yfd-form__newsletter > span { flex: 1; max-width: 653px; }
.yfd-form__newsletter > input { margin-left: auto !important; }
.yfd-form__newsletter-title { display: block; margin-bottom: 2px; }
.yfd-form__privacy { justify-content: space-between; gap: 40px; margin-top: clamp(24px, 3.5vh, 32px); font-size: 14px; line-height: 24px; }
.yfd-form__privacy > span { display: block; max-width: 703px; }
.yfd-form__privacy-title { display: block; margin-bottom: 1px; font-size: 16px; font-weight: 300; line-height: 26px; }
.yfd-form__submit { margin-top: clamp(24px, 3.5vh, 32px); text-align: center; }
.yfd-button { display: inline-flex; justify-content: center; align-items: center; min-width: 184px; min-height: 52px; padding: 14px 30px; border: 1px solid currentColor; border-radius: 0; background: transparent; font-size: 16px; font-weight: 400; line-height: 22px; text-transform: uppercase; text-decoration: none; cursor: pointer; }
.yfd-button:hover { background: var(--yfd-ink); color: #fff; }
.yfd-form__email-note { margin-top: 12px !important; font-size: 13px; line-height: 20px; }
.yfd-form__terms { margin-top: clamp(24px, 4vh, 40px) !important; font-size: 14px; line-height: 24px; overflow-wrap: anywhere; }
.yfd-form__status { margin-top: 24px !important; padding: 16px; border: 1px solid var(--yfd-rule); font-size: 16px; }

/* A semantic footer follows the structure of the existing Durst website. */
.yfd-footer__information { padding: 105px 7.5% 55px; background: #000; color: #fff; }
.yfd-footer__wrap { max-width: 1230px; margin-inline: auto; }
.yfd-footer__social, .yfd-footer__address, .yfd-footer__legal, .yfd-footer__subscribe { display: flex; justify-content: space-between; gap: 32px; }
.yfd-footer__social { align-items: center; font-size: 16px; }
.yfd-footer__social ul { display: flex; gap: 22px; padding: 0; list-style: none; }
.yfd-footer__social a { display: grid; place-items: center; min-width: 22px; min-height: 32px; font-weight: 700; text-decoration: none; }
.yfd-footer__social img { display: block; width: 18px; height: 18px; object-fit: contain; }
.yfd-footer__address { align-items: center; margin-top: 100px; font-size: 16px; line-height: 24px; }
.yfd-footer__address h2 { margin-bottom: 12px; font-size: 18px; line-height: 24px; font-weight: 400; text-transform: uppercase; }
.yfd-footer address { font-style: normal; }
.yfd-footer address a { text-decoration: none; }
.yfd-footer__actions { display: flex; gap: 44px; }
.yfd-footer__actions .yfd-button { max-width: 276px; min-width: 240px; font-size: 14px; }
.yfd-footer__information .yfd-button:hover { color: #000; background: #fff; }
.yfd-footer__legal { margin-top: 100px; padding-top: 45px; border-top: 1px solid #545454; font-size: 11px; line-height: 20px; }
.yfd-footer__legal nav, .yfd-footer__legal > div { display: flex; flex-wrap: wrap; gap: 0 10px; align-content: start; }
.yfd-footer__legal nav { flex-shrink: 0; }
.yfd-footer__legal a { text-decoration: none; }
.yfd-footer__legal a:hover { text-decoration: underline; }
.yfd-footer__subscribe { align-items: center; max-width: 1100px; margin: 0 auto; padding: 100px 24px; color: #111; }
.yfd-footer__subscribe h2 { font-size: 26px; line-height: 32px; font-weight: 400; text-transform: uppercase; }
.yfd-footer__subscribe p { font-size: 14px; line-height: 20px; }
.yfd-footer__subscribe .yfd-button { min-width: 140px; font-size: 14px; }

@media (min-width: 1920px) {
    .yfd-wordmark { margin-top: 48px; }
}
@media (max-width: 1100px) {
    .yfd-wordmark { transform: scale(.85); transform-origin: left top; margin-top: 24px; margin-bottom: -12px; }
    .yfd-nav__links { padding-left: 32px; gap: 18px; }
    .yfd-nav__utilities { padding-inline: 24px; }
    .yfd-footer__actions { gap: 20px; }
    .yfd-footer__actions .yfd-button { min-width: 180px; }
    .yfd-footer__legal { flex-direction: column; gap: 16px; }
}
@media (max-width: 1023px) {
    .yfd-nav__toggle { display: grid; place-content: center; gap: 6px; width: 48px; height: 48px; padding: 10px; margin-left: auto; border: 0; background: transparent; cursor: pointer; }
    .yfd-nav__toggle > span:not(.yfd-sr-only) { width: 23px; height: 1px; background: #000; }
    .yfd-nav__toggle[aria-expanded="true"] > span:first-child { transform: translateY(3.5px) rotate(45deg); }
    .yfd-nav__toggle[aria-expanded="true"] > span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }
    .yfd-nav__utilities { margin-left: 12px; padding-right: 24px; gap: 16px; }
    .yfd-nav__links { display: none; position: absolute; top: 60px; left: 0; right: 0; padding: 24px; background: #fff; border-top: 1px solid #e1e5e7; box-shadow: 0 16px 24px #16394914; }
    .yfd-nav__links.is-open { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 24px; }
}
@media (max-width: 1023px) {
    .yfd-scene { font-size: clamp(15px, 2.2vh, 18px); line-height: 1.5; container-type: normal; }
    .yfd-scene h1, .yfd-scene h2:not(.yfd-lead) { font-size: clamp(28px, min(5vw, 4.6vh), 40px); line-height: 1.2; }
    .yfd-scene .yfd-lead { font-size: clamp(18px, 2.7vh, 22px); line-height: 1.27; }
    .yfd-scene__layout { width: auto; margin: 0; padding: 40px 7.5%; }
    .yfd-hero__layout { padding-block: 88px 28px; }
    .yfd-hero__intro { padding-bottom: 12px; background: #f5f5f7; box-shadow: 0 12px 24px #f5f5f7; }
    .yfd-hero__intro > .yfd-lead { margin-top: 12px; }
    .yfd-wordmark { margin-top: 18px; }
    .yfd-hero__visual { inset: 30% -55% 27% -65%; }
    .yfd-hero__details { width: auto; padding-top: 8px; background: #f5f5f7; box-shadow: 0 -16px 24px #f5f5f7; }
    .yfd-hero__details > p { max-width: 560px; }
    .yfd-request-links { gap: 2px; margin-top: 16px; }
    .yfd-request-links a { min-height: 44px; }
    .yfd-ecosystem__visual { inset: 0; }
    .yfd-ecosystem__visual > img { width: 240%; height: auto; left: -70%; top: 5%; }
    .yfd-ecosystem__layout { align-content: end; padding-bottom: 6vh; background: linear-gradient(transparent 40%, #f5f5f7 75%); }
    .yfd-ecosystem__copy, .yfd-ecosystem__copy > p:not(.yfd-lead) { max-width: 640px; }
    .yfd-costs__layout { padding-top: clamp(32px, 8vh, 70px); background: linear-gradient(#303232e6, #30323266 55%, transparent); }
    .yfd-costs__copy { max-width: 560px; }
    .yfd-costs__visual { transform: translate(-687.855%, -260.069%) scale(10.239153); }
    .yfd-test__copy { width: 100%; max-width: 620px; }
    .yfd-test__copy h2 { max-width: 560px; }
    .yfd-test__visual { inset: 48% -5% 0 18%; }
    .yfd-test__layout { background: linear-gradient(#ffffffe6, #ffffff88 35%, transparent 70%); }
    .yfd-footer__information { padding-top: 72px; }
    .yfd-footer__address, .yfd-footer__legal { margin-top: 64px; }
    .yfd-footer__address { align-items: flex-start; }
    .yfd-footer__actions { flex-direction: column; }
    .yfd-footer__subscribe { padding: 64px 7.5%; }
}
@media (max-width: 540px) {
    .yfd-scene__layout { padding-inline: 24px; }
    .yfd-nav__utilities { padding-right: 18px; }
    .yfd-wordmark { transform: scale(.78); transform-origin: left top; margin-right: -76px; margin-bottom: -18px; }
    .yfd-contact { padding-inline: 24px; }
    .yfd-form__fields { grid-template-columns: minmax(0, 1fr); gap: 24px; }
    .yfd-field input { height: 40px; }
    .yfd-form__newsletter { display: grid; grid-template-columns: 33.5px 1fr 18px; gap: 12px; margin-top: 40px; }
    .yfd-form__newsletter-title { margin-bottom: 8px; font-size: 16px; line-height: 24px; }
    .yfd-form__newsletter > span > span:last-child { display: block; margin-left: -45.5px; margin-top: 16px; font-size: 16px; line-height: 26px; }
    .yfd-form__privacy { margin-top: 40px; gap: 20px; }
    .yfd-form__submit { margin-top: 44px; }
    .yfd-form__terms { margin-top: 48px !important; }
    .yfd-footer__information { padding: 56px 24px 40px; }
    .yfd-footer__social, .yfd-footer__address { flex-direction: column; align-items: flex-start; gap: 24px; }
    .yfd-footer__social > p { font-size: 14px; }
    .yfd-footer__actions { width: 100%; gap: 16px; }
    .yfd-footer__actions .yfd-button { max-width: none; width: 100%; }
    .yfd-footer__legal { padding-top: 28px; }
    .yfd-footer__subscribe { padding: 48px 24px; gap: 24px; flex-wrap: wrap; }
    .yfd-footer__subscribe h2 { font-size: 23px; }
}
@media (prefers-reduced-motion: reduce) {
    .yfd-page *, .yfd-page *::before, .yfd-page *::after { scroll-behavior: auto !important; transition: none !important; }
}
