/* RS Layout v20 — clean rebuild with isolated class names. */
:root{--rs-bg:#07111f;--rs-panel:#0b1b2c;--rs-line:#29425c;--rs-gold:#efbd45;--rs-text:#f4f7fb;--rs-muted:#aab9cc}
html,body{overflow-x:hidden}
body{background:var(--rs-bg)}

/* ---------- Stable site header / Reza ---------- */
nav.rs-nav{position:relative!important;inset:auto!important;z-index:80!important;width:100%!important;height:auto!important;min-height:0!important;margin:0!important;padding:0!important;background:#07111f!important;border-bottom:1px solid #16283c!important;overflow:visible!important;transform:none!important}
.rs-nav-shell{box-sizing:border-box!important;display:grid!important;grid-template-columns:minmax(220px,1fr) 330px!important;grid-template-areas:"brand reza" "links links"!important;gap:10px 18px!important;align-items:start!important;width:min(1180px,calc(100% - 32px))!important;max-width:1180px!important;margin:0 auto!important;padding:14px 0 12px!important;position:relative!important;overflow:visible!important}
.rs-brand{grid-area:brand!important;align-self:center!important;color:#f4f7fb!important;font-weight:800!important;font-size:20px!important;line-height:1!important;letter-spacing:.09em!important;text-decoration:none!important;white-space:nowrap!important}
.rs-reza-dock{grid-area:reza!important;justify-self:end!important;width:330px!important;max-width:330px!important;min-width:0!important;display:grid!important;grid-template-columns:1fr!important;gap:6px!important;position:relative!important;inset:auto!important;margin:0!important;padding:0!important;overflow:visible!important;transform:none!important}
.rs-reza-row{display:grid!important;grid-template-columns:46px 1fr!important;gap:8px!important;align-items:center!important;width:100%!important}
.rs-reza-photo{width:46px!important;height:46px!important;border:2px solid var(--rs-gold)!important;border-radius:50%!important;background:#0b1a2c url('/assets/reza.webp') center/cover no-repeat!important;box-shadow:0 5px 16px #0008!important}
.rs-reza-button{appearance:none!important;width:100%!important;min-width:0!important;margin:0!important;padding:13px 16px!important;border:1px solid var(--rs-gold)!important;border-radius:14px!important;background:linear-gradient(180deg,#f5c958,#eab33b)!important;color:#08111e!important;font:900 15px/1 system-ui,-apple-system,sans-serif!important;letter-spacing:.08em!important;white-space:nowrap!important;box-shadow:0 7px 18px #0007!important;cursor:pointer!important}
.rs-reza-note{box-sizing:border-box!important;width:100%!important;max-width:100%!important;margin:0!important;padding:9px 11px!important;border:1px solid #29425c!important;border-radius:12px!important;background:#081522f2!important;color:#c9d5e4!important;font:500 12px/1.28 system-ui,-apple-system,sans-serif!important;white-space:normal!important;overflow:visible!important;overflow-wrap:normal!important;word-break:normal!important;box-shadow:0 6px 18px #0005!important}
.rs-nav-links{grid-area:links!important;display:grid!important;grid-template-columns:repeat(5,max-content)!important;justify-content:start!important;align-items:center!important;gap:10px 26px!important;width:100%!important;position:relative!important;inset:auto!important;margin:0!important;padding:0!important;overflow:visible!important;transform:none!important}
.rs-nav-link{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:32px!important;margin:0!important;padding:5px 0!important;color:#9fb0c7!important;font:500 14px/1.15 system-ui,-apple-system,sans-serif!important;text-decoration:none!important;white-space:nowrap!important;position:relative!important;transform:none!important}
.rs-nav-link.active{color:#fff!important;font-weight:800!important;text-shadow:0 0 12px #efbd4588!important}
.rs-nav-link.active::after{content:"";position:absolute;left:0;right:0;bottom:0;height:2px;background:linear-gradient(90deg,transparent,var(--rs-gold),transparent);box-shadow:0 0 8px #efbd45}

/* Hide any obsolete launcher left behind by older cached markup. */
.reza-dock{display:none!important}

/* ---------- Home ---------- */
.rs-home{background:linear-gradient(180deg,#091827,#07111f)!important;padding:10px 0 0!important;margin:0!important;overflow:hidden!important}
.rs-home-wrap{box-sizing:border-box;width:min(1180px,calc(100% - 32px));margin:0 auto;padding:0}
.rs-film{position:relative;width:100%;height:112px;padding:0!important;margin:0 0 12px;border:1px solid #29425c;border-radius:16px;background:#06101c;overflow:hidden;box-shadow:0 10px 26px #0007}
.rs-film::before,.rs-film::after{content:"";position:absolute;left:0;right:0;height:7px;z-index:5;background:repeating-linear-gradient(90deg,var(--rs-gold) 0 10px,transparent 10px 22px);pointer-events:none}.rs-film::before{top:5px}.rs-film::after{bottom:5px}
.rs-film-viewport{position:absolute;inset:0;overflow:hidden;touch-action:pan-y}
.rs-film-track{display:flex;align-items:center;width:max-content;height:100%;margin:0;padding:0;will-change:transform;animation:rsFilmMarquee 28s linear infinite!important;transform:translate3d(0,0,0)}
.rs-film-set{display:flex;align-items:center;flex:0 0 auto;gap:18px;padding:14px 20px}
.rs-film-item{appearance:none;display:block;flex:0 0 74px;width:74px;height:74px;margin:0;padding:0;border:3px solid var(--rs-gold);border-radius:50%;overflow:hidden;background:#0b1a2c;box-shadow:0 4px 14px #0008;cursor:pointer}
.rs-film-item img{display:block;width:100%;height:100%;object-fit:cover;border-radius:50%}
.rs-film-arrow{position:absolute;top:50%;z-index:10;width:42px;height:42px;display:grid;place-items:center;padding:0;border:2px solid var(--rs-gold);border-radius:50%;background:#07111fee;color:white;font:500 30px/1 serif;transform:translateY(-50%);box-shadow:0 0 16px #000b;cursor:pointer}.rs-film-prev{left:8px}.rs-film-next{right:8px}
@keyframes rsFilmMarquee{from{transform:translate3d(0,0,0)}to{transform:translate3d(-50%,0,0)}}

.rs-feature-card{display:grid;grid-template-columns:44% 56%;width:100%;height:390px;padding:0!important;margin:0 0 14px;border:1px solid #36516d;border-radius:22px;overflow:hidden;background:#081522;box-shadow:0 14px 30px #0007}
.rs-portrait{display:grid;place-items:center;min-width:0;height:100%;background:#081522;border-right:1px solid #29425c;overflow:hidden}
.rs-portrait img{display:block;width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain;object-position:center center;background:#081522;filter:none!important;transform:none!important}
.rs-quote{position:relative;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;box-sizing:border-box;height:100%;padding:28px 34px;background:radial-gradient(circle at 90% 84%,#efbd4516,transparent 34%),linear-gradient(145deg,#0d2238,#081522 66%,#101a27);overflow:hidden}
.rs-quote::before{content:"“";position:absolute;right:22px;top:8px;color:#efbd4517;font:900 76px/1 Georgia,serif}
.rs-quote-date{margin:0 0 9px;color:#c7d4e2;font-size:15px;line-height:1.2}.rs-quote-kicker{color:var(--rs-gold);font-size:16px;line-height:1;font-weight:900;letter-spacing:.15em;text-transform:uppercase}.rs-quote blockquote{margin:18px 0 13px;max-width:620px;color:white;font:700 40px/1.02 Georgia,serif;letter-spacing:-.025em}.rs-quote-author{color:#eef3f9;font:700 18px/1.2 Georgia,serif}.rs-quote-rule{width:130px;height:3px;margin:17px 0 14px;background:linear-gradient(90deg,var(--rs-gold),#ffdc79,transparent)}.rs-quote p{margin:0;max-width:620px;color:#c8d5e4;font-size:16px;line-height:1.35}
.rs-home-copy{text-align:center;padding:0 0 12px}.rs-eyebrow{color:var(--rs-gold);font-size:14px;font-weight:900;letter-spacing:.17em;text-transform:uppercase}.rs-home-copy h1{margin:7px auto 12px;color:#f6f8fb;font-size:58px;line-height:.95;letter-spacing:-.045em}.rs-build-button{display:inline-flex;align-items:center;gap:10px;padding:14px 24px;border-radius:999px;background:linear-gradient(180deg,#f5c958,#eab33b);color:#07111f!important;font-weight:900;text-decoration:none!important;box-shadow:0 10px 24px #0007}.rs-home-lead{max-width:850px;margin:18px auto 0;color:#c7d5e5}.rs-home-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;max-width:650px;margin:18px auto 0}.rs-home-metrics>div{padding:12px;border:1px solid #20344b;border-radius:12px;background:#0b1a2c}.rs-home-metrics strong{display:block;color:white;font-size:22px}.rs-home-metrics span{color:#9fb0c7;font-size:12px}
.rs-footer{padding:10px 16px 14px;border-top:1px solid #16283c;background:#07111f;color:#91a3b9;text-align:center;font-size:12px;line-height:1.3}.rs-footer a{color:#c3cfdd}

/* ---------- Mobile: designed to fit the cover on one phone viewport ---------- */
@media (max-width:600px){
  body{width:100%!important;max-width:100%!important;overflow-x:hidden!important}
  .rs-nav-shell{grid-template-columns:minmax(0,1fr) 180px!important;grid-template-areas:"brand reza" "links links"!important;gap:7px 8px!important;width:calc(100% - 20px)!important;padding:8px 0 7px!important}
  .rs-brand{font-size:13px!important;letter-spacing:.07em!important;align-self:start!important;margin-top:9px!important}
  .rs-reza-dock{width:180px!important;max-width:180px!important;justify-self:end!important;gap:4px!important}
  .rs-reza-row{grid-template-columns:34px minmax(0,1fr)!important;gap:6px!important}
  .rs-reza-photo{width:34px!important;height:34px!important}
  .rs-reza-button{padding:9px 7px!important;border-radius:10px!important;font-size:10px!important;letter-spacing:.06em!important}
  .rs-reza-note{padding:6px 8px!important;border-radius:9px!important;font-size:8.8px!important;line-height:1.18!important;word-break:normal!important;overflow-wrap:normal!important;hyphens:none!important}
  .rs-nav-links{grid-template-columns:repeat(3,minmax(0,1fr))!important;grid-template-rows:27px 27px!important;gap:2px 6px!important;width:100%!important;justify-content:stretch!important}
  .rs-nav-link{width:100%!important;min-width:0!important;min-height:27px!important;padding:2px!important;font-size:10px!important;line-height:1.05!important;white-space:normal!important;text-align:center!important}
  .rs-nav-link:nth-child(1){grid-column:1;grid-row:1}.rs-nav-link:nth-child(2){grid-column:2;grid-row:1}.rs-nav-link:nth-child(3){grid-column:3;grid-row:1}.rs-nav-link:nth-child(4){grid-column:1/3;grid-row:2}.rs-nav-link:nth-child(5){grid-column:3;grid-row:2}

  .rs-home{padding:7px 0 0!important}
  .rs-home-wrap{width:calc(100% - 20px)!important}
  .rs-film{height:60px!important;margin-bottom:7px!important;border-radius:12px!important}
  .rs-film::before,.rs-film::after{height:5px!important;background:repeating-linear-gradient(90deg,var(--rs-gold) 0 7px,transparent 7px 16px)!important}.rs-film::before{top:3px}.rs-film::after{bottom:3px}
  .rs-film-set{gap:10px!important;padding:8px 10px!important}
  .rs-film-item{flex-basis:42px!important;width:42px!important;height:42px!important;border-width:2px!important}
  .rs-film-arrow{width:28px!important;height:28px!important;font-size:19px!important;border-width:1px!important}.rs-film-prev{left:4px!important}.rs-film-next{right:4px!important}
  .rs-film-track{animation-duration:20s!important}

  .rs-feature-card{grid-template-columns:44% 56%!important;height:218px!important;margin-bottom:6px!important;border-radius:14px!important}
  .rs-portrait{height:218px!important}
  .rs-portrait img{width:100%!important;height:100%!important;object-fit:contain!important;object-position:center center!important;background:#081522!important}
  .rs-quote{height:218px!important;padding:10px 10px!important}
  .rs-quote::before{right:6px!important;top:1px!important;font-size:42px!important}
  .rs-quote-date{margin-bottom:4px!important;font-size:7.5px!important;white-space:nowrap!important}.rs-quote-kicker{font-size:8.2px!important;letter-spacing:.11em!important}.rs-quote blockquote{margin:6px 0 5px!important;font-size:17px!important;line-height:1.02!important}.rs-quote-author{font-size:8.8px!important}.rs-quote-rule{width:58px!important;height:2px!important;margin:7px 0 6px!important}.rs-quote p{font-size:7.8px!important;line-height:1.2!important}

  .rs-home-copy{padding:0 0 5px!important}.rs-eyebrow{font-size:7.8px!important;letter-spacing:.12em!important}.rs-home-copy h1{margin:3px auto 5px!important;font-size:30px!important;line-height:.92!important;max-width:100%!important}.rs-build-button{padding:8px 15px!important;font-size:10.5px!important}.rs-home-lead,.rs-home-metrics{display:none!important}
  .rs-footer{padding:5px 10px 7px!important;font-size:7.6px!important}
}

@media (max-width:380px){
  .rs-nav-shell{grid-template-columns:minmax(0,1fr) 166px!important;width:calc(100% - 16px)!important}.rs-brand{font-size:12px!important}.rs-reza-dock{width:166px!important;max-width:166px!important}.rs-reza-row{grid-template-columns:31px 1fr!important}.rs-reza-photo{width:31px!important;height:31px!important}.rs-reza-button{font-size:9px!important;padding:8px 5px!important}.rs-reza-note{font-size:8px!important;padding:5px 6px!important}.rs-nav-link{font-size:9px!important}.rs-feature-card,.rs-portrait,.rs-quote{height:204px!important}.rs-quote blockquote{font-size:15px!important}.rs-home-copy h1{font-size:27px!important}.rs-film{height:56px!important}.rs-film-item{width:39px!important;height:39px!important;flex-basis:39px!important}
}


/* ===== v23 tablet / iPad stabilization ===== */
@media (min-width:601px) and (max-width:1100px){
  .rs-nav-shell{grid-template-columns:minmax(220px,1fr) 300px!important;gap:8px 16px!important;width:calc(100% - 28px)!important;padding:12px 0 10px!important}
  .rs-brand{font-size:18px!important}
  .rs-reza-dock{width:300px!important;max-width:300px!important}
  .rs-reza-row{grid-template-columns:42px 1fr!important;gap:7px!important}
  .rs-reza-photo{width:42px!important;height:42px!important}
  .rs-reza-button{padding:11px 14px!important;font-size:13px!important}
  .rs-reza-note{font-size:10.5px!important;padding:8px 10px!important}
  .rs-nav-links{grid-template-columns:repeat(5,minmax(0,max-content))!important;justify-content:center!important;gap:8px 22px!important}
  .rs-nav-link{font-size:12px!important}
  .rs-home{padding-top:8px!important}
  .rs-home-wrap{width:calc(100% - 28px)!important;max-width:980px!important}
  .rs-film{height:86px!important;margin-bottom:10px!important}
  .rs-film-set{gap:14px!important;padding:11px 16px!important}
  .rs-film-item{width:58px!important;height:58px!important;flex-basis:58px!important}
  .rs-film-arrow{width:34px!important;height:34px!important;font-size:22px!important}
  .rs-feature-card{grid-template-columns:43% 57%!important;height:300px!important;margin-bottom:10px!important;border-radius:18px!important}
  .rs-portrait{height:300px!important;background:#081522!important}
  .rs-portrait picture{display:block!important;width:100%!important;height:100%!important}
  .rs-portrait img{width:100%!important;height:100%!important;object-fit:cover!important;object-position:center center!important;background:#081522!important}
  .rs-quote{height:300px!important;padding:20px 24px!important}
  .rs-quote::before{font-size:60px!important}
  .rs-quote-date{font-size:12px!important;margin-bottom:6px!important}
  .rs-quote-kicker{font-size:12px!important}
  .rs-quote blockquote{font-size:30px!important;margin:12px 0 9px!important}
  .rs-quote-author{font-size:14px!important}
  .rs-quote-rule{width:96px!important;margin:11px 0 10px!important}
  .rs-quote p{font-size:12.5px!important}
  .rs-home-copy{padding-bottom:8px!important}
  .rs-eyebrow{font-size:11px!important}
  .rs-home-copy h1{font-size:44px!important;margin:5px auto 9px!important}
  .rs-build-button{padding:11px 19px!important;font-size:13px!important}
  .rs-home-lead,.rs-home-metrics{display:none!important}
  .rs-footer{font-size:10px!important;padding:8px 12px 10px!important}
}
