/* Approved editorial imagery is displayed through two precise responsive viewports. */
.amsai-universes{padding:64px var(--space,40px) 76px;background:#fff;color:#555}
.amsai-universes-heading{text-align:center;margin:0 auto 38px}
.amsai-universes-heading>p{font-size:12px;letter-spacing:.25em;text-transform:uppercase;margin:0 0 18px;color:#666}
.amsai-universes-heading h2{font:inherit;font-size:clamp(26px,3.1vw,44px);font-weight:300;line-height:1.25;letter-spacing:-.025em;margin:0;color:#505050}
.amsai-universes-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:32px;max-width:1600px;margin:auto}
.amsai-universe{display:block;min-width:0;color:inherit;text-decoration:none}
.amsai-universe-photo{position:relative;overflow:hidden;aspect-ratio:953/514;background:#eee}
.amsai-universe-photo img{position:absolute;display:block;max-width:none;width:107.4502%;height:auto;left:-3.6726%;object-fit:initial}
.amsai-universe-photo--interiors img{top:-33.6576%}
.amsai-universe-photo--furniture img{top:-167.3152%}
.amsai-universe-caption{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 0 0}
.amsai-universe-caption h3{font:inherit;font-size:clamp(23px,2.25vw,34px);font-weight:300;line-height:1.2;letter-spacing:-.025em;margin:0 0 7px;color:#505050}
.amsai-universe-caption p{font-size:clamp(16px,1.35vw,20px);font-weight:300;line-height:1.45;margin:0;color:#707070}
.amsai-universe-arrow{display:flex;align-items:center;justify-content:center;flex:0 0 52px;width:52px;height:52px;border:1px solid #777;border-radius:50%;font-family:Arial,sans-serif;font-size:30px;font-weight:300;line-height:1;transition:background .2s,color .2s}
.amsai-universe:hover .amsai-universe-arrow{background:#505050;color:white}
.amsai-universe:focus-visible{outline:2px solid #555;outline-offset:7px}
@media(max-width:760px){.amsai-universes{padding:40px 20px 48px}.amsai-universes-heading{margin-bottom:26px}.amsai-universes-heading>p{font-size:12px;letter-spacing:.16em;margin-bottom:12px}.amsai-universes-heading h2{font-size:28px}.amsai-universes-grid{grid-template-columns:1fr;gap:32px}.amsai-universe-caption{padding-top:14px;gap:12px}.amsai-universe-caption h3{font-size:24px}.amsai-universe-caption p{font-size:16px}.amsai-universe-arrow{flex-basis:44px;width:44px;height:44px;font-size:27px}}
@media(prefers-reduced-motion:reduce){.amsai-universe-arrow{transition:none}}

/* Two restrained editorial rails replace the full homepage project listing. */
.home-selection{padding:20px var(--space,40px) 48px;color:#555;background:#fff}
.home-selection-heading{display:flex;align-items:baseline;justify-content:space-between;gap:24px;margin-bottom:25px}
.home-selection-heading h2{font:inherit;font-size:clamp(28px,3vw,40px);font-weight:300;letter-spacing:-.025em;margin:0}
.home-selection-heading>a{font-size:14px;color:#666}
.home-selection-track{display:flex;gap:24px;overflow-x:auto;scroll-snap-type:x mandatory;scroll-padding-inline:0;overscroll-behavior-x:contain;padding:0 0 12px;scrollbar-width:thin;scrollbar-color:#c3c3c3 #f4f4f4}
.home-selection-card{flex:0 0 calc((100% - 62px)/2.7);min-width:0;scroll-snap-align:start}
.home-selection-card>a{display:block;color:inherit;text-decoration:none}
.home-selection-image{aspect-ratio:4/5;overflow:hidden;background:#f6f6f6}
.home-selection-image img{width:100%;height:100%;object-fit:cover;display:block}
.home-selection-card h3{font:inherit;font-size:24px;font-weight:300;line-height:1.3;margin:14px 0 4px;letter-spacing:-.015em}
.home-selection-card p{font-size:14px;line-height:1.5;color:#777;margin:0}
.home-selection-controls{display:flex;justify-content:space-between;align-items:center;gap:16px;padding-top:12px}
.home-selection-controls>span{font-size:13px;color:#777}
.home-selection-controls>div{display:flex;gap:9px}
.home-selection-controls button{width:44px;height:44px;border:1px solid #aaa;border-radius:50%;background:#fff;color:#555;font:24px Arial;cursor:pointer}
.home-selection-controls button:disabled{opacity:.3;cursor:default}
.home-selection a:focus-visible,.home-selection button:focus-visible,.home-selection-track:focus-visible{outline:2px solid #555;outline-offset:3px}
@media(max-width:760px){.home-selection{padding:12px 20px 38px}.home-selection-heading{gap:14px;flex-wrap:wrap;margin-bottom:20px}.home-selection-heading h2{font-size:29px}.home-selection-heading>a{font-size:14px}.home-selection-track{gap:16px}.home-selection-card{flex-basis:83%}.home-selection-card h3{font-size:23px}.home-selection-image{aspect-ratio:4/5}.home-selection-controls>span{font-size:12px}}

#selected-projects-track .home-selection-image{aspect-ratio:4/3}

/* Display the exact user-selected Airbnb photo without the phone interface. */
.agadir-selected-viewport{position:relative;display:block;width:100%;height:100%;overflow:hidden}
.home-selection-image .agadir-selected-viewport img{position:absolute;max-width:none;width:104.1139%;height:auto;left:-2.057%;top:-109.283%;object-fit:initial}
#selected-furniture-track .home-selection-image{aspect-ratio:1}

/* Showroom niche detail: only upper-left and lower-right corners. */
.amsai-universe-photo,.home-selection-image{border-radius:clamp(24px,3.5vw,48px) 0 clamp(24px,3.5vw,48px) 0;overflow:hidden}
/* The original reference contains its own corners; keep them outside the frame. */
.agadir-selected-viewport{transform:scale(1.10)}
