/* Phone/tablet layout: replace the imported desktop row constraints. */
@media(max-width:800px){
 #figma-study>[data-node-id="111:130"]{width:100%;max-width:100%}
 #figma-study [data-node-id="111:130"]>div:not([data-name="Hero"]){width:100%;height:auto!important;max-width:100%;padding:56px 24px!important;overflow:visible;box-sizing:border-box}
 #figma-study [data-node-id="111:130"]>div:not([data-name="Hero"]) [data-name="Container"]{height:auto!important;max-width:100%;overflow:visible!important}
 #figma-study [data-node-id="111:130"]>div:not([data-name="Hero"]) p{min-width:0!important;max-width:100%!important;white-space:normal;overflow-wrap:normal;word-break:normal}
 #figma-study .fd-65,#figma-study .fd-99,#figma-study .fd-127,#figma-study .fd-156,#figma-study .fd-235{font-size:clamp(36px,9.5vw,52px)!important;line-height:1.1!important;letter-spacing:-.025em;width:100%!important;min-width:0!important;white-space:normal}
 #figma-study .fd-65 p,#figma-study .fd-99 p,#figma-study .fd-156 p{font-size:inherit!important;line-height:1.1!important;white-space:normal!important}
 #figma-study .fd-69,#figma-study .fd-100,#figma-study .fd-128{font-size:18px!important;line-height:1.55!important;width:100%!important}
 #figma-study [data-name="Head"],#figma-study [data-name="Heading"]{width:100%!important;min-width:0;max-width:100%;height:auto!important;overflow:visible}
 #figma-study [data-name^="Button /"]{min-height:48px;max-width:100%;box-sizing:border-box}
 #figma-study [data-name^="Button /"]>p{font-size:16px!important;line-height:1.4!important}
 /* The four market cards keep every line and action inside the card. */
 #figma-study [data-node-id="111:189"]{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px!important}
 #figma-study [data-node-id="111:189"]>[data-name^="Tab /"]{display:flex;flex-direction:column;width:100%;height:auto!important;min-height:0;padding:12px;gap:16px}
 #figma-study [data-node-id="111:189"]>[data-name^="Tab /"]>div{height:auto!important;width:100%;min-width:0;overflow:visible}
 #figma-study [data-node-id="111:189"] [data-name="Heading"]{flex-direction:column}
 #figma-study .study-mobile-product{height:230px!important;min-height:230px;flex:none;margin:0}
 #figma-study [data-node-id="111:189"] [data-name^="Button /"]{width:100%;margin-top:auto}
 /* Intro and stats previously remained beside one another off screen. */
 #figma-study [data-node-id="111:269"]{display:flex;flex-direction:column;gap:24px!important}
 #figma-study [data-node-id="111:270"]{width:100%;padding:0}
 #figma-study [data-node-id="111:272"]{display:flex;flex-direction:column;width:100%!important;flex:none!important;gap:32px!important;height:auto!important;overflow:visible!important}
 #figma-study [data-node-id="111:273"],#figma-study [data-node-id="111:275"]{width:100%!important;max-width:100%;height:auto!important}
 #figma-study [data-node-id="111:277"]{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 20px!important;width:100%!important;height:auto!important;overflow:visible}
 #figma-study [data-node-id="111:277"]>div{width:100%!important;min-width:0;display:flex;flex-direction:column;gap:8px!important;height:auto!important;overflow:visible}
 #figma-study [data-node-id="111:277"] .fd-72{font-size:38px!important;line-height:1.1!important}
 #figma-study [data-node-id="111:277"] .fd-73,#figma-study [data-node-id="111:277"] .fd-74{font-size:13px!important;line-height:1.5!important;letter-spacing:.02em}
 /* Builder, company and careers become intentional single-column sections. */
 #figma-study [data-node-id="111:343"],#figma-study [data-node-id="111:461"],#figma-study [data-node-id="111:610"]{display:grid!important;grid-template-columns:minmax(0,1fr);gap:32px!important;width:100%!important;height:auto!important;overflow:visible}
 #figma-study [data-node-id="111:343"]>div,#figma-study [data-node-id="111:461"]>div,#figma-study [data-node-id="111:610"]>div{width:100%!important;min-width:0;max-width:100%;height:auto!important;flex:none!important;overflow:visible}
 #figma-study [data-node-id="111:344"]{gap:24px!important}
 #figma-study [data-node-id="111:348"]{width:100%;height:auto!important}
 #figma-study [data-name^="Step /"]{min-height:88px;padding:18px 0;gap:12px}
 #figma-study [data-name^="Step /"] .fd-106{font-size:24px!important;line-height:1.2!important}
 #figma-study [data-name^="Step /"] .fd-107{font-size:15px!important;line-height:1.5!important}
 #figma-study [data-node-id="111:377"]{display:grid!important;grid-template-columns:1fr;gap:24px!important;width:100%;height:auto!important}
 #figma-study [data-node-id="111:378"]{height:360px!important;min-height:360px;flex:none!important;width:100%!important;position:relative!important;overflow:hidden}
 #figma-study [data-node-id="111:379"]{position:absolute!important;inset:0 0 50px!important;width:100%!important;height:300px!important;transform:none!important}
 #figma-study [data-node-id="111:379"] img{width:100%;height:100%;object-fit:contain}
 #figma-study [data-node-id="111:380"]{position:relative;z-index:1;font-size:13px!important;line-height:1.4!important;margin-top:auto}
 #figma-study [data-node-id="111:381"]{height:auto!important;width:100%!important;gap:24px!important;flex:none!important}
 #figma-study [data-node-id="111:381"]>div{height:auto!important;gap:12px!important}
 #figma-study [data-node-id="111:384"],#figma-study [data-node-id="111:391"],#figma-study [data-node-id="111:402"]{height:auto!important;flex-wrap:wrap;gap:10px!important}
 #figma-study [data-name^="Chip /"]{min-height:38px;display:flex;align-items:center;padding:8px 12px}
 #figma-study [data-node-id="111:409"]{margin-top:24px;width:100%}
 #figma-study [data-node-id="111:464"],#figma-study [data-node-id="111:613"]{padding-block:0;gap:24px!important;height:auto!important;position:static!important}
 #figma-study [data-node-id="111:462"]>[data-name="Container"],#figma-study [data-node-id="111:611"]>[data-name="Container"]{height:auto!important;aspect-ratio:4/3;position:relative!important;overflow:hidden!important;border-radius:12px}
 #figma-study [data-node-id="111:462"] .fd-150,#figma-study [data-node-id="111:611"] .fd-229{position:absolute!important;inset:0;height:100%!important;width:100%!important}
 #figma-study [data-node-id="111:462"] img,#figma-study [data-node-id="111:611"] img{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;max-height:none;object-fit:cover;object-position:center;transform:none}
 #figma-study [data-node-id="111:463"],#figma-study [data-node-id="111:612"]{display:none}
 /* Capability, case-study and news cards all get natural content heights. */
 #figma-study [data-node-id="111:418"]{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px!important;height:auto!important}
 #figma-study [data-node-id="111:418"]>[data-name^="Expertise /"]{width:100%!important;height:auto!important;min-height:230px;padding:24px;gap:32px!important}
 #figma-study [data-node-id="111:418"] .fd-127,#figma-study [data-node-id="111:418"] .fd-132{font-size:26px!important}
 #figma-study [data-node-id="111:492"]{display:grid!important;grid-template-columns:minmax(0,1fr);gap:24px!important;width:100%;height:auto!important;overflow:visible}
 #figma-study [data-node-id="111:493"],#figma-study [data-node-id="111:506"]{display:flex!important;flex-direction:column;width:100%!important;min-width:0;height:auto!important;gap:24px!important;overflow:visible}
 #figma-study [data-node-id="111:494"],#figma-study [data-node-id="111:507"],#figma-study [data-node-id="111:519"]{display:flex!important;flex-direction:column!important;flex:none!important;width:100%!important;height:auto!important;min-height:0;gap:0!important;overflow:visible}
 #figma-study [data-node-id="111:495"],#figma-study [data-node-id="111:508"],#figma-study [data-node-id="111:520"]{position:relative!important;width:100%!important;height:auto!important;aspect-ratio:16/10;flex:none!important;overflow:hidden!important}
 #figma-study [data-node-id="111:492"] .fd-166{position:absolute!important;inset:0;height:100%!important;width:100%!important}
 #figma-study [data-node-id="111:496"],#figma-study [data-node-id="111:509"],#figma-study [data-node-id="111:521"]{width:100%!important;height:auto!important;flex:none!important;display:flex!important;flex-direction:column;align-items:stretch;gap:24px!important;padding:24px 16px;overflow:visible}
 #figma-study [data-node-id="111:502"],#figma-study [data-node-id="111:515"],#figma-study [data-node-id="111:527"]{font-size:26px!important;line-height:1.25!important;width:100%!important}
 #figma-study [data-node-id="111:492"] [data-name^="Button /"]{align-self:flex-start}
 #figma-study [data-node-id="111:571"]{display:grid!important;grid-template-columns:1fr;gap:24px!important;height:auto!important}
 #figma-study [data-node-id="111:571"]>[data-name^="Tab /"]{width:100%!important;height:auto!important;flex:none!important}
 #figma-study [data-node-id="111:571"] [data-name^="Image ("]{height:220px!important;min-height:220px;position:relative!important;overflow:hidden!important}
 #figma-study [data-node-id="111:571"] .fd-177{font-size:26px!important;line-height:1.25!important}
 #figma-study [data-node-id="111:571"] .fd-220{flex-wrap:wrap;gap:12px!important}
 #figma-study [data-node-id="111:571"] .fd-220 p{font-size:14px!important}
 /* The film and invitation retain their full-bleed footage. */
 #figma-study [data-node-id="111:451"]{height:auto!important;min-height:520px;padding:0!important;background:#10222b}
 #figma-study [data-node-id="111:452"]{position:relative;width:100%;height:auto!important;min-height:520px;display:flex!important;flex-direction:column;justify-content:space-between;padding:72px 24px 32px}
 #figma-study [data-node-id="111:452"]>div{position:relative!important;inset:auto!important;width:100%!important;height:auto!important;max-width:100%;transform:none}
 #figma-study [data-node-id="111:452"] p{font-size:40px!important;line-height:1.1!important;max-width:100%;width:auto!important}
 #figma-study [data-node-id="111:452"] [data-name^="Button /"] p{font-size:16px!important;line-height:1.4!important}
 #figma-study [data-node-id="111:636"]{height:auto!important;min-height:520px;padding:72px 24px 40px!important}
 #figma-study [data-node-id="111:638"]{height:auto!important;min-height:0!important;padding:0;gap:40px!important;overflow:visible}
 #figma-study [data-node-id="111:640"]{font-size:clamp(38px,10vw,52px)!important;line-height:1.1!important;letter-spacing:-.02em}
 #figma-study [data-node-id="111:641"]{width:100%;height:auto!important}
 #figma-study [data-node-id="111:642"]{width:100%;height:auto!important;flex-direction:column!important;gap:0!important}
 #figma-study [data-node-id="111:642"]>div{width:100%;min-height:76px!important;height:auto!important;padding:22px;flex:none!important}
 #figma-study [data-node-id="111:642"] p{font-size:18px!important;line-height:1.4!important}
 /* Footer columns must be a real grid, rather than a grid around one flex row. */
 #figma-study [data-node-id="111:652"]{gap:36px!important;padding:48px 24px 32px!important}
 #figma-study [data-node-id="111:653"]{display:block!important;width:100%;height:auto!important}
 #figma-study [data-node-id="111:654"]{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:32px 24px!important;width:100%;height:auto!important}
 #figma-study [data-node-id="111:654"]>div{width:100%!important;min-width:0;height:auto!important;gap:10px!important;flex:none!important}
 #figma-study [data-node-id="111:654"] p{font-size:15px!important;line-height:1.4!important}
 #figma-study [data-node-id="111:654"] .fd-257{font-size:11px!important;letter-spacing:1px;margin-bottom:6px}
 #figma-study [data-node-id="111:696"]{width:100%;height:auto!important;min-height:0;aspect-ratio:1348/288}
 #figma-study [data-node-id="111:697"]{width:100%;height:auto!important;display:flex;flex-direction:column;gap:14px!important;align-items:flex-start}
 #figma-study [data-node-id="111:697"] p{font-size:13px!important;line-height:1.5!important}
}
@media(max-width:650px){
 #figma-study [data-node-id="111:189"],#figma-study [data-node-id="111:418"]{grid-template-columns:1fr}
 #figma-study [data-node-id="111:418"]>[data-name^="Expertise /"]{min-height:220px}
}
@media(max-width:800px){
 #figma-study [data-node-id="111:130"]>div:not([data-name="Hero"]){overflow:clip}
 #figma-study [data-node-id="111:130"]>[data-node-id="111:290"]{padding:0!important;height:350px!important;overflow:hidden}
 #figma-study [data-node-id="111:291"]{height:350px!important;overflow:hidden!important}
 #figma-study [data-node-id="111:293"].study-marquee{height:auto!important;overflow:hidden!important}
 #figma-study [data-node-id="111:531"]{display:flex;flex-direction:column;gap:32px!important;align-items:stretch}
 #figma-study [data-node-id="111:532"]{position:relative!important;inset:auto!important;transform:none!important;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;width:100%!important;height:240px!important;flex:none!important;overflow:hidden}
 #figma-study [data-node-id="111:532"]>div{position:relative!important;inset:auto!important;transform:none!important;width:100%!important;height:240px!important;display:block}
 #figma-study [data-node-id="111:532"]>div>div,#figma-study [data-node-id="111:532"] [data-name="Image"]{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;transform:none!important;overflow:hidden}
 #figma-study [data-node-id="111:532"] img{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;object-fit:contain;transform:none!important}
 #figma-study [data-node-id="111:536"]{width:100%!important;height:auto!important;flex:none!important;gap:28px!important}
 #figma-study [data-node-id="111:537"]{width:100%;height:auto!important;gap:16px!important}
 #figma-study [data-node-id="111:539"]{font-size:clamp(44px,12vw,64px)!important;line-height:1.05!important;width:100%!important}
 #figma-study [data-node-id="111:540"]{width:100%;height:auto!important;gap:24px!important}
 #figma-study [data-node-id="111:541"]{font-size:18px!important;line-height:1.5!important;width:100%!important}
 #figma-study [data-node-id="111:542"]{display:grid!important;grid-template-columns:1fr;gap:16px!important;width:100%;height:auto!important}
 #figma-study [data-node-id="111:542"]>div{min-height:132px;height:auto!important;flex:none!important;width:100%!important;padding:20px}
 #figma-study [data-node-id="111:652"]>[data-node-id="111:653"]{display:block!important;grid-template-columns:none!important;width:100%!important}
 #figma-study [data-node-id="111:652"] [data-node-id="111:654"]{width:100%!important;max-width:100%}
 #figma-study [data-node-id="111:189"] .fd-41,#figma-study [data-node-id="111:189"] .fd-56{position:static!important;inset:auto!important;transform:none!important;width:100%!important;height:auto!important;flex:none!important;display:flex!important;flex-direction:column!important;gap:16px!important;padding:8px;overflow:visible}
 #figma-study [data-node-id="111:189"] .fd-43,#figma-study [data-node-id="111:189"] .fd-44,#figma-study [data-node-id="111:189"] .fd-46{width:100%!important;height:auto!important;max-width:100%;flex:none!important}
 #figma-study #markets .study-original-product,#figma-study #markets [data-node-id="111:191"],#figma-study #markets [data-node-id="111:230"],#figma-study #markets [data-node-id="111:249"],#figma-study #markets [data-node-id="111:268"]{display:none!important}
 #figma-study .study-mobile-product{display:flex!important;align-items:center;justify-content:center;width:100%;height:230px!important}
 #figma-study .study-mobile-product img{position:static!important;inset:auto!important;width:auto!important;max-width:90%!important;height:230px!important;object-fit:contain;transform:none!important}
 #figma-study [data-node-id="111:277"] .study-section-label{display:block!important}
 #figma-study [data-name="Head"]{display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:24px!important;height:auto!important}
 #figma-study [data-node-id="111:540"]{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:24px!important}
 #figma-study [data-node-id="111:639"],#figma-study [data-node-id="111:640"]{width:100%!important;min-width:0!important;max-width:100%!important}
 #figma-study [data-node-id="111:130"]>[data-node-id="111:609"] [data-node-id="111:611"]>[data-name="Container"]{height:auto!important;aspect-ratio:4/3;min-height:240px}
}
