:root {
  --surface: #ffffff;
  --line: #d8e3f1;
  --slate: #0c41a3;
  --secondary: #405674;
  --muted: #b9cae1;
  --copper: #f2762e;
  --white: #fff;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--slate);
  background: var(--surface);
  font-family: Montserrat, sans-serif;
}

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

.site-container {
  width: min(100%, 1280px);
  margin-inline: auto;
  padding-inline: 64px;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  height: 80px;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 4px 20px rgba(12, 65, 163, .06);
  background: rgba(255, 255, 255, .97);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand,
.footer-brand {
  font-family: Montserrat, sans-serif;
  font-size: 24px;
  font-weight: 700;
}

.brand-logo {
  display: block;
  width: 200px;
  height: auto;
}

.main-nav { display: flex; align-items: center; gap: 32px; }

.main-nav a,
.footer-label,
.footer-bottom {
  font-family: Montserrat, sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.main-nav a {
  color: #0c41a3;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .025em;
  line-height: 1.2;
  transition: color .2s, background .2s;
}
.main-nav a:hover { color: var(--slate); }

.main-nav .contact-link {
  padding: 12px 24px;
  border-radius: 4px;
  color: var(--white);
  background: var(--slate);
}

.main-nav .contact-link:hover { color: var(--white); background: var(--copper); }

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  padding: 10px;
  border: 0;
  background: transparent;
}

.menu-button span { display: block; height: 2px; margin: 5px 0; background: var(--slate); }

.technical-grid {
  background-color: #fff;
  background-image: radial-gradient(#c9d9ee 1px, transparent 1px);
  background-size: 32px 32px;
}

.about-section { scroll-margin-top: 80px; border-bottom: 1px solid var(--line); background: #fff; }

.about-intro {
  background: #fff;
}

.about-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  column-gap: 48px;
  row-gap: 30px;
  height: auto;
  padding-bottom: 54px;
}

.about-title {
  grid-column: 1 / -1;
  margin: 0;
  padding-top: 54px;
  color: var(--slate);
  font-size: 44px;
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1.1;
}

.about-copy { align-self: center; padding: 0; }
.about-copy { grid-column: 1; grid-row: 2; }

.about-copy h3,
.about-group-heading h3 {
  margin: 0;
  color: #0c41a3;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.about-copy p {
  max-width: 670px;
  margin: 18px 0 0;
  color: #102c55;
  font-size: 17px;
  line-height: 1.65;
}

.about-intro-media {
  grid-column: 2;
  grid-row: 2;
  align-self: start;
  width: 100%;
  height: auto;
  overflow: visible;
  border-radius: 4px;
}

.about-profile-image {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center center;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.about-details { padding-block: 38px 72px; }

.strength-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }

.strength-card {
  display: grid;
  grid-template-columns: 104px 1fr;
  align-items: center;
  gap: 24px;
  min-height: 188px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}

.strength-icon {
  display: grid;
  place-items: center;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  color: #0c41a3;
  background: #f1f3f6;
}

.strength-icon .material-symbols-outlined { font-size: 48px; font-variation-settings: 'wght' 350; }
.strength-card h3 { margin: 0 0 12px; color: var(--slate); font-size: 22px; font-weight: 700; }
.strength-card p { margin: 0; color: var(--secondary); font-size: 15px; line-height: 1.65; }

.about-group { margin-top: 46px; }
.about-group-heading { display: flex; align-items: center; gap: 18px; }
.about-group-heading span { height: 1px; flex: 1; background: var(--line); }

.education-list { margin-top: 18px; }

.education-item {
  display: grid;
  grid-template-columns: 88px 1fr;
  min-height: 104px;
}

.education-marker { position: relative; display: flex; justify-content: center; }

.education-marker::after {
  content: '';
  position: absolute;
  top: 52px;
  bottom: -8px;
  width: 1px;
  background: #cbdaf0;
}

.education-item:last-child .education-marker::after { display: none; }

.education-marker .material-symbols-outlined {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  color: #fff;
  background: #0c41a3;
  font-size: 25px;
}

.education-copy { padding: 5px 0 24px; border-bottom: 1px solid var(--line); }
.education-item:last-child .education-copy { border-bottom: 0; }
.education-copy h4 { margin: 0 0 7px; color: var(--slate); font-size: 18px; font-weight: 700; }
.education-copy p { margin: 0; color: var(--secondary); font-size: 15px; }

.language-list { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; margin-top: 26px; }
.language-list > span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #0c41a3;
  background: #fff;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}
.language-flag {
  display: inline-flex;
  width: 24px;
  height: 16px;
  flex: 0 0 24px;
  overflow: hidden;
  border: 1px solid #d2d9e4;
  border-radius: 2px;
}

.language-flag svg { display: block; width: 100%; height: 100%; }

.usdm-project { margin-bottom: 128px; }

.usdm-project-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: clamp(96px, 16vw, 220px);
  margin-bottom: 40px;
}

.usdm-project-logo {
  display: block;
  flex: 0 0 auto;
  width: 300px;
  height: 92px;
  object-fit: contain;
  object-position: left center;
}

.nowedel-project-logo { width: 360px; height: 72px; }
.nowedel-project .usdm-project-header { align-items: flex-start; }

.usdm-eyebrow {
  display: block;
  color: var(--slate);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.usdm-social-links {
  display: grid;
  grid-template-columns: repeat(4, 52px);
  gap: 10px;
  margin-left: auto;
}

.nowedel-social-links { grid-template-columns: repeat(3, 52px); }

.usdm-social-link {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--slate);
  background: #fff;
  transition: color .2s, background .2s, border-color .2s;
}

.usdm-social-link:hover { color: #fff; border-color: var(--slate); background: var(--slate); }
.usdm-social-link svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.usdm-social-link .usdm-solid,
.usdm-social-link .usdm-icon-fill { fill: currentColor; stroke: none; }
.usdm-linkedin-mark { font-family: Arial, sans-serif; font-size: 21px; font-weight: 800; letter-spacing: -.06em; line-height: 1; }

.usdm-intro-grid {
  display: grid;
  grid-template-columns: minmax(280px, 4fr) minmax(0, 8fr);
  gap: 28px;
  align-items: stretch;
}

.usdm-description-card {
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #f3f7fd;
}

.usdm-description-card h4,
.usdm-section-heading h4 {
  margin: 10px 0 0;
  color: var(--slate);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
}

.usdm-description-card p {
  margin: 22px 0 0;
  color: var(--secondary);
  font-size: 15px;
  line-height: 1.75;
}

.usdm-browser {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}

.usdm-browser-bar {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr) 40px;
  align-items: center;
  min-height: 48px;
  padding: 8px 12px;
  border-bottom: 1px solid var(--line);
  background: #f3f7fd;
}

.usdm-browser-dots { display: flex; gap: 6px; }
.usdm-browser-dots span { width: 9px; height: 9px; border-radius: 50%; background: #c4d0e0; }
.usdm-browser-address { overflow: hidden; color: var(--secondary); font-size: 12px; text-align: center; text-overflow: ellipsis; white-space: nowrap; }
.usdm-browser-bar a { display: grid; place-items: center; color: var(--slate); }
.usdm-browser-bar .material-symbols-outlined { font-size: 20px; }
.usdm-site-frame { display: block; width: 100%; height: 640px; border: 0; background: #fff; }

.usdm-subsection {
  margin-top: 80px;
  padding-top: 56px;
  border-top: 1px solid var(--line);
}

.usdm-section-heading { margin-bottom: 32px; }
.usdm-mini-heading { margin: 48px 0 22px; color: var(--slate); font-size: 18px; font-weight: 700; }

.usdm-facebook-cover {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}

.usdm-facebook-cover img {
  display: block;
  width: 100%;
  height: auto;
}

.usdm-facebook-cover > span {
  position: absolute;
  right: 18px;
  bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-radius: 6px;
  color: #fff;
  background: var(--slate);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.usdm-facebook-cover .material-symbols-outlined { font-size: 17px; }

.usdm-facebook-post > a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--slate);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.usdm-post-grid,
.usdm-presentation-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.usdm-facebook-post,
.usdm-presentation-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}

.usdm-facebook-post {
  display: flex;
  flex-direction: column;
  height: 610px;
  padding: 18px;
  background: #f3f7fd;
}

.usdm-facebook-post iframe {
  display: block;
  width: 100%;
  max-width: 500px;
  height: 544px;
  margin-inline: auto;
  border: 0;
  background: #fff;
}

.usdm-facebook-post > a { margin-top: auto; padding-top: 14px; }

.usdm-pdf-viewer {
  border-bottom: 1px solid var(--line);
  background: #eef2f7;
}

.usdm-pdf-stage {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  background: #e8edf4;
}

.usdm-pdf-stage canvas {
  display: block;
  max-width: 100%;
  max-height: 100%;
  background: #fff;
  box-shadow: 0 4px 18px rgba(5, 27, 65, .1);
}

.usdm-pdf-status {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  color: var(--secondary);
  font-size: 13px;
  text-align: center;
}

.usdm-pdf-viewer.is-ready .usdm-pdf-status { display: none; }
.usdm-pdf-viewer.has-error .usdm-pdf-status { color: #8b2d2d; }

.usdm-pdf-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 52px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: 7px;
  color: #fff;
  background: rgba(12, 65, 163, .82);
  box-shadow: 0 5px 18px rgba(5, 27, 65, .18);
  cursor: pointer;
  transform: translateY(-50%);
}

.usdm-pdf-arrow.is-prev { left: 14px; }
.usdm-pdf-arrow.is-next { right: 14px; }
.usdm-pdf-arrow:disabled { opacity: .3; cursor: default; }
.usdm-pdf-arrow .material-symbols-outlined { font-size: 28px; }

.usdm-pdf-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 8px 18px;
  color: var(--secondary);
  background: #fff;
  font-size: 12px;
  font-weight: 600;
}

.usdm-pdf-footer { position: relative; }
.usdm-pdf-footer a { position: absolute; right: 18px; color: var(--slate); font-size: 11px; text-transform: uppercase; }

.usdm-presentation-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px;
}

