@font-face {
  font-family:Roboto;
  src:url('../fonts/roboto-cyrillic.woff2') format('woff2');
  font-weight:100 900;
  font-style:normal;
  font-display:swap;
  unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}

@font-face {
  font-family:Roboto;
  src:url('../fonts/roboto-latin.woff2') format('woff2');
  font-weight:100 900;
  font-style:normal;
  font-display:swap;
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

:root {
  --blue:#133657;
  --orange:#ff5b2e;
  --gray:#efefef;
  --light:#f2f2f2;
  --accent:#829cfa;
  color:#000;
  font-family:Roboto,Arial,sans-serif;
  font-weight:300;
  font-synthesis:none;
}

* {
  box-sizing:border-box;
}

html {
  scroll-behavior:smooth;
}

body {
  margin:0;
}

img {
  max-width:100%;
  display:block;
}

h1,h2,h3,p,ul {
  margin:0;
}

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

button,input,textarea {
  font:inherit;
}

button,a,input,textarea,summary {
  -webkit-tap-highlight-color:transparent;
}

button {
  cursor:pointer;
}

button:disabled {
  cursor:not-allowed;
}

button:focus-visible,a:focus-visible,summary:focus-visible,input:focus-visible,textarea:focus-visible {
  outline:3px solid #5577f5;
  outline-offset:4px;
}

button {
  color:inherit;
}

section[id] {
  scroll-margin-top:0;
}

.container {
  max-width:1200px;
  width:100%;
  padding:0 20px;
  margin:0 auto;
}

.section-gray {
  background:var(--gray);
}

.section-light {
  background:var(--light);
}

.section-title {
  font-size:42px;
  line-height:1.23;
  font-weight:600;
  color:var(--blue);
  text-align:center;
}

.section-description {
  max-width:560px;
  margin:40px auto 90px;
  text-align:center;
  font-size:24px;
  line-height:1.5;
}

.button {
  display:inline-flex;
  justify-content:center;
  align-items:center;
  min-height:60px;
  padding:18px 60px;
  background:var(--blue);
  color:#fff;
  font-size:16px;
  font-weight:700;
  line-height:1.4;
  border:1px solid transparent;
  transition:background .2s;
}

.button:hover {
  background:#20486f;
}

.button-outline {
  background:transparent;
  border:2px solid var(--blue);
  color:var(--blue);
}

.button-outline:hover {
  color:#fff;
}

.section-action {
  text-align:center;
  margin-top:60px;
}

.sr-only {
  position:absolute;
  width:1px;
  height:1px;
  overflow:hidden;
  clip-path:inset(50%);
  white-space:nowrap;
}

.skip-link {
  position:fixed;
  top:-100px;
  left:20px;
  padding:12px;
  background:white;
  z-index:100;
}

.skip-link:focus {
  top:10px;
}

.site-header {
  position:fixed;
  top:0;
  left:0;
  right:0;
  z-index:20;
  background:var(--blue);
  color:white;
  height:100px;
}

.nav-list {
  height:100px;
  list-style:none;
  display:flex;
  justify-content:center;
  align-items:center;
  gap:34px;
  padding:0 20px;
  font-size:16px;
  line-height:1.4;
  font-weight:700;
  text-transform:uppercase;
}

.nav-list a {
  white-space:nowrap;
  transition:opacity .2s;
}

.nav-list a:hover,.nav-list a[aria-current] {
  opacity:.7;
}

.hero {
  padding:180px 0;
}

.hero-layout {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:40px;
  align-items:start;
}

.hero-copy {
  position:relative;
  z-index:1;
  width:calc(100% + 112px);
  margin-top:56px;
  padding:60px 80px 60px 60px;
  background:var(--gray);
}

.hero h1 {
  font-size:42px;
  line-height:1.23;
  font-weight:600;
  color:var(--blue);
}

.hero-rule {
  height:3px;
  width:50px;
  background:var(--accent);
  margin:16px 0 28px;
}

.hero-copy p {
  font-size:20px;
  line-height:1.55;
}

.hero-copy .button {
  margin-top:60px;
}

.hero-image {
  width:100%;
  height:500px;
  object-fit:cover;
}

.news {
  padding:30px 0;
}

.news .section-title {
  margin-bottom:90px;
}

.carousel {
  position:relative;
}

.carousel-track {
  display:flex;
  overflow-x:auto;
  scroll-snap-type:x mandatory;
  scrollbar-width:none;
  overscroll-behavior-x:contain;
}

.carousel-track::-webkit-scrollbar {
  display:none;
}

.carousel-slide {
  flex:0 0 100%;
  min-width:0;
  scroll-snap-align:start;
}

.carousel-arrows {
  pointer-events:none;
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:space-between;
}

.carousel-arrows button {
  pointer-events:auto;
  border:0;
  border-radius:50%;
  width:50px;
  height:50px;
  background:#e8e8e8;
  color:#777;
  font-size:36px;
  font-weight:300;
  line-height:1;
  display:grid;
  place-items:center;
}

.carousel-arrows button:disabled {
  visibility:hidden;
}

.carousel-dots {
  display:flex;
  justify-content:center;
  gap:10px;
  flex-wrap:wrap;
  margin-top:28px;
}

.carousel-dots button {
  width:6px;
  height:6px;
  padding:0;
  border:0;
  border-radius:50%;
  background:#ccc;
  position:relative;
}

.carousel-dots button::before {
  content:'';
  position:absolute;
  inset:-9px;
}

.carousel-dots button[aria-current=true] {
  background:#222;
}

.news-carousel .carousel-track {
  gap:40px;
}

.news-card {
  flex-basis:calc((100% - 80px)/3);
  background:white;
}

.news-card>a {
  display:flex;
  height:100%;
  flex-direction:column;
}

.news-card img {
  width:100%;
  height:auto;
  aspect-ratio:1.3;
  object-fit:cover;
}

.news-copy {
  padding:30px;
  display:flex;
  flex:1;
  flex-direction:column;
  align-items:flex-start;
}

.news-card h3 {
  font-size:20px;
  line-height:1.35;
  font-weight:600;
  color:var(--blue);
}

.post-date {
  font-size:10px;
  font-weight:700;
  letter-spacing:1px;
  color:#888;
  margin:15px 0 0;
}

.news-copy .button {
  padding:12px 25px;
  min-height:45px;
  margin-top:30px;
  font-size:14px;
}

.news-card .post-date {
  margin-top:auto;
  padding-top:15px;
}

.news-carousel .carousel-arrows {
  left:-60px;
  right:-60px;
  bottom:0;
}

.news-carousel .carousel-arrows button {
  width:40px;
  height:40px;
  background:#000;
  color:white;
  font-size:30px;
}

.services {
  padding:165px 0 180px;
}

.service-grid {
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:40px;
}

.service-card {
  position:relative;
  min-height:300px;
  overflow:hidden;
  isolation:isolate;
  display:grid;
  place-items:center;
}

.service-card img {
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  z-index:-2;
  transition:transform .3s;
}

.service-card::before {
  content:'';
  position:absolute;
  inset:0;
  background:linear-gradient(rgba(37,43,0,.5),rgba(97,34,0,.5));
  z-index:-1;
}

.service-card:hover img {
  transform:scale(1.04);
}

.service-card h3 {
  text-align:center;
  color:#fff;
  font-size:20px;
  line-height:1.35;
  font-weight:700;
  padding:30px;
}

.service-card a::after {
  content:'';
  position:absolute;
  inset:0;
}

.equipment {
  padding:135px 0 165px;
}

.equipment-list {
  max-width:760px;
  margin:auto;
}

.equipment details {
  border-top:1px solid #eee;
}

.equipment details:last-child {
  border-bottom:1px solid #eee;
}

.equipment summary {
  font-size:24px;
  line-height:1.35;
  font-weight:600;
  color:var(--blue);
  cursor:pointer;
  list-style:none;
  position:relative;
  padding:27px 60px 27px 0;
}

.equipment summary::-webkit-details-marker {
  display:none;
}

.expand-icon {
  position:absolute;
  right:0;
  top:50%;
  transform:translateY(-50%);
  width:40px;
  height:40px;
  border-radius:50%;
  transition:background .2s,transform .2s;
}

.expand-icon::before,.expand-icon::after {
  content:'';
  position:absolute;
  top:19px;
  left:9px;
  width:22px;
  height:2px;
  background:var(--blue);
}

.expand-icon::after {
  transform:rotate(90deg);
}

details[open] .expand-icon {
  background:#3457ff;
  transform:translateY(-50%) rotate(45deg);
}

details[open] .expand-icon::before,details[open] .expand-icon::after {
  background:#fff;
}

.equipment-content {
  font-size:18px;
  line-height:1.55;
  padding:0 0 35px;
}

.equipment-content ul {
  padding-left:25px;
}

.equipment-content a {
  color:#ff8562;
}

.equipment-content a:hover {
  text-decoration:underline;
}

.partners {
  min-height:720px;
  display:flex;
  align-items:center;
  padding:80px 0;
  background:linear-gradient(rgba(0,0,0,.5),rgba(0,0,0,.6)),var(--partner-background) center/cover;
}

.partners .section-title {
  font-size:52px;
  color:white;
}

.partners .section-description {
  font-size:20px;
  line-height:1.55;
  color:white;
  max-width:760px;
  margin-bottom:80px;
}

.partner-grid {
  display:grid;
  grid-template-columns:repeat(6,1fr);
  gap:40px;
  align-items:center;
}

.partner-grid img {
  width:100%;
  height:110px;
  object-fit:contain;
}

.licenses {
  padding:120px 0 30px;
}

.license-layout {
  display:grid;
  grid-template-columns:360px 1fr;
  gap:40px;
}

.license-copy h2 {
  color:var(--blue);
  font-size:28px;
  line-height:1.17;
  font-weight:600;
  margin-bottom:20px;
}

.license-copy {
  font-size:20px;
  line-height:1.55;
}

.license-copy ul {
  padding-left:20px;
}

.license-carousel img {
  width:100%;
  height:700px;
  object-fit:contain;
}

.license-carousel .carousel-arrows {
  padding:0 15px;
  bottom:0;
}

.license-carousel .carousel-arrows button {
  background:white;
}

.license-carousel .carousel-dots {
  position:absolute;
  bottom:30px;
  left:0;
  right:0;
}

.license-carousel .carousel-dots button {
  width:8px;
  height:8px;
  background:#ddd;
}

.license-carousel .carousel-dots button[aria-current=true] {
  background:#222;
}

.team {
  padding:120px 0 30px;
}

.team .section-description {
  line-height:22px;
  margin-bottom:105px;
}

.team-grid {
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:80px 40px;
}

.team-card {
  background:white;
  display:flex;
  flex-direction:column;
}

.team-card>img {
  width:100%;
  height:auto;
  aspect-ratio:260/280;
  object-fit:cover;
}

.team-copy {
  padding:20px;
  flex:1;
}

.team-card h3 {
  color:var(--blue);
  font-weight:700;
  font-size:20px;
  line-height:1.35;
  margin-bottom:4px;
}

.team-role {
  font-size:14px;
  line-height:1.55;
  color:#777;
  margin-bottom:16px;
}

.team-bio {
  font-size:14px;
  line-height:1.3;
  font-weight:300;
}

.person-link {
  display:inline-grid;
  place-items:center;
  background:#000;
  color:white;
  width:23px;
  height:23px;
  border-radius:50%;
  margin-top:15px;
}

.clients {
  padding:135px 0 150px;
}

.clients .section-title {
  margin-bottom:90px;
}

.client-slide {
  text-align:center;
  padding:0 80px;
}

.client-slide>img {
  width:200px;
  height:200px;
  object-fit:contain;
  margin:0 auto 35px;
}

.client-slide>p {
  max-width:760px;
  margin:0 auto 30px;
  font-size:20px;
  line-height:1.2;
}

.letter-link {
  display:inline-block;
  font-size:22px;
  font-weight:600;
  text-decoration:underline;
  color:#ff8562;
  margin-bottom:20px;
}

.client-social {
  display:flex;
  justify-content:center;
  gap:7px;
}

.client-social a {
  background:var(--blue);
  color:white;
  width:23px;
  height:23px;
  border-radius:50%;
  display:grid;
  place-items:center;
  font-size:10px;
  font-weight:700;
}

.link-icon { width: 19px; height: 19px; display: block; }
.person-link, .client-social a { width: 32px; height: 32px; background: var(--blue); transition: background-color .15s, transform .15s; }
.person-link:hover, .client-social a:hover { background: #245b86; transform: translateY(-2px); }
@media (prefers-reduced-motion: reduce) {
  .person-link, .client-social a { transition: none; }
  .person-link:hover, .client-social a:hover { transform: none; }
}

.client-carousel .carousel-arrows {
  left:30px;
  right:30px;
}

.client-carousel .carousel-dots {
  margin-top:45px;
}

.contacts {
  padding:150px 0;
}

.contact-description {
  color:#eb6517;
  font-size:20px;
  line-height:1.5;
  font-weight:600;
  text-align:center;
  margin:30px 0 90px;
}

.contact-layout {
  max-width:960px;
  margin:auto;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:40px;
}

.contact-details {
  font-size:30px;
  line-height:1.45;
}

.contact-details p+p {
  margin-top:45px;
}

.contact-details span {
  color:#ff6b00;
}

.contact-details a {
  overflow-wrap:anywhere;
}

.contact-address {
  font-size:18px;
  line-height:1.55;
  margin-top:40px;
}

.contact-social {
  display:flex;
  gap:8px;
  margin-top:25px;
  color:var(--orange);
}

.contact-social svg {
  height:25px;
  width:25px;
  fill:currentColor;
}

.contact-form {
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:25px;
}

.contact-form label {
  width:100%;
}

.contact-form input,.contact-form textarea {
  width:100%;
  border:0;
  border-radius:0;
  background:white;
  padding:20px;
  color:#000;
  font-size:16px;
  font-weight:400;
  min-height:60px;
}

.contact-form textarea {
  min-height:102px;
  resize:vertical;
}

.button-orange,.button-orange:hover {
  background:var(--orange);
  border-radius:5px;
  min-width:200px;
  padding:18px 40px;
}

.form-notice {
  font-size:14px;
  line-height:1.5;
  color:#666;
  margin-top:-10px;
}

.site-footer {
  background:var(--blue);
  color:white;
  min-height:110px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:40px;
  padding:25px 40px;
}

.footer-brand {
  display:flex;
  align-items:center;
  gap:40px;
  font-size:16px;
  font-weight:700;
}

.footer-brand img {
  object-fit:contain;
}

.footer-contact {
  text-align:right;
}

.footer-contact>a {
  font-size:24px;
  font-weight:700;
}

.footer-contact p {
  font-size:14px;
  font-weight:600;
  text-transform:uppercase;
  margin-top:5px;
}

.back-top {
  position:fixed;
  bottom:80px;
  right:20px;
  width:50px;
  height:50px;
  border-radius:50%;
  background:var(--blue);
  color:white;
  display:grid;
  place-items:center;
  font-size:38px;
  font-weight:300;
  z-index:10;
}

.back-top[hidden] {
  display:none;
}

.work {
  padding:135px 0 100px;
  min-height:100vh;
}

.work-grid {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:90px 40px;
}

.work-card img {
  width:100%;
  height:auto;
  aspect-ratio:1.3;
  object-fit:cover;
}

.work-card h2 {
  font-size:20px;
  line-height:1.35;
  color:var(--blue);
  font-weight:700;
  margin-top:20px;
}

.work .section-description {
  margin-bottom:90px;
}

.letters-page {
  max-width:1200px;
  margin:auto;
  padding:30px 0;
}

.letters-page>a:not(.letters-back) {
  display:block;
}

.letters-page img {
  width:100%;
  height:auto;
}

.letters-back {
  display:inline-block;
  margin:0 20px 20px;
  color:var(--blue);
  font-size:16px;
}

.error-page {
  padding-top:180px;
  padding-bottom:150px;
  min-height:70vh;
}

.error-page h1 {
  font-size:36px;
  margin-bottom:25px;
}

.error-page p {
  margin:20px 0;
}

.error-page a {
  text-decoration:underline;
}

.lightbox {
  padding:40px;
  border:0;
  background:transparent;
  max-width:100vw;
  max-height:100vh;
  overflow:visible;
}

.lightbox::backdrop {
  background:rgba(0,0,0,.88);
}

.lightbox img {
  max-width:calc(100vw - 80px);
  max-height:calc(100vh - 80px);
  width:auto;
  height:auto;
  object-fit:contain;
}

.lightbox-close {
  position:fixed;
  right:20px;
  top:10px;
  color:white;
  background:transparent;
  font-size:42px;
  border:0;
}

.lightbox[open] {
  display:flex;
  align-items:center;
  justify-content:center;
}

@media(max-width:1320px) and (min-width:980px) {
  .nav-list {
    gap:20px;
    font-size:14px;
  }
  .news-carousel .carousel-arrows {
    left:-10px;
    right:-10px;
  }
  .news-carousel .carousel-arrows button {
    box-shadow:0 0 0 5px #efefef;
  }
}

@media(max-width:1199px) and (min-width:980px) {
  .container {
    max-width:960px;
  }
  .hero-copy {
    width:calc(100% + 88px);
    padding:40px;
  }
  .hero-image {
    height:420px;
  }
  .hero h1 {
    font-size:38px;
  }
  .service-card {
    min-height:250px;
  }
  .service-card h3 {
    font-size:18px;
    padding:12px;
  }
  .license-layout {
    grid-template-columns:280px 1fr;
  }
  .license-carousel img {
    height:580px;
  }
  .team-grid {
    gap:60px 20px;
  }
  .team-copy {
    padding:15px;
  }
  .team-card h3 {
    font-size:18px;
  }
  .partner-grid {
    gap:20px;
  }
}

@media(max-width:979px) {
  section[id] {
    scroll-margin-top:0;
  }
  .site-header {
    position:static;
    height:auto;
  }
  .nav-list {
    height:auto;
    flex-direction:column;
    gap:21px;
    padding:30px 20px;
    font-size:16px;
  }
  .container {
    max-width:640px;
  }
  .hero {
    padding:120px 0;
  }
  .hero-layout {
    display:flex;
    flex-direction:column;
    gap:20px;
  }
  .hero-copy {
    margin:0;
    width:100%;
    padding:40px;
  }
  .hero-image {
    height:auto;
    aspect-ratio:560/500;
    object-fit:cover;
  }
  .hero h1 {
    font-size:32px;
  }
  .hero-copy p {
    font-size:18px;
  }
  .hero-copy .button {
    margin-top:40px;
  }
  .section-title {
    font-size:38px;
  }
  .section-description {
    font-size:22px;
    margin-top:20px;
    margin-bottom:60px;
  }
  .news .section-title {
    margin-bottom:45px;
  }
  .news-card {
    flex-basis:calc((100% - 20px)/2);
  }
  .news-carousel .carousel-track {
    gap:20px;
  }
  .news-carousel .carousel-arrows {
    left:5px;
    right:5px;
  }
  .news-copy {
    padding:20px;
  }
  .news-copy .button {
    padding:12px 18px;
  }
  .services {
    padding:90px 0;
  }
  .service-grid {
    grid-template-columns:repeat(2,1fr);
    gap:20px;
  }
  .service-card {
    min-height:0;
    aspect-ratio:260/300;
  }
  .equipment {
    padding:90px 0;
  }
  .equipment summary {
    font-size:22px;
  }
  .partners {
    min-height:720px;
  }
  .partners .section-title {
    font-size:42px;
  }
  .partner-grid {
    grid-template-columns:repeat(3,1fr);
    gap:40px;
  }
  .license-layout {
    grid-template-columns:1fr;
    gap:40px;
  }
  .licenses {
    padding:90px 0 30px;
  }
  .license-carousel img {
    height:auto;
    aspect-ratio:760/700;
  }
  .license-copy {
    font-size:18px;
  }
  .team {
    padding-top:90px;
  }
  .team-grid {
    grid-template-columns:repeat(2,1fr);
    gap:60px 20px;
  }
  .team .section-description {
    margin-bottom:45px;
    line-height:1.1;
  }
  .clients {
    padding:90px 0;
  }
  .clients .section-title {
    margin-bottom:60px;
  }
  .client-slide {
    padding:0 60px;
  }
  .client-carousel .carousel-arrows {
    left:10px;
    right:10px;
  }
  .client-slide>p {
    font-size:18px;
  }
  .contacts {
    padding:90px 0;
  }
  .contact-description {
    margin:30px auto 60px;
    max-width:560px;
  }
  .contact-layout {
    grid-template-columns:1fr;
    gap:60px;
  }
  .contact-details {
    font-size:28px;
  }
  .site-footer {
    flex-direction:column;
    gap:30px;
    padding:35px 20px;
    text-align:center;
  }
  .footer-brand {
    flex-direction:column;
    gap:20px;
  }
  .footer-contact {
    text-align:center;
  }
  .work {
    padding:90px 0;
  }
  .work-grid {
    grid-template-columns:repeat(2,1fr);
    gap:40px 20px;
  }
  .work .section-description {
    margin-bottom:60px;
  }
  .back-top {
    bottom:60px;
  }
}

@media(max-width:639px) {
  .container {
    max-width:480px;
  }
  .hero-copy {
    padding:30px 20px;
  }
  .hero h1,.section-title {
    font-size:30px;
  }
  .hero-copy p {
    font-size:16px;
    line-height:1.45;
  }
  .hero-rule {
    margin:20px 0 25px;
  }
  .hero-copy .button {
    margin-top:30px;
    font-size:14px;
    padding:15px 30px;
    min-height:50px;
  }
  .section-description {
    font-size:20px;
    line-height:1.4;
  }
  .service-grid {
    grid-template-columns:1fr;
  }
  .service-card h3 {
    font-size:16px;
  }
  .equipment summary {
    font-size:20px;
    padding:25px 50px 25px 0;
  }
  .equipment-content {
    font-size:16px;
  }
  .partners {
    padding:80px 0;
  }
  .partners .section-title {
    font-size:30px;
  }
  .partners .section-description {
    font-size:18px;
    margin-bottom:50px;
  }
  .partner-grid {
    grid-template-columns:repeat(2,1fr);
    gap:30px;
  }
  .partner-grid img {
    height:90px;
  }
  .license-copy h2 {
    font-size:26px;
  }
  .license-copy {
    font-size:16px;
  }
  .license-carousel .carousel-arrows {
    padding:0;
  }
  .license-carousel .carousel-arrows button {
    width:35px;
    height:35px;
  }
  .license-carousel .carousel-dots {
    bottom:10px;
  }
  .team-grid {
    grid-template-columns:220px;
    justify-content:center;
    gap:40px;
  }
  .team-copy {
    padding:20px;
  }
  .team-card h3 {
    font-size:16px;
  }
  .team-role {
    font-size:12px;
    line-height:1.45;
    margin-bottom:12px;
  }
  .team-bio {
    font-size:12px;
    line-height:1.3;
  }
  .team .section-description {
    font-size:20px;
    line-height:22px;
  }
  .client-slide {
    padding:0 45px;
  }
  .client-slide>img {
    width:150px;
    height:150px;
  }
  .client-slide>p {
    font-size:16px;
    line-height:1.4;
  }
  .letter-link {
    font-size:18px;
  }
  .client-carousel .carousel-arrows {
    left:5px;
    right:5px;
  }
  .client-carousel .carousel-arrows button {
    width:35px;
    height:35px;
    font-size:28px;
  }
  .client-carousel .carousel-dots {
    padding:0 20px;
  }
  .contact-description {
    font-size:18px;
  }
  .contact-details {
    font-size:24px;
  }
  .contact-address {
    font-size:16px;
  }
  .news-card {
    flex-basis:85%;
  }
  .news-carousel .carousel-track {
    padding-right:15%;
    scroll-padding:0;
  }
  .news-card h3 {
    font-size:18px;
  }
  .section-action {
    margin-top:40px;
  }
  .section-action .button {
    padding:16px 25px;
    font-size:14px;
  }
  .work-grid {
    grid-template-columns:1fr;
  }
  .work-card h2 {
    font-size:20px;
  }
  .footer-contact>a {
    font-size:22px;
  }
  .footer-contact p {
    font-size:12px;
    line-height:1.5;
  }
  .back-top {
    right:20px;
  }
  .lightbox {
    padding:20px;
  }
  .lightbox img {
    max-width:calc(100vw - 40px);
    max-height:calc(100vh - 80px);
  }
}

@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior:auto;
  }
  *,*::before,*::after {
    transition:none!important;
  }
}

