@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap");
:root {
  --bg: #253247;
  --panel: #303f55;
  --ink: #edf2f9;
  --muted: #bac6d8;
  --accent: #91b8ff;
  --border: #47576e;
  --sidebar: 248px;
  color-scheme: dark;
  font-family: "DM Sans", sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 25px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  cursor: pointer;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
}
::selection {
  background: var(--accent);
  color: var(--bg);
}
.skip {
  position: fixed;
  top: -70px;
  left: 20px;
  z-index: 100;
  background: var(--accent);
  color: var(--bg);
  padding: 12px;
}
.skip:focus {
  top: 15px;
}
.sidebar {
  width: var(--sidebar);
  position: fixed;
  inset: 0 auto 0 0;
  border-right: 1px solid var(--border);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  z-index: 10;
  background: var(--bg);
}
.brand {
  font:
    800 48px "Manrope",
    sans-serif;
  line-height: 1;
}
.brand span {
  color: var(--accent);
}
.brand img {
  display: block;
  width: 120px;
  max-width: 100%;
  height: auto;
}
.sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.sidebar-header .brand { min-width: 0; }
.sidebar-header .language-switcher { flex-shrink: 0; }
@media (max-width: 760px) {
  .sidebar-header { display: contents; }
  .sidebar-header .language-switcher { margin-left: 10px; }
}
@media (max-width: 760px) {
  .brand img { width: 100px; }
}
.profile {
  margin: 56px 0 38px;
}
.avatar {
  width: 80px;
  height: 80px;
  background: var(--accent);
  border-radius: 50%;
  color: var(--bg);
  font:
    800 42px "Manrope",
    sans-serif;
  display: grid;
  place-items: center;
  position: relative;
}
.avatar span {
  position: absolute;
  font-size: 25px;
  bottom: -4px;
  right: -4px;
  background: var(--bg);
  color: var(--accent);
  border-radius: 50%;
  padding: 2px 5px;
}
.profile h2 {
  font-size: 24px;
  margin: 18px 0 6px;
}
.profile p {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}
nav {
  display: grid;
  gap: 9px;
}
nav a {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 15px 12px;
  color: var(--muted);
  border-radius: 7px;
  font-size: 15px;
}
nav a span {
  font-size: 12px;
  color: #a3b3cb;
}
nav a i {
  margin-left: auto;
  font-size: 7px;
  visibility: hidden;
}
nav a:hover,
nav a.active {
  background: #354c70;
  color: var(--accent);
}
nav a.active i {
  visibility: visible;
}
.sidebar-bottom {
  margin-top: auto;
  padding-top: 32px;
}
.sidebar-bottom > span {
  font-size: 11px;
  letter-spacing: 1.8px;
}
.sidebar-bottom p {
  font-size: 14px;
  color: var(--muted);
}
.sidebar-bottom small {
  display: block;
  font-size: 12px;
  color: #a3b3cb;
  margin-top: 32px;
}
.menu-toggle {
  display: none;
}
main {
  margin-left: var(--sidebar);
}
.section {
  padding: 72px 7%;
  border-bottom: 1px solid var(--border);
  scroll-margin-top: 0;
}
.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  padding-top: 32px;
}
.topline {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 11px;
  letter-spacing: 1.5px;
  color: var(--muted);
}
.hero-content {
  padding: 110px 0 65px;
  position: relative;
  z-index: 1;
}
.eyebrow {
  font-size: 13px;
  letter-spacing: 1.5px;
  color: var(--accent);
  margin: 0 0 24px;
}
.hero h1 {
  font:
    500 clamp(55px, 6.7vw, 104px)/1.06 "Manrope",
    sans-serif;
  letter-spacing: -5px;
  margin: 0 0 30px;
}
em {
  font-style: normal;
  color: var(--accent);
}
.intro {
  max-width: 520px;
  line-height: 1.8;
  color: var(--muted);
  font-size: 17px;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-top: 35px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  border-radius: 6px;
  padding: 17px 22px;
  font-size: 15px;
  font-weight: 700;
  transition:
    background 0.2s,
    transform 0.2s;
}
.primary {
  background: var(--accent);
  color: var(--bg);
}
.primary:hover {
  background: #b6cfff;
  transform: translateY(-2px);
}
.button span {
  font-size: 22px;
  line-height: 1;
}
.text-link {
  font-size: 15px;
  border-bottom: 1px solid #7891b4;
  padding-bottom: 5px;
}
.hero-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 45px;
  border-top: 1px solid var(--border);
  padding-top: 24px;
  position: relative;
  z-index: 1;
}
.hero-footer > div {
  display: flex;
  align-items: center;
  gap: 18px;
}
.hero-footer strong {
  font:
    500 52px "Manrope",
    sans-serif;
}
.hero-footer div span {
  font-size: 13px;
  max-width: 95px;
  line-height: 1.6;
  color: var(--muted);
}
.hero-footer p {
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}
.scroll-label {
  font-size: 10px;
  letter-spacing: 1.5px;
  margin-left: auto;
  display: flex;
  gap: 20px;
  align-items: center;
}
.scroll-label span {
  font-size: 26px;
  color: var(--accent);
}
.hero-decoration {
  position: absolute;
  right: -20px;
  top: 27%;
  font:
    400 clamp(150px, 23vw, 360px) "Manrope",
    sans-serif;
  color: #35465e;
  transform: rotate(-12deg);
  letter-spacing: -20px;
  user-select: none;
}
.hero-decoration span {
  color: #304157;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 30px;
  margin-bottom: 40px;
}
h2 {
  font-family: "Manrope", sans-serif;
}
.section-heading h2 {
  font-size: clamp(32px, 3.6vw, 52px);
  letter-spacing: -2px;
  margin: 0;
}
.section-heading h2 span {
  color: var(--accent);
}
.section-heading > p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}
.project-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
}
.project-card {
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  background: var(--panel);
  transition:
    transform 0.25s,
    border-color 0.25s;
}
.project-card:hover {
  transform: translateY(-5px);
  border-color: #7891b4;
}
.project-cover {
  height: 250px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.cover-one {
  background: #415c83;
  color: #dce9ff;
}
.cover-two {
  background: #505575;
  color: #e3e4ff;
}
.cover-three {
  background: #dedfd9;
  color: #1d283b;
}
.cover-four {
  background: #243a51;
  color: #e7eef6;
}
.cover-top {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  letter-spacing: 1.5px;
}
.project-cover h3 {
  font:
    800 clamp(27px, 2.6vw, 40px)/1.15 "Manrope",
    sans-serif;
  letter-spacing: -1px;
  margin: auto 0 14px;
  max-width: 280px;
}
.project-cover p {
  margin: 0;
  font-size: 13px;
  opacity: 0.7;
}
.cover-symbol {
  position: absolute;
  right: 16px;
  bottom: 8px;
  font:
    400 100px "Manrope",
    sans-serif;
  opacity: 0.12;
  line-height: 1;
}
.project-content {
  padding: 25px;
}
.project-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 1px;
}
.project-content h3 {
  font-size: 21px;
  margin: 16px 0 10px;
  letter-spacing: -0.5px;
}
.project-content > p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
  min-height: 48px;
}
.project-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
}
.project-actions button {
  border: 1px solid #557299;
  color: var(--accent);
  padding: 11px 15px;
  background: #354b68;
  border-radius: 5px;
  font-size: 14px;
}
.project-actions button:hover {
  background: var(--accent);
  color: var(--bg);
}
.project-actions a {
  font-size: 13px;
  color: var(--muted);
}
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 55px;
  padding-top: 110px;
  padding-bottom: 110px;
}
.about h2,
.contact h2 {
  font-size: clamp(32px, 3.6vw, 54px);
  letter-spacing: -2px;
  line-height: 1.25;
  margin: 0;
}
.about-copy p {
  color: var(--muted);
  line-height: 1.9;
  margin: 0 0 20px;
}
.capabilities {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}
.capabilities span {
  border: 1px solid var(--border);
  border-radius: 30px;
  padding: 9px 14px;
  font-size: 12px;
}
.contact {
  padding-top: 90px;
  padding-bottom: 26px;
  background: #2c3b51;
}
.contact > p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.8;
  margin: 24px 0;
}
.contact footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--border);
  margin-top: 80px;
  padding-top: 25px;
  font-size: 12px;
  color: var(--muted);
}
dialog {
  padding: 0;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--ink);
  width: 90vw;
  max-width: 90vw;
  height: 90dvh;
  max-height: 90dvh;
  margin: auto;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 24px 80px #0008;
}
dialog[open] {
  display: flex;
  flex-direction: column;
}
dialog::backdrop {
  background: #111e;
}
@media (max-width: 760px) {
  dialog {
    width: 100%;
    max-width: 100%;
    height: 100dvh;
    max-height: 100dvh;
    margin: 0;
    border-radius: 0;
  }
}
.viewer-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
}
.viewer-heading {
  display: flex;
  align-items: center;
  gap: 15px;
  min-width: 0;
}
.viewer-mark {
  font:
    bold 30px "Manrope",
    sans-serif;
  color: var(--accent);
}
.viewer-heading h2 {
  font-size: 15px;
  margin: 0 0 4px;
}
.viewer-heading div > span {
  font-size: 12px;
  color: var(--muted);
}
.viewer-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.viewer-actions button,
.viewer-actions a {
  border: 1px solid var(--border);
  border-radius: 5px;
  background: var(--panel);
  color: var(--ink);
  font-size: 13px;
  padding: 9px 12px;
}
.viewer-actions a {
  color: var(--accent);
}
.device-buttons {
  display: flex;
  gap: 4px;
}
.device-buttons button[aria-pressed="true"] {
  background: var(--accent);
  color: var(--bg);
}
.viewer-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  padding: 10px 20px;
  color: var(--muted);
  font-size: 12px;
}
.viewer-info button {
  background: none;
  border: none;
  color: var(--muted);
  padding: 4px;
}
.frame-stage {
  flex: 1;
  min-height: 0;
  display: flex;
  justify-content: center;
  position: relative;
  background: #223046;
  padding: 0;
  overflow: hidden;
}
iframe {
  border: 0;
  background: #fff;
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 1;
  transition: width 0.3s;
}
iframe.mobile {
  width: 390px;
  max-width: 100%;
}
.loading {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--muted);
  z-index: 2;
  pointer-events: none;
  background: #303f55;
}
.loading.hidden {
  display: none;
}
body.viewer-open {
  overflow: hidden;
}
.cover-five {
  background: #3c6271;
  color: #d8edf4;
}
.profile-photo {
  object-fit: cover;
  object-position: center 15%;
  border: 2px solid var(--border);
}
.language-switcher {
  display: flex;
  align-items: center;
  gap: 4px;
}
.sidebar > .language-switcher {
  position: absolute;
  right: 24px;
  top: 40px;
}
.language-switcher a {
  font-size: 12px;
  font-weight: 600;
  padding: 8px 9px;
  border: 1px solid var(--border);
  border-radius: 5px;
  color: var(--muted);
}
.language-switcher a[aria-current="true"] {
  color: var(--bg);
  background: var(--accent);
  border-color: var(--accent);
}
@media (max-width: 760px) {
  .sidebar > .language-switcher {
    position: static;
    margin-left: 10px;
  }
  .sidebar .profile {
    min-width: 0;
    margin-left: 12px;
    margin-right: 8px;
  }
  .sidebar .profile h2 {
    font-size: 14px;
  }
  .sidebar .profile p {
    display: none;
  }
  .sidebar {
    padding-left: 16px;
    padding-right: 16px;
  }
  .menu-toggle {
    padding: 8px;
  }
  .menu-toggle span {
    display: none;
  }
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}
.service-item {
  border-top: 1px solid var(--border);
  padding-top: 24px;
}
.service-number {
  font-size: 13px;
  color: var(--accent);
}
.service-item h3 {
  font:
    600 21px/1.4 "Manrope",
    sans-serif;
  margin: 22px 0 14px;
}
.service-item p,
.process-list p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
  margin: 0;
}
.process-list {
  padding: 0;
  margin: 0;
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px 45px;
}
.process-list li {
  display: flex;
  gap: 20px;
  border-top: 1px solid var(--border);
  padding-top: 24px;
}
.process-list li > span {
  font-size: 14px;
  color: var(--accent);
  padding-top: 4px;
}
.process-list h3 {
  font:
    600 20px/1.4 "Manrope",
    sans-serif;
  margin: 0 0 12px;
}
.collaboration h2 em {
  font-style: normal;
}
@media (max-width: 1000px) {
  .service-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .service-item h3 {
    margin-top: 12px;
  }
}
@media (max-width: 760px) {
  .process-list {
    grid-template-columns: 1fr;
  }
  .hero-actions {
    flex-wrap: wrap;
    gap: 22px;
  }
  .contact footer {
    align-items: center;
  }
}
.cover-six {
  background: #e3e8fa;
  color: #37468a;
}
.profile h2 {
  font-size: 20px;
  line-height: 1.3;
}
.about-cv-link {
  display: inline-block;
  margin-top: 28px;
}
.cv-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
}
.resume-layout {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 60px;
}
.resume-label {
  font-size: 20px;
  margin: 0 0 28px;
  color: var(--ink);
}
.timeline {
  border-left: 1px solid var(--border);
  padding-left: 25px;
}
.experience-item {
  padding-bottom: 30px;
  position: relative;
}
.experience-item::before {
  content: "";
  position: absolute;
  left: -30px;
  top: 5px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
}
.experience-date {
  font-size: 12px;
  color: var(--accent);
  margin: 0 0 10px;
}
.experience-item h4,
.skill-group h4,
.education-item h4 {
  font-size: 16px;
  margin: 0 0 8px;
  font-weight: 600;
  line-height: 1.5;
}
.experience-company {
  font-size: 14px;
  color: var(--ink);
  margin: 0 0 14px;
}
.experience-item ul {
  padding-left: 18px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}
