@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/text/outfit-latin-400.woff2") format("woff2");
}

@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/text/outfit-latin-500.woff2") format("woff2");
}

@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/text/outfit-latin-600.woff2") format("woff2");
}

@font-face {
  font-family: "Newsreader";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/assets/fonts/text/newsreader-latin-wght.woff2") format("woff2");
}

@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/text/ibm-plex-mono-latin-400.woff2") format("woff2");
}

@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/text/ibm-plex-mono-latin-500.woff2") format("woff2");
}

:root {
  --bg: #0e0f12;
  --text: #f3efe6;
  --muted: #9a9488;
  --accent: #e6a15c;
  --line: rgba(243, 239, 230, 0.14);
  --danger: #e07a5f;
  --display: "Newsreader", "Iowan Old Style", Georgia, serif;
  --sans: "Outfit", "Avenir Next", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  color-scheme: dark;
}

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

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background:
    radial-gradient(ellipse at 85% -10%, rgba(230, 161, 92, 0.16), transparent 46%),
    var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
}

button,
input,
textarea {
  font: inherit;
  color: inherit;
}

a {
  color: inherit;
}

p {
  margin: 0 0 1rem;
}

h1,
h2,
h3,
h4,
h5 {
  color: var(--text);
  font-weight: 550;
  line-height: 1.15;
}

ul {
  margin: 0 0 1rem;
  padding-left: 1.1rem;
}

.bar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 0.7rem 1.25rem;
}

