@font-face {
  font-family: IRANYekan;
  src: url("/assets/fonts/IRANYekan.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: IRANYekan;
  src: url("/assets/fonts/IRANYekan-bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}
:root {
  --white:#FFFFFF;
  --ink:#202326;
  --green:#3E7C59;
  --gray:#66727E;
  --red:#C44845;
  --navy:#17324D;
  --gold:#D99A2B;
}
* { box-sizing:border-box; }
body {
  margin:0;
  padding:10px 0 14px;
  background:var(--white);
  color:var(--ink);
  font-family:IRANYekan,Calibri,sans-serif;
}
a { color:inherit; text-decoration:none; }
button { font:inherit; cursor:pointer; }
img { display:block; max-width:100%; }
a,button { -webkit-tap-highlight-color:transparent; }
:focus-visible { outline:3px solid var(--gold); outline-offset:3px; }
.skip-link {
  position:fixed;
  top:-100px;
  right:12px;
  z-index:50;
  padding:10px;
  background:var(--white);
}
.skip-link:focus { top:10px; }

.site-frame {
  width:min(600px,100%);
  margin-inline:auto;
  box-shadow:0 0 20px #20232670;
  container-type:inline-size;
}
.site-header {
  height:60px;
  height:10cqw;
  padding:8px 13px;
  padding:1.33cqw 2.16cqw;
  display:flex;
  align-items:center;
  justify-content:space-between;
  background:var(--white);
  position:relative;
  z-index:5;
}
.identity { display:flex; flex-direction:column; gap:3px; }
.identity strong {
  font-size:22px;
  font-size:3.66cqw;
  font-weight:700;
  line-height:1.3;
}
.identity span { font-size:10px; font-size:1.66cqw; }
.tehran-clock {
  text-align:left;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:2px;
}
.clock-row {
  display:flex;
  align-items:center;
  gap:7px;
  gap:1.16cqw;
  font-size:11px;
  font-size:1.83cqw;
  white-space:nowrap;
}
#clock { font-variant-numeric:tabular-nums; }
.tehran-clock small {
  align-self:flex-start;
  font-size:6px;
  font-size:1cqw;
}
.hero-menu {
  position:relative;
  height:345px;
  height:57.5cqw;
  isolation:isolate;
}
.main-navigation {
  position:absolute;
  inset:0;
  display:grid;
  grid-template-columns:repeat(6,minmax(0,1fr));
}
.main-navigation a {
  position:relative;
  display:flex;
  align-items:flex-end;
  justify-content:center;
  padding:0 0 59px;
  padding-bottom:9.83cqw;
  background:var(--tile);
  color:var(--white);
  box-shadow:inset 3px 0 5px #20232625;
  transition:filter .18s,transform .18s,box-shadow .18s;
}
.main-navigation strong {
  font-weight:400;
  font-size:16px;
  font-size:2.66cqw;
  white-space:nowrap;
}
@media(hover:hover) {
  .main-navigation a:hover {
    filter:brightness(1.1);
    box-shadow:inset 0 0 18px #ffffff35;
  }
}
.main-navigation a:active {
  transform:translateY(4px);
  filter:brightness(.9);
}
.main-navigation a:focus-visible { outline-offset:-5px; }
.portrait-shadow {
  position:absolute;
  inset:0 0 auto;
  z-index:2;
  pointer-events:none;
  filter:drop-shadow(0 4px 3px #20232650);
}
.portrait-arch {
  height:223px;
  height:37.16cqw;
  border-radius:0 0 50% 50% / 0 0 100% 100%;
  background:linear-gradient(to bottom,#FFFFFF 0%,#eeeeee 32%,#aaaaaa 100%);
  overflow:hidden;
  position:relative;
}
.portrait-arch img {
  position:absolute;
  height:100%;
  width:48%;
  left:26%;
  bottom:0;
  object-fit:contain;
  object-position:center bottom;
}
.paper-section {
  position:relative;
  z-index:3;
  margin-top:-30px;
  margin-top:-5cqw;
  padding:52px 0 27px;
  padding:8.66cqw 0 4.5cqw;
  background:var(--white) url("/assets/images/paper.jpg") center top / 600px auto repeat;
  border-radius:50% 50% 0 0 / 30px 30px 0 0;
  border-radius:50% 50% 0 0 / 5cqw 5cqw 0 0;
  box-shadow:0 -4px 5px #20232645;
}
.quote-box {
  width:77%;
  margin:0 auto;
  position:relative;
  background:var(--gold);
  padding:9px 17px 27px;
  padding:1.5cqw 2.83cqw 4.5cqw;
}
.quote-box p {
  margin:0;
  font-size:12px;
  font-size:2cqw;
  line-height:1.9;
  text-align:justify;
}
.quote-box::before {
  content:"";
  position:absolute;
  top:-8px;
  left:-8px;
  width:94%;
  height:80%;
  border-top:2px solid var(--ink);
  border-left:2px solid var(--ink);
  pointer-events:none;
}
.quote-box::after {
  content:"";
  position:absolute;
  right:12px;
  bottom:12px;
  width:94%;
  height:81%;
  border-bottom:2px solid var(--ink);
  border-right:2px solid var(--ink);
  pointer-events:none;
}
.quote-open,.quote-close {
  position:absolute;
  font-family:Georgia,serif;
  font-size:44px;
  font-size:7.33cqw;
  line-height:1;
  font-weight:bold;
}
.quote-open { right:2px; top:-22px; }
.quote-close { left:-19px; bottom:-17px; }

.collaboration {
  display:grid;
  grid-template-columns:36% 52%;
  justify-content:space-between;
  align-items:center;
  margin:25px 2.5% 0 11.5%;
  margin-top:4.16cqw;
  min-height:145px;
  min-height:24.16cqw;
}
.collaboration-description { text-align:right; }
.collaboration-description p {
  margin:0;
  font-size:14px;
  font-size:2.33cqw;
  line-height:1.5;
}

.ticker {
  direction:ltr;
  overflow:hidden;
  width:100%;
  padding-block:8px;
}
.ticker-track {
  display:flex;
  width:200%;
  animation:ticker 24s linear infinite;
}
.ticker-group { display:flex; width:100%; flex-shrink:0; }
.collaborator-card {
  width:50%;
  flex-shrink:0;
  height:140px;
  height:23.33cqw;
  position:relative;
  display:flex;
  align-items:center;
}
.collaborator-info {
  direction:rtl;
  text-align:right;
  margin-left:24%;
  width:74%;
  height:79%;
  border-radius:12px;
  background:var(--ink);
  color:var(--white);
  box-shadow:0 0 7px #20232660;
  padding:12px 12px 8px 37%;
  padding:2cqw 2cqw 1.33cqw 37%;
  display:flex;
  flex-direction:column;
  justify-content:center;
}
.collaborator-info h2 {
  margin:0 0 5px;
  font-size:9px;
  font-size:1.5cqw;
}
.collaborator-info p,.collaborator-info small {
  margin:0 0 4px;
  font-size:8px;
  font-size:1.33cqw;
  line-height:1.8;
}
.collaborator-card img,.company-symbol {
  position:absolute;
  z-index:1;
  left:2%;
  width:51%;
  aspect-ratio:1;
  height:auto;
  object-fit:cover;
  border-radius:50%;
  box-shadow:0 0 6px #20232660;
}
.company-symbol {
  display:grid;
  place-items:center;
  background:var(--navy);
  color:var(--white);
  font-size:40px;
}
@keyframes ticker { to { transform:translateX(-50%); } }
.ticker:hover .ticker-track,
.ticker.is-paused .ticker-track { animation-play-state:paused; }

.video-placeholder {
  width:70%;
  aspect-ratio:16 / 9;
  margin:10px auto 0;
  margin-top:1.66cqw;
  display:grid;
  place-items:center;
  background:var(--ink);
  color:var(--white);
  border-radius:17px;
  border-radius:2.83cqw;
}
.video-placeholder span {
  font-family:Calibri,Arial,sans-serif;
  font-size:36px;
  font-size:6cqw;
}
.site-footer {
  min-height:60px;
  min-height:10cqw;
  padding:12px;
  padding:2cqw;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  background:var(--ink);
  color:var(--white);
  box-shadow:0 -4px 5px #20232655;
}
.contact-info {
  display:flex;
  align-items:center;
  gap:7px;
  gap:1.16cqw;
  white-space:nowrap;
  font-family:Calibri,Arial,sans-serif;
  font-size:12px;
  font-size:2cqw;
}
.languages {
  display:flex;
  align-items:center;
  gap:6px;
  gap:1cqw;
  white-space:nowrap;
  font-size:9px;
  font-size:1.5cqw;
}
.languages i { font-style:normal; }
.languages [aria-disabled] { cursor:default; }

/* Existing secondary pages */
.subpage-body {
  padding:20px;
  background:var(--white) url("/assets/images/paper.jpg") repeat;
}
.subpage {
  max-width:800px;
  margin:60px auto;
  padding:32px;
  background:#ffffffed;
  border-radius:18px;
  box-shadow:0 15px 40px #20232618;
  line-height:1.9;
}
.back-link {
  display:inline-block;
  background:var(--navy);
  color:var(--white);
  border-radius:8px;
  padding:10px 20px;
  margin-top:24px;
}
@media(max-width:600px) {
  body { padding:0; }
  .site-frame { box-shadow:none; }
  .quote-box::before { top:-5px; left:-5px; }
  .quote-box::after { right:7px; bottom:7px; }
  .quote-open { top:-15px; }
  .quote-close { left:-13px; bottom:-13px; }
}
@media(prefers-reduced-motion:reduce) {
  *,*::before,*::after {
    animation:none!important;
    transition:none!important;
  }
}

/* BEGIN PORTRAIT PAPER FIX */

/* Keep the entire image box inside the existing semicircle. */
.portrait-arch {
  overflow: hidden;
  isolation: isolate;
}

.portrait-arch img {
  position: absolute;
  left: 26%;
  bottom: 0;
  width: 48%;
  height: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center bottom;
}

/* Remove shadows painted on the button faces. */
.main-navigation a,
.main-navigation a:hover,
.main-navigation a:active {
  box-shadow: none;
}

/*
  Paint the contact shadow inside the curved paper surface,
  below the buttons, instead of casting it upward onto them.
*/
.paper-section {
  box-shadow:
    inset 0 9px 9px -7px #20232685,
    inset 0 20px 18px -16px #20232650;
}

/* END PORTRAIT PAPER FIX */

/* BEGIN DESKTOP SIZE */
@media (min-width: 768px) {
  .site-frame {
    width: min(900px, calc(100% - 32px));
  }
}
/* END DESKTOP SIZE */
/* language-layout-v1 */
html[dir="ltr"] .collaboration-description {
  text-align: left;
}

html[dir="ltr"] .quote-box p,
html[dir="ltr"] .collaborator-info {
  text-align: start;
}

.main-navigation a strong {
  overflow-wrap: anywhere;
}

.languages a {
  color: inherit;
  text-decoration: none;
}

.languages a:hover,
.languages a:focus-visible {
  text-decoration: underline;
}

.languages a[aria-current="page"] {
  font-weight: 700;
}