/* JR bilingual language gateway — premium v5.2 (2026-10-20).
   Scoped to the public gateway. No remote fonts, JS, tracking or animation dependencies.
   This CSS is loaded AFTER the existing shared site styles; do not modify them. */
body.language-gateway.public-gateway-page{
  --gg-ink:#f5f1e8;
  --gg-muted:#c2b9ab;
  --gg-gold:#e8c989;
  --gg-line:rgba(221,184,112,.26);
  --gg-surface:#11100e;
  --gg-focus:#ffe5a7;
  margin:0;
  min-height:100dvh;
  overflow-x:clip;
  color:var(--gg-ink);
  background:
    radial-gradient(ellipse 70vw 46vw at 88% -10%,rgba(180,132,63,.18),transparent 72%),
    radial-gradient(ellipse 64vw 58vw at -12% 68%,rgba(119,91,55,.09),transparent 75%),
    #070707;
  font-family:"JR Gateway Inter","Segoe UI",Arial,Helvetica,sans-serif;
  line-height:1.65;
  -webkit-text-size-adjust:100%;
}
body.language-gateway.public-gateway-page :where(a,button):focus-visible{
  outline:3px solid var(--gg-focus);
  outline-offset:4px;
  box-shadow:0 0 0 6px rgba(232,201,137,.12);
}
body.language-gateway.public-gateway-page a{touch-action:manipulation}
body.language-gateway.public-gateway-page .skip{
  position:fixed;
  top:12px;
  left:12px;
  z-index:999;
  transform:translateY(-180%);
  width:auto;
  height:auto;
  min-height:44px;
  margin:0;
  clip-path:none;
  overflow:visible;
  white-space:normal;
  border-radius:12px;
  border:1px solid #e8c989;
  background:#16120d;
  color:#fff;
  text-decoration:none;
  padding:10px 16px;
  /* Keyboard users must see the skip link immediately, without a transition. */
  transition:none;
}
body.language-gateway.public-gateway-page .skip:focus{transform:none}
body.language-gateway.public-gateway-page .gateway-shell{
  display:block;
  width:min(1260px,calc(100% - 64px));
  min-height:0;
  padding:0 0 54px;
  margin:0 auto;
}
body.language-gateway.public-gateway-page .gateway-masthead{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  min-height:96px;
  border-bottom:1px solid rgba(233,198,123,.16);
  margin-bottom:28px;
}
body.language-gateway.public-gateway-page .gateway-identity{
  display:flex;
  gap:13px;
  align-items:center;
  min-width:0;
  text-decoration:none;
}
body.language-gateway.public-gateway-page .gateway-monogram{
  display:grid;
  place-items:center;
  flex:0 0 48px;
  height:48px;
  color:#f1d398;
  padding:5px;
  background:linear-gradient(140deg,#241c11,#0f0e0d);
  border:1px solid rgba(234,209,157,.66);
  border-radius:15px;
  box-shadow:0 6px 30px rgba(190,143,68,.14);
}
body.language-gateway.public-gateway-page .gateway-monogram img{
  display:block;
  width:100%;
  height:100%;
  object-fit:contain;
}
body.language-gateway.public-gateway-page .gateway-id-text{display:grid;gap:1px;min-width:0}
body.language-gateway.public-gateway-page .gateway-id-text strong{
  color:#faf4e7;
  font:600 15px/1.35 "JR Gateway Inter","Segoe UI",Arial,sans-serif;
  letter-spacing:.01em;
}
body.language-gateway.public-gateway-page .gateway-id-text small{
  color:var(--gg-muted);
  font:400 12px/1.4 "JR Gateway Inter","Segoe UI",Arial,sans-serif;
}
body.language-gateway.public-gateway-page .gateway-masthead-link{
  flex:0 0 auto;
  color:#edd6a1;
  font-size:13px;
  text-underline-offset:5px;
  text-decoration-color:rgba(232,201,137,.52);
}
body.language-gateway.public-gateway-page .gateway-card{
  display:grid;
  grid-template-columns:minmax(0,1.17fr) minmax(290px,.83fr);
  align-items:center;
  gap:clamp(24px,5vw,72px);
  position:relative;
  width:100%;
  min-width:0;
  border:1px solid var(--gg-line);
  border-radius:32px;
  background:
    radial-gradient(circle at 90% 14%,rgba(223,177,91,.13),transparent 34%),
    linear-gradient(132deg,rgba(42,34,23,.41),rgba(15,14,13,.98) 44%,rgba(9,9,10,.99));
  padding:clamp(28px,5vw,68px);
  overflow:hidden;
  box-shadow:0 30px 110px rgba(0,0,0,.45),inset 0 1px 0 rgba(254,233,185,.045);
  isolation:isolate;
}
body.language-gateway.public-gateway-page .gateway-card::before{
  content:"";
  position:absolute;
  pointer-events:none;
  inset:0;
  border-radius:inherit;
  opacity:.55;
  background:linear-gradient(135deg,rgba(255,255,255,.04),transparent 27%,transparent 76%,rgba(208,165,89,.055));
}
body.language-gateway.public-gateway-page .gateway-card::after{
  content:"";
  position:absolute;
  inset:auto -100px -240px auto;
  width:430px;
  height:430px;
  border:1px solid rgba(211,168,91,.16);
  border-radius:50%;
  box-shadow:0 0 0 50px rgba(211,168,91,.022),0 0 0 110px rgba(211,168,91,.013);
  z-index:-1;
  pointer-events:none;
}
body.language-gateway.public-gateway-page .gateway-copy{
  position:relative;
  z-index:2;
  min-width:0;
}
body.language-gateway.public-gateway-page .kicker{
  display:inline-flex;
  align-items:center;
  gap:10px;
  margin:0 0 24px;
  color:var(--gg-gold);
  font:600 12px/1.6 "JR Gateway Inter","Segoe UI",Arial,sans-serif;
  letter-spacing:.14em;
  text-transform:uppercase;
}
body.language-gateway.public-gateway-page .kicker::before{
  content:"";
  display:block;
  width:25px;
  height:1px;
  background:currentColor;
}
body.language-gateway.public-gateway-page .gateway-copy h1{
  margin:0 0 24px;
  color:#fffaf0;
  font-family:"Iowan Old Style","Baskerville","Palatino Linotype",Georgia,"Times New Roman",serif;
  font-size:clamp(48px,5.3vw,82px);
  font-weight:500;
  line-height:1.04;
  letter-spacing:-.052em;
  text-wrap:balance;
}
body.language-gateway.public-gateway-page .gateway-copy h1 em{
  display:inline;
  color:#e8c989;
  font-style:normal;
  font-weight:500;
}
body.language-gateway.public-gateway-page .gateway-lede{
  color:#eee3cf;
  font:500 clamp(19px,2vw,26px)/1.48 "JR Gateway Inter","Segoe UI",Arial,sans-serif;
  max-width:31ch;
  margin:0 0 16px;
  text-wrap:pretty;
}
body.language-gateway.public-gateway-page .gateway-intro{
  color:#c6bdb0;
  font-size:clamp(15px,1.18vw,17px);
  line-height:1.8;
  max-width:62ch;
  margin:0 0 22px;
  text-wrap:pretty;
}
body.language-gateway.public-gateway-page .gateway-quote{
  margin:0 0 24px;
  border-inline-start:2px solid #c49e5f;
  padding:3px 0 3px 17px;
}
body.language-gateway.public-gateway-page .gateway-quote p{
  margin:0;
  font-size:15px;
  line-height:1.65;
  color:#f1e5cc;
}
body.language-gateway.public-gateway-page .gateway-quote p[lang="fa"]{
  font-family:Tahoma,Arial,sans-serif;
  font-size:16px;
  line-height:1.9;
}
body.language-gateway.public-gateway-page .gateway-quote p[lang="en"]{
  color:#c7bca9;
  font-size:13px;
}
body.language-gateway.public-gateway-page .gateway-actions{
  display:flex;
  align-items:stretch;
  flex-wrap:wrap;
  gap:12px;
  margin:0;
}
body.language-gateway.public-gateway-page .gateway-actions .button{
  display:inline-flex;
  gap:12px;
  align-items:center;
  justify-content:center;
  min-height:54px;
  padding:12px 21px;
  border:1px solid rgba(233,198,123,.46);
  border-radius:13px;
  color:#f5e8cc;
  background:rgba(218,169,92,.065);
  text-decoration:none;
  font:650 14px/1.45 "JR Gateway Inter","Segoe UI",Arial,sans-serif;
  transition:transform .18s ease,box-shadow .18s ease,background .18s ease;
}
body.language-gateway.public-gateway-page .gateway-actions .button.primary{
  color:#221a0c;
  border-color:#e5bd70;
  background:linear-gradient(135deg,#ffebb6 0%,#e9c77f 55%,#c89a54 100%);
  box-shadow:0 8px 26px rgba(219,167,78,.16);
}
body.language-gateway.public-gateway-page .gateway-actions .button[lang="fa"]{
  font-family:Tahoma,Arial,sans-serif;
  font-size:15px;
}
body.language-gateway.public-gateway-page .gateway-actions .button:hover{
  transform:translateY(-2px);
  box-shadow:0 10px 28px rgba(219,167,78,.20);
}
body.language-gateway.public-gateway-page .gateway-hint{
  color:#bab0a2;
  margin:13px 0 0;
  font-size:13px;
  line-height:1.65;
}
body.language-gateway.public-gateway-page .gateway-credentials{
  display:flex;
  flex-wrap:wrap;
  gap:8px 16px;
  margin-top:28px;
  padding-top:18px;
  border-top:1px solid rgba(224,191,126,.16);
}
body.language-gateway.public-gateway-page .gateway-credentials span{
  display:inline-flex;
  align-items:center;
  gap:7px;
  color:#d7c9b5;
  font-size:12px;
  line-height:1.6;
}
body.language-gateway.public-gateway-page .gateway-credentials span::before{
  content:"";
  height:5px;
  width:5px;
  flex:0 0 5px;
  border-radius:50%;
  background:#d8b370;
}
body.language-gateway.public-gateway-page .portrait-shell{
  order:0;
  position:relative;
  justify-self:center;
  width:min(100%,390px);
  aspect-ratio:4/5;
  margin:0;
  padding:10px;
  border:1px solid rgba(235,197,123,.42);
  border-radius:27px;
  background:linear-gradient(150deg,rgba(237,205,136,.10),rgba(255,255,255,.018));
  box-shadow:0 34px 90px rgba(0,0,0,.42),0 0 0 7px rgba(225,178,96,.025);
  overflow:hidden;
  z-index:2;
}
body.language-gateway.public-gateway-page .portrait-shell::after{
  content:"";
  position:absolute;
  inset:10px;
  pointer-events:none;
  border-radius:18px;
  box-shadow:inset 0 0 0 1px rgba(255,242,204,.15);
}
body.language-gateway.public-gateway-page .hero-portrait{
  display:block;
  width:100%;
  height:100%;
  min-height:0;
  object-fit:cover;
  object-position:center 25%;
  border-radius:18px;
  filter:saturate(.95) contrast(1.03);
}
body.language-gateway.public-gateway-page .gateway-panels{
  width:100%;
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:16px;
  margin:24px 0 0;
  padding:0;
}
body.language-gateway.public-gateway-page .gateway-panels article{
  min-width:0;
  display:flex;
  flex-direction:column;
  border:1px solid rgba(219,185,120,.22);
  border-radius:22px;
  padding:26px;
  background:linear-gradient(155deg,rgba(32,28,23,.86),rgba(14,14,14,.93));
  transition:border-color .18s ease,transform .18s ease,box-shadow .18s ease;
}
body.language-gateway.public-gateway-page .gateway-panels article:hover{
  border-color:rgba(241,205,139,.65);
  transform:translateY(-3px);
  box-shadow:0 18px 60px rgba(0,0,0,.28);
}
body.language-gateway.public-gateway-page .gateway-panels .panel-label{
  color:#dec08c;
  margin:0 0 13px;
  font:600 11px/1.5 "JR Gateway Inter",Arial,sans-serif;
  letter-spacing:.15em;
  text-transform:uppercase;
}
body.language-gateway.public-gateway-page .gateway-panels h2{
  margin:0 0 12px;
  color:#f6efdf;
  font:500 clamp(23px,2.2vw,30px)/1.24 "Iowan Old Style",Georgia,serif;
  letter-spacing:-.025em;
}
body.language-gateway.public-gateway-page .gateway-panels p{
  color:#c5bbaf;
  font-size:14px;
  line-height:1.78;
  margin:0 0 17px;
  flex:1;
}
body.language-gateway.public-gateway-page .gateway-panel-link{
  display:inline-flex;
  gap:9px;
  align-items:center;
  min-height:44px;
  width:fit-content;
  color:#f0d79e;
  font-weight:650;
  font-size:14px;
  text-decoration:none;
  border-bottom:1px solid rgba(222,183,116,.48);
  padding:8px 0;
}
body.language-gateway.public-gateway-page .gateway-panel-link:hover{
  border-color:#ffe6ad;
}
body.language-gateway.public-gateway-page .gateway-secondary-nav{
  display:flex;
  align-items:center;
  justify-content:center;
  flex-wrap:wrap;
  gap:8px 28px;
  margin-top:25px;
  color:#d8c6a8;
  font-size:14px;
}
body.language-gateway.public-gateway-page .gateway-secondary-nav a{
  display:inline-flex;
  align-items:center;
  min-height:44px;
  color:#e6d1ab;
  text-underline-offset:5px;
}
body.language-gateway.public-gateway-page .gateway-legal{
  width:min(1260px,calc(100% - 64px));
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  gap:14px 26px;
  margin:0 auto 20px;
  padding:26px 0 30px;
  border-top:1px solid rgba(226,185,107,.21);
  color:#bfb4a4;
  font-size:12px;
  line-height:1.65;
}
body.language-gateway.public-gateway-page .gateway-legal a{
  color:#e8d7b6;
  text-decoration:underline;
  text-underline-offset:4px;
}
body.language-gateway.public-gateway-page .gateway-legal>.enamad-footer-row{
  display:flex!important;
  flex:1 0 100%;
  justify-content:center;
  order:2!important;
  min-height:86px;
}
body.language-gateway.public-gateway-page .gateway-legal .enamad-footer-row img{
  max-height:58px;
  width:auto;
  height:auto;
}
@media (max-width:980px){
  body.language-gateway.public-gateway-page .gateway-shell,
  body.language-gateway.public-gateway-page .gateway-legal{
    width:calc(100% - 36px);
  }
  body.language-gateway.public-gateway-page .gateway-card{
    grid-template-columns:minmax(0,1.15fr) minmax(240px,.85fr);
    padding:32px;
    gap:28px;
  }
  body.language-gateway.public-gateway-page .gateway-copy h1{font-size:clamp(43px,6vw,66px)}
  body.language-gateway.public-gateway-page .portrait-shell{width:min(100%,320px)}
  body.language-gateway.public-gateway-page .gateway-panels article{padding:21px}
}
@media (max-width:760px){
  body.language-gateway.public-gateway-page .gateway-masthead{
    min-height:82px;
    margin-bottom:16px;
  }
  body.language-gateway.public-gateway-page .gateway-card{
    grid-template-columns:minmax(0,1fr);
    gap:26px;
    padding:28px 24px;
    border-radius:24px;
  }
  body.language-gateway.public-gateway-page .gateway-copy{order:0}
  body.language-gateway.public-gateway-page .portrait-shell{
    order:1;
    width:min(100%,280px);
    aspect-ratio:4/4.7;
    justify-self:center;
  }
  body.language-gateway.public-gateway-page .gateway-panels{
    grid-template-columns:minmax(0,1fr);
    gap:12px;
    margin-top:16px;
  }
  body.language-gateway.public-gateway-page .gateway-panels article{padding:24px}
}
@media (max-width:520px){
  body.language-gateway.public-gateway-page .gateway-shell,
  body.language-gateway.public-gateway-page .gateway-legal{
    width:calc(100% - 24px);
  }
  body.language-gateway.public-gateway-page .gateway-masthead-link{
    font-size:12px;
  }
  body.language-gateway.public-gateway-page .gateway-id-text strong{
    font-size:13px;
  }
  body.language-gateway.public-gateway-page .gateway-id-text small{
    font-size:11px;
  }
  body.language-gateway.public-gateway-page .gateway-monogram{
    flex-basis:42px;
    height:42px;
  }
  body.language-gateway.public-gateway-page .gateway-card{
    padding:25px 19px 28px;
    border-radius:20px;
  }
  body.language-gateway.public-gateway-page .kicker{
    letter-spacing:.075em;
    font-size:11px;
    margin-bottom:16px;
  }
  body.language-gateway.public-gateway-page .gateway-copy h1{
    font-size:clamp(41px,11vw,57px);
    margin-bottom:19px;
    line-height:1.04;
  }
  body.language-gateway.public-gateway-page .gateway-lede{
    font-size:19px;
  }
  body.language-gateway.public-gateway-page .gateway-actions{
    display:grid;
    grid-template-columns:minmax(0,1fr);
  }
  body.language-gateway.public-gateway-page .gateway-actions .button{width:100%}
  body.language-gateway.public-gateway-page .gateway-quote{margin-bottom:20px}
  body.language-gateway.public-gateway-page .gateway-credentials{margin-top:24px}
  body.language-gateway.public-gateway-page .gateway-legal{
    flex-direction:column;
    justify-content:center;
    text-align:center;
  }
}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  body.language-gateway.public-gateway-page :is(.skip,.button,.gateway-panels article){
    transition:none!important;
  }
  body.language-gateway.public-gateway-page :is(.button,.gateway-panels article):hover{
    transform:none!important;
  }
}
@media (forced-colors:active){
  body.language-gateway.public-gateway-page .gateway-card,
  body.language-gateway.public-gateway-page .gateway-panels article{
    border:1px solid CanvasText;
  }
  body.language-gateway.public-gateway-page .gateway-actions .button.primary{
    background:ButtonFace;
    color:ButtonText;
    border:1px solid ButtonText;
  }
}
