@font-face {
  font-family: 'DM Sans';
  src: url('fonts/dm-sans-latin-ext.woff2') format('woff2');
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'DM Sans';
  src: url('fonts/dm-sans-latin.woff2') format('woff2');
  font-style: normal;
  font-weight: 100 1000;
  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 {
  color-scheme: light;
  --background: #f7f7f7;
  --text: #222;
  --font-body: 'DM Sans', Arial, sans-serif;
  --font-display: 'DM Sans', Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--background); color: var(--text); font-family: var(--font-body); font-synthesis: none; font-kerning: normal; text-rendering: optimizeLegibility; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
a:focus-visible, button:focus-visible { outline: 2px solid #555; outline-offset: 5px; }
main { width: calc(100% - 96px); max-width: 1400px; margin-inline: auto; }
.topbar { position: sticky; top: 0; z-index: 50; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; column-gap: 18px; min-height: 56px; width: 100%; padding: 10px max(62px, calc((100% - 1372px) / 2)); background: rgba(247,247,247,.97); backdrop-filter: blur(14px); font-size: 13px; line-height: 1.4; }
.brand { justify-self: start; font-size: 14px; letter-spacing: -.02em; white-space: nowrap; }
.degree { font-size: .6em; vertical-align: super; line-height: 0; margin-left: .06em; letter-spacing: 0; }
.brand .degree { font-size: .75em; vertical-align: baseline; }
.navigation { display: flex; align-items: center; justify-self: center; gap: 24px; }
.navigation a { padding-bottom: 3px; }
.navigation .active { border-bottom: 1px solid currentColor; }
.navigation .nav-contact { display: none; }
.experience { justify-self: end; white-space: nowrap; }
.menu-toggle { display: none; }
.hero { position: relative; display: flex; flex-direction: column; align-items: stretch; padding: 86px 14px 130px; text-align: left; }
.hero h1 { align-self: flex-start; margin: 0; font-family: var(--font-display); font-size: clamp(110px, 13vw, 190px); font-weight: 500; line-height: 1; letter-spacing: -.065em; white-space: nowrap; }
.hero h1 .degree { font-size: .3em; margin-left: .035em; }
.hero-description { align-self: flex-start; width: 100%; max-width: 470px; margin-top: 75px; text-align: left; scroll-margin-top: 90px; }
.hero-description p { margin: 0; font-size: 15px; line-height: 1.5; }
.specialties { display: flex; align-items: center; align-self: flex-start; justify-content: flex-start; gap: 24px; margin: 20px 0 0; padding: 0; list-style: none; font-size: 13px; }
.social-links a { display: inline-flex; align-items: center; gap: 7px; padding: 8px 0; }
.social-links a:hover > span:last-child { text-decoration: underline; text-underline-offset: 4px; }
.icon-bubble { display: grid; place-items: center; flex: 0 0 20px; width: 20px; height: 20px; color: #111; transition: opacity .2s; }
.icon-bubble i { font-size: 20px; line-height: 1; }
.social-links a:hover .icon-bubble, .social-links a:focus-visible .icon-bubble { opacity: .65; }
.works-heading { padding: 0 14px 18px; }
.works-heading h2 { margin: 0; font-family: var(--font-display); font-size: clamp(44px, 4.2vw, 62px); font-weight: 500; line-height: 1; letter-spacing: -.045em; }
@media (min-width: 1800px) {
  .hero { padding-top: 102px; }
}
@media (min-width: 601px) and (max-width: 1000px) {
  main { width: calc(100% - 48px); }
  .topbar { padding-inline: 28px; font-size: 12px; }
  .navigation { gap: 18px; }
  .hero { padding: 82px 4px 100px; }
  .hero h1 { font-size: clamp(80px, 11vw, 118px); }
  .hero-description { margin-top: 60px; }
  .hero-description p { font-size: 14px; }
  .specialties { font-size: 12px; }
}
@media (max-width: 600px) {
  main { width: 100%; max-width: none; }
  .topbar { grid-template-columns: 1fr auto; column-gap: 10px; min-height: 56px; padding: 10px 11px; font-size: 12px; }
  .brand { font-size: 13px; }
  .experience { display: none; }
  .menu-toggle { display: grid; place-items: center; justify-self: end; width: 36px; height: 36px; padding: 0; border: 0; background: transparent; color: #111; cursor: pointer; }
  .menu-toggle i { font-size: 24px; line-height: 1; }
  .menu-toggle .menu-close, .menu-toggle[aria-expanded=true] .menu-open { display: none; }
  .menu-toggle[aria-expanded=true] .menu-close { display: block; }
  .navigation { display: none; position: absolute; top: 100%; left: 0; right: 0; z-index: 5; justify-self: stretch; flex-direction: column; align-items: center; gap: 18px; padding: 30px 20px 34px; background: var(--background); text-align: center; box-shadow: 0 18px 24px rgba(0,0,0,.05); }
  .navigation.is-open { display: flex; }
  .navigation a { padding: 0; }
  .navigation .active { border-bottom: 0; }
  .navigation a:not(.nav-contact) { font-family: var(--font-display); font-size: 27px; line-height: 1.1; }
  .navigation .nav-contact { display: block; margin-top: 8px; font-size: 13px; }
  .hero { padding: 70px 11px 90px; }
  .hero h1 { width: auto; margin: 0; font-size: clamp(48px, 15.5vw, 89px); line-height: 1; }
  .hero-description { max-width: 300px; margin-top: 62px; }
  .hero-description p { font-size: 14px; line-height: 1.5; }
  .specialties { gap: 22px; margin-top: 16px; font-size: 12px; }
  .icon-bubble { flex-basis: 18px; width: 18px; height: 18px; }
  .icon-bubble i { font-size: 18px; }
  .works-heading { padding: 30px 11px 18px; }
  .works-heading h2 { font-size: 38px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .icon-bubble { transition: none; }
}
