@font-face {
  font-family: IRANSans;
  src: url('fonts/iransans.ttf') format('truetype');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
:root{--ink:#173b40;--teal:#28665e;--sand:#f6eee1;--orange:#c57752}*{box-sizing:border-box}body{margin:0;background:#f3f0e9;color:#18383c;font-family:IRANSans,Tahoma,sans-serif;line-height:1.9}main{max-width:780px;margin:auto;padding:22px 16px 50px}.hero{background:#173b40;color:white;border-radius:24px;padding:36px 25px;margin:18px 0;background-image:linear-gradient(135deg,#173b40,#2d7067)}h1{font-size:clamp(32px,7vw,54px);line-height:1.35;margin:12px 0}h2{font-size:24px}h3{font-size:19px}.hero small{color:#f3d6a4}.panel{background:white;border-radius:20px;padding:25px;margin:18px 0;box-shadow:0 6px 28px #18383c0b}.nav{display:flex;gap:12px;flex-wrap:wrap;align-items:center;margin:15px 0}.nav a,a{color:#21675d}button,.btn{font:inherit;border:0;border-radius:13px;padding:12px 22px;background:#236c61;color:white;cursor:pointer;display:inline-block;text-decoration:none;font-weight:700}button:hover,.btn:hover{filter:brightness(1.08)}button:disabled{opacity:.45;cursor:not-allowed}.secondary{background:#e6eeeb;color:#23453f}.choice{display:block;width:100%;margin:12px 0;text-align:right;background:#f2f6f3;color:#193c3b;border:1px solid #c9d9d2}.choice:hover{background:#d8eee5}.muted{color:#667a78;font-size:14px}.hidden{display:none!important}.progress{height:8px;background:#e2e8e3;border-radius:20px;overflow:hidden}.progress span{display:block;background:#bf7952;height:100%;transition:width .3s}.card{background:linear-gradient(140deg,#15363c,#2a766b);color:white;border-radius:20px;padding:35px 25px;min-height:300px;display:flex;flex-direction:column;justify-content:space-between;background-image:linear-gradient(90deg,#15363ce0,#15363c88),url('building.jpg');background-size:cover;background-position:center}.card strong{font-size:36px}footer{margin-top:36px;border-top:1px solid #ccd8d3;padding-top:18px;font-size:13px;color:#526763}label{display:block;margin-top:15px;font-weight:700}input,select,textarea{font:inherit;width:100%;border:1px solid #c7d5cf;border-radius:10px;padding:10px;background:white;color:#18383c}textarea{min-height:140px}.note{border-right:4px solid #bc7a54;padding:10px 15px;background:#fbf2e9;border-radius:6px}.hero-image{width:100%;border-radius:20px;display:block}.links{display:grid;grid-template-columns:1fr 1fr;gap:12px}.links a{background:white;border-radius:16px;padding:20px;text-decoration:none;font-weight:700}@media(max-width:520px){.links{grid-template-columns:1fr}.hero{padding:28px 20px}}
body{background:#f7f6f0;font-family:IRANSans,Tahoma,'Noto Sans Arabic',sans-serif}
.home main{max-width:1290px;padding:0 clamp(16px,4vw,60px) 32px}
.mast,.actions{display:flex;align-items:center;gap:22px}.mast{justify-content:space-between;border-bottom:1px solid #c8d2cb;padding:22px 0;margin-bottom:22px}.mast a{font-weight:bold;color:#173c38;text-decoration:none}.mast span,figcaption,.routes small{font-size:14px}
.cover{display:grid;grid-template-columns:0.85fr 1.15fr;overflow:hidden;border-radius:26px;background:#143e38;color:#fff}.intro{display:flex;flex-direction:column;justify-content:center;padding:clamp(26px,4.6vw,64px)}.intro small{color:#dbecb5}.intro h1{font-size:clamp(48px,6.8vw,94px);letter-spacing:-.045em;line-height:1.25;margin:15px 0}.intro h1 span{color:#e7a56c}.intro p{max-width:29em;color:#e7eee7}.actions{flex-wrap:wrap;gap:16px;margin-top:12px}.actions .btn{background:#daeda8;color:#123d32}.plain{color:#fff;text-underline-offset:6px}.cover figure{position:relative;margin:0;min-height:350px}.cover img{width:100%;height:100%;position:absolute;inset:0;object-fit:cover}.cover figcaption{position:absolute;bottom:16px;right:16px;color:white;background:#123a33ed;border-radius:8px;padding:5px 12px}.routes{margin-top:20px;display:grid;grid-template-columns:1fr 1fr;gap:18px}.routes a{background:#e6eed9;color:#173c38;text-decoration:none;border-radius:18px;padding:clamp(18px,3vw,36px);border-top:4px solid #83a46a}.routes a+ a{background:#f5e6d7;border-color:#c6825e}.routes h2{font-size:30px;margin:6px 0}.routes p{margin:0}.routes a:hover{box-shadow:inset 0 0 0 2px currentColor}.hero{background:#163f39;border-inline-start:6px solid #d4eaa5}.panel{border:1px solid #d6dfd5}button:focus-visible,a:focus-visible{outline:3px solid #ca7330;outline-offset:3px}
@media(max-width:760px){.cover{grid-template-columns:1fr}.cover figure{min-height:205px}.intro h1 br{display:none}.intro{padding:26px}.mast{gap:12px}.mast a{max-width:68%}.routes{grid-template-columns:1fr}.cover img{object-position:center 60%}}

/* The building photograph and courtyard signage share a single visual palette. */
body { background-color: #f7f7f2; }
.mast a { display: flex; align-items: center; gap: .75rem; }
.mast a::before {
  content: ''; flex: none; width: 30px; height: 36px;
  background: repeating-linear-gradient(90deg, #24544b 0 4px, transparent 4px 8px);
  clip-path: polygon(0 35%,100% 0,100% 100%,0 100%);
}
.cover { box-shadow: 0 15px 40px #12382f18; }
.intro, .hero { background-color: #123d38; background-image: repeating-radial-gradient(ellipse at 115% -80%, transparent 0 30px, #d8e9c10b 31px 32px, transparent 33px 48px); }
.intro h1 { letter-spacing: -.035em; line-height: 1.55; }
.intro small, .hero small { color: #d8ebb1; }
.cover figure { border-inline-start: 5px solid #c6d999; }
.routes a { position: relative; overflow: hidden; }
.routes a::after { content: ''; position: absolute; left: -30px; bottom: -60px; width: 150px; height: 150px; border: 12px double #37654d20; border-radius: 50%; pointer-events: none; }
.routes a + a::after { border-radius: 24%; transform: rotate(35deg); border-color: #ad79542b; }
.panel { box-shadow: 0 10px 28px #163c3309; padding: clamp(20px,4vw,34px); }
.choice { min-height: 54px; padding-inline: 18px; border-inline-start: 4px solid #82a581; }
.progress span { background: #537e5a; }
button, input, select, textarea { font-family: inherit; }
@media (max-width:760px) {
  .cover figure { border-inline-start: none; border-top: 3px solid #c6d999; }
  .mast a::before { width: 20px; height: 28px; }
  .intro h1 { font-size: clamp(36px,8vw,54px); }
}

/* Editorial identity shared by the courtyard and its two visitor experiences. */
:root { --forest:#103f38; --gold:#ffd17a; --paper:#fffaf3; }
body { background:var(--paper); }
.landing main,.experience main { max-width:1240px; padding:0 clamp(16px,4vw,54px) 30px; }
.site-head,.site-head nav,.wordmark,.courtyard { display:flex; align-items:center; }
.site-head { justify-content:space-between; gap:16px; padding:18px 0; }
.wordmark { gap:12px; text-decoration:none; color:var(--forest); font-size:14px; line-height:1.55; }
.wordmark b { font-size:20px; }
.wordmark i { width:38px; height:44px; background:repeating-linear-gradient(90deg,var(--forest) 0 5px,transparent 5px 9px); clip-path:polygon(0 32%,100% 0,100% 100%,0 100%); }
.site-head nav { gap:6px; }
.site-head nav a { text-decoration:none; color:#32534a; padding:8px 14px; border-radius:24px; font-size:14px; }
.site-head nav a:hover,.site-head nav [aria-current] { color:var(--forest); background:#e6eddf; }
.poster { isolation:isolate; position:relative; overflow:hidden; color:white; background:#153e34; border-radius:6px 32px 6px 32px; min-height:490px; display:flex; align-items:center; }
.poster img,.poster::after { position:absolute; inset:0; width:100%;height:100%;z-index:-1; }
.poster img { object-fit:cover; object-position:50% 53%; }
.poster::after { content:''; background:linear-gradient(270deg,#082d28fa 3%,#0e382feb 24%,#10382fa1 51%,transparent 82%),linear-gradient(0deg,#092d299c,transparent 40%); }
.poster-copy { padding:clamp(22px,4.8vw,70px); max-width:630px; }
.poster-copy h1 { font-size:clamp(46px,6.5vw,86px); line-height:1.48; letter-spacing:-.065em; margin:12px 0; }
.poster-copy em { font-style:normal; color:var(--gold); }
.poster-copy p { max-width:32ch; margin:0 0 18px; }
.poster-copy .eyeline { font-size:14px; max-width:none; margin:0; }
.gold { background:var(--gold); color:#203c30; box-shadow:0 5px 18px #07261c38; }
.poster-year { position:absolute; bottom:0; left:4%; color:#fff; opacity:.85; font-size:clamp(45px,9vw,126px); letter-spacing:-.08em; line-height:1.25; pointer-events:none; }
.courtyard { gap:24px; color:#492a3d; background:linear-gradient(110deg,#f5d9e7,#ffe5ce 76%); padding:clamp(20px,3vw,40px); margin-top:20px; border-radius:5px 24px 5px 24px; }
.courtyard small { font-size:14px; }.courtyard h2 { margin:4px 0; font-size:clamp(19px,2vw,28px); }
.outline { margin-inline-start:auto; white-space:nowrap; color:#713249; text-decoration:none; border:1px solid #9c5771; border-radius:12px; padding:9px 18px; }
.speech { position:relative; width:68px;height:62px; flex:none; }.speech i { position:absolute; border-radius:16px 16px 2px 16px; border:3px solid #843e60; width:48px;height:35px; top:4px; right:0; }.speech i+i { top:24px; right:20px; background:#ffa885; }
.experience main { max-width:940px; }.experience .hero { overflow:hidden;position:relative;border:0;border-radius:5px 26px 5px 26px;margin:0 0 18px;background:linear-gradient(270deg,#0f382efc 16%,#163d34de 60%,#163d3466),url(building.jpg) center 54%/cover;padding:30px; }
.hero-inner { max-width:530px; }.hero-inner h1 { font-size:clamp(32px,5vw,54px); }.playing .hero { display:none; }
.experience .panel { border-radius:5px 20px 5px 20px; }.experience .panel h2:first-child { margin-top:0; }
#options { counter-reset:choices; }.choice { display:flex;align-items:center;gap:14px;counter-increment:choices; }
.choice::before { content:counter(choices,persian);display:grid;place-items:center;width:32px;height:32px;background:var(--choice-badge,#d9e5ff);border-radius:50%;flex:none; }
.card { min-height:320px; background-image:linear-gradient(120deg,#2d4079ef,#683963e8 70%,#714731e8),url(building.jpg);border-bottom:6px solid var(--gold); }.card strong { color:var(--gold); }
#setup-note { background:#fff4d8; color:#5d471a; border-inline-start:3px solid #d7ac4f; padding:10px 14px; }
@media(max-width:680px){
.site-head { flex-wrap:wrap; gap:8px; padding:12px 0; }.site-head nav a { padding:8px; }.wordmark { font-size:12px;gap:7px; }.wordmark b {font-size:16px;}.wordmark i {width:24px;height:32px;}
.poster {min-height:520px; align-items:flex-end;}.poster img {height:65%;object-position:center;}.poster::after { background:linear-gradient(0deg,#10392f 20%,#10392ff7 44%,#10392f15 82%); }.poster-copy { padding:25px; }.poster-copy h1 {line-height:1.35;}.poster-year {top:14px;bottom:auto;text-shadow:0 2px 10px #123b32;}.courtyard {display:grid;grid-template-columns:1fr auto;gap:12px;}.speech {display:none;}.courtyard .outline {grid-column:1/-1;margin:0;justify-self:start;}
}
@media(prefers-reduced-motion:no-preference){.btn,.outline,.choice{transition:background .18s,transform .18s}.btn:hover,.outline:hover,.choice:hover{transform:translateY(-2px)}}

.landing { background: radial-gradient(ellipse at 4% 12%, #ffedd2, transparent 52%), var(--paper); }
.poster-copy .eyeline { color:#ffe4aa; }
.poster-year { color:#ffdeb1; }
.courtyard small { color:#80314c; }
.game { --accent:#384a89; --soft:#e8ebfa; }
.wall { --accent:#833d58; --soft:#fae8e8; }
.experience .site-head nav [aria-current], .experience .secondary { background:var(--soft); color:var(--accent); }
.experience .hero small { color:#ffe0a4; }
.game .hero { background-image:linear-gradient(265deg,#222e5cfb 10%,#3c4784e6 60%,#39467769),url(building.jpg); }
.wall .hero { background-image:linear-gradient(265deg,#56283ffb 10%,#763b53e6 60%,#8c4b4169),url(building.jpg); }
.experience button:not(.choice):not(.secondary) { background:var(--accent); }
.game .progress span { background:linear-gradient(90deg,#bd6549,#63579a,#384a89); }
.game .choice { background:#f0f4ff; color:#273351; border-color:#c5d2ee; border-inline-start-color:#617dc2; }
.game .choice:nth-child(2) { background:#fff1e6; border-color:#f1d3bd; border-inline-start-color:#be714e; --choice-badge:#f9d4ba; }
.game .choice:nth-child(3) { background:#f4edfa; border-color:#ddcce7; border-inline-start-color:#8e68aa; --choice-badge:#e7d4f2; }
.game .choice:hover, .game .choice:focus-visible { box-shadow:inset 0 0 0 1px currentColor; }
.wall input,.wall textarea,.wall select { accent-color:var(--accent); }
.scene-photo{width:100%;height:clamp(110px,20vw,190px);object-fit:cover;border-radius:5px 14px;margin-bottom:12px}
.avatar{display:block;width:110px;height:110px;border-radius:50%;border:4px solid #f7dca1;margin:.6em 0}
#result-bars{font-size:.95rem;color:#ffe1a4}