.bar::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: rgba(14, 15, 18, 0.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand,
.sheet {
  position: relative;
  z-index: 1;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  color: var(--text);
  text-decoration: none;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.brand-copy h2,
.brand-copy h4 {
  margin: 0;
}

.brand-copy h2 {
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.brand-copy h4 {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 400;
  color: var(--muted);
}

.nav {
  flex: 1;
  min-width: 0;
}

.sheet {
  display: flex;
  flex: 1;
  align-items: center;
  gap: 1.25rem;
  min-width: 0;
}

.nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav a {
  display: flex;
  flex-direction: row;
  align-items: baseline;
  gap: 0.35rem;
  padding: 0.3rem 0.45rem;
  color: var(--text);
  text-decoration: none;
}

.nav a:hover .nav-label,
.nav a.is-active .nav-label,
.nav a.is-active .nav-path {
  color: var(--accent);
}

.nav-path {
  font-family: var(--mono);
  font-size: 0.62rem;
  color: var(--muted);
}

.nav-label {
  font-size: 0.92rem;
}

.nav-icon {
  display: none;
}

.nav-icon svg {
  display: block;
}

.bar-tools {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.langs {
  display: flex;
  gap: 0.35rem;
}

.langs a {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--muted);
  text-decoration: none;
}

.langs a.is-active {
  color: var(--accent);
}

.cv,
.cookie-buttons button,
.btn-send {
  display: inline-block;
  border: 0;
  background: var(--accent);
  color: #1a120c;
  font-family: var(--mono);
  font-size: 0.78rem;
  line-height: 1;
  text-decoration: none;
  padding: 0.7rem 0.85rem;
  cursor: pointer;
}

.cookie-buttons button.ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
}

.cv:hover,
.cookie-buttons button:hover,
.btn-send:hover {
  filter: brightness(1.08);
}

.section-content a.btn-send,
.section-content a.btn-send:hover {
  color: #1a120c;
}

.header-buttons .message {
  max-width: 16rem;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.72rem;
  line-height: 1.35;
}

.header-buttons .message[hidden] {
  display: none;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-left: auto;
  padding: 0;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  cursor: pointer;
}

.menu-toggle svg {
  display: block;
}

.content-area {
  flex: 1;
}

.home {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: calc(100svh - 8.5rem);
  width: min(68rem, calc(100% - 3rem));
  margin: 0 auto;
  padding: 3rem 0;
}

.kicker {
  margin: 0 0 0.8rem;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
}

.home-title h2 {
  max-width: 11ch;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(3rem, 8vw, 6.4rem);
  font-weight: 450;
  letter-spacing: -0.035em;
  line-height: 0.92;
}

.home-subtitles {
  min-height: 2rem;
  margin-top: 1.25rem;
}

.home-subtitles .subtitle {
  display: none;
}

.home-subtitles .subtitle.active {
  display: block;
}

.sp-subtitle {
  color: var(--accent);
  font-family: var(--mono);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.colophon {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  padding: 1rem 1.25rem 1.4rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.78rem;
}

.colophon a {
  color: var(--text);
  text-decoration: none;
}

.colophon a:hover {
  color: var(--accent);
}

.social ul {
  display: flex;
  gap: 0.8rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.social a {
  color: var(--text);
  font-size: 1rem;
}

/* The CMS social block still uses Font Awesome class names (fab fa-linkedin-in, fab fa-twitter).
   They are drawn here as masks over currentColor, so the icon font is not loaded. */
.social i.fab {
  display: inline-block;
  width: 1em;
  height: 1em;
  vertical-align: -0.125em;
  background-color: currentColor;
  -webkit-mask: var(--icon) center / contain no-repeat;
  mask: var(--icon) center / contain no-repeat;
}

.social .fa-linkedin-in {
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4.5 2a2.5 2.5 0 1 1 0 5 2.5 2.5 0 0 1 0-5ZM2.3 8.5h4.4v13H2.3ZM9.5 8.5h4.2v1.9c.7-1.3 2.3-2.3 4.4-2.3 4 0 4.9 2.6 4.9 6v7.4h-4.4v-6.3c0-1.6-.3-3.1-2.2-3.1s-2.5 1.4-2.5 3.1v6.3H9.5Z'/%3E%3C/svg%3E");
}

/* X logo from Simple Icons (CC0-1.0). */
.social .fa-twitter {
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M18.901 1.153h3.68l-8.04 9.19L24 22.846h-7.406l-5.8-7.584-6.638 7.584H.474l8.6-9.83L0 1.154h7.594l5.243 6.932ZM17.61 20.644h2.039L6.486 3.24H4.298Z'/%3E%3C/svg%3E");
}

.legal,
.legal .copyrights {
  margin-left: auto;
}

.section-content {
  width: min(72rem, calc(100% - 3rem));
  margin: 0 auto;
  padding: 3.2rem 0 4.5rem;
}

.page-title h1,
.page-title h2,
.miss h1 {
  margin: 0 0 1.6rem;
  font-family: var(--display);
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  font-weight: 450;
  letter-spacing: -0.03em;
}

.block-title h3,
.block-title h2 {
  margin: 0 0 1rem;
  font-family: var(--display);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 450;
}

.page-title span,
.block-title span {
  color: var(--accent);
}

.row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2rem;
  margin-bottom: 0.5rem;
}

.col-xs-12,
.col-sm-12,
.col-md-12,
.col-sm-8,
.col-sm-7,
.col-sm-6,
.col-sm-5,
.col-sm-4,
.col-md-4 {
  flex: 1 1 16rem;
  min-width: 0;
}

.col-sm-12,
.col-xs-12.col-sm-12 {
  flex-basis: 100%;
}

.white-space-50 {
  height: 2.4rem;
}

.white-space-20 {
  height: 1rem;
}

.section-content p,
.work-lead p {
  max-width: 68ch;
  color: #ddd6c8;
}

.section-content a {
  color: var(--accent);
}

.info-list ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.info-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--line);
}

.info-list .title {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.78rem;
}

.ci-icon,
.lnr {
  display: none;
}

.info-block-w-icon,
.lm-info-block {
  padding: 0.2rem 0 1rem;
}

.timeline-item {
  border-top: 1px solid var(--line);
  padding: 1.4rem 0;
}

.timeline-item > div {
  display: grid;
  grid-template-columns: minmax(9rem, 14rem) 1fr;
  gap: 0.4rem 2rem;
}

.divider {
  display: none;
}

.item-period,
.item-company {
  display: block;
  font-family: var(--mono);
  font-size: 0.78rem;
}

.item-period {
  color: var(--accent);
}

.item-company {
  color: var(--muted);
}

.item-title {
  margin: 0 0 0.6rem;
}

.list-title {
  margin-top: 0.8rem;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.skill {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.9rem;
}

.skill h4,
.skill-value {
  margin: 0;
  font-family: var(--mono);
  font-size: 0.82rem;
  font-weight: 400;
}

.skill-value {
  color: var(--muted);
}

.skill-container {
  height: 2px;
  margin: 0.35rem 0 0.2rem;
  background: var(--line);
}

.skill-percentage {
  height: 100%;
  background: var(--accent);
}

.skill-95 .skill-percentage { width: 95%; }
.skill-90 .skill-percentage { width: 90%; }
.skill-75 .skill-percentage { width: 75%; }
.skill-70 .skill-percentage { width: 70%; }
.skill-65 .skill-percentage { width: 65%; }

.knowledges,
.lead-strategic-imp-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.knowledges li,
.lead-strategic-imp-skills li {
  border: 1px solid var(--line);
  padding: 0.25rem 0.55rem;
  font-family: var(--mono);
  font-size: 0.78rem;
}

.doc .block-title {
  margin-top: 3rem;
}

.about-intro,
.skill-board {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(16rem, 0.7fr);
  gap: 2.5rem 3rem;
  align-items: start;
}

.about-copy p:first-of-type {
  color: var(--text);
  font-family: var(--display);
  font-size: 1.45rem;
  line-height: 1.4;
}

.about-facts {
  position: sticky;
  top: 5.5rem;
  padding: 0.4rem 0 0.4rem 1.25rem;
  border-left: 1px solid var(--line);
}

.practice,
.surfaces {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem 2rem;
}

.surfaces {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
}

.practice-item,
.surface {
  min-width: 0;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.practice-item h4,
.surface h4 {
  margin: 0 0 0.55rem;
  font-family: var(--display);
  font-size: 1.55rem;
  font-weight: 450;
}

.work-kicker {
  margin-bottom: 0.35rem;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
}

.work-lead p:last-child {
  max-width: 46rem;
  font-size: 1.2rem;
  line-height: 1.5;
}

.work-shot {
  display: block;
  width: min(100%, 220px);
  height: auto;
  margin-top: 1.1rem;
  border: 1px solid var(--line);
  border-radius: 18px;
}

.work-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.work-link p {
  margin: 0;
}

.work-link a {
  display: inline-block;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--line);
  color: var(--text);
  font-family: var(--mono);
  font-size: 0.82rem;
  text-decoration: none;
}

.work-link a:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(14rem, 0.62fr) minmax(0, 1.4fr);
  gap: 2.5rem 3rem;
  align-items: start;
}

.contact-fact h4 {
  margin: 0 0 0.85rem;
  font-family: var(--mono);
  font-size: 0.92rem;
  font-weight: 400;
}

.letter .block-title {
  margin-top: 0;
}

.letter-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 1.5rem;
}

