@font-face{font-family:Rubik;src:url(assets/rubik-latin.woff2) format("woff2");font-weight:400 900;font-display:swap}
@font-face{font-family:Rubik;src:url(assets/rubik-hebrew.woff2) format("woff2");font-weight:400 900;font-display:swap;unicode-range:U+0590-05FF,U+FB1D-FB4F}
:root{--paper:#fbf8f1;--ink:#252036;--purple:#3d265d;--accent:#7751ba;--lime:#e8f599;--line:#e4ddd3;--muted:#5a5363;--ease:cubic-bezier(.22,.75,.24,1)}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--paper);color:var(--ink);font:1rem/1.6 Rubik,Arial,sans-serif}
h1,h2,h3,p,figure{margin:0}
a{color:inherit;text-decoration:none}
button{font:inherit;color:inherit;cursor:pointer}
img{display:block;max-width:100%}
[hidden]{display:none!important}
:focus-visible{outline:3px solid #a45adb;outline-offset:5px}
.sr-only,.skip:not(:focus){position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.skip:focus{position:fixed;inset:1rem 1rem auto auto;z-index:10;background:white;padding:.5rem 1rem}
.wrap{width:min(1200px, calc(100% - 96px));margin-inline:auto}
.header-inner{height:80px;display:flex;align-items:center;justify-content:space-between;gap:1rem}
.brand{display:inline-flex;align-items:center;gap:.72rem;line-height:1.1;flex-shrink:0}
.brand b{display:block;font-size:1.65rem;font-weight:800}
.brand small{display:block;font-size:.77rem;margin-top:.22rem;color:var(--muted)}
.bridge{display:grid;place-items:center;width:44px;height:44px;border-radius:14px;background:var(--purple);color:var(--lime);position:relative}
.bridge::before{content:"";width:27px;height:15px;border:2px solid currentColor;border-radius:24px 24px 0 0;margin-top:-2px}
.bridge::after{content:"";width:27px;height:7px;border-block:1px solid currentColor;background:repeating-linear-gradient(90deg,transparent 0 5px,currentColor 5px 6px);position:absolute;bottom:12px}
nav{display:flex;gap:clamp(1rem,3vw,2.8rem);font-size:.92rem;font-weight:500}
nav a,.footer>a:last-child{transition:color .2s}
nav a:hover,.footer>a:last-child:hover{color:var(--accent)}
.hero{isolation:isolate;position:relative;overflow:hidden;background:var(--purple);color:var(--paper)}
.hero::before{content:"";position:absolute;z-index:-1;inset:0;background:radial-gradient(ellipse at 16% 18%,#674782,transparent 58%),radial-gradient(ellipse at 91% 100%,#4e326f,transparent 62%)}
.hero-inner{display:grid;grid-template-columns: .86fr 1.14fr;align-items:center;gap:clamp(2rem,5vw,5rem);min-height:600px;padding-block:65px 76px}
.hero-copy{position:relative;z-index:1;animation:rise .85s var(--ease) both}
.hero-label{display:inline-flex;align-items:center;gap:.53rem;padding:.32rem .85rem;border:1px solid #b49bcd80;border-radius:99px;color:#eee3ff;font-size:.875rem;margin-bottom:1.1rem}
.hero-label span{color:var(--lime)}
h1{font-size:clamp(1.9rem,3vw,3rem);font-weight:500;line-height:1.03;letter-spacing:-.04em}
h1 strong{display:block;font-size:clamp(7rem,12vw,11rem);font-weight:850;letter-spacing:-.095em;margin-inline-start:-.06em;line-height:.96}
h1 strong span{color:var(--lime);letter-spacing:0}
.subtitle{font-size:clamp(1.62rem,3vw,2.6rem);font-weight:650;color:#e9d5fb;letter-spacing:-.045em;margin-top:.44rem}
.lead{color:#f5eafc;max-width:30ch;margin-top:.55rem;font-size:1.07rem}
.pill{display:inline-flex;align-items:center;justify-content:center;padding:.72rem 1.45rem;border-radius:999px;font-weight:650;min-height:48px;transition:background .24s,color .24s,transform .24s var(--ease)}
.pill:hover{transform:translateY(-3px)}
.hero-button{background:var(--lime);color:#28213b;margin-top:1.5rem}
.hero-button:hover{background:#f4ffd0}
.hero-figure{position:relative;margin-inline:12px 21px;animation:rise 1.05s .12s var(--ease) both}
.hero-photo{position:relative;padding:8px;background:#fff4df;border-radius:12px 105px 12px 12px;transform:rotate(-2.5deg);box-shadow:0 22px 55px #25143d95;overflow:hidden}
.hero-photo img{width:100%;aspect-ratio:1.32;height:auto;object-fit:cover;border-radius:7px 97px 7px 7px;object-position:center 48%;transition:transform .7s var(--ease)}
.hero-photo:hover img{transform:scale(1.035)}
.hero-loop{position:absolute;inset:-24px -34px -18px -17px;border:1px solid #caacdd8a;border-radius:22px 120px 19px 19px;transform:rotate(6deg)}
.hero-spark{position:absolute;color:var(--lime);font-size:clamp(2.7rem,5vw,5rem);top:-45px;left:-34px;z-index:1;line-height:1}
.hero-figure figcaption{position:absolute;left:13px;bottom:-17px;transform:rotate(3deg);background:var(--lime);color:var(--ink);padding:.38rem .78rem;font-size:.875rem;font-weight:550;box-shadow:0 5px 12px #25143d50}
.hero-figure figcaption span{margin-inline-end:.25rem}
@keyframes rise{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:translateY(0)}}

.spaces{padding-block:75px 90px}
.section-heading{display:flex;justify-content:space-between;align-items:end;gap:1rem;margin-bottom:1.5rem}
.kicker{color:#6b469d;font-weight:650;font-size:.9rem;margin-bottom:.45rem}
h2{font-size:clamp(2.35rem,5.1vw,4.65rem);font-weight:780;letter-spacing:-.065em;line-height:1.04}
h2 span{color:#8651bd}
.section-heading>p,.campus-copy>p:not(.kicker){color:var(--muted)}
.filters{display:flex;gap:.48rem;flex-wrap:wrap;margin-bottom:1.45rem}
.filters button,.gallery-controls button{padding:.48rem .92rem;border:1px solid #d6cdde;background:transparent;border-radius:99px;font-size:.88rem;transition:background .2s,color .2s,border .2s}
.filters button:hover,.gallery-controls button:hover{border-color:var(--accent);background:#eee4f7}
.filters button[aria-pressed="true"]{background:var(--purple);border-color:var(--purple);color:white}
.room-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem}
.room-card{isolation:isolate;display:flex;flex-direction:column;justify-content:space-between;position:relative;min-height:168px;border-radius:15px;overflow:hidden;background:var(--tile,#eee7fb);padding:1rem 1.12rem;transition:transform .32s var(--ease),box-shadow .32s var(--ease)}
.room-card:hover{transform:translateY(-5px);box-shadow:0 13px 25px #34214d20}
.room-card.photo{min-height:245px;grid-column:span 2;color:white;background:#463452}
.room-card.photo img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2;transition:transform .65s var(--ease)}
.room-card.photo::after{position:absolute;content:"";inset:0;z-index:-1;background:linear-gradient(0deg,#1d1425ed 0%,#1d14254d 53%,transparent 80%)}
.room-card.photo:hover img{transform:scale(1.055)}
.room-card.photo .tile-content{margin-top:auto}
.room-card:not(.photo)::after{content:"";position:absolute;z-index:-1;left:-26px;top:-30px;border:1px solid #532d7950;border-radius:50%;width:128px;height:128px;box-shadow:0 0 0 12px #fbf8f150,0 0 0 13px #532d792c}
.room-card[data-group="study"]{--tile:#ece4fa}
.room-card[data-group="create"]{--tile:#f6e3d8}
.room-card[data-group="nature"]{--tile:#eaf2ce}
.room-symbol{font-size:1.75rem;line-height:1.1;color:#55397b;direction:ltr;align-self:start;font-weight:530}
.room-card h3{font-size:clamp(1.12rem,2vw,1.62rem);line-height:1.2;font-weight:730;letter-spacing:-.04em}
.room-card.photo h3{font-size:clamp(1.45rem,2.65vw,2rem)}
.room-card p{font-size:.89rem;margin-top:.25rem;max-width:85%;line-height:1.35}
.card-open{display:grid;place-items:center;position:absolute;left:1rem;bottom:.98rem;font-size:1.3rem;width:33px;height:33px;border-radius:50%;background:#fff8;color:#352352;transition:background .24s,transform .24s}
.photo .card-open{background:#ffffff2c;color:white;border:1px solid #ffffff63}
.room-card:hover .card-open{background:var(--purple);color:white;transform:rotate(90deg)}
.campus{background:#ebe1f6;overflow:hidden}
.campus-inner{display:grid;grid-template-columns:.72fr 1.28fr;gap:clamp(2rem,6vw,6rem);align-items:center;padding-block:76px 98px}
.campus-copy>p:not(.kicker){max-width:27ch;margin-top:1.05rem}
.campus-button{background:var(--purple);color:white;margin-top:1.2rem}
.campus-button:hover{background:#553478}
.campus-photos{position:relative;padding-inline-end:16%}
.campus-photos a{display:block;background:#fff7e6;padding:6px;border-radius:10px;box-shadow:0 12px 26px #3d265d48;transition:transform .35s var(--ease)}
.campus-main{transform:rotate(-3deg)}
.campus-main:hover{transform:rotate(0)}
.campus-photos img{width:100%;height:auto;aspect-ratio:1.44;object-fit:cover;border-radius:6px}
.campus-secondary{width:48%;position:absolute;left:1%;bottom:-9%;transform:rotate(8deg)}
.campus-secondary:hover{transform:rotate(3deg) translateY(-5px)}
.footer{min-height:110px;display:flex;align-items:center;justify-content:space-between;gap:1rem}
.footer>a:last-child{font-size:.9rem}
body:has(dialog[open]){overflow:hidden}
dialog{width:min(720px,calc(100% - 28px));max-height:calc(100% - 32px);margin:auto;border:0;border-radius:22px;padding:0;background:var(--paper);color:var(--ink);box-shadow:0 25px 95px #1913208f}
dialog[open]{animation:rise .3s var(--ease) both}
dialog::backdrop{background:#1e142ac7;backdrop-filter:blur(5px)}
.detail-inner{position:relative;padding:clamp(1.2rem,4vw,2.3rem)}
.close{position:absolute;top:1rem;left:1rem;width:44px;height:44px;border-radius:50%;border:1px solid #d9cde5;background:#eee5f6;font-size:1.75rem;line-height:1}
.close:hover{background:#e8d6f5}
#detail-title{padding-inline-end:2.55rem;font-size:clamp(2rem,6vw,3.5rem)}
#detail-copy{margin-top:.9rem;color:var(--muted)}
.gallery{margin-top:1.25rem}
.gallery img{width:100%;height:min(45vh,420px);object-fit:contain;border-radius:12px;background:#272032}
.gallery figcaption{display:flex;align-items:center;justify-content:space-between;gap:.4rem 1rem;flex-wrap:wrap;margin-top:.7rem;color:var(--muted);font-size:.88rem}
.gallery-controls{display:flex;gap:.55rem;align-items:center;flex-shrink:0}
.gallery-controls button{min-height:42px}
@media(max-width:1000px){.wrap{width:calc(100% - 64px)}.hero-inner{min-height:520px}.room-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.room-card:not(.photo) p{max-width:78%}}
@media(max-width:760px){.wrap{width:calc(100% - 40px)}.header-inner{height:70px}.hero-inner{grid-template-columns:1fr;gap:3.5rem;padding-block:44px 60px}.hero-figure{width:min(calc(100% - 34px),520px);margin-inline:auto}.hero-photo img{aspect-ratio:1.45}.hero-loop{inset:-15px -18px -13px -14px}.hero-spark{top:-29px;left:-21px}.section-heading{align-items:start;flex-direction:column;gap:.65rem}.room-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.72rem}.room-card.photo{grid-column:span 1;min-height:200px}.spaces{padding-block:54px 62px}.campus-inner{grid-template-columns:1fr;padding-block:48px 70px}.campus-photos{max-width:520px}}
@media(max-width:400px){.wrap{width:calc(100% - 32px)}.header-inner nav{font-size:.81rem;gap:.65rem}.brand{gap:.42rem}.brand small{font-size:.69rem}.bridge{width:36px;height:36px}.bridge::after{bottom:8px}.room-card{padding:.8rem;min-height:154px}.room-card.photo{min-height:175px}.room-card p{font-size:.82rem}.card-open{left:.6rem;bottom:.64rem;width:29px;height:29px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