.team-bio {
  white-space:pre-line;
}

@media (max-width:639px) {
  .team { padding-top:80px; }
  .team .section-description { margin-top:15px; }
}

/* Focused reader shared by news and work reports. Long text still scrolls naturally. */
.reader-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 12px max(20px, calc((100vw - 1000px) / 2)); border-bottom: 1px solid #e6e9ec; font-size: 14px; font-weight: 400; color: var(--blue); }
.reader-toolbar a { padding: 4px 0; }
.reader-toolbar span { text-align: right; }
.reader-languages { display: flex; flex-wrap: wrap; gap: 12px; }
.post-reader .publication { width: min(100% - 40px, 900px); max-width: none; padding: 22px 0 16px; overflow-wrap: anywhere; }
.publication .section-title { margin: 0 0 10px; font-size: clamp(24px, 2.4vw, 34px); line-height: 1.18; text-align: left; }
.publication > .post-date { display: block; margin: 0 0 16px; }
.publication-body { white-space: pre-wrap; font-size: 17px; line-height: 1.5; margin: 18px 0 0; }
.publication-gallery .carousel-slide { flex: 0 0 100%; margin: 0; }
.publication-gallery img { display: block; width: 100%; height: clamp(220px, 46svh, 520px); object-fit: contain; }
.publication-gallery figcaption { text-align: center; padding: 8px; white-space: pre-wrap; }
.publication-gallery .carousel-arrows button { width: 42px; height: 42px; background: #133657e6; color: #fff; }
.pagination { display: flex; justify-content: center; flex-wrap: wrap; gap: 24px; margin-top: 50px; }
@media(max-width: 979px) {
  .post-reader .publication { width: calc(100% - 32px); padding-top: 18px; }
  .publication-body { font-size: 16px; }
  .publication-gallery img { height: min(40svh, 75vw); min-height: 180px; }
  .reader-toolbar { padding: 10px 16px; font-size: 12px; }
}

.work .pagination { margin: 32px 0; gap: 16px 24px; align-items: center; }