.usdm-presentation-meta h5 { margin: 0; color: var(--slate); font-size: 16px; font-weight: 700; }
.usdm-presentation-meta > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  padding: 10px 14px;
  border-radius: 6px;
  color: #fff;
  background: var(--slate);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.usdm-press-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 32px 36px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #f3f7fd;
  transition: border-color .2s, background .2s;
}

.usdm-press-card:hover { border-color: var(--slate); background: #fff; }
.usdm-press-card div > span { color: var(--secondary); font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.usdm-press-card h5 { margin: 12px 0 10px; color: var(--slate); font-size: 21px; font-weight: 700; line-height: 1.4; }
.usdm-press-card p { max-width: 820px; margin: 0; color: var(--secondary); font-size: 14px; line-height: 1.65; }
.usdm-press-card > .material-symbols-outlined { flex: 0 0 auto; font-size: 34px; }

.serenity-project-logo {
  width: 380px;
  height: 64px;
}

.serenity-social-links { grid-template-columns: repeat(2, 52px); }
.serenity-client-browser { width: 100%; }
.serenity-client-frame { height: 720px; }
.serenity-project { margin-bottom: 0; }
#work { padding-bottom: 72px; }

.contact-section {
  padding: 96px 0 72px;
  color: var(--white);
  background: #0c41a3;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 72px;
  align-items: start;
}

.contact-details h2 {
  margin: 0 0 48px;
  color: var(--white);
  font-size: 42px;
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1.15;
}

.contact-list { display: flex; flex-direction: column; gap: 38px; }
.contact-item { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; }
.contact-item > span { color: var(--muted); font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.contact-item > a,
.contact-item > strong { color: var(--white); font-size: 17px; font-weight: 500; }
.contact-item > a { transition: color .2s; }
.contact-item > a:hover { color: #ff9a5e; }
.contact-social-link { display: inline-flex; align-items: center; gap: 7px; text-transform: uppercase; letter-spacing: .1em; }
.contact-social-link .material-symbols-outlined { font-size: 17px; }
.contact-location { padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .22); }

#contact-form {
  padding: 40px;
  border-color: rgba(255, 255, 255, .24);
  background: rgba(255, 255, 255, .08);
}

#contact-form label { color: var(--muted); }
#contact-form input,
#contact-form textarea { border-color: rgba(255, 255, 255, .34); color: #102c55; background: var(--white); }
#contact-form button { color: var(--slate); background: var(--white); }
#contact-form button:hover { color: var(--white); background: var(--copper); }

.site-footer { padding: 0 0 34px; color: var(--white); background: #0c41a3; }
.footer-minimal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, .24);
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.footer-logo { display: block; width: 220px; height: auto; }
.footer-minimal a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
  transition: color .2s, text-shadow .2s;
}
.footer-minimal a:hover { color: var(--copper); text-shadow: 0 0 10px rgba(242, 118, 46, .8); }

@media (max-width: 1040px) {
  .site-container { width: 100%; padding-inline: 16px; }
  .menu-button {
    display: block;
    flex: 0 0 42px;
    cursor: pointer;
    border: 1px solid var(--line);
    border-radius: 4px;
    background: #f3f7fd;
  }
  .main-nav {
    display: none;
    position: absolute;
    inset: 80px 0 auto;
    padding: 24px 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
    border-bottom: 1px solid var(--line);
    background: var(--surface);
  }
  .main-nav.is-open { display: flex; }
  .main-nav .contact-link { text-align: center; }
  main .px-margin-desktop { padding-inline: 16px; }
  main .text-headline-xl { font-size: 36px; line-height: 43px; }
  .about-intro-grid {
    grid-template-columns: 1fr;
    gap: 0;
    width: 100%;
    height: auto;
    padding-bottom: 44px;
  }
  .about-title { padding-top: 48px; font-size: 40px; }
  .about-copy { padding: 26px 0 38px; }
  .about-copy { grid-column: 1; grid-row: 2; }
  .about-copy p { max-width: 760px; }
  .about-intro-media {
    grid-column: 1;
    grid-row: 3;
    width: min(100%, 620px);
    height: auto;
    min-height: 0;
    aspect-ratio: auto;
    margin: 0 auto 30px;
    border: 1px solid var(--line);
    border-radius: 8px;
    justify-self: center;
  }
  .strength-grid { grid-template-columns: 1fr; }
  .language-list { grid-template-columns: repeat(2, 1fr); }
  .usdm-intro-grid { grid-template-columns: 1fr; }
  .usdm-description-card { padding: 30px; }
  .usdm-site-frame { height: 560px; }
  .serenity-client-frame { height: 620px; }
  .contact-layout { grid-template-columns: 1fr; gap: 56px; }
}

@media (max-width: 470px) {
  .brand { font-size: 20px; }
  .brand-logo { width: 180px; }
  .contact-section { padding: 64px 0 52px; }
  .contact-details h2 { margin-bottom: 36px; font-size: 34px; }
  #contact-form { padding: 24px 20px; }
  .footer-minimal { align-items: flex-start; flex-direction: column; gap: 22px; }
  .footer-logo { width: 190px; }
  .about-title { padding-top: 38px; font-size: 36px; }
  .about-copy { padding-top: 18px; }
  .about-copy p { margin-top: 16px; font-size: 16px; line-height: 1.65; }
  .about-intro-media { width: 100%; margin-bottom: 26px; }
  .about-details { padding-block: 28px 52px; }
  .strength-grid { gap: 16px; }
  .strength-card {
    grid-template-columns: 68px 1fr;
    gap: 16px;
    min-height: 0;
    padding: 20px 16px;
  }
  .strength-icon { width: 64px; height: 64px; }
  .strength-icon .material-symbols-outlined { font-size: 34px; }
  .strength-card h3 { font-size: 18px; }
  .strength-card p { font-size: 14px; }
  .about-group { margin-top: 36px; }
  .education-item { grid-template-columns: 64px 1fr; }
  .education-copy h4 { font-size: 16px; line-height: 1.4; }
  .education-copy p { font-size: 14px; line-height: 1.5; }
  .language-list { grid-template-columns: 1fr; gap: 10px; margin-top: 20px; }
  .language-list > span { justify-content: flex-start; padding-inline: 16px; }
  .usdm-project { margin-bottom: 88px; }
  .serenity-project { margin-bottom: 0; }
  .usdm-project-header { align-items: flex-start; flex-direction: column; gap: 48px; margin-bottom: 28px; }
  .usdm-project-logo { width: 250px; height: 78px; }
  .nowedel-project-logo { width: 280px; height: 54px; }
  .usdm-social-links { margin-left: 0; }
  .nowedel-social-links { grid-template-columns: repeat(3, 48px); }
  .usdm-social-links { grid-template-columns: repeat(4, 48px); }
  .usdm-social-link { width: 48px; height: 48px; }
  .usdm-description-card { padding: 24px 20px; }
  .usdm-description-card h4,
  .usdm-section-heading h4 { font-size: 24px; }
  .usdm-site-frame { height: 480px; }
  .usdm-browser-bar { grid-template-columns: 60px minmax(0, 1fr) 32px; }
  .usdm-subsection { margin-top: 56px; padding-top: 40px; }
  .usdm-facebook-cover > span {
    right: 10px;
    bottom: 10px;
    transform: scale(.65);
    transform-origin: right bottom;
  }
  .usdm-post-grid,
  .usdm-presentation-grid { grid-template-columns: 1fr; }
  .usdm-facebook-post { padding: 10px; }
  .usdm-pdf-arrow { width: 38px; height: 46px; }
  .usdm-pdf-arrow.is-prev { left: 8px; }
  .usdm-pdf-arrow.is-next { right: 8px; }
  .usdm-presentation-meta { align-items: flex-start; flex-direction: column; }
  .usdm-press-card { align-items: flex-start; padding: 24px 20px; }
  .usdm-press-card h5 { font-size: 18px; }
  .serenity-project-logo { width: 280px; height: 52px; }
  .serenity-social-links { grid-template-columns: repeat(2, 48px); }
  .serenity-client-frame { height: 500px; }
  #work { padding-bottom: 48px; }
}