#contact-map {
  display: block;
  width: 100%;
  height: 160px;
  margin-top: 0.4rem;
  border: 0;
  filter: grayscale(1) contrast(1.05);
}

.third-party-note,
.cookie-allow {
  margin: 0.8rem 0 1rem;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.82rem;
}

.cookie-allow[hidden] {
  display: none;
}

.cookie-allow button {
  padding: 0;
  border: 0;
  background: none;
  color: var(--accent);
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
}

.terms-check {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
}

.terms-check input {
  width: 1rem;
  height: 1rem;
  margin-top: 0.3rem;
  accent-color: var(--accent);
}

.switch-text a {
  color: var(--accent);
}

.form-group {
  position: relative;
  margin-bottom: 1.35rem;
}

.form-control {
  width: 100%;
  padding: 1.35rem 0 0.45rem;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  outline: none;
}

.form-group label {
  position: absolute;
  top: 1.15rem;
  left: 0;
  color: var(--muted);
  pointer-events: none;
  transition: transform 0.15s ease, font-size 0.15s ease, color 0.15s ease;
}

.form-group-focus label,
.form-control:focus + label {
  transform: translateY(-0.95rem);
  color: var(--accent);
  font-size: 0.75rem;
}

textarea.form-control {
  min-height: 9rem;
  resize: vertical;
}

.terms {
  margin: 0.4rem 0 1rem;
}

