:root {
  color-scheme: dark;
  --primary-color: #ffffff;
  --brand-navy: #012169;
  --brand-blue: #2f5fff;
  --brand-red: #c8102e;
  --secondary-color: var(--brand-blue);
  --third-color: var(--brand-red);
  --read-surface: rgba(255, 255, 255, 0.07);
  --read-surface-strong: rgba(255, 255, 255, 0.12);
  --read-border: rgba(255, 255, 255, 0.16);
  --read-text: rgba(255, 255, 255, 0.88);
  --read-heading: rgba(255, 255, 255, 0.78);
  --read-muted: rgba(255, 255, 255, 0.64);
  --read-danger: #ff8b8b;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(ellipse at 8% 5%, rgba(1, 33, 105, 0.6), transparent 46%), radial-gradient(ellipse at 95% 35%, rgba(47, 95, 255, 0.07), transparent 40%), #080f23;
  background-attachment: fixed;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--read-heading);
  letter-spacing: 0;
}

h1 {
  font-size: 62px;
  line-height: 74px;
}

h2 {
  font-size: 56px;
  line-height: 66px;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--secondary-color);
  outline-offset: 4px;
}

button {
  font: inherit;
}

.sr-only,
.skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 2000;
  padding: 10px 16px;
  border-radius: 999px;
  color: #000;
  background: #fff;
}

.page-anchor {
  position: absolute;
  top: 0;
}

.wrapper {
  min-height: 100vh;
}

.filter-definitions {
  position: absolute;
  width: 0;
  height: 0;
}

.visiblo-btn-color,
.visiblo-btn-arrow {
  display: inline-flex;
  align-items: center;
  color: #fff;
  background: var(--brand-blue);
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: rgba(47, 95, 255, 0.28) 0 0 22px, rgba(255, 255, 255, 0.55) 0 0 4px inset;
}

.visiblo-btn-color {
  justify-content: center;
}

.visiblo-btn-arrow:hover::after,
.icon-bar a.active,
.sidebar a.active {
  color: var(--secondary-color);
}

h1 span,
h2 span,
h3 span,
h4 span,
h5 span,
h6 span,
.service-name,
.project-name {
  color: rgba(255, 255, 255, 0.78);
  background-image: none;
  -webkit-text-fill-color: currentColor;
}

.profile-box {
  border-radius: 24px;
  background: linear-gradient(155deg, #102554, #0b142b 70%);
  max-height: calc(100svh - 48px);
  overflow-y: auto;
}

.profile-box-inner {
  gap: 24px;
  padding-bottom: 32px;
}

.brand-logo {
  display: block;
  width: 100%;
  max-width: 255px;
  margin-inline: auto;
}

.brand-logo img {
  display: block;
  width: 100%;
  height: auto;
}

.brand-tagline {
  font-size: 25px;
  line-height: 1.35;
  color: #fff;
}

.brand-contact {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--read-muted);
}

.legal-brand {
  display: block;
  width: 240px;
  margin-bottom: 28px;
}

.legal-brand img {
  width: 100%;
  height: auto;
}

.profile-info h5 {
  color: var(--read-heading);
}

.profile-stats {
  display: grid;
  gap: 10px;
}

.profile-stats div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--read-border);
}

.profile-stats span,
.profile-links a,
.project-stack,
.form-error,
.form-status {
  color: var(--read-muted);
  font-size: 14px;
  line-height: 24px;
}

.profile-stats strong {
  color: #fff;
  text-align: right;
  font-weight: 500;
}

.email-info {
  margin-top: 0;
}

.email-info h6,
.email-info a {
  font-size: 18px;
  line-height: 28px;
}

.email-info h6 {
  color: var(--read-heading);
}

.email-info a {
  color: #fff;
}

.profile-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.profile-links a {
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.28);
  text-underline-offset: 5px;
}

.hero-supporting {
  max-width: 740px;
}

.hero-section .buttons-holder {
  margin-top: 24px;
}

.accordion-header {
  width: 100%;
  border: 0;
  color: var(--read-muted);
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.accordion-content {
  display: block;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  padding-bottom: 0;
  transition: max-height 320ms ease, opacity 220ms ease, padding-bottom 320ms ease;
}

.accordion-content.active {
  max-height: 260px;
  opacity: 1;
  padding-bottom: 32px;
}

#care .work-experience {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

#care .experience-divider {
  display: none;
}

