/* Contact and footer layout, shared with the adaptive page sections. */
.contact-screen{
  --ending-gutter:clamp(40px,8vw,160px);
  position:relative;inset:auto;width:100%;height:100vh;height:100svh;
  min-height:540px;display:flex;flex-direction:column;overflow:clip;
  isolation:isolate;background:#0b2340;scroll-margin-top:0;
}
.contact-screen>.f254,.contact-screen>.f255{inset:0;width:100%;height:100%;pointer-events:none}
.contact-screen .f256{width:100%;height:100%}
.contact-screen .f260{left:auto;right:-100px;top:auto;bottom:10%}
.contact-screen>.f301{display:none}
.contact-main{
  position:relative;z-index:1;flex:1;min-height:0;
  width:calc(100% - var(--ending-gutter)*2);max-width:1520px;margin-inline:auto;
  padding-block:clamp(24px,5svh,64px);display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1.12fr);
  gap:clamp(24px,4vw,80px);align-items:center;
}
.contact-screen .f289{position:relative;inset:auto;width:auto;height:auto;overflow:visible}
.contact-screen .f290,.contact-screen .f291,.contact-screen .f292,.contact-screen .f293,.contact-screen .f296{position:relative;inset:auto;width:auto;height:auto}
.contact-screen .f290{font-size:clamp(11px,.85vw,14px);line-height:1.5;margin-bottom:clamp(18px,3svh,36px)}
.contact-screen .f291{font-size:clamp(38px,4.2vw,72px);line-height:1.18;white-space:nowrap;margin-bottom:clamp(18px,3svh,34px)}
.contact-screen .f292{font-size:clamp(20px,2.1vw,32px);line-height:1.5;margin-bottom:clamp(18px,3.8svh,40px)}
.contact-screen .f293{font-size:clamp(13px,1.15vw,18px);line-height:1.85;margin-bottom:clamp(18px,3svh,32px)}
.contact-screen .f294,.contact-screen .f295{line-height:inherit}
.contact-screen .f296{gap:16px;overflow:visible;min-height:48px}
.contact-screen .f286{
  position:relative;inset:auto;justify-self:end;width:100%;height:auto;
  max-width:min(780px,calc((100svh - 220px)*1.628));aspect-ratio:622/382;
}
.contact-screen .f271{
  position:relative;inset:auto;z-index:2;width:100%;height:auto;flex-shrink:0;
  display:grid;grid-template-columns:1fr auto;align-items:center;
  gap:clamp(14px,2.3svh,24px) 28px;
  padding:clamp(18px,2.5svh,28px) max(var(--ending-gutter),calc((100% - 1520px)/2));
  background:#09203c;overflow:visible;
}
.contact-screen .f272{display:none}
.contact-screen .f273,.contact-screen .f276,.contact-screen .f281,.contact-screen .f282{position:relative;inset:auto;width:auto;height:auto;overflow:visible}
.contact-screen .f273{gap:4px}
.contact-screen .f274,.contact-screen .f275{width:auto;height:auto}
.contact-screen .f276{gap:clamp(18px,3.2vw,60px)}
.contact-screen .f276 a{width:auto;height:auto;white-space:nowrap}
.contact-screen .f281{grid-column:1/-1;height:1px}
.contact-screen .f282{grid-column:1/-1;min-height:20px}
@media(min-width:901px) and (max-height:650px){
  .contact-main{padding-block:18px}
  .contact-screen .f290,.contact-screen .f291,.contact-screen .f292,.contact-screen .f293{margin-bottom:16px}
  .contact-screen .f291{font-size:clamp(38px,3.5vw,60px)}
  .contact-screen .f292{font-size:clamp(20px,1.8vw,28px)}
  .contact-screen .f271{padding-block:16px;row-gap:12px}
}
@media(max-width:900px){
  .contact-screen{display:none}
  .mobile-ending{min-height:100vh;min-height:100svh;display:flex;flex-direction:column;background:#0b2340}
  .mobile-ending>.mobile-contact{flex:1;display:flex;flex-direction:column;justify-content:center;padding-top:clamp(24px,4svh,50px);padding-bottom:12px}
  .mobile-ending .mobile-contact>.mobile-graphic{width:min(100%,360px);margin-inline:auto}
  .mobile-ending .mobile-footer{flex-shrink:0}
}
@media(max-width:900px) and (max-height:739px){
  .mobile-ending>.mobile-contact{padding-top:20px}
  .mobile-ending .mobile-contact h2{font-size:30px;margin:8px 0 10px}
  .mobile-ending .mobile-contact h3{font-size:18px;margin-bottom:10px}
  .mobile-ending .mobile-actions{margin:16px 0 8px}
  .mobile-ending .mobile-contact>.mobile-graphic{width:min(100%,280px)}
  .mobile-ending .mobile-footer{padding-block:20px}
  .mobile-ending .mobile-footer>p{margin-bottom:16px}
  .mobile-ending .mobile-footer>nav{margin-bottom:16px}
  .mobile-ending .mobile-footer>div{padding-top:14px}
}
@media(min-width:600px) and (max-width:900px) and (max-height:739px){
  .mobile-ending>.mobile-contact{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.9fr);gap:0 24px;align-content:center}
  .mobile-ending .mobile-contact>*{grid-column:1}
  .mobile-ending .mobile-contact>.mobile-graphic{grid-column:2;grid-row:1/span 5;align-self:center}
}