.switch-text {
  color: #ddd6c8;
}

.help-block {
  margin-top: 0.35rem;
  color: var(--danger);
  font-family: var(--mono);
  font-size: 0.75rem;
}

.alert {
  margin-top: 0.8rem;
  font-family: var(--mono);
  font-size: 0.82rem;
}

.alert[hidden] {
  display: none;
}

.alert-error {
  color: var(--danger);
}

.alert-success {
  color: var(--accent);
}

.letter-fields[hidden],
.letter-sent[hidden] {
  display: none;
}

.letter-sent p {
  margin: 0.2rem 0 1.25rem;
  max-width: 32rem;
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.45;
}

.g-recaptcha {
  margin: 0.8rem 0 1rem;
}

.g-recaptcha + .help-block {
  margin-top: 0.55rem;
  margin-bottom: 1.35rem;
}

.table-container {
  overflow-x: auto;
}

.styled-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
}

.styled-table th,
.styled-table td {
  padding: 0.65rem 0.5rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.styled-table th {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 400;
}

.prose-copy {
  max-width: 46rem;
}

.prose h4 {
  margin: 1.8rem 0 0.55rem;
  font-family: var(--display);
  font-size: 1.45rem;
  font-weight: 450;
}

.prose h4 span {
  color: var(--accent);
}

.switch {
  position: relative;
  display: inline-flex;
  width: 2.6rem;
  height: 1.4rem;
  cursor: pointer;
}

.switch input {
  position: absolute;
  inset: 0;
  z-index: 1;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.switch .slider {
  display: block;
  width: 100%;
  height: 100%;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.switch .slider::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 1rem;
  height: 1rem;
  background: var(--muted);
  border-radius: 50%;
}

.switch input:checked + .slider {
  border-color: var(--accent);
}

.switch input:checked + .slider::after {
  background: var(--accent);
  transform: translateX(1.15rem);
}

.switch input:focus-visible + .slider {
  outline: 1px solid var(--accent);
  outline-offset: 2px;
}

.cookie-popup {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 30;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  width: min(26rem, calc(100% - 2rem));
  padding: 1rem 1.1rem;
  background: #17181c;
  border: 1px solid var(--line);
}

.cookie-content p {
  margin: 0;
  color: #ddd6c8;
  font-size: 0.92rem;
}

.cookie-buttons {
  display: flex;
  gap: 0.5rem;
}

.miss {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 100vh;
  width: min(40rem, calc(100% - 3rem));
  margin: 0 auto;
  padding: 4rem 0 12vh;
}

.miss p {
  max-width: 42ch;
  color: #ddd6c8;
}

@media (max-width: 1180px) {
  .nav-path {
    display: none;
  }
}

@keyframes menu-drop {
  from {
    opacity: 0;
    transform: translateY(-1rem);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes menu-rise {
  from {
    opacity: 0;
    transform: translateY(0.9rem) scale(0.94);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 960px) {
  .bar {
    padding-right: 4.4rem;
  }

  .menu-toggle {
    position: fixed;
    z-index: 40;
    top: 0.64rem;
    right: 1.25rem;
    bottom: auto;
    display: flex;
    width: 42px;
    height: 42px;
    margin: 0;
    border: 1px solid var(--line);
    border-radius: 0;
    background: transparent;
  }

  body.menu-animate .brand,
  body.menu-animate .bar::before {
    transition:
      transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
      opacity 0.4s ease;
  }

  body.menu-animate .menu-toggle {
    transition:
      top 0.9s cubic-bezier(0.22, 1, 0.36, 1),
      right 0.9s cubic-bezier(0.22, 1, 0.36, 1),
      background-color 0.9s ease,
      border-color 0.9s ease,
      border-radius 0.9s cubic-bezier(0.22, 1, 0.36, 1),
      box-shadow 0.9s ease,
      color 0.9s ease;
  }

  body.is-docked .bar {
    pointer-events: none;
  }

  body.is-docked .bar::before {
    transform: translateY(-100%);
    opacity: 0;
  }

  body.is-docked .brand {
    transform: translateY(calc(-100% - 1.4rem));
    opacity: 0;
  }

  body.is-docked .menu-toggle {
    top: calc(100dvh - 0.85rem - 42px - env(safe-area-inset-bottom));
    right: 0.85rem;
    pointer-events: auto;
    border-radius: 999px;
    border-color: var(--accent);
    background: var(--accent);
    color: #1a120c;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
  }

  .sheet {
    display: none;
  }

  body.is-open:not(.is-docked) .sheet {
    position: absolute;
    z-index: 30;
    top: 100%;
    right: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.15rem;
    max-height: min(70vh, 26rem);
    padding: 0.35rem 0.5rem 0.6rem;
    overflow: auto;
    background: #17181c;
    border-bottom: 1px solid var(--line);
    animation: menu-drop 0.46s cubic-bezier(0.22, 1, 0.36, 1);
  }

  body.is-open:not(.is-docked) .nav ul {
    flex-direction: column;
  }

  body.is-open:not(.is-docked) .nav a {
    padding: 0.75rem 0.85rem;
  }

  body.is-open .bar-tools {
    align-items: center;
    justify-content: flex-start;
    gap: 1.5rem;
    margin-top: 0.15rem;
    padding: 0.7rem 0.85rem 0.4rem;
    border-top: 1px solid var(--line);
  }

  body.is-open .langs {
    align-items: center;
    gap: 0.15rem;
  }

  body.is-open .langs a,
  body.is-open .cv {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 2.2rem;
    white-space: nowrap;
  }

  body.is-open .langs a {
    min-width: 2.3rem;
    padding: 0 0.35rem;
  }

  body.is-open .cv {
    padding: 0 0.85rem;
  }

  body.is-docked.is-open .sheet {
    position: fixed;
    z-index: 35;
    top: auto;
    right: 0.85rem;
    bottom: calc(0.85rem + 42px + 0.55rem + env(safe-area-inset-bottom));
    left: auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: max-content;
    max-width: min(15rem, calc(100vw - 1.7rem));
    max-height: min(70vh, 22rem);
    padding: 0.3rem;
    overflow: auto;
    background: #3a342c;
    border: 1px solid rgba(243, 239, 230, 0.28);
    border-radius: 14px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
    pointer-events: auto;
    transform-origin: right bottom;
    animation: menu-rise 0.46s cubic-bezier(0.22, 1, 0.36, 1);
  }

  body.is-docked.is-open .nav ul {
    flex-direction: column;
    align-items: stretch;
  }

  body.is-docked.is-open .nav a {
    align-items: center;
    gap: 0.6rem;
    padding: 0.42rem 0.55rem;
  }

  body.is-docked.is-open .nav-icon {
    display: inline-flex;
    flex: 0 0 1.1rem;
    justify-content: center;
    color: var(--accent);
    font-size: 0.85rem;
  }

  body.is-docked.is-open .nav-path {
    display: none;
  }

  body.is-docked.is-open .nav-label {
    font-size: 0.82rem;
    white-space: nowrap;
  }

  body.is-docked.is-open .bar-tools {
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
    padding: 0.45rem 0 0;
  }

  body.is-docked.is-open .langs {
    justify-content: center;
  }

  body.is-docked.is-open .cv {
    width: 100%;
    padding: 0 0.7rem;
    font-size: 0.72rem;
    border-radius: calc(14px - 0.3rem);
  }

  .cookie-popup {
    right: 0.75rem;
    bottom: 1rem;
    left: 0.75rem;
    width: auto;
  }

  body.is-docked .cookie-popup {
    right: 4.4rem;
  }

  .legal,
  .legal .copyrights {
    margin-left: 0;
  }

  .timeline-item > div,
  .about-intro,
  .skill-board,
  .practice,
  .surfaces,
  .contact-layout,
  .letter-row {
    display: block;
  }

  .about-facts {
    position: static;
    margin-top: 1.5rem;
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid var(--line);
    padding-top: 1rem;
  }

  .practice-item,
  .surface {
    margin-top: 1.25rem;
  }

  .letter {
    margin-top: 3rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .menu-toggle,
  .brand,
  .bar::before,
  .sheet {
    transition: none;
    animation: none;
  }
}