#care.resume-section .experience-item {
  display: grid;
  grid-template-columns: 1fr;
  align-content: start;
  gap: 8px;
  min-height: 170px;
  padding: 24px;
  border: 1px solid var(--read-border);
  border-radius: 16px;
  background: var(--read-surface);
}

#care.resume-section .experience-item .job-title {
  color: #fff;
  font-size: 22px;
  line-height: 30px;
}

#care.resume-section .experience-item .company-name,
#care.resume-section .experience-item .work-dates {
  font-size: 16px;
  line-height: 26px;
}

#care.resume-section .experience-item .work-dates {
  align-self: end;
  color: var(--secondary-color);
}

.process-header {
  cursor: default;
}

.flyer-section > h3 {
  font-size: 28px;
  line-height: 1.3;
  margin-bottom: 14px;
}

.flyer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.flyer-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--read-border);
  border-radius: 18px;
  background: var(--read-surface);
  transition: border-color 180ms ease, transform 180ms ease;
}

.flyer-card:hover {
  border-color: var(--secondary-color);
  transform: translateY(-3px);
}

.flyer-card__preview {
  padding: 24px 24px 0;
  height: 235px;
  overflow: hidden;
  background: #e7ecf5;
}

.flyer-card__preview img {
  display: block;
  width: 100%;
  height: auto;
  box-shadow: 0 5px 22px rgba(1, 33, 105, 0.16);
}

.flyer-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 12px;
  padding: 24px;
}

.flyer-card__type {
  color: var(--read-muted);
  font-size: 13px;
}

.flyer-card h4 {
  font-size: 22px;
  line-height: 1.35;
  color: var(--read-heading);
}

.flyer-card p {
  color: var(--read-text);
  font-size: 16px;
  line-height: 1.6;
}

.flyer-card__link {
  color: var(--secondary-color);
  font-size: 15px;
  margin-top: auto;
}

.process-content {
  padding-bottom: 28px;
}

.it-points {
  display: grid;
  gap: 12px;
}

.it-point {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px 20px;
  border: 1px solid var(--read-border);
  border-radius: 16px;
  color: var(--read-text);
  background: var(--read-surface);
}

.it-point i {
  margin-top: 2px;
  color: var(--secondary-color);
  font-size: 20px;
}

.skill-icon--symbol {
  display: flex;
  min-height: 90px;
  align-items: center;
  justify-content: center;
}

.skill-icon--symbol i {
  font-size: 48px;
  color: var(--secondary-color);
  background-image: none;
  -webkit-text-fill-color: currentColor;
}

.skill-card {
  min-height: 168px;
}

.project .lightbox {
  display: block;
  transition: transform 180ms ease, border-color 180ms ease;
}

.project .lightbox:hover {
  border-color: rgba(255, 255, 255, 0.42);
  transform: translateY(-2px);
}

.project .lightbox img {
  aspect-ratio: 4/3;
  min-height: 170px;
  object-fit: cover;
}

.project.is-hidden {
  display: none;
}

.project-more {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}

.project-more .visiblo-btn-color {
  min-width: 180px;
}

.project-stack {
  padding-left: 15px;
  margin-top: 4px;
}

.contact-card {
  flex: 1;
  min-width: 0;
  padding: 28px;
  border: 1px solid #393939;
  border-radius: 20px;
  background: var(--read-surface);
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.partner-card {
  display: flex;
  min-height: 360px;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--read-border);
  border-radius: 20px;
  background: var(--read-surface);
}

.partner-card__head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.partner-card__label {
  color: var(--secondary-color);
  font-size: 13px;
  line-height: 22px;
  text-transform: uppercase;
}

.partner-card h3 {
  color: var(--read-heading);
  font-size: 34px;
  line-height: 42px;
}

.partner-card p {
  font-size: 16px;
  line-height: 28px;
}

.partner-card__link {
  display: inline-flex;
  width: 46px;
  min-width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--read-border);
  border-radius: 14px;
  color: #fff;
  transition: border-color 180ms ease, color 180ms ease;
}

.partner-card__link:hover {
  border-color: rgba(255, 255, 255, 0.42);
  color: var(--secondary-color);
}

.contact-card address {
  font-style: normal;
}

.contact-item a {
  color: #fff;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.form-row--honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-group {
  min-width: 0;
}

.form-group.full-width {
  width: 100%;
}

.form-group input,
.form-group textarea {
  display: block;
}

.form-group textarea {
  resize: vertical;
  min-height: 150px;
}

.form-group.has-error input,
.form-group.has-error textarea {
  border-color: var(--read-danger);
}