.experience-item li + li {
  margin-top: 6px;
}
.resume-details > section {
  margin-bottom: 35px;
}
.skill-group {
  border-bottom: 1px solid var(--border);
  padding: 0 0 16px;
  margin-bottom: 16px;
}
.resume-details p {
  color: var(--muted);
  line-height: 1.8;
  font-size: 14px;
  margin: 0;
}
.education-item {
  margin-bottom: 24px;
}
.education-item small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
  margin-top: 7px;
}
.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 30px;
  align-items: center;
  margin-top: 35px;
}
.contact-links a:hover,
.cv-contact a:hover {
  color: var(--accent);
}
.contact-email {
  width: 100%;
  font:
    500 clamp(18px, 2.8vw, 36px) "Manrope",
    sans-serif;
  overflow-wrap: anywhere;
}
.contact-links > span {
  color: var(--muted);
}
.cv-page {
  background: var(--bg);
}
.cv-toolbar {
  max-width: 1100px;
  margin: 0 auto;
  padding: 26px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.print-button {
  border: 1px solid var(--border);
  background: var(--panel);
  color: var(--ink);
  padding: 15px 20px;
  border-radius: 6px;
}
main.cv-document {
  margin: 0 auto;
  max-width: 1100px;
  padding: 45px 40px;
}
.cv-header {
  border-bottom: 1px solid var(--border);
  padding-bottom: 35px;
  margin-bottom: 45px;
}
.cv-header h1 {
  font:
    600 clamp(36px, 5vw, 64px)/1.2 "Manrope",
    sans-serif;
  letter-spacing: -2px;
  margin: 0 0 25px;
}
.cv-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 25px;
  color: var(--muted);
  font-size: 14px;
  overflow-wrap: anywhere;
}
.cv-summary {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.8;
  max-width: 850px;
  margin-top: 25px;
}
.cv-projects {
  border-top: 1px solid var(--border);
  padding-top: 30px;
}
.cv-projects h2 {
  font-size: 24px;
}
.cv-project-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}
.cv-project-list h3 {
  font-size: 17px;
  margin: 0 0 8px;
}
.cv-project-list a {
  color: var(--accent);
}
.cv-project-list p,
.cv-project-list small {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
  margin: 0;
}
.cv-footer {
  border-top: 1px solid var(--border);
  margin-top: 40px;
  padding-top: 25px;
  color: var(--muted);
  font-size: 13px;
}
@media (max-width: 900px) {
  .resume-layout {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .cv-toolbar {
    flex-wrap: wrap;
  }
  .cv-project-list {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 760px) {
  .cv-toolbar {
    padding: 20px 24px;
  }
  main.cv-document {
    margin-top: 0;
    padding: 25px 24px;
  }
  .cv-links {
    gap: 18px;
  }
  .resume-label {
    margin-bottom: 22px;
  }
  .cv-header h1 {
    letter-spacing: -1px;
  }
  .profile h2 {
    font-size: 16px;
  }
}
@media print {
  @page {
    size: A4;
    margin: 14mm;
  }
  .cv-page {
    background: white;
    color: #172219;
    color-scheme: dark;
    font-family: Arial, sans-serif;
    --ink: #172219;
    --muted: #364239;
    --accent: #315422;
    --border: #ccd3cc;
  }
  .cv-toolbar,
  .skip,
  .cv-footer {
    display: none;
  }
  main.cv-document {
    padding: 0;
    max-width: none;
    margin: 0;
  }
  .cv-header {
    padding-bottom: 14px;
    margin-bottom: 20px;
  }
  .cv-header h1 {
    font-family: Arial, sans-serif;
    font-size: 30px;
    letter-spacing: 0;
    margin-bottom: 12px;
  }
  .cv-header .eyebrow {
    margin-bottom: 10px;
  }
  .cv-contact {
    font-size: 10px;
    gap: 6px 16px;
  }
  .cv-summary {
    font-size: 12px;
    line-height: 1.5;
    margin: 12px 0 0;
  }
  .resume-layout {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 26px;
  }
  .resume-label {
    font-size: 15px;
    margin-bottom: 14px;
  }
  .experience-item {
    padding-bottom: 18px;
    break-inside: avoid;
  }
  .experience-item h4,
  .skill-group h4,
  .education-item h4 {
    font-size: 12px;
  }
  .experience-date,
  .experience-company {
    font-size: 10px;
    margin-bottom: 6px;
  }
  .experience-item ul,
  .resume-details p {
    font-size: 11px;
    line-height: 1.5;
  }
  .resume-details > section {
    margin-bottom: 20px;
  }
  .skill-group {
    padding-bottom: 8px;
    margin-bottom: 8px;
  }
  .education-item {
    margin-bottom: 14px;
  }
  .education-item small {
    font-size: 10px;
  }
  .cv-project-list {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }
  .cv-project-list article {
    break-inside: avoid;
  }
  .cv-projects h2 {
    font-size: 16px;
  }
  .cv-project-list h3 {
    font-size: 12px;
  }
  .cv-project-list p,
  .cv-project-list small {
    font-size: 10px;
  }
  .cv-projects {
    padding-top: 12px;
  }
  .timeline {
    padding-left: 15px;
  }
  .experience-item::before {
    left: -20px;
  }
}
.project-grid {
  gap: 20px;
}
.project-cover {
  height: 180px;
  padding: 20px;
}
.project-cover h3 {
  font-size: clamp(26px, 2.2vw, 32px);
  margin-bottom: 10px;
}
.cover-symbol {
  font-size: 80px;
}
.project-content {
  padding: 20px;
}
.project-content h3 {
  font-size: 19px;
  margin: 12px 0 8px;
}
.project-content > p {
  min-height: 0;
  margin: 8px 0;
  line-height: 1.6;
}
.project-actions {
  margin-top: 18px;
}
.project-grid {
  align-items: start;
}
.project-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px;
  border-bottom: 1px solid var(--border);
}
.project-monogram {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font:
    700 24px "Manrope",
    sans-serif;
}
.project-monogram svg {
  width: 26px;
  height: 26px;
}
.project-header > div {
  min-width: 0;
}
.project-header p {
  font-size: 10px;
  letter-spacing: 1.2px;
  color: var(--muted);
  margin: 0 0 7px;
  line-height: 1.5;
}
.project-header h3 {
  font:
    600 21px/1.3 "Manrope",
    sans-serif;
  letter-spacing: -0.5px;
  margin: 0;
}
.project-number {
  margin-left: auto;
  color: #a3b3cb;
  font-size: 12px;
  align-self: flex-start;
}
.project-destinations {
  padding: 0 22px;
}
.project-destination {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px 0;
}
.project-destination + .project-destination {
  border-top: 1px solid var(--border);
}
.destination-copy {
  flex: 1;
  min-width: 0;
}
.destination-copy h4 {
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 6px;
}
.destination-copy p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
}
.destination-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.destination-actions button {
  font-size: 14px;
  color: var(--accent);
  background: #354b68;
  border: 1px solid #557299;
  border-radius: 6px;
  padding: 10px 13px;
}
.destination-actions button:hover {
  background: var(--accent);
  color: var(--bg);
}
.destination-actions a {
  font-size: 20px;
  color: var(--muted);
  display: grid;
  place-items: center;
  width: 36px;
  height: 40px;
  border-radius: 6px;
}
.destination-actions a:hover {
  background: #354b68;
  color: var(--ink);
}
.destination-actions a.destination-open {
  width: auto;
  height: auto;
  padding: 10px 13px;
  font-size: 14px;
  color: var(--accent);
  background: #354b68;
  border: 1px solid #557299;
  white-space: nowrap;
}
.destination-actions a.destination-open:hover {
  background: var(--accent);
  color: var(--bg);
}
@media (max-width: 1100px) and (min-width: 761px) {
  .project-destination {
    flex-wrap: wrap;
    gap: 12px;
  }
  .destination-copy {
    flex-basis: 100%;
  }
}
@media (max-width: 480px) {
  .project-header {
    padding: 18px;
    gap: 12px;
  }
  .project-header h3 {
    font-size: 19px;
  }
  .project-destinations {
    padding: 0 18px;
  }
  .project-destination {
    flex-wrap: wrap;
    gap: 12px;
  }
  .destination-copy {
    flex-basis: 100%;
  }
  .project-number {
    display: none;
  }
}
@media (min-width: 1600px) {
  main {
    max-width: 1600px;
  }
  .hero-decoration {
    right: 60px;
  }
}
@media (max-width: 1100px) {
  :root {
    --sidebar: 210px;
  }
  .sidebar {
    padding: 26px 20px;
  }
  .section {
    padding-left: 6%;
    padding-right: 6%;
  }
  .hero h1 {
    letter-spacing: -3px;
  }
  .edition {
    display: none;
  }
  .hero-decoration {
    opacity: 0.55;
  }
  .hero-footer {
    gap: 25px;
  }
  .project-cover {
    height: 215px;
  }
  .project-actions {
    align-items: start;
    flex-direction: column;
  }
  .about {
    gap: 30px;
  }
}
@media (max-width: 760px) {
  :root {
    --sidebar: 0px;
  }
  .sidebar {
    width: 100%;
    height: 72px;
    bottom: auto;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 12px 22px;
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }
  .brand {
    font-size: 36px;
  }
  .profile {
    margin: 0 auto 0 18px;
  }
  .profile h2 {
    font-size: 16px;
    margin: 0;
  }
  .profile p {
    font-size: 11px;
    margin-top: 3px;
  }
  .avatar,
  .sidebar-bottom {
    display: none;
  }
  .menu-toggle {
    display: flex;
    gap: 12px;
    background: none;
    color: var(--ink);
    border: 1px solid var(--border);
    border-radius: 5px;
    padding: 9px 12px;
    font-size: 13px;
  }
  nav {
    display: none;
    position: absolute;
    top: 71px;
    left: 0;
    right: 0;
    background: var(--bg);
    padding: 15px 20px;
    border-bottom: 1px solid var(--border);
  }
  nav.open {
    display: grid;
  }
  main {
    margin-top: 72px;
  }
  .section {
    padding: 60px 24px;
    scroll-margin-top: 72px;
  }
  .hero {
    min-height: calc(100svh - 72px);
    padding-top: 25px;
  }
  .topline {
    font-size: 9px;
  }
  .hero-content {
    padding: 75px 0 55px;
  }
  .hero h1 {
    font-size: clamp(45px, 10vw, 74px);
    letter-spacing: -2.8px;
  }
  .intro {
    font-size: 16px;
    max-width: 440px;
  }
  .hero-decoration {
    top: 38%;
    right: -25px;
    font-size: 210px;
    opacity: 0.35;
  }
  .hero-footer {
    gap: 15px;
    flex-wrap: wrap;
  }
  .hero-footer strong {
    font-size: 42px;
  }
  .hero-footer p {
    margin-left: auto;
  }
  .scroll-label {
    width: 100%;
    justify-content: space-between;
    margin-top: 15px;
  }
  .section-heading {
    display: block;
  }
  .section-heading > p {
    margin-top: 20px;
  }
  .project-grid {
    grid-template-columns: 1fr;
  }
  .project-cover {
    height: 240px;
  }
  .project-cover h3 {
    font-size: 36px;
  }
  .project-actions {
    flex-direction: row;
    align-items: center;
  }
  .about {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .contact footer {
    margin-top: 60px;
    flex-wrap: wrap;
  }
  .viewer-toolbar {
    padding: 10px 12px;
    flex-wrap: wrap;
    gap: 10px;
  }
  .viewer-heading h2 {
    font-size: 13px;
  }
  .viewer-heading div > span {
    font-size: 11px;
  }
  .viewer-actions {
    width: 100%;
    gap: 8px;
  }
  .viewer-actions a {
    margin-left: auto;
  }
  .viewer-actions button,
  .viewer-actions a {
    font-size: 11px;
    padding: 8px;
  }
  .viewer-info {
    font-size: 11px;
    padding: 9px 12px;
  }
  .viewer-mark {
    font-size: 24px;
  }
}
@media (max-width: 1100px) {
  .project-cover {
    height: 170px;
  }
}
@media (max-width: 760px) {
  .project-cover {
    height: 165px;
  }
  .project-cover h3 {
    font-size: 30px;
  }
  .project-content {
    padding: 18px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
