/* The invitation is a light, native page. Its image is an actual villa capture.
   Everything is scoped to the chooser; the house and loader keep their layout. */
.choice-panel{padding:max(clamp(105px,8svh,150px),calc(env(safe-area-inset-top) + 85px)) max(28px,5vw) max(32px,env(safe-area-inset-bottom));background:radial-gradient(ellipse at 9% 52%,#38245125,transparent 48%),radial-gradient(ellipse at 100% 0,#57652c12,transparent 50%),#0b0b0f}
.choice-panel .entry-layout{display:grid;grid-template-columns:1fr;gap:27px;max-width:1120px;min-height:0;align-content:start;align-items:stretch;margin:auto}
.choice-panel .entry-intro{max-width:none}
.invitation-line{display:flex;align-items:center;gap:16px;max-width:620px}
.choice-panel .entry-intro .eyebrow{font-size:10px;letter-spacing:2.5px;color:#d9fa89;white-space:nowrap}
.invitation-rule{height:1px;flex:1;min-width:15px;background:linear-gradient(90deg,#80718f85,#80718f25)}
.invitation-label{color:#a39bab;letter-spacing:2px;font-size:9px;white-space:nowrap}
.choice-panel .entry-intro h1{max-width:none;font-size:clamp(38px,4.6vw,65px);line-height:1.1;letter-spacing:-2.5px;margin:16px 0 12px;font-weight:650;color:#f4f0f7}
.choice-panel .entry-intro>p{font-size:14px;line-height:1.7;color:#b4aebf;margin:0;max-width:650px}
.choice-panel .entry-options{display:grid;grid-template-columns:minmax(0,1.42fr) minmax(0,1fr);gap:20px;align-items:stretch}
.choice-panel .experience-option{padding:0;overflow:hidden;display:flex;flex-direction:column;border:1px solid #36313e;border-radius:24px;background:#15131b;box-shadow:0 16px 48px #0002;transition:border-color .28s ease,box-shadow .28s ease}
.choice-panel .immersive-option{border-color:#706086;background:linear-gradient(140deg,#1c1726,#15131b 80%)}
.choice-panel .experience-option:is(:hover,:focus-within){border-color:#b59dd6;box-shadow:0 18px 56px #0004}
.option-visual{height:clamp(140px,23vh,230px);position:relative;overflow:hidden;border-bottom:1px solid #3e354a70;flex-shrink:0;isolation:isolate}
.villa-preview{background:#24212c}
.entry-poster{display:block;width:100%;height:100%;object-fit:cover;object-position:50% 60%;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none;pointer-events:none;transition:transform .7s cubic-bezier(.2,.7,.2,1)}
.villa-preview::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,#08081160,transparent 30%,#0d0b1740 70%,#0d0b17b5);pointer-events:none}
.immersive-option:is(:hover,:focus-within) .entry-poster{transform:scale(1.035)}
.scene-badge{position:absolute;inset-block-start:15px;inset-inline-start:18px;z-index:1;font-size:8px;letter-spacing:1.8px;line-height:1;background:#12101dcc;border:1px solid #ffffff25;border-radius:30px;padding:8px 10px;color:#eee8f7}
.scene-caption{position:absolute;z-index:1;inset-inline:20px;bottom:17px;display:flex;align-items:center;gap:10px;font-size:10px;color:#eee8f7;letter-spacing:.2px}
.viewfinder{display:block;width:17px;height:17px;border:1px solid #d9fa89;border-radius:50%;position:relative}
.viewfinder::after{content:"";position:absolute;inset:5px;border-radius:50%;background:#d9fa89}
.standard-preview{display:flex;align-items:center;justify-content:center;padding:46px 32px 18px;background:radial-gradient(ellipse at 50% 90%,#b698dd1a,transparent 75%),#16121e;perspective:800px}
.site-preview{width:min(270px,95%);border:1px solid #94879e70;border-radius:9px;background:#0f0e14;box-shadow:0 10px 30px #0006;transform:rotateY(-8deg) rotateX(5deg) rotateZ(2deg);transition:transform .7s cubic-bezier(.2,.7,.2,1)}
.standard-option:is(:hover,:focus-within) .site-preview{transform:rotateY(0) rotateX(0) rotateZ(0)}
.site-preview-bar{display:flex;align-items:center;gap:6px;border-bottom:1px solid #342e40;padding:8px 10px;color:#ded7e6;font-size:8px;line-height:1}
.preview-mark{font-size:11px;font-weight:800;color:#bba0e8}
.site-preview-bar i{height:3px;width:14px;background:#685d77;border-radius:4px;margin-inline-start:auto}
.site-preview-bar i+i{margin-inline-start:1px}
.site-preview-content{padding:14px 15px 12px}
.preview-line{height:7px;background:#e5dfed;border-radius:3px;width:72%;margin-bottom:6px}
.preview-line.accent{background:linear-gradient(90deg,#b38aea,#d9fa89);width:80%}
.preview-line.small{height:3px;background:#80778e;width:89%;margin-top:11px;margin-bottom:0}
.preview-line.last{width:64%;margin-top:4px}
.preview-cta{width:54px;height:11px;background:#d9fa89;border-radius:3px;margin-top:10px}
.preview-projects{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin-top:14px}
.preview-project{display:grid;place-items:center;height:37px;border:1px solid #65566f55;border-radius:5px;background:#1b1624}
.preview-project svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.preview-project.violet{color:#b98ae8}.preview-project.lime{color:#d9fa89}.preview-project.ivory{color:#d6cadc}
.choice-panel .option-body{padding:23px 26px 24px;display:flex;flex-direction:column;flex:1}
.choice-panel .option-kicker{display:block;font-size:9px;letter-spacing:1.8px;color:#b7a2cb;margin-bottom:9px}
.choice-panel .standard-option .option-kicker{color:#aaa1b6}
.choice-panel .experience-option h2{font-size:25px;line-height:1.25;letter-spacing:-.7px;margin:0 0 9px;color:#f3edf9}
.choice-panel .experience-option p{display:block;font-size:12px;line-height:1.7;color:#bcb3c7;margin:0 0 16px;max-width:470px;overflow:visible;-webkit-line-clamp:unset}
.choice-panel .download-estimate{font-size:11px;line-height:1.65;margin:auto 0 15px;color:#c3bbce;border-inline-start:2px solid #776383;padding-inline-start:11px}
.choice-panel .visit-button{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:48px;padding:12px 17px;border-radius:12px;font-size:13px;line-height:1.4;font-weight:650;text-align:start;width:100%;border-color:#635372;background:#221b2e;color:#e9e1f2}
.choice-panel .visit-button.primary{background:#d9fa89;border-color:#d9fa89;color:#18210c}
.visit-icon{display:grid;place-items:center;width:23px;height:23px;flex-shrink:0}
.visit-icon svg{width:23px;height:23px;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;transition:transform .28s ease}
.door-leaf{transform-origin:7px 12px;transition:transform .28s ease}
.visit-button:is(:hover,:focus-visible) .door-leaf{transform:scaleX(.45)}
#choose-standard:is(:hover,:focus-visible) .visit-icon svg{transform:translateX(3px)}
.choice-panel .visit-button:is(:hover,:focus-visible){filter:brightness(1.06);transform:none}
.entry-bottom{display:flex;align-items:flex-start;gap:35px;justify-content:space-between;padding-inline:3px}
.entry-footer{font-size:11px;line-height:1.6;color:#c8bdd4;white-space:nowrap}
.choice-panel .choice-note{margin:0;font-size:10px;line-height:1.7;color:#aaa0b8;max-width:600px;text-align:end}
[dir=rtl] .choice-panel .entry-intro h1{font-size:clamp(34px,3.8vw,53px);letter-spacing:0;line-height:1.45;margin:10px 0 7px}
[dir=rtl] .choice-panel .entry-intro .eyebrow,[dir=rtl] .invitation-label,[dir=rtl] .choice-panel .option-kicker,[dir=rtl] .scene-badge{letter-spacing:0}
[dir=rtl] .choice-panel .experience-option h2{letter-spacing:0}
[dir=rtl] .choice-panel .visit-button{font-size:13px}
[dir=rtl] #choose-standard .visit-icon svg{transform:scaleX(-1)}
[dir=rtl] #choose-standard:is(:hover,:focus-visible) .visit-icon svg{transform:scaleX(-1) translateX(3px)}
@media(max-height:800px) and (min-width:761px){.choice-panel{padding-top:84px;padding-bottom:23px}.choice-panel .entry-layout{gap:18px;min-height:0}.choice-panel .entry-intro h1{font-size:45px;margin:12px 0 8px}.choice-panel .entry-intro>p{font-size:12px}.choice-panel .option-visual{height:145px}.choice-panel .option-body{padding:18px 22px}.choice-panel .experience-option h2{font-size:22px}.choice-panel .experience-option p{margin-bottom:12px}.choice-panel .option-kicker{margin-bottom:7px}.choice-panel .download-estimate{margin-bottom:12px}[dir=rtl] .choice-panel .entry-intro h1{font-size:35px;margin:6px 0}}
@media(max-width:760px){
 .choice-panel{padding:max(85px,calc(env(safe-area-inset-top) + 70px)) max(20px,env(safe-area-inset-right)) max(20px,env(safe-area-inset-bottom)) max(20px,env(safe-area-inset-left))}
 .choice-panel .entry-layout{gap:16px;min-height:0;max-width:480px;align-content:start}
 .choice-panel .entry-intro .eyebrow{font-size:8px;letter-spacing:1.5px}
 .invitation-line{gap:12px}.invitation-label{font-size:7px;letter-spacing:1px}
 .choice-panel .entry-intro h1{font-size:32px;letter-spacing:-1.2px;line-height:1.13;margin:12px 0 0}
 .choice-panel .entry-intro>p{display:none}
 .choice-panel .entry-options{grid-template-columns:1fr;gap:12px}
 .choice-panel .experience-option{padding:0;border-radius:18px}
 .choice-panel .option-visual{height:120px}
 .choice-panel .option-body{padding:15px 18px 17px}
 .choice-panel .option-kicker{display:none}
 .choice-panel .experience-option h2{font-size:21px;line-height:1.25;margin:0 0 7px}
 .choice-panel .experience-option p{font-size:11px;line-height:1.65;margin-bottom:11px}
 .choice-panel .download-estimate{font-size:10px;line-height:1.7;margin-bottom:12px;padding-inline-start:9px}
 .choice-panel .visit-button{font-size:12px;min-height:44px;padding:10px 13px;border-radius:10px}
 .choice-panel .scene-badge{font-size:7px;padding:6px 8px;inset-block-start:10px;inset-inline-start:14px}
 .scene-caption{font-size:8px;inset-inline:15px;bottom:11px}.viewfinder{width:13px;height:13px}.viewfinder::after{inset:4px}
 .choice-panel .standard-preview{display:none}
 .choice-panel .standard-option .option-body{padding-block:15px}
 .choice-panel .standard-option p{display:none}
 .entry-bottom{display:block;padding-inline:1px}
 .entry-footer{display:none}
 .choice-panel .choice-note{text-align:start;font-size:9px;line-height:1.75;max-width:none}
 [dir=rtl] .choice-panel .entry-intro h1{font-size:27px;line-height:1.45;margin:9px 0 0}
 [dir=rtl] .choice-panel .experience-option h2{font-size:20px}
 [dir=rtl] .choice-panel .visit-button{font-size:12px}
}
@media(max-width:380px){
 .experience-choice .header-tools{flex-basis:auto}
 .choice-panel{padding-inline:16px;padding-bottom:15px}
 .choice-panel .entry-layout{gap:13px;min-height:0}
 .choice-panel .entry-intro h1{font-size:29px;margin-top:10px}
 .choice-panel .option-visual{height:87px}
 .choice-panel .option-body{padding:13px 15px 14px}
 .choice-panel .experience-option h2{font-size:19px}
 .choice-panel .experience-option p{font-size:10px;line-height:1.6;margin-bottom:10px}
 .choice-panel .download-estimate{font-size:10px;margin-bottom:10px}
 .choice-panel .standard-option .option-body{padding-block:13px}
 .choice-panel .visit-button{font-size:11px}
 [dir=rtl] .choice-panel .entry-intro h1{font-size:23px;line-height:1.4}
 [dir=rtl] .choice-panel .visit-button{font-size:11px}
}
@media(max-height:590px) and (orientation:landscape){
 .choice-panel{padding:max(72px,calc(env(safe-area-inset-top) + 62px)) max(25px,env(safe-area-inset-right)) max(15px,env(safe-area-inset-bottom)) max(25px,env(safe-area-inset-left))}
 .choice-panel .entry-layout{display:grid;grid-template-columns:1fr;gap:12px;min-height:0;align-content:start;max-width:1080px}
 .choice-panel .invitation-line,.choice-panel .entry-intro>p{display:none}
 .choice-panel .entry-intro h1{font-size:27px;line-height:1.1;margin:0;letter-spacing:-.8px}
 .choice-panel .entry-options{grid-template-columns:1.15fr 1fr;gap:12px}
 .choice-panel .experience-option{position:relative;min-width:0;border-radius:16px}
 .choice-panel .option-visual{position:absolute;inset:0;height:100%;width:100%;opacity:.16;pointer-events:none;border:0}
 .choice-panel .standard-preview{display:none}
 .choice-panel .entry-poster{object-position:50% 60%}
 .choice-panel .scene-caption,.choice-panel .scene-badge{display:none}
 .choice-panel .option-body{position:relative;padding:13px 17px 14px}
 .choice-panel .option-kicker,.choice-panel .experience-option p{display:none}
 .choice-panel .experience-option h2{font-size:19px;margin:0 0 9px}
 .choice-panel .download-estimate{font-size:10px;line-height:1.6;margin-bottom:10px}
 .choice-panel .visit-button{min-height:42px;padding:9px 12px;font-size:12px}
 .choice-panel .entry-bottom{display:block}.choice-panel .entry-footer{display:none}
 .choice-panel .choice-note{text-align:start;font-size:9px;line-height:1.7;max-width:none}
 [dir=rtl] .choice-panel .entry-intro h1{font-size:25px;line-height:1.4;margin:0}
 [dir=rtl] .choice-panel .experience-option h2{font-size:18px}
 [dir=rtl] .choice-panel .visit-button{font-size:12px}
}
/* A tall portrait monitor gets two editorial rows, without viewport-sized
   spacers. Images retain their proportions; all choices stay in normal flow. */
@media(min-width:761px) and (min-height:1100px) and (max-aspect-ratio:4/5){
 .choice-panel .entry-layout{max-width:1000px;gap:clamp(24px,2.4svh,40px)}
 .choice-panel .entry-options{grid-template-columns:1fr;gap:24px}
 .choice-panel .experience-option{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);min-width:0;min-block-size:clamp(22rem,30svh,42rem)}
 .choice-panel .option-visual{height:100%;inline-size:100%;aspect-ratio:auto;min-inline-size:0;border-bottom:0;border-inline-end:1px solid #3e354a70}
 .choice-panel .entry-poster{object-position:55% 55%}
 .choice-panel .standard-preview{padding:48px 25px 32px}
 .choice-panel .site-preview{width:min(340px,100%)}
 .choice-panel .option-body{min-width:0;padding:30px 32px}
 .choice-panel .experience-option h2{font-size:29px;line-height:1.25}
 .choice-panel .experience-option p{font-size:14px;line-height:1.75;max-width:none}
 .choice-panel .download-estimate{font-size:12px;line-height:1.75}
 .choice-panel .visit-button{font-size:14px;min-height:50px}
 [dir=rtl] .choice-panel .visit-button{font-size:14px}
}
/* At narrow zoomed landscape widths, two cards no longer fit side by side. */
@media(max-width:560px) and (max-height:590px) and (orientation:landscape){
 .choice-panel .entry-options{grid-template-columns:1fr}
 .choice-panel .experience-option h2{overflow-wrap:anywhere}
 .choice-panel .entry-intro h1{font-size:24px}
 [dir=rtl] .choice-panel .entry-intro h1{font-size:23px}
}
@media(prefers-reduced-motion:reduce){.choice-panel .experience-option,.entry-poster,.site-preview,.visit-icon svg,.door-leaf{transition:none!important}.immersive-option:is(:hover,:focus-within) .entry-poster{transform:none}.standard-option:is(:hover,:focus-within) .site-preview{transform:rotateY(-8deg) rotateX(5deg) rotateZ(2deg)}.visit-button:is(:hover,:focus-visible) .door-leaf{transform:none}#choose-standard:is(:hover,:focus-visible) .visit-icon svg{transform:none}[dir=rtl] #choose-standard:is(:hover,:focus-visible) .visit-icon svg{transform:scaleX(-1)}}

/* The standard-site card carries the same public portrait as the portfolio.
   Its frame is decorative; the visible language variant retains descriptive alt. */
.choice-panel .standard-preview{padding:42px 28px 18px}
.choice-panel .site-preview-content{padding:10px 12px 12px}
.choice-panel .preview-profile{display:grid;grid-template-columns:minmax(0,1fr) 76px;gap:10px;align-items:center;min-height:84px}
.choice-panel .preview-profile-copy{min-width:0}
.choice-panel .preview-identity{display:block;margin:0 0 8px;color:#c8b8dd;font-size:8px;font-weight:650;letter-spacing:.7px;white-space:nowrap}
.choice-panel .preview-profile .preview-line{width:100%;height:6px}
.choice-panel .preview-profile .preview-line.accent{width:94%}
.choice-panel .preview-profile .preview-line.small{width:87%;height:3px;margin-top:9px}
.choice-panel .preview-profile .preview-cta{margin-top:9px}
.choice-panel .preview-person{inline-size:76px;block-size:84px;align-self:end;overflow:hidden;border:1px solid #c9b5e538;border-radius:12px 12px 5px 5px;background:radial-gradient(ellipse at 50% 80%,#bb8cec36,transparent 80%),#24202b}
.choice-panel .preview-person img,.choice-panel .entry-profile-thumb img{display:block;inline-size:100%;block-size:100%;object-fit:contain;object-position:center bottom;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none;pointer-events:none}
.choice-panel .preview-projects{margin-top:8px;gap:6px}
.choice-panel .preview-project{height:26px}
.choice-panel .preview-project svg{width:19px;height:19px}
.choice-panel .entry-profile-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0}
.choice-panel .entry-profile-heading>div{min-width:0}
.choice-panel .entry-profile-thumb{display:none}
html[lang=en] .choice-panel .entry-portrait-fa,html[lang=fa] .choice-panel .entry-portrait-en{display:none}
@media(min-width:761px) and (min-height:1100px) and (max-aspect-ratio:4/5){
 .choice-panel .standard-preview{padding:48px 25px 32px}
 .choice-panel .site-preview-content{padding:15px 16px 17px}
 .choice-panel .preview-profile{grid-template-columns:minmax(0,1fr) 106px;gap:12px;min-height:126px}
 .choice-panel .preview-person{inline-size:106px;block-size:126px;border-radius:16px 16px 6px 6px}
 .choice-panel .preview-identity{font-size:9px;letter-spacing:.6px}
 .choice-panel .preview-projects{margin-top:13px}
 .choice-panel .preview-project{height:32px}
}
@media(max-width:760px),(max-height:590px) and (orientation:landscape){
 .choice-panel .entry-profile-heading{margin-bottom:9px}
 .choice-panel .entry-profile-heading h2{margin-bottom:0}
 .choice-panel .entry-profile-thumb{display:block;flex:0 0 48px;inline-size:48px;block-size:54px;overflow:hidden;border:1px solid #c9b5e538;border-radius:11px;background:radial-gradient(ellipse at 50% 80%,#bb8cec36,transparent 80%),#24202b}
 .choice-panel .entry-profile-thumb img{object-fit:cover;object-position:center top}
}
@media(max-height:590px) and (orientation:landscape){
 .choice-panel .entry-profile-heading{margin-bottom:8px}
 .choice-panel .entry-profile-thumb{flex-basis:40px;inline-size:40px;block-size:42px;border-radius:9px}
}

/* The native chooser is also the first paint while its module is arriving.
   Keep the standard-site link usable and the legacy read panel out of this state. */
.no-js .experience-choice #experience-choice{display:block!important}
.no-js .experience-choice .read-view{display:none!important}
.no-js .experience-choice .header{padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}
.no-js .experience-choice #language{display:inline-flex}
/* When scripts are disabled, the real noscript language link replaces the button.
   Older selectors fall back to keeping that working native link beside it. */
@supports selector(:has(a)){
 .no-js .experience-choice .header-tools:has(noscript a) #language{display:none}
}

/* Visitor-facing Beta label only; no house rendering or controls change. */
.choice-panel .house-heading{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.choice-panel .house-heading h2{flex:0 1 auto}.house-beta{display:inline-flex;align-items:center;align-self:flex-start;flex:none;padding:5px 9px;border:1px solid #e8c38066;border-radius:999px;background:#e8c38012;color:#f2d6a3;font-size:9px;font-weight:700;line-height:1.4;white-space:nowrap;letter-spacing:.03em}.choice-panel .house-heading .house-beta{margin-block-end:9px}[dir=rtl] .house-beta{letter-spacing:0}@media(max-width:760px){.choice-panel .house-heading{gap:7px}.choice-panel .house-heading .house-beta{font-size:8px;padding:3px 7px;margin-block-end:5px}}