.form-error {
  display: block;
  min-height: 24px;
  padding-left: 15px;
  color: var(--read-danger);
}

.checkbox {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding-left: 0;
  color: var(--read-muted);
}

.checkbox input {
  width: 18px;
  min-width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--secondary-color);
}

.checkbox a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.form-submit {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}

.form-submit button {
  min-width: 180px;
}

.form-status {
  margin: 0;
}

.sidebar {
  transition: opacity 220ms ease;
}

.right-bar {
  transition: transform 220ms ease;
}

.sidebar.is-open {
  opacity: 1;
  pointer-events: all;
}

.sidebar.is-open .right-bar {
  transform: translateX(0);
}

.hamburger {
  border: 0;
}

.legal-theme {
  position: relative;
  z-index: 2;
  width: min(100% - 40px, 960px);
  margin: 0 auto;
  padding: 48px 0 80px;
}

.legal-back {
  margin-bottom: 32px;
}

.legal-shell {
  padding: 36px;
  border: 1px solid var(--read-border);
  border-radius: 24px;
  background: rgba(0, 0, 0, 0.62);
  backdrop-filter: blur(18px);
}

.profile-box,
.icon-bar,
#care.resume-section .experience-item,
.flyer-card,
.flyer-card:hover,
.skill-card,
.project .lightbox,
.project .lightbox:hover,
.partner-card,
.contact-card,
.legal-shell {
  border-top: 3px solid var(--brand-red);
}

.legal-content {
  color: var(--read-muted);
}

.legal-content h1,
.legal-content h2,
.legal-content h3 {
  margin: 32px 0 16px;
  color: var(--read-heading);
  font-size: 34px;
  line-height: 42px;
}

.legal-content h1:first-child,
.legal-content h2:first-child,
.legal-content h3:first-child {
  margin-top: 0;
}

.legal-content p,
.legal-content li {
  color: var(--read-muted);
  font-size: 17px;
  line-height: 30px;
}

.legal-content a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.legal-video {
  opacity: 0.36;
}

@media (prefers-reduced-motion: no-preference) {
  .fade-up-anime {
    animation: fade-up 700ms ease both;
  }
}
@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (max-width: 1199px) {
  h1 {
    font-size: 60px;
    line-height: 70px;
  }
  h2 {
    font-size: 46px;
    line-height: 56px;
  }
  .profile-box-wrap {
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    position: relative;
    top: 0;
    transform: none;
  }
  .profile-box {
    margin-bottom: 32px;
    max-height: none;
  }
  .profile-box-inner {
    display: grid;
    grid-template-columns: minmax(180px, 280px) minmax(0, 1fr);
    align-items: center;
  }
  .profile-stats,
  .email-info,
  .profile-links {
    grid-column: 1/-1;
  }
}
@media (max-width: 991px) {
  .content-side {
    margin-left: auto;
    margin-right: auto;
  }
  .contact-cards {
    flex-direction: column;
    gap: 18px;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  #care .work-experience,
  .partners-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 767px) {
  h1 {
    font-size: 40px;
    line-height: 48px;
  }
  h2 {
    font-size: 32px;
    line-height: 40px;
  }
  .wrapper {
    padding: 20px;
  }
  .profile-box-inner {
    display: flex;
  }
  .brand-logo {
    max-width: min(240px, 100% - 44px);
    margin-left: 0;
  }
  .brand-tagline {
    font-size: 21px;
  }
  .profile-box-inner {
    gap: 18px;
    padding: 24px;
  }
  .profile-info {
    text-align: center;
  }
  .profile-stats {
    display: none;
  }
  .email-info,
  .profile-links {
    text-align: center;
    justify-content: center;
  }
  .flyer-grid {
    grid-template-columns: 1fr;
  }
  .buttons-holder,
  .form-submit {
    align-items: stretch;
    flex-direction: column;
  }
  .visiblo-btn-color,
  .visiblo-btn-arrow {
    width: 100%;
  }
  .resume-section .experience-item {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }
  #care.resume-section .experience-item,
  .partner-card {
    min-height: auto;
    padding: 22px;
  }
  .partner-card__head {
    align-items: flex-start;
  }
  .skill-card-wrapper {
    padding-right: 12px;
  }
  .right-bar {
    width: min(86vw, 360px);
    padding: 44px 32px;
  }
  .legal-theme {
    width: min(100% - 24px, 960px);
    padding-top: 32px;
  }
  .legal-shell {
    padding: 24px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}
