/* Homepage composition matched to the navy / white / amber reference. */
.home.diyai-visual-design #primary,.home .diyai-home-hero,.home .diyai-home-hero *,.home.diyai-visual-design .entry-content,.home .diyai-home-routes *,.home .diyai-design-cta{box-sizing:border-box}
body.home.diyai-visual-design{background:#fff}
.home.diyai-visual-design #primary{max-width:none!important;width:100%;padding:0!important;margin:0 auto 24px!important}
.home.diyai-visual-design #content{width:100%;max-width:none;margin:0;padding:0}
.home.diyai-visual-design #primary>.container>article{margin:0;padding:0}
.home.diyai-visual-design .diyai-home-hero{display:block;margin:0;border:0;border-radius:0;padding:30px 32px;background:radial-gradient(ellipse at 98% 20%,#102440 0,transparent 55%),#020609}
.diyai-home-hero__inner{max-width:1280px;margin:auto;display:grid;grid-template-columns:minmax(0,1.02fr) minmax(0,1.08fr);gap:38px;align-items:stretch}
.home .diyai-home-hero__copy{position:relative;align-self:center;padding:10px 0}
.home.diyai-visual-design .diyai-home-hero .diyai-design-eyebrow{font-size:10px!important;letter-spacing:.18em;margin-bottom:18px!important;padding-right:80px}
.home.diyai-visual-design .diyai-home-hero h1{font-size:clamp(36px,3.5vw,51px)!important;line-height:1.04;letter-spacing:-.04em;margin:0 0 20px!important;font-weight:750;text-wrap:balance}
.home .diyai-home-hero h1 span{color:#ffac0c}
.home .diyai-home-hero__intro p{font-size:14px!important;line-height:1.65!important;color:#cbd4df!important;margin:0!important;max-width:none!important}
.home .diyai-home-hero__intro a{color:#eef3fc;text-underline-offset:3px}
.home .diyai-hero-actions{margin-top:22px;gap:14px}
.home .diyai-hero-actions .diyai-design-button{font-size:13px;min-height:46px;padding:11px 23px;border-radius:9px}
.home .diyai-hero-actions .diyai-design-button--outline{border-color:#edf3fc;background:#ffffff03}
.diyai-home-highlights{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin-top:30px;gap:14px}
.diyai-home-highlights>a{display:flex;flex-direction:column;gap:7px;text-decoration:none;border-right:1px solid #24303e;padding-right:8px;min-width:0}
.diyai-home-highlights>a:last-child{border-right:0}
.diyai-home-highlights strong{font-size:14px;color:#f4f6fa;line-height:1.1}
.diyai-home-highlights span{font-size:11px;color:#9caec5;line-height:1.35}
.diyai-home-highlights a:hover strong{color:#ffbd43}
.home .diyai-home-hero .diyai-language-switcher{position:absolute;right:0;top:4px;margin:0}
.home .diyai-home-hero .diyai-language-switcher select{min-height:28px;padding:4px 6px;background:#122139;border:1px solid #30445e;color:#c3d1e2;font-size:11px;font-weight:500}
.diyai-home-showcase{display:grid;grid-template-columns:1.05fr 1fr;gap:12px;min-height:390px}
.diyai-home-portrait{display:flex;flex-direction:column;justify-content:center;position:relative;isolation:isolate;overflow:hidden;padding:26px 22px;border:1px solid #314b6a;border-radius:9px;background:#071221 url('../img/brand/creative-hero.webp') 70% center/auto 100% no-repeat}
.diyai-home-portrait::before{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#020811a6,transparent 90%)}
.diyai-home-portrait strong{max-width:190px;font-size:32px;line-height:1.1;letter-spacing:-.04em;color:#fff}
.diyai-home-portrait>span{max-width:120px;font-size:12px;line-height:1.5;margin-top:20px;color:#cdd9e7}
.diyai-home-features{display:grid;grid-template-rows:repeat(3,minmax(0,1fr));gap:12px;min-width:0}
.diyai-home-feature{display:flex;align-items:flex-start;gap:11px;padding:16px 13px 38px;position:relative;isolation:isolate;overflow:hidden;border:1px solid #48617d;border-radius:9px;color:#f4f7fc!important;background:#101f32;text-decoration:none;min-height:0}
.diyai-home-feature::before{content:'';position:absolute;inset:0;z-index:-2;background-image:url('../img/brand/home-panorama.webp');background-size:auto 200%;background-repeat:no-repeat;background-position:right top}
.diyai-home-feature::after{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,#0a193fbb,#0d1e3644 65%,#04101a66)}
.diyai-home-feature--video::before{background-position:right bottom}
.diyai-home-feature--music{background:radial-gradient(ellipse at 70% 100%,#352353,transparent 70%),#071324}
.diyai-home-feature--music::before,.diyai-home-feature--music::after{display:none}
.diyai-home-feature:hover{border-color:#ffbb40;box-shadow:0 0 0 1px #ffbb4033}
.diyai-home-feature__icon{display:grid;place-items:center;flex:0 0 37px;height:39px;border:1px solid #526681;border-radius:8px;background:#102746e6;color:#f4f7fd}
.diyai-home-feature__icon svg{width:22px;height:22px}
.diyai-home-feature__copy{min-width:0;display:flex;flex-direction:column;gap:5px}
.diyai-home-feature__copy strong{font-size:14px;line-height:1.2;letter-spacing:-.015em;color:#fff}
.diyai-home-feature__copy>span{font-size:11px;line-height:1.35;color:#d1ddea}
.diyai-home-feature__arrow{position:absolute;right:12px;bottom:10px;width:27px;height:27px;display:grid;place-items:center;border:1px solid #8c9eaf;border-radius:50%;background:#061222a6;font-size:16px;color:#fff}
.diyai-home-wave{position:absolute;left:0;right:0;bottom:13px;height:58px;display:flex;align-items:center;justify-content:space-evenly;gap:3px;padding:0 5px;mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent)}
.diyai-home-wave i{width:3px;flex:1;max-width:4px;height:var(--bar);border-radius:3px;background:#ffa727;box-shadow:0 0 8px #ff9e0044}
.diyai-home-wave i:nth-child(n+15){background:#d674b9}.diyai-home-wave i:nth-child(n+28){background:#9670ed}
.home.diyai-visual-design .entry-content{max-width:1344px;margin:0 auto;padding:0 32px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:28px}
.home .entry-content>.diyai-home-routes,.home .entry-content>.homepage-pillars{grid-column:1/-1}
.home.diyai-visual-design .entry-content>.wp-block-paragraph{font-size:13px;line-height:1.65;max-width:none;margin:0 0 14px;color:#59667a}
.home .entry-content>.wp-block-paragraph:nth-of-type(n+3){grid-column:1/-1}
.home .entry-content>p:empty{display:none}
.home.diyai-visual-design .diyai-home-routes{position:relative;isolation:isolate;margin:0 0 22px;padding:28px 0 26px}
.home .diyai-home-routes::before{content:'';position:absolute;inset:0 calc((min(1280px,100vw - 64px) - 100vw)/2);background:#f4f6f9;z-index:-1}
.home .diyai-home-routes__heading{margin-bottom:18px}
.home .diyai-home-routes__heading>span{font-size:10px;letter-spacing:.14em;color:#1a355a;font-weight:700}
.home.diyai-visual-design .diyai-home-routes__heading h2{font-size:30px;line-height:1.15;margin:5px 0 4px;font-weight:750}
.home .diyai-home-routes__heading p{font-size:14px;line-height:1.4;margin:0}
.home.diyai-visual-design .diyai-home-routes__grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;align-items:stretch}
.home.diyai-visual-design .diyai-home-route{display:flex;flex-direction:column;justify-content:flex-start;align-items:stretch;gap:0;min-height:0;height:auto;margin:0;padding:15px 15px 29px;position:relative;flex-basis:auto;border-radius:11px;border-color:#e9edf3;box-shadow:0 5px 18px #22365504}
.home.diyai-visual-design .diyai-home-route__visual{flex:none;width:40px;height:40px;min-height:0;padding:0;margin:0 0 11px;overflow:visible}
.home.diyai-visual-design .diyai-home-route__visual::before{width:40px;height:40px;border-radius:10px;background-size:24px}
.home.diyai-visual-design .diyai-home-route__copy{padding:0;display:flex;flex-direction:column;gap:6px;background:none}
.home.diyai-visual-design .diyai-home-route__copy em{font-size:9px;line-height:1.2;letter-spacing:.055em;font-style:normal;color:#49617e;font-weight:700;margin:0}
.home.diyai-visual-design .diyai-home-route__copy strong{font-size:14px;line-height:1.25;font-weight:700;margin:0;color:#0b1930}
.home.diyai-visual-design .diyai-home-route__copy>span{font-size:11px;line-height:1.45;letter-spacing:0;font-weight:400;margin:0;color:#59667a}
.home.diyai-visual-design .diyai-home-route__arrow{position:absolute;right:10px;bottom:8px;width:22px;height:22px;display:grid;place-items:center;border-radius:50%;font-size:14px;line-height:1;padding:0}
.home.diyai-visual-design .homepage-pillars{margin:8px 0 20px;gap:30px 26px}
.home.diyai-visual-design .homepage-pillar-section>h2{font-size:20px!important;line-height:1.25;margin-bottom:16px!important}
.home.diyai-visual-design #diyai-featured-content>h2{font-size:30px!important}
.home.diyai-visual-design #diyai-featured-content .pillar-grid{gap:15px!important;grid-template-columns:repeat(3,minmax(0,1fr))!important}
.home.diyai-visual-design #diyai-featured-content .article-style .post-featured-image{height:112px!important}
.home.diyai-visual-design #diyai-featured-content .article-style>div{padding:12px 14px!important}
.home.diyai-visual-design #diyai-featured-content .article-style h2{font-size:16px!important;line-height:1.25;margin:0 0 7px!important}
.home.diyai-visual-design #diyai-featured-content .article-style>div>div{font-size:11px!important;line-height:1.4;margin-bottom:4px!important}
.home.diyai-visual-design #diyai-featured-content .article-style>div>div:last-child{font-size:12px!important;margin-top:7px}
.home.diyai-visual-design .homepage-pillar-section:not(#diyai-featured-content) .article-style{grid-template-columns:74px minmax(0,1fr);gap:10px;padding-bottom:10px;align-items:start}
.home.diyai-visual-design .homepage-pillar-section:not(#diyai-featured-content) .article-style>a{grid-column:1;grid-row:1}
.home.diyai-visual-design .homepage-pillar-section:not(#diyai-featured-content) .article-style>div{grid-column:2;grid-row:1}
.home.diyai-visual-design .homepage-pillar-section:not(#diyai-featured-content) .post-featured-image{height:68px!important}
.home.diyai-visual-design .homepage-pillar-section:not(#diyai-featured-content) .article-style h2{font-size:13px!important;line-height:1.3;margin:0 0 5px!important}
.home.diyai-visual-design .homepage-pillar-section:not(#diyai-featured-content) .article-style>div>div{font-size:10px!important;line-height:1.4;margin-bottom:3px!important}
.home.diyai-visual-design .homepage-pillar-section:not(#diyai-featured-content) .pillar-grid{gap:10px!important}
.home .diyai-design-cta{max-width:1280px;margin:12px auto 20px;padding:22px 28px;border-radius:10px}









@media(min-width:1700px){.home .diyai-home-hero__inner{max-width:1400px}.home.diyai-visual-design .entry-content{max-width:1464px}.home .diyai-home-routes::before{inset-inline:calc((1400px - 100vw)/2)}.home .diyai-design-cta{max-width:1400px}}
@media(max-width:1100px){.diyai-home-hero__inner{grid-template-columns:1fr;gap:26px}.home .diyai-home-hero__copy{max-width:760px}.home.diyai-visual-design .diyai-home-hero h1{font-size:46px!important;text-wrap:initial}.diyai-home-showcase{min-height:330px;grid-template-columns:1fr 1fr}.diyai-home-portrait{background-size:cover;background-position:center}.home.diyai-visual-design .diyai-home-routes__grid{grid-template-columns:repeat(5,minmax(0,1fr))}.home.diyai-visual-design .homepage-pillars{gap:28px 20px}.home.diyai-visual-design .homepage-pillar-section:not(#diyai-featured-content) .article-style{grid-template-columns:56px minmax(0,1fr)}.home .diyai-design-cta{margin-left:32px;margin-right:32px}}
@media(max-width:800px){.home.diyai-visual-design .diyai-home-routes__grid{grid-template-columns:repeat(3,minmax(0,1fr))}.home.diyai-visual-design .homepage-pillars{grid-template-columns:1fr}.home.diyai-visual-design #diyai-featured-content .pillar-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.home.diyai-visual-design .homepage-pillar-section:not(#diyai-featured-content) .article-style{grid-template-columns:85px minmax(0,1fr)}.home.diyai-visual-design .homepage-pillar-section:not(#diyai-featured-content) .article-style h2{font-size:15px!important}.home.diyai-visual-design .homepage-pillar-section:not(#diyai-featured-content) .article-style>div>div{font-size:12px!important}}
@media(max-width:540px){.home.diyai-visual-design .diyai-home-hero{padding:26px 20px}.home.diyai-visual-design .diyai-home-hero h1{font-size:36px!important;line-height:1.08}.home .diyai-home-hero__intro p{font-size:13px!important}.home .diyai-home-highlights{gap:12px 8px}.home .diyai-home-highlights strong{font-size:12px}.home .diyai-home-highlights span{font-size:10px}.home .diyai-home-hero .diyai-design-eyebrow{font-size:8px!important;letter-spacing:.1em;padding-right:72px}.home .diyai-home-hero .diyai-language-switcher{top:0}.diyai-home-showcase{grid-template-columns:1fr;min-height:0;gap:12px}.diyai-home-portrait{min-height:240px;justify-content:center;background-position:60% center}.diyai-home-portrait strong{max-width:170px;font-size:31px}.diyai-home-features{grid-template-rows:repeat(3,112px)}.diyai-home-feature{padding:13px}.diyai-home-feature__copy strong{font-size:15px}.diyai-home-feature--music .diyai-home-wave{left:38%;bottom:22px}.home.diyai-visual-design .entry-content{padding:0 20px;grid-template-columns:1fr}.home .entry-content>.wp-block-paragraph{grid-column:1/-1}.home .diyai-home-routes::before{inset-inline:-20px}.home.diyai-visual-design .diyai-home-routes__grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.home.diyai-visual-design .diyai-home-route{padding:14px 12px 30px}.home.diyai-visual-design .diyai-home-routes__heading h2,.home.diyai-visual-design #diyai-featured-content>h2{font-size:27px!important}.home.diyai-visual-design #diyai-featured-content .pillar-grid{grid-template-columns:1fr!important}.home.diyai-visual-design #diyai-featured-content .article-style .post-featured-image{height:150px!important}.home .diyai-design-cta{margin:10px 20px 20px;padding:22px}}
@media(prefers-reduced-motion:reduce){.home .diyai-home-feature{transition:none}}
/* Small section marks echo the reference without replacing the editorial headings. */
.home .homepage-pillar-section:not(#diyai-featured-content)>h2{display:flex;align-items:center;gap:9px}
.home .homepage-pillar-section:not(#diyai-featured-content)>h2::before{content:'';flex:0 0 24px;width:24px;height:26px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23132a4b' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='3' width='16' height='18' rx='2'/%3E%3Cpath d='M8 7h8M8 11h8M8 15h5M8 19h8'/%3E%3C/svg%3E") center/contain no-repeat}
.home #diyai-top-reviews>h2::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffab0c'%3E%3Cpath d='m12 1 3.5 7 7.5 1-5.5 5.5 1.3 7.5-6.8-3.5L5.2 22l1.3-7.5L1 9l7.5-1z'/%3E%3C/svg%3E")}
@media(min-width:901px) and (max-width:1100px){.diyai-home-hero__inner{grid-template-columns:1fr 1fr;gap:26px}.home.diyai-visual-design .diyai-home-hero h1{font-size:40px!important}.diyai-home-showcase{grid-template-columns:1fr 1fr;min-height:390px}.diyai-home-portrait{padding:20px 15px;background-size:auto 100%;background-position:70% center}.diyai-home-portrait strong{font-size:27px}.diyai-home-feature{padding:13px 10px 36px;gap:8px}.diyai-home-feature__icon{flex-basis:29px;height:32px}.diyai-home-feature__copy strong{font-size:12px}.diyai-home-feature__copy>span{font-size:10px}}
@media(max-width:540px){.diyai-home-showcase{grid-template-columns:1fr 1fr;gap:10px;min-height:300px}.diyai-home-portrait{padding:18px 13px;min-height:300px;background-size:auto 100%;background-position:70% center}.diyai-home-portrait strong{font-size:26px}.diyai-home-portrait>span{font-size:10px}.diyai-home-features{grid-template-rows:repeat(3,minmax(94px,1fr));gap:8px}.diyai-home-feature{padding:10px 8px 25px;gap:6px}.diyai-home-feature__icon{flex-basis:24px;height:28px;border-radius:5px}.diyai-home-feature__icon svg{width:17px;height:17px}.diyai-home-feature__copy strong{font-size:11px;line-height:1.25}.diyai-home-feature__copy>span{display:none}.diyai-home-feature__arrow{width:20px;height:20px;right:7px;bottom:6px;font-size:13px}.diyai-home-feature--music .diyai-home-wave{left:0;bottom:7px;height:30px;gap:2px}.diyai-home-wave i{height:calc(var(--bar)/2)}}

/* Loaded images must fill their frame through WordPress/Imagify picture wrappers. */
.home.diyai-visual-design .homepage-pillar-section .post-featured-image :is(picture,img){display:block;width:100%!important;height:100%!important;max-height:none;object-fit:cover;object-position:center;aspect-ratio:auto}
.home #diyai-top-reviews .article-style::before{content:none;display:none}

/* Mirror navigation affordances, not artwork. Arabic needs natural line height. */
[dir="rtl"] .home.diyai-visual-design .diyai-home-hero h1{line-height:1.4!important}
[dir="rtl"] .home.diyai-visual-design :is(.diyai-design-eyebrow,.diyai-home-route__copy em,.diyai-home-routes__heading>span){letter-spacing:normal}
[dir="rtl"] .home.diyai-visual-design .diyai-home-hero .diyai-design-eyebrow{padding-right:0;padding-left:80px}
[dir="rtl"] .home .diyai-home-hero .diyai-language-switcher{right:auto;left:0}
[dir="rtl"] .diyai-home-highlights>a{border-right:0;border-left:1px solid #24303e;padding-right:0;padding-left:8px}
[dir="rtl"] .diyai-home-highlights>a:last-child{border-left:0}
[dir="rtl"] .diyai-home-feature__arrow{right:auto;left:12px;transform:scaleX(-1)}
[dir="rtl"] .home.diyai-visual-design .diyai-home-route__arrow{right:auto;left:10px;transform:scaleX(-1)}
[dir="rtl"] .diyai-hero-actions .diyai-design-button>span[aria-hidden="true"]{display:inline-block;transform:scaleX(-1)}
@media(max-width:540px){[dir="rtl"] .home.diyai-visual-design .diyai-home-hero .diyai-design-eyebrow{padding-left:72px}[dir="rtl"] .diyai-home-feature__arrow{left:7px}}

/* Use the same icon tile, sizing and inset border as the other Studio cards. */
.home.diyai-visual-design .diyai-home-route--face_swap .diyai-home-route__visual::before{background-color:#102b4e;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='7' cy='9' r='3'/%3E%3Ccircle cx='17' cy='15' r='3'/%3E%3Cpath d='M2 17c0-3 2-5 5-5m5-8h8l-2-2m2 2-2 2M12 20H4l2-2m-2 2 2 2'/%3E%3C/svg%3E")}
