/* ===== index.html ===== */
html.page-home {
  --page: #ffffff;
  --white: #ffffff;
  --ink: #5c5c5c;
  --muted: #6b6b6b;
  --line: rgba(17, 17, 17, 0.1);
  --line-soft: rgba(17, 17, 17, 0.06);
  --shadow: 0 18px 46px rgba(0, 0, 0, 0.035);
  --radius: 18px;
  --sans: "Quicksand", "Helvetica Neue", Helvetica, Arial, Inter, ui-sans-serif, system-ui, sans-serif;
}
html.page-home * {
  box-sizing: border-box;
}
html.page-home,
html.page-home body {
  margin: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #fff;
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}
html.page-home a {
  color: inherit;
  text-decoration: none;
}
html.page-home img {
  display: block;
}
html.page-home button {
  font: inherit;
}
html.page-home .urbanist {
  font-family: "Quicksand", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}
html.page-home .quicksand {
  font-family: "Quicksand", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
}
html.page-home .site {
  width: 100%;
  height: 100svh;
  display: grid;
  grid-template-rows: 74px 1fr 28px;
  padding: 0 20px 12px;
  background: #fff;
}
html.page-home .topbar {
  max-width: 1920px;
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
  position: relative;
  z-index: 50;
}
html.page-home .menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(17, 17, 17, 0.12);
  border-radius: 999px;
  background: #fff;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
  color: #111;
}
html.page-home .menu-toggle span {
  display: block;
  width: 16px;
  height: 1px;
  background: currentColor;
  transition:
    transform 0.18s ease,
    opacity 0.18s ease;
}
html.page-home .menu-toggle.is-open span:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}
html.page-home .menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}
html.page-home .menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}
html.page-home .brand {
  font-size: 2em;
  align-items: baseline;
  gap: 8px;
  min-width: 0;
  white-space: nowrap;
  line-height: 1;
  color: #575759;
  font-family: "Quicksand", sans-serif;
  letter-spacing: 0px;
}
html.page-home .capital {
  color: #000000;
  letter-spacing: 0px;
}
html.page-home .nav {
  display: flex;
  align-items: center;
  justify-content: center;
  justify-self: center;
  gap: clamp(60px, 5vw, 100px);
  font-size: 14px;
  font-weight: 430;
  letter-spacing: 0.045em;
  text-transform: none;
  color: rgba(17, 17, 17, 0.68);
}
html.page-home .nav a:hover {
  color: var(--ink);
}
html.page-home .dropdown {
  position: relative;
  display: flex;
  align-items: center;
  padding: 18px 0;
  margin: -18px 0;
}
html.page-home .dropdown::after {
  content: "";
  position: absolute;
  left: -24px;
  right: -24px;
  top: 100%;
  height: 24px;
  background: transparent;
}
html.page-home .dropdown-toggle {
  border: 0;
  background: transparent;
  padding: 0;
  margin: 0;
  color: rgba(17, 17, 17, 0.68);
  cursor: pointer;
  font-size: 14px;
  font-weight: 430;
  letter-spacing: 0.045em;
  text-transform: none;
  line-height: 1;
}
html.page-home .dropdown:hover .dropdown-toggle,
html.page-home .dropdown:focus-within .dropdown-toggle {
  color: var(--ink);
}
html.page-home .dropdown-toggle::after {
  content: "";
  display: inline-block;
  width: 4px;
  height: 4px;
  margin-left: 8px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  opacity: 0.72;
}
html.page-home .dropdown-menu {
  position: absolute;
  top: calc(100% + 4px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  min-width: 230px;
  padding: 14px 0;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(17, 17, 17, 0.1);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.07);
  backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.18s ease,
    transform 0.18s ease,
    visibility 0.18s ease;
  z-index: 20;
}
html.page-home .dropdown:hover .dropdown-menu,
html.page-home .dropdown:focus-within .dropdown-menu,
html.page-home .dropdown.is-open .dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
html.page-home .dropdown-menu a {
  display: block;
  padding: 9px 18px;
  color: rgba(17, 17, 17, 0.72);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: none;
  white-space: nowrap;
}
html.page-home .dropdown-menu a:hover {
  color: var(--ink);
  background: rgba(17, 17, 17, 0.035);
}
html.page-home .lang-switch {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 2px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 999px;
  padding: 2px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(8px);
}
html.page-home .lang-btn {
  border: 0;
  background: transparent;
  color: rgba(17, 17, 17, 0.44);
  cursor: pointer;
  border-radius: 999px;
  padding: 6px 8px 5px;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1;
  transition:
    background 0.18s ease,
    color 0.18s ease;
}
html.page-home .lang-btn:hover {
  color: rgba(17, 17, 17, 0.78);
}
html.page-home .lang-btn.active {
  background: rgba(17, 17, 17, 0.075);
  color: rgba(17, 17, 17, 0.9);
}
html.page-home .hero-shell {
  max-width: 1920px;
  width: 100%;
  margin: 0 auto;
  background: #fff;

  overflow: hidden;
  position: relative;
  min-height: 0;
}
html.page-home .hero-inner {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 0;
  padding: 0;
  background: #fff;
}
html.page-home .frame {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  isolation: isolate;
}
html.page-home .slides {
  position: absolute;
  inset: 0;
}
html.page-home .slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.65s ease;
  pointer-events: none;
  overflow: hidden;
  background: #fff;
}
html.page-home .slide.active {
  opacity: 1;
  pointer-events: auto;
  z-index: 1;
}
html.page-home .slide-media {
  position: absolute;
  inset: 4%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
html.page-home .slide-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  user-select: none;
  -webkit-user-drag: none;
}
html.page-home .intro-copy {
  position: absolute;
  left: clamp(18px, 2.3vw, 36px);
  top: clamp(18px, 2.3vw, 32px);
  z-index: 6;
  max-width: 360px;
  opacity: 0;
  transform: translateY(6px);
  transition:
    opacity 0.35s ease,
    transform 0.35s ease;
  pointer-events: none;
}
html.page-home .intro-copy.visible {
  opacity: 1;
  transform: translateY(0);
}
html.page-home .intro-copy h1 {
  margin: 0;
  font-size: clamp(32px, 4vw, 60px);
  line-height: 0.94;
  letter-spacing: -0.075em;
  font-weight: 300;
  color: rgba(17, 17, 17, 0.94);
}
html.page-home .intro-copy p {
  margin: 14px 0 0;
  font-size: 14px;
  line-height: 1.45;
  color: rgba(17, 17, 17, 0.56);
  font-weight: 400;
  max-width: 310px;
}
html.page-home .museum-label {
  position: absolute;
  left: clamp(18px, 2.4vw, 34px);
  bottom: clamp(18px, 2.4vw, 28px);
  z-index: 7;
  width: min(340px, calc(100% - 112px));
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(17, 17, 17, 0.1);
  padding: 12px 14px 11px;
}
html.page-home .museum-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  color: rgba(17, 17, 17, 0.5);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
html.page-home .museum-title {
  margin: 0 0 4px;
  font-size: 16px;
  line-height: 1.08;
  letter-spacing: -0.035em;
  font-weight: 400;
  color: rgba(17, 17, 17, 0.96);
}
html.page-home .museum-meta {
  margin: 0;
  font-size: 12px;
  line-height: 1.4;
  color: rgba(17, 17, 17, 0.62);
  font-weight: 400;
}
html.page-home .museum-meta strong {
  font-weight: 500;
  color: rgba(17, 17, 17, 0.84);
}
html.page-home .arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 8;
  width: 42px;
  height: 112px;
  display: grid;
  place-items: center;
  border: 0;
  padding: 0;
  background: transparent;
  color: rgba(17, 17, 17, 0.56);
  cursor: pointer;
  transition: color 0.18s ease;
}
html.page-home .arrow:hover {
  color: var(--ink);
}
html.page-home .arrow.prev {
  left: 6px;
}
html.page-home .arrow.next {
  right: 6px;
}
html.page-home .arrow svg {
  width: 12px;
  height: 60px;
  stroke: currentColor;
  stroke-width: 1.15;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
html.page-home .dots {
  position: absolute;
  right: clamp(18px, 2.4vw, 34px);
  bottom: clamp(18px, 2.4vw, 28px);
  z-index: 8;
  display: flex;
  align-items: center;
  gap: 8px;
}
html.page-home .dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  border: 0;
  padding: 0;
  background: rgba(17, 17, 17, 0.18);
  cursor: pointer;
  transition:
    transform 0.16s ease,
    background 0.16s ease;
}
html.page-home .dot.active {
  background: rgba(17, 17, 17, 0.72);
  transform: scale(1.15);
}
html.page-home .footer {
  max-width: 1920px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: right;
  justify-content: right;
  text-align: right;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: none;
  color: rgba(17, 17, 17, 0.42);
  font-weight: 420;
}
@media (max-width: 900px) {
  html.page-home .topbar {
    grid-template-columns: 1fr auto auto;
    align-items: center;
    gap: 10px;
  }
  html.page-home .menu-toggle {
    display: flex;
    order: 2;
  }
  html.page-home .lang-switch {
    order: 3;
  }
  html.page-home .nav {
    position: absolute;
    top: calc(100% - 4px);
    right: 0;
    width: min(320px, calc(100vw - 24px));
    display: grid;
    gap: 0;
    padding: 10px 0;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(17, 17, 17, 0.1);
    box-shadow: 0 22px 54px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(12px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(8px);
    transition:
      opacity 0.18s ease,
      transform 0.18s ease,
      visibility 0.18s ease;
    z-index: 80;
  }
  html.page-home body.menu-open .nav {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }
  html.page-home .nav > a,
  html.page-home .dropdown-toggle {
    display: flex;
    width: 100%;
    min-height: 42px;
    align-items: center;
    justify-content: space-between;
    padding: 0 18px;
    text-align: left;
  }
  html.page-home .dropdown {
    display: block;
    padding: 0;
    margin: 0;
  }
  html.page-home .dropdown::after {
    display: none;
  }
  html.page-home .dropdown-menu {
    position: static;
    transform: none;
    min-width: 0;
    width: 100%;
    padding: 0;
    border: 0;
    box-shadow: none;
    background: rgba(17, 17, 17, 0.025);
    backdrop-filter: none;
    opacity: 0;
    visibility: hidden;
    max-height: 0;
    overflow: hidden;
    pointer-events: none;
    transition:
      max-height 0.22s ease,
      opacity 0.18s ease,
      visibility 0.18s ease;
  }
  html.page-home .dropdown.is-open .dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    max-height: 460px;
    transform: none;
  }
  html.page-home .dropdown:hover .dropdown-menu,
  html.page-home .dropdown:focus-within .dropdown-menu {
    transform: none;
  }
  html.page-home .dropdown-menu a {
    padding: 10px 28px;
    font-size: 11px;
  }
}
@media (max-width: 720px) {
  html.page-home .site {
    grid-template-rows: 64px 1fr 24px;
    padding: 0 12px 10px;
  }
  html.page-home .brand-first,
  html.page-home .brand-last {
    font-size: 22px;
  }
  html.page-home .lang-switch {
    transform: scale(0.92);
    transform-origin: right center;
  }
  html.page-home .hero-shell,
  html.page-home .frame {
    border-radius: 14px;
  }
  html.page-home .intro-copy {
    left: 16px;
    top: 16px;
    max-width: 255px;
  }
  html.page-home .intro-copy h1 {
    font-size: 34px;
  }
  html.page-home .intro-copy p {
    font-size: 13px;
    max-width: 235px;
  }
  html.page-home .museum-label {
    left: 16px;
    bottom: 16px;
    width: min(272px, calc(100% - 76px));
    padding: 10px 11px 9px;
  }
  html.page-home .museum-top {
    font-size: 9px;
  }
  html.page-home .museum-title {
    font-size: 14px;
  }
  html.page-home .museum-meta {
    font-size: 11px;
  }
  html.page-home .dots {
    right: 16px;
    bottom: 16px;
    flex-direction: column;
  }
  html.page-home .arrow {
    width: 34px;
    height: 90px;
  }
  html.page-home .arrow.prev {
    left: 1px;
  }
  html.page-home .arrow.next {
    right: 1px;
  }
  html.page-home .arrow svg {
    width: 10px;
    height: 46px;
    stroke-width: 1.05;
  }
  html.page-home .footer {
    font-size: 9px;
  }
}

/* ===== about.html ===== */
html.page-about {
  --page: #ffffff;
  --white: #ffffff;
  --ink: #5c5c5c;
  --muted: #6b6b6b;
  --line: rgba(17, 17, 17, 0.1);
  --line-soft: rgba(17, 17, 17, 0.06);
  --shadow: 0 18px 46px rgba(0, 0, 0, 0.035);
  --radius: 18px;
  --sans: "Quicksand", "Helvetica Neue", Helvetica, Arial, Inter, ui-sans-serif, system-ui, sans-serif;
}
html.page-about * {
  box-sizing: border-box;
}
html.page-about,
html.page-about body {
  margin: 0;
  width: 100%;
  min-height: 100%;
  background: #fff;
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}
html.page-about a {
  color: inherit;
  text-decoration: none;
}
html.page-about img {
  display: block;
}
html.page-about button {
  font: inherit;
}
html.page-about [hidden] {
  display: none !important;
}
html.page-about .bio-text {
  transition:
    opacity 0.28s ease,
    transform 0.28s ease;
}
html.page-about .site {
  width: 100%;
  min-height: 100svh;
  display: grid;
  grid-template-rows: 74px 1fr 28px;
  padding: 0 20px 12px;
  background: #fff;
}
html.page-about .topbar {
  max-width: 1920px;
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
  position: relative;
  z-index: 50;
}
html.page-about .menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(17, 17, 17, 0.12);
  border-radius: 999px;
  background: #fff;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
  color: #111;
}
html.page-about .menu-toggle span {
  display: block;
  width: 16px;
  height: 1px;
  background: currentColor;
  transition:
    transform 0.18s ease,
    opacity 0.18s ease;
}
html.page-about .menu-toggle.is-open span:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}
html.page-about .menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}
html.page-about .menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}
html.page-about .brand {
  font-size: 2em;
  align-items: baseline;
  gap: 8px;
  min-width: 0;
  white-space: nowrap;
  line-height: 1;
  color: #575759;
  font-family: "Quicksand", sans-serif;
  letter-spacing: 0px;
}
html.page-about .capital {
  color: #000000;
  letter-spacing: 0px;
}
html.page-about .nav {
  display: flex;
  align-items: center;
  justify-content: center;
  justify-self: center;
  gap: clamp(60px, 5vw, 100px);
  font-size: 14px;
  font-weight: 430;
  letter-spacing: 0.045em;
  text-transform: none;
  color: rgba(17, 17, 17, 0.68);
}
html.page-about .nav a:hover {
  color: var(--ink);
}
html.page-about .nav a,
html.page-about .dropdown-toggle {
  transition:
    color 0.18s ease,
    opacity 0.18s ease;
}
html.page-about .nav a:hover {
  color: var(--ink);
}
html.page-about .dropdown {
  position: relative;
  display: flex;
  align-items: center;
  padding: 18px 0;
  margin: -18px 0;
}
html.page-about .dropdown::after {
  content: "";
  position: absolute;
  left: -24px;
  right: -24px;
  top: 100%;
  height: 24px;
  background: transparent;
}
html.page-about .dropdown-toggle {
  border: 0;
  background: transparent;
  padding: 0;
  margin: 0;
  color: rgba(17, 17, 17, 0.68);
  cursor: pointer;
  font-size: 14px;
  font-weight: 430;
  letter-spacing: 0.045em;
  text-transform: none;
  line-height: 1;
}
html.page-about .dropdown:hover .dropdown-toggle,
html.page-about .dropdown:focus-within .dropdown-toggle {
  color: var(--ink);
}
html.page-about .dropdown-toggle::after {
  content: "";
  display: inline-block;
  width: 4px;
  height: 4px;
  margin-left: 8px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  opacity: 0.72;
}
html.page-about .dropdown-menu {
  position: absolute;
  top: calc(100% + 4px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  min-width: 230px;
  padding: 14px 0;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(17, 17, 17, 0.1);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.07);
  backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.18s ease,
    transform 0.18s ease,
    visibility 0.18s ease;
  z-index: 20;
}
html.page-about .dropdown:hover .dropdown-menu,
html.page-about .dropdown:focus-within .dropdown-menu,
html.page-about .dropdown.is-open .dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
html.page-about .dropdown-menu a {
  display: block;
  padding: 9px 18px;
  color: rgba(17, 17, 17, 0.72);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.08em;
  white-space: nowrap;
}
html.page-about .dropdown-menu a:hover {
  color: var(--ink);
  background: rgba(17, 17, 17, 0.035);
}
html.page-about .lang-switch {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 2px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 999px;
  padding: 2px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(8px);
}
html.page-about .lang-btn {
  border: 0;
  background: transparent;
  color: rgba(17, 17, 17, 0.44);
  cursor: pointer;
  border-radius: 999px;
  padding: 6px 8px 5px;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1;
  transition:
    background 0.18s ease,
    color 0.18s ease;
}
html.page-about .lang-btn:hover {
  color: rgba(17, 17, 17, 0.78);
}
html.page-about .lang-btn.active {
  background: rgba(17, 17, 17, 0.075);
  color: rgba(17, 17, 17, 0.9);
}
html.page-about .about-shell {
  max-width: 1920px;
  width: 100%;
  margin: 0 auto;
  background: #fff;
  overflow: hidden;
  position: relative;
  min-height: 0;
}
html.page-about .about-inner {
  min-height: 100%;
  display: grid;
  grid-template-columns: minmax(300px, 0.82fr) minmax(420px, 1.18fr);
  gap: clamp(34px, 5vw, 96px);
  align-items: center;
  padding: clamp(34px, 5.2vw, 92px);
}
html.page-about .portrait-wrap {
  position: relative;
    max-width: 560px;
    justify-self: end;
    margin-top: -230px; /* ajustar */
  opacity: 0;
  transform: translateY(12px);
  animation: fadeIn 0.72s ease forwards 0.05s;
}
html.page-about .portrait-frame {
  position: relative;
  overflow: hidden;
  background: #f7f7f7;
  aspect-ratio: 4/5;
}
html.page-about .portrait-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(17, 17, 17, 0.1);
  pointer-events: none;
}
html.page-about .portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: grayscale(100%) contrast(1.03);
  transform: scale(1.012);
  transition:
    transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1),
    filter 0.7s ease,
    opacity 0.7s ease;
}
html.page-about .portrait-frame:hover img {
  transform: scale(1.035);
  filter: grayscale(100%) contrast(1.08) brightness(1.02);
  opacity: 0.96;
}
html.page-about .portrait-caption {
  margin-top: 13px;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(17, 17, 17, 0.42);
}
html.page-about .about-copy {
  max-width: 760px;
  opacity: 0;
  transform: translateY(12px);
  animation: fadeIn 0.78s ease forwards 0.18s;
}
html.page-about .eyebrow {
  margin: 0 0 18px;
  font-size: 10px;
  font-weight: 520;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(17, 17, 17, 0.45);
}
html.page-about h1 {
  margin: 0;
  font-size: clamp(36px, 4.8vw, 76px);
  line-height: 0.92;
  letter-spacing: -0.05em;
  font-weight: 100;
  color: rgba(17, 17, 17, 0.94);
}
html.page-about .meta {
  margin: 14px 0 0;
  font-size: 14px;
  font-weight: 430;
  letter-spacing: 0.04em;
  color: rgba(17, 17, 17, 0.52);
}
html.page-about .bio-text {
  margin: clamp(26px, 3.2vw, 42px) 0 0;
  max-width: 690px;
  display: grid;
  gap: 16px;
}
html.page-about .bio-text p {
  margin: 0;
  font-size: clamp(15px, 1.05vw, 17px);
  line-height: 1.72;
  font-weight: 370;
  color: rgba(17, 17, 17, 0.66);
  text-align: justify;
  hyphens: auto;
  text-justify: inter-word; 
}
html.page-about .bio-text strong {
  font-weight: 520;
  color: rgba(17, 17, 17, 0.88);
}
html.page-about .section-label {
  margin: 0 0 8px;
  font-size: 10px;
  font-weight: 520;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(17, 17, 17, 0.42);
}
html.page-about .hagolibros-link {
  font-variant-caps: all-small-caps;
  letter-spacing: 0.055em;
  font-style: normal;
  font-weight: 520;
  color: rgba(17, 17, 17, 0.84);
  border-bottom: 1px solid rgba(17, 17, 17, 0.18);
  transition:
    color 0.2s ease,
    border-color 0.2s ease;
}
html.page-about .hagolibros-link:hover {
  color: #111;
  border-color: rgba(17, 17, 17, 0.65);
}
html.page-about .about-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: clamp(28px, 3vw, 42px);
}
html.page-about .cv-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid rgba(17, 17, 17, 0.18);
  background: #fff;
  color: rgba(17, 17, 17, 0.84);
  font-size: 10px;
  font-weight: 520;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  overflow: hidden;
  transition:
    color 0.24s ease,
    border-color 0.24s ease,
    transform 0.24s ease,
    box-shadow 0.24s ease;
}
html.page-about .cv-button::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #111;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1);
  z-index: 0;
}
html.page-about .cv-button span {
  position: relative;
  z-index: 1;
}
html.page-about .cv-button:hover {
  color: #fff;
  border-color: #111;
  transform: translateY(-1px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.07);
}
html.page-about .cv-button:hover::before {
  transform: scaleX(1);
}
html.page-about .note {
  font-size: 11px;
  line-height: 1.5;
  color: rgba(17, 17, 17, 0.42);
}
html.page-about .footer {
  max-width: 1920px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 10px;
  letter-spacing: 0.08em;
  color: rgba(17, 17, 17, 0.42);
  font-weight: 420;
}
@keyframes fadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (prefers-reduced-motion: reduce) {
  html.page-about *,
  html.page-about *::before,
  html.page-about *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
@media (max-width: 1000px) {
  html.page-about .about-inner {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 34px;
    padding: 34px;
  }
  html.page-about .portrait-wrap {
    width: min(420px, 100%);
    justify-self: start;
  }
  html.page-about .about-copy {
    max-width: 780px;
  }
}
@media (max-width: 900px) {
  html.page-about .topbar {
    grid-template-columns: 1fr auto auto;
    align-items: center;
    gap: 10px;
  }
  html.page-about .menu-toggle {
    display: flex;
    order: 2;
  }
  html.page-about .lang-switch {
    order: 3;
  }
  html.page-about .nav {
    position: absolute;
    top: calc(100% - 4px);
    right: 0;
    width: min(320px, calc(100vw - 24px));
    display: grid;
    gap: 0;
    padding: 10px 0;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(17, 17, 17, 0.1);
    box-shadow: 0 22px 54px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(12px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(8px);
    transition:
      opacity 0.18s ease,
      transform 0.18s ease,
      visibility 0.18s ease;
    z-index: 80;
  }
  html.page-about body.menu-open .nav {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }
  html.page-about .nav > a,
  html.page-about .dropdown-toggle {
    display: flex;
    width: 100%;
    min-height: 42px;
    align-items: center;
    justify-content: space-between;
    padding: 0 18px;
    text-align: left;
  }
  html.page-about .dropdown {
    display: block;
    padding: 0;
    margin: 0;
  }
  html.page-about .dropdown::after {
    display: none;
  }
  html.page-about .dropdown-menu {
    position: static;
    transform: none;
    min-width: 0;
    width: 100%;
    padding: 0;
    border: 0;
    box-shadow: none;
    background: rgba(17, 17, 17, 0.025);
    backdrop-filter: none;
    opacity: 0;
    visibility: hidden;
    max-height: 0;
    overflow: hidden;
    pointer-events: none;
    transition:
      max-height 0.22s ease,
      opacity 0.18s ease,
      visibility 0.18s ease;
  }
  html.page-about .dropdown.is-open .dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    max-height: 460px;
    transform: none;
  }
  html.page-about .dropdown:hover .dropdown-menu,
  html.page-about .dropdown:focus-within .dropdown-menu {
    transform: none;
  }
  html.page-about .dropdown-menu a {
    padding: 10px 28px;
    font-size: 11px;
  }
}
@media (max-width: 720px) {
  html.page-about .site {
    grid-template-rows: 64px 1fr 24px;
    padding: 0 12px 10px;
  }
  html.page-about .brand-first,
  html.page-about .brand-last {
    font-size: 22px;
  }
  html.page-about .lang-switch {
    transform: scale(0.92);
    transform-origin: right center;
  }
  html.page-about .about-shell {
    border-radius: 14px;
    overflow: auto;
  }
  html.page-about .about-inner {
    padding: 24px 18px 30px;
    gap: 26px;
  }
  html.page-about .portrait-wrap {
    width: 100%;
  }
  html.page-about .portrait-frame {
    aspect-ratio: 4/4.8;
  }
  html.page-about .eyebrow {
    margin-bottom: 13px;
  }
  html.page-about h1 {
    font-size: 39px;
  }
  html.page-about .bio-text {
    gap: 14px;
  }
  html.page-about .bio-text p {
    font-size: 14px;
    line-height: 1.68;
  }
  html.page-about .section-label {
    margin: 0 0 8px;
    font-size: 10px;
    font-weight: 520;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(17, 17, 17, 0.42);
  }
  html.page-about .hagolibros-link {
    font-variant-caps: all-small-caps;
    letter-spacing: 0.055em;
    font-style: normal;
    font-weight: 520;
    color: rgba(17, 17, 17, 0.84);
    border-bottom: 1px solid rgba(17, 17, 17, 0.18);
    transition:
      color 0.2s ease,
      border-color 0.2s ease;
  }
  html.page-about .hagolibros-link:hover {
    color: #111;
    border-color: rgba(17, 17, 17, 0.65);
  }
  html.page-about .about-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 11px;
  }
  html.page-about .footer {
    font-size: 9px;
  }
}

/* ===== detalle.html ===== */
html.page-detail {
  --page: #ffffff;
  --white: #ffffff;
  --ink: #5c5c5c;
  --muted: #6b6b6b;
  --line: rgba(17, 17, 17, 0.1);
  --line-soft: rgba(17, 17, 17, 0.06);
  --panel: #fafafa;
  --shadow: 0 18px 46px rgba(0, 0, 0, 0.035);
  --radius: 18px;
  --sans: "Quicksand", "Helvetica Neue", Helvetica, Arial, Inter, ui-sans-serif, system-ui, sans-serif;
}
html.page-detail * {
  box-sizing: border-box;
}
html.page-detail,
html.page-detail body {
  margin: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #fff;
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}
html.page-detail a {
  color: inherit;
  text-decoration: none;
}
html.page-detail img {
  display: block;
  max-width: 100%;
  -webkit-user-drag: none;
  user-select: none;
}
html.page-detail button {
  font: inherit;
}
html.page-detail .site {
  width: 100%;
  height: 100svh;
  display: grid;
  grid-template-rows: 74px minmax(0, 1fr) 28px;
  padding: 0 20px 12px;
  background: #fff;
}
html.page-detail .topbar {
  max-width: 1920px;
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  align-items: center;
  gap: 28px;
  position: relative;
  z-index: 50;
}
html.page-detail .menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(17, 17, 17, 0.12);
  border-radius: 999px;
  background: #fff;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
  color: #111;
}
html.page-detail .menu-toggle span {
  display: block;
  width: 16px;
  height: 1px;
  background: currentColor;
  transition:
    transform 0.18s ease,
    opacity 0.18s ease;
}
html.page-detail .menu-toggle.is-open span:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}
html.page-detail .menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}
html.page-detail .menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}
html.page-detail .brand {
  font-size: 2em;
  align-items: baseline;
  gap: 8px;
  min-width: 0;
  white-space: nowrap;
  line-height: 1;
  color: #575759;
  font-family: "Quicksand", sans-serif;
  letter-spacing: 0;
}
html.page-detail .brand-first {
  font-size: clamp(24px, 1.7vw, 31px);
  font-weight: 280;
  letter-spacing: -0.01em;
}
html.page-detail .brand-last {
  font-size: clamp(24px, 1.7vw, 31px);
  font-weight: 280;
  letter-spacing: -0.01em;
}
html.page-detail .nav {
  display: flex;
  align-items: center;
  justify-content: center;
  justify-self: center;
  gap: clamp(60px, 5vw, 100px);
  font-size: 14px;
  font-weight: 430;
  letter-spacing: 0.045em;
  text-transform: none;
  color: rgba(17, 17, 17, 0.68);
}
html.page-detail .nav a:hover,
html.page-detail .dropdown:hover .dropdown-toggle,
html.page-detail .dropdown:focus-within .dropdown-toggle {
  color: var(--ink);
}
html.page-detail .dropdown {
  position: relative;
  display: flex;
  align-items: center;
  padding: 18px 0;
  margin: -18px 0;
}
html.page-detail .dropdown::after {
  content: "";
  position: absolute;
  left: -24px;
  right: -24px;
  top: 100%;
  height: 24px;
  background: transparent;
}
html.page-detail .dropdown-toggle {
  border: 0;
  background: transparent;
  padding: 0;
  margin: 0;
  color: rgba(17, 17, 17, 0.68);
  cursor: pointer;
  font-size: 14px;
  font-weight: 430;
  letter-spacing: 0.045em;
  text-transform: none;
  line-height: 1;
}
html.page-detail .dropdown-toggle::after {
  content: "";
  display: inline-block;
  width: 4px;
  height: 4px;
  margin-left: 8px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  opacity: 0.72;
}
html.page-detail .dropdown-menu {
  position: absolute;
  top: calc(100% + 4px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  min-width: 230px;
  padding: 12px 0;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(17, 17, 17, 0.1);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.07);
  backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.18s ease,
    transform 0.18s ease,
    visibility 0.18s ease;
  z-index: 30;
}
html.page-detail .dropdown:hover .dropdown-menu,
html.page-detail .dropdown:focus-within .dropdown-menu,
html.page-detail .dropdown.is-open .dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
html.page-detail .dropdown-menu a {
  display: block;
  padding: 9px 18px;
  color: rgba(17, 17, 17, 0.72);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: none;
  white-space: nowrap;
}
html.page-detail .dropdown-menu a:hover {
  color: var(--ink);
  background: rgba(17, 17, 17, 0.035);
}
html.page-detail .lang-switch {
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(17, 17, 17, 0.12);
  border-radius: 999px;
  padding: 3px;
  background: #fff;
}
html.page-detail .lang-btn {
  border: 0;
  background: transparent;
  color: rgba(17, 17, 17, 0.52);
  cursor: pointer;
  border-radius: 999px;
  padding: 7px 9px 6px;
  font-size: 10px;
  font-weight: 520;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1;
  transition:
    background 0.18s ease,
    color 0.18s ease;
}
html.page-detail .lang-btn.active {
  background: #111;
  color: #fff;
}
html.page-detail .footer {
  max-width: 1920px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(17, 17, 17, 0.42);
  font-weight: 450;
}
@media (max-width: 900px) {
  html.page-detail .topbar {
    grid-template-columns: 1fr auto auto;
    align-items: center;
    gap: 10px;
  }
  html.page-detail .menu-toggle {
    display: flex;
    order: 2;
  }
  html.page-detail .lang-switch {
    order: 3;
  }
  html.page-detail .nav {
    position: absolute;
    top: calc(100% - 4px);
    right: 0;
    width: min(320px, calc(100vw - 24px));
    display: grid;
    gap: 0;
    padding: 10px 0;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(17, 17, 17, 0.1);
    box-shadow: 0 22px 54px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(12px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(8px);
    transition:
      opacity 0.18s ease,
      transform 0.18s ease,
      visibility 0.18s ease;
    z-index: 80;
  }
  html.page-detail body.menu-open .nav {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }
  html.page-detail .nav > a,
  html.page-detail .dropdown-toggle {
    display: flex;
    width: 100%;
    min-height: 42px;
    align-items: center;
    justify-content: space-between;
    padding: 0 18px;
    text-align: left;
  }
  html.page-detail .dropdown {
    display: block;
    padding: 0;
    margin: 0;
  }
  html.page-detail .dropdown::after {
    display: none;
  }
  html.page-detail .dropdown-menu {
    position: static;
    transform: none;
    min-width: 0;
    width: 100%;
    padding: 0;
    border: 0;
    box-shadow: none;
    background: rgba(17, 17, 17, 0.025);
    backdrop-filter: none;
    opacity: 0;
    visibility: hidden;
    max-height: 0;
    overflow: hidden;
    pointer-events: none;
    transition:
      max-height 0.22s ease,
      opacity 0.18s ease,
      visibility 0.18s ease;
  }
  html.page-detail .dropdown.is-open .dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    max-height: 460px;
    transform: none;
  }
  html.page-detail .dropdown:hover .dropdown-menu,
  html.page-detail .dropdown:focus-within .dropdown-menu {
    transform: none;
  }
  html.page-detail .dropdown-menu a {
    padding: 10px 28px;
    font-size: 11px;
  }
}
@media (max-width: 720px) {
  html.page-detail .site {
    grid-template-rows: 64px minmax(0, 1fr) 24px;
    padding: 0 12px 10px;
  }
  html.page-detail .brand-first,
  html.page-detail .brand-last {
    font-size: 22px;
  }
  html.page-detail .lang-switch {
    transform: scale(0.92);
    transform-origin: right center;
  }
  html.page-detail .footer {
    font-size: 9px;
  }
}
html.page-detail .detail-shell {
  max-width: 1920px;
  width: 100%;
  height: 100%;
  min-height: 0;
  margin: 0 auto;
  background: #fff;
 
  overflow: hidden;
  display: grid;
  grid-template-columns: 350px minmax(0, 1fr);
}
html.page-detail .project-side {
  min-height: 0;
  padding: 30px 26px;
  border-right: 1px solid var(--line);
  overflow-y: auto;
  overflow-x: hidden;
  background: #fff;
  scrollbar-width: thin;
  scrollbar-color: rgba(17, 17, 17, 0.16) transparent;
}
html.page-detail .project-side h1 {
  margin: 0 0 8px;
  font-size: 34px;
  line-height: 0.92;
  letter-spacing: -0.06em;
  font-weight: 340;
}
html.page-detail .project-side .year {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
html.page-detail .project-num {
  margin: 0 0 6px;
  color: #111;
  font-size: 12px;
  font-weight: 520;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
html.page-detail .side-copy p {
  margin: 0 0 15px;
  color: #3f3f3f;
  font-size: 14px;
  line-height: 1.56;
}
html.page-detail .works-block {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
html.page-detail .works-block h2 {
  margin: 0 0 14px;
  font-size: 11px;
  font-weight: 520;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
html.page-detail .work-spec {
  padding: 0 0 16px;
  margin: 0 0 14px;
  border-bottom: 1px solid var(--line-soft);
}
html.page-detail .work-spec:last-child {
  margin-bottom: 0;
  border-bottom: 0;
  padding-bottom: 0;
}
html.page-detail .work-spec h3 {
  margin: 0 0 6px;
  font-size: 17px;
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 420;
}
html.page-detail .work-spec p {
  margin: 0;
  color: #555;
  font-size: 12.6px;
  line-height: 1.48;
}
html.page-detail .gallery-wrap {
  position: relative;
  min-width: 0;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  background: #fff;
}
html.page-detail .gallery-track {
  width: 100%;
  height: 100%;
  display: flex;
  gap: 18px;
  overflow-x: scroll;
  overflow-y: hidden;
  padding: 20px;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  cursor: grab;
  user-select: none;
  touch-action: pan-x;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(17, 17, 17, 0.2) transparent;
}
html.page-detail .gallery-track::-webkit-scrollbar {
  height: 8px;
}
html.page-detail .gallery-track::-webkit-scrollbar-track {
  background: transparent;
}
html.page-detail .gallery-track::-webkit-scrollbar-thumb {
  background: rgba(17, 17, 17, 0.2);
  border-radius: 999px;
}
html.page-detail .gallery-track.dragging {
  cursor: grabbing;
  scroll-snap-type: none;
  scroll-behavior: auto;
}
html.page-detail .panel {
  flex: 0 0 min(72vw, 1080px);
  height: 100%;
  min-height: 0;
  scroll-snap-align: start;
  overflow: hidden;
  background: #FFFFFF;
  position: relative;
}
html.page-detail .panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
}
html.page-detail .image-number {
  position: absolute;
  left: 16px;
  bottom: 16px;
  z-index: 5;
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(8px);
  font-size: 11px;
  font-weight: 450;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #111;
}
html.page-detail .panel.other-projects {
  flex: 0 0 min(34vw, 560px);
  padding: 28px;
  background: #fff;
  border-left: 1px solid var(--line);
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 18px;
  overflow: hidden;
}
html.page-detail .other-scroll {
  min-height: 0;
  overflow: auto;
  padding-right: 2px;
  scrollbar-width: thin;
  scrollbar-color: rgba(17, 17, 17, 0.18) transparent;
}
html.page-detail .other-projects h3 {
  margin: 0 0 22px;
  font-size: 12px;
  font-weight: 520;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #111;
}
html.page-detail .other-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
html.page-detail .thumb {
  position: relative;
  display: block;
  aspect-ratio: 1/1;
  border: 1px solid var(--line-soft);
  overflow: hidden;
  background: #f2f2f2;
}
html.page-detail .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: auto;
}
html.page-detail .thumb span {
  position: absolute;
  left: 8px;
  bottom: 8px;
  padding: 4px 6px;
  background: rgba(255, 255, 255, 0.86);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: #111;
}
html.page-detail .other-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 0;
  background: #fff;
  position: relative;
  z-index: 3;
}
html.page-detail .other-actions .ghost-btn:nth-child(3) {
  grid-column: 1 / -1;
}
html.page-detail .ghost-btn {
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid var(--line);
  background: #fff;
  color: #111;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: normal;
}
html.page-detail .gallery-hint {
  position: absolute;
  right: 24px;
  top: 20px;
  z-index: 6;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(17, 17, 17, 0.08);
  padding: 8px 10px;
  color: #555;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
@media (max-width: 1100px) {
  html.page-detail .detail-shell {
    grid-template-columns: 300px minmax(0, 1fr);
  }
  html.page-detail .panel {
    flex-basis: min(82vw, 900px);
  }
  html.page-detail .panel.other-projects {
    flex-basis: min(56vw, 520px);
  }
}
@media (max-width: 900px) {
  html.page-detail .detail-shell {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(230px, 36vh) minmax(0, 1fr);
  }
  html.page-detail .project-side {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  html.page-detail .panel {
    flex-basis: 88vw;
  }
  html.page-detail .panel.other-projects {
    flex-basis: 84vw;
  }
}
@media (max-width: 720px) {
  html.page-detail .detail-shell {
    border-radius: 14px;
  }
  html.page-detail .gallery-track {
    padding: 12px;
    gap: 12px;
  }
  html.page-detail .panel {
    border-radius: 12px;
    flex-basis: 92vw;
  }
  html.page-detail .panel.other-projects {
    flex-basis: 92vw;
    padding: 14px;
    grid-template-rows: minmax(0, 1fr) auto;
  }
  html.page-detail .other-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  html.page-detail .thumb span {
    font-size: 9px;
    max-width: calc(100% - 12px);
  }
  html.page-detail .other-actions {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  html.page-detail .other-actions .ghost-btn:nth-child(3) {
    grid-column: 1 / -1;
  }
  html.page-detail .panel.other-projects .other-scroll {
    display: none;
  }
  html.page-detail .panel.other-projects {
    flex-basis: 92vw;
    padding: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: auto;
  }
  html.page-detail .panel.other-projects .other-actions {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  html.page-detail
    .panel.other-projects
    .other-actions
    .ghost-btn:nth-child(1) {
    grid-column: 1;
  }
  html.page-detail
    .panel.other-projects
    .other-actions
    .ghost-btn:nth-child(2) {
    grid-column: 2;
  }
  html.page-detail
    .panel.other-projects
    .other-actions
    .ghost-btn:nth-child(3) {
    grid-column: 1 / -1;
    order: 3;
  }
  html.page-detail .ghost-btn {
    min-height: 38px;
    font-size: 9.5px;
    letter-spacing: 0.1em;
    padding: 0 10px;
  }
  html.page-detail .project-side {
    padding: 20px 16px;
  }
  html.page-detail .project-side h1 {
    font-size: 28px;
  }
  html.page-detail .side-copy p {
    font-size: 13px;
  }
  html.page-detail .work-spec h3 {
    font-size: 15px;
  }
  html.page-detail .work-spec p {
    font-size: 11.5px;
  }
  html.page-detail .gallery-hint {
    display: none;
  }
}
html.page-detail .other-actions {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 10px !important;
}
html.page-detail .other-actions .ghost-btn:nth-child(1) {
  grid-column: 1 !important;
}
html.page-detail .other-actions .ghost-btn:nth-child(2) {
  grid-column: 2 !important;
}
html.page-detail .other-actions .ghost-btn:nth-child(3) {
  grid-column: 1 / -1 !important;
  width: 100% !important;
}
@media (max-width: 720px) {
  html.page-detail .panel.other-projects .other-actions {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
  }
  html.page-detail
    .panel.other-projects
    .other-actions
    .ghost-btn:nth-child(1) {
    grid-column: 1 !important;
  }
  html.page-detail
    .panel.other-projects
    .other-actions
    .ghost-btn:nth-child(2) {
    grid-column: 2 !important;
  }
  html.page-detail
    .panel.other-projects
    .other-actions
    .ghost-btn:nth-child(3) {
    grid-column: 1 / -1 !important;
    width: 100% !important;
  }
}

/* ===== contact.html ===== */
html.page-contact {
  --page: #ffffff;
  --white: #ffffff;
  --ink: #5c5c5c;
  --muted: #6b6b6b;
  --line: rgba(17, 17, 17, 0.1);
  --line-soft: rgba(17, 17, 17, 0.06);
  --shadow: 0 18px 46px rgba(0, 0, 0, 0.035);
  --radius: 18px;
  --sans: "Quicksand", "Helvetica Neue", Helvetica, Arial, Inter, ui-sans-serif, system-ui, sans-serif;
}

html.page-contact *,
html.page-contact *::before,
html.page-contact *::after {
  box-sizing: border-box;
}

html.page-contact,
html.page-contact body {
  margin: 0;
  width: 100%;
  min-height: 100%;
  background: #fff;
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

html.page-contact a {
  color: inherit;
  text-decoration: none;
}

html.page-contact img {
  display: block;
  max-width: 100%;
}

html.page-contact button {
  font: inherit;
}

html.page-contact [hidden] {
  display: none !important;
}

html.page-contact .site {
  width: 100%;
  min-height: 100svh;
  display: grid;
  grid-template-rows: 74px 1fr 28px;
  padding: 0 20px 12px;
  background: #fff;
}

html.page-contact .topbar {
  max-width: 1920px;
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
  position: relative;
  z-index: 50;
}

html.page-contact .brand {
  font-size: 2em;
  align-items: baseline;
  gap: 8px;
  min-width: 0;
  white-space: nowrap;
  line-height: 1;
  color: #575759;
  font-family: "Quicksand", sans-serif;
  letter-spacing: 0;
}

html.page-contact .capital {
  color: #000;
  letter-spacing: 0;
}

html.page-contact .menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(17, 17, 17, 0.12);
  border-radius: 999px;
  background: #fff;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
  color: #111;
}

html.page-contact .menu-toggle span {
  display: block;
  width: 16px;
  height: 1px;
  background: currentColor;
  transition: transform 0.18s ease, opacity 0.18s ease;
}

html.page-contact .menu-toggle.is-open span:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}

html.page-contact .menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

html.page-contact .menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}

html.page-contact .nav {
  display: flex;
  align-items: center;
  justify-content: center;
  justify-self: center;
  gap: clamp(60px, 5vw, 100px);
  font-size: 14px;
  font-weight: 430;
  letter-spacing: 0.045em;
  text-transform: none;
  color: rgba(17, 17, 17, 0.68);
}

html.page-contact .nav a,
html.page-contact .dropdown-toggle {
  transition: color 0.18s ease, opacity 0.18s ease;
}

html.page-contact .nav a:hover,
html.page-contact .nav a.active,
html.page-contact .dropdown:hover .dropdown-toggle,
html.page-contact .dropdown:focus-within .dropdown-toggle {
  color: var(--ink);
}

html.page-contact .dropdown {
  position: relative;
  display: flex;
  align-items: center;
  padding: 18px 0;
  margin: -18px 0;
}

html.page-contact .dropdown::after {
  content: "";
  position: absolute;
  left: -24px;
  right: -24px;
  top: 100%;
  height: 24px;
  background: transparent;
}

html.page-contact .dropdown-toggle {
  border: 0;
  background: transparent;
  padding: 0;
  margin: 0;
  color: rgba(17, 17, 17, 0.68);
  cursor: pointer;
  font-size: 14px;
  font-weight: 430;
  letter-spacing: 0.045em;
  line-height: 1;
}

html.page-contact .dropdown-toggle::after {
  content: "";
  display: inline-block;
  width: 4px;
  height: 4px;
  margin-left: 8px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  opacity: 0.72;
}

html.page-contact .dropdown-menu {
  position: absolute;
  top: calc(100% + 4px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  min-width: 230px;
  padding: 14px 0;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(17, 17, 17, 0.1);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.07);
  backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
  z-index: 20;
}

html.page-contact .dropdown:hover .dropdown-menu,
html.page-contact .dropdown:focus-within .dropdown-menu,
html.page-contact .dropdown.is-open .dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

html.page-contact .dropdown-menu a {
  display: block;
  padding: 9px 18px;
  color: rgba(17, 17, 17, 0.72);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

html.page-contact .dropdown-menu a:hover {
  color: var(--ink);
  background: rgba(17, 17, 17, 0.035);
}

html.page-contact .lang-switch {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 2px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 999px;
  padding: 2px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(8px);
}

html.page-contact .lang-btn {
  border: 0;
  background: transparent;
  color: rgba(17, 17, 17, 0.44);
  cursor: pointer;
  border-radius: 999px;
  padding: 6px 8px 5px;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1;
  transition: background 0.18s ease, color 0.18s ease;
}

html.page-contact .lang-btn:hover {
  color: rgba(17, 17, 17, 0.78);
}

html.page-contact .lang-btn.active {
  background: rgba(17, 17, 17, 0.075);
  color: rgba(17, 17, 17, 0.9);
}

html.page-contact .contact-shell {
  max-width: 1920px;
  width: 100%;
  margin: 0 auto;
  background: #fff;
  overflow: hidden;
  position: relative;
  min-height: 0;
}

html.page-contact .contact-inner {
  min-height: 100%;
  display: grid;
  grid-template-columns: minmax(420px, 1.08fr) minmax(300px, 0.62fr);
  gap: clamp(42px, 6vw, 120px);
  align-items: center;
  padding: clamp(34px, 5.2vw, 92px);
}

html.page-contact .contact-image {
  width: 100%;
  max-width: 880px;
  overflow: hidden;
  justify-self: center;
  background: #f7f7f7;
  opacity: 0;
  transform: translateY(12px);
  animation: fadeIn 0.72s ease forwards 0.05s;
}

html.page-contact .contact-image img {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
  object-position: center;
  filter: grayscale(96%) contrast(1.02) brightness(1.01);
  transform: scale(1.01);
  transition: transform 0.9s cubic-bezier(0.19, 1, 0.22, 1),
              filter 0.9s ease,
              opacity 0.9s ease;
}

html.page-contact .contact-image:hover img {
  transform: scale(1.03);
  filter: grayscale(100%) contrast(1.06) brightness(1.02);
  opacity: 0.97;
}

html.page-contact .contact-panel {
  width: min(430px, 100%);
  justify-self: end;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  opacity: 0;
  transform: translateY(14px);
  animation: fadeIn 0.78s ease forwards 0.18s;
}

html.page-contact .contact-copy {
  margin: 0 0 clamp(34px, 4vw, 54px) auto;
  max-width: 370px;
  text-align: right;
  font-size: clamp(15px, 1.05vw, 17px);
  line-height: 1.72;
  font-weight: 370;
  color: rgba(17, 17, 17, 0.66);
}

html.page-contact .contact-list {
  display: grid;
  gap: clamp(25px, 3vw, 39px);
  justify-items: end;
}

html.page-contact .contact-item {
  display: grid;
  justify-items: end;
  text-align: right;
  gap: 10px;
  color: rgba(17, 17, 17, 0.66);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.01em;
}

html.page-contact .contact-icon {
  width: 17px;
  height: 17px;
  color: rgba(17, 17, 17, 0.28);
  stroke-width: 1.35;
  transition: color 0.22s ease, transform 0.22s ease;
}

html.page-contact .contact-link {
  position: relative;
  display: inline-block;
  width: auto;
  text-align: right;
  color: rgba(17, 17, 17, 0.72);
  transition: color 0.24s ease;
}

html.page-contact .contact-link::after {
  content: "";
  position: absolute;
  right: 0;
  left: auto;
  bottom: -4px;
  width: 0;
  height: 1px;
  background: rgba(17, 17, 17, 0.55);
  transition: width 0.28s ease;
}

html.page-contact .contact-link:hover {
  color: rgba(17, 17, 17, 0.96);
}

html.page-contact .contact-link:hover::after {
  width: 100%;
}

html.page-contact .contact-item:hover .contact-icon {
  color: rgba(17, 17, 17, 0.62);
  transform: translateY(-1px);
}

html.page-contact .contact-item span {
  text-align: right;
}

html.page-contact .footer {
  max-width: 1920px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 10px;
  letter-spacing: 0.08em;
  color: rgba(17, 17, 17, 0.42);
  font-weight: 420;
}

@media (prefers-reduced-motion: reduce) {
  html.page-contact *,
  html.page-contact *::before,
  html.page-contact *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 1000px) {
  html.page-contact .contact-inner {
    grid-template-columns: 1fr;
    gap: 36px;
    align-items: start;
    padding: 34px;
  }

  html.page-contact .contact-image {
    max-width: 100%;
  }

  html.page-contact .contact-panel {
    justify-self: end;
    width: 100%;
  }

  html.page-contact .contact-copy {
    max-width: 520px;
  }
}

@media (max-width: 900px) {
  html.page-contact .topbar {
    grid-template-columns: 1fr auto auto;
    gap: 10px;
  }

  html.page-contact .menu-toggle {
    display: flex;
    order: 2;
  }

  html.page-contact .lang-switch {
    order: 3;
  }

  html.page-contact .nav {
    position: absolute;
    top: calc(100% - 4px);
    right: 0;
    width: min(320px, calc(100vw - 24px));
    display: grid;
    gap: 0;
    padding: 10px 0;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(17, 17, 17, 0.1);
    box-shadow: 0 22px 54px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(12px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(8px);
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
    z-index: 80;
  }

  html.page-contact body.menu-open .nav {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  html.page-contact .nav > a,
  html.page-contact .dropdown-toggle {
    display: flex;
    width: 100%;
    min-height: 42px;
    align-items: center;
    justify-content: space-between;
    padding: 0 18px;
    text-align: left;
  }

  html.page-contact .dropdown {
    display: block;
    padding: 0;
    margin: 0;
  }

  html.page-contact .dropdown::after {
    display: none;
  }

  html.page-contact .dropdown-menu {
    position: static;
    transform: none;
    min-width: 0;
    width: 100%;
    padding: 0;
    border: 0;
    box-shadow: none;
    background: rgba(17, 17, 17, 0.025);
    backdrop-filter: none;
    opacity: 0;
    visibility: hidden;
    max-height: 0;
    overflow: hidden;
    pointer-events: none;
    transition: max-height 0.22s ease, opacity 0.18s ease, visibility 0.18s ease;
  }

  html.page-contact .dropdown.is-open .dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    max-height: 460px;
    transform: none;
  }

  html.page-contact .dropdown-menu a {
    padding: 10px 28px;
    font-size: 11px;
  }
}

@media (max-width: 720px) {
  html.page-contact .site {
    grid-template-rows: 64px 1fr 24px;
    padding: 0 12px 10px;
  }

  html.page-contact .brand {
    font-size: 22px;
  }

  html.page-contact .lang-switch {
    transform: scale(0.92);
    transform-origin: right center;
  }

  html.page-contact .contact-shell {
    overflow: auto;
  }

  html.page-contact .contact-inner {
    padding: 24px 18px 30px;
    gap: 28px;
  }

  html.page-contact .contact-image img {
    aspect-ratio: 4 / 3;
  }

  html.page-contact .contact-copy {
    font-size: 14px;
    line-height: 1.68;
    margin-bottom: 30px;
  }

  html.page-contact .contact-list {
    gap: 26px;
  }

  html.page-contact .contact-item {
    font-size: 14px;
  }

  html.page-contact .footer {
    font-size: 9px;
  }
}

/* ===== Modal CV en about.html ===== */
html.page-about body.cv-modal-open {
  overflow: hidden;
}

html.page-about .cv-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: clamp(14px, 2.6vw, 36px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.24s ease, visibility 0.24s ease;
}

html.page-about .cv-modal.is-open {
  opacity: 1;
  visibility: visible;
}

html.page-about .cv-modal-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  padding: 0;
  background: rgba(19, 19, 19, 0.34);
  backdrop-filter: blur(12px);
  cursor: default;
}

html.page-about .cv-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(1180px, 100%);
  height: min(900px, calc(100svh - clamp(28px, 5.2vw, 72px)));
  min-height: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  background: rgba(255, 255, 255, 0.985);
  border: 1px solid rgba(17, 17, 17, 0.10);
  box-shadow: 0 38px 110px rgba(0, 0, 0, 0.16);
  opacity: 0;
  transform: translateY(14px) scale(0.992);
  transition: opacity 0.24s ease, transform 0.34s cubic-bezier(0.2, 0.8, 0.2, 1);
  overflow: hidden;
}

html.page-about .cv-modal.is-open .cv-modal-dialog {
  opacity: 1;
  transform: translateY(0) scale(1);
}

html.page-about .cv-modal-header {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 3vw, 42px);
  border-bottom: 1px solid rgba(17, 17, 17, 0.09);
  background: rgba(255, 255, 255, 0.96);
}

html.page-about .cv-modal-heading {
  min-width: 0;
}

html.page-about .cv-modal-kicker {
  margin: 0 0 4px;
  font-size: 9px;
  font-weight: 550;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: rgba(17, 17, 17, 0.42);
}

html.page-about .cv-modal-heading h2 {
  margin: 0;
  font-size: clamp(20px, 2.1vw, 30px);
  line-height: 1;
  font-weight: 400;
  letter-spacing: -0.025em;
  color: rgba(17, 17, 17, 0.90);
}

html.page-about .cv-modal-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

html.page-about .cv-download-button {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border: 1px solid rgba(17, 17, 17, 0.18);
  background: transparent;
  font-size: 9px;
  font-weight: 560;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(17, 17, 17, 0.78);
  transition: color 0.22s ease, background 0.22s ease, border-color 0.22s ease;
}

html.page-about .cv-download-button:hover {
  background: #111;
  border-color: #111;
  color: #fff;
}

html.page-about .cv-modal-close {
  position: relative;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(17, 17, 17, 0.14);
  border-radius: 999px;
  padding: 0;
  background: transparent;
  color: rgba(17, 17, 17, 0.70);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

html.page-about .cv-modal-close:hover {
  border-color: rgba(17, 17, 17, 0.38);
  background: rgba(17, 17, 17, 0.035);
  transform: rotate(3deg);
}

html.page-about .cv-modal-close span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 15px;
  height: 1px;
  background: currentColor;
}

html.page-about .cv-modal-close span:first-child {
  transform: translate(-50%, -50%) rotate(45deg);
}

html.page-about .cv-modal-close span:last-child {
  transform: translate(-50%, -50%) rotate(-45deg);
}

html.page-about .cv-modal-scroll {
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(17, 17, 17, 0.18) transparent;
}

html.page-about .cv-modal-scroll::-webkit-scrollbar {
  width: 8px;
}

html.page-about .cv-modal-scroll::-webkit-scrollbar-track {
  background: transparent;
}

html.page-about .cv-modal-scroll::-webkit-scrollbar-thumb {
  background: rgba(17, 17, 17, 0.18);
  border-radius: 999px;
}

html.page-about .cv-document {
  width: min(1040px, 100%);
  margin: 0 auto;
  padding: clamp(34px, 5vw, 72px) clamp(22px, 5vw, 72px) clamp(54px, 7vw, 92px);
}

html.page-about .cv-document .cv-header {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: end;
  padding-bottom: 30px;
  margin-bottom: 18px;
  border-bottom: 1px solid rgba(17, 17, 17, 0.10);
}

html.page-about .cv-document .cv-name {
  margin: 0;
  font-size: clamp(40px, 6vw, 74px);
  line-height: 0.94;
  font-weight: 300;
  letter-spacing: -0.045em;
  color: rgba(17, 17, 17, 0.92);
}

html.page-about .cv-document .cv-meta {
  text-align: right;
  font-size: 13px;
  line-height: 1.7;
  color: rgba(17, 17, 17, 0.52);
}

html.page-about .cv-document .cv-meta p {
  margin: 0;
}

html.page-about .cv-document .cv-meta a {
  position: relative;
  display: inline-block;
}

html.page-about .cv-document .cv-meta a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 1px;
  width: 100%;
  height: 1px;
  background: rgba(17, 17, 17, 0.20);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.24s ease;
}

html.page-about .cv-document .cv-meta a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

html.page-about .cv-document .cv-section {
  display: grid;
  grid-template-columns: minmax(160px, 210px) minmax(0, 1fr);
  gap: clamp(26px, 4vw, 64px);
  padding: 28px 0;
  border-bottom: 1px solid rgba(17, 17, 17, 0.06);
}

html.page-about .cv-document .cv-section:last-child {
  border-bottom: 0;
}

html.page-about .cv-document .cv-section h2 {
  margin: 2px 0 0;
  font-size: 10px;
  font-weight: 580;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(17, 17, 17, 0.42);
}

html.page-about .cv-document .entries {
  display: grid;
  gap: 15px;
}

html.page-about .cv-document .entry {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

html.page-about .cv-document .year {
  font-size: 12px;
  font-weight: 580;
  letter-spacing: 0.025em;
  white-space: nowrap;
  color: rgba(17, 17, 17, 0.50);
}

html.page-about .cv-document .entry p {
  margin: 0;
  font-size: 14px;
  line-height: 1.62;
  font-weight: 400;
  text-align: left;
  hyphens: none;
  color: rgba(17, 17, 17, 0.68);
}

html.page-about .cv-document .entry.continuation .year {
  visibility: hidden;
}

@media (max-width: 760px) {
  html.page-about .cv-modal {
    padding: 8px;
  }

  html.page-about .cv-modal-dialog {
    width: 100%;
    height: calc(100svh - 16px);
  }

  html.page-about .cv-modal-header {
    min-height: 70px;
    padding: 14px;
    gap: 12px;
  }

  html.page-about .cv-modal-heading h2 {
    font-size: 20px;
  }

  html.page-about .cv-download-button {
    min-height: 38px;
    padding: 0 12px;
    font-size: 8px;
  }

  html.page-about .cv-modal-close {
    width: 38px;
    height: 38px;
  }

  html.page-about .cv-document {
    padding: 30px 18px 54px;
  }

  html.page-about .cv-document .cv-header {
    grid-template-columns: 1fr;
    align-items: start;
  }

  html.page-about .cv-document .cv-meta {
    text-align: left;
  }

  html.page-about .cv-document .cv-section {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 24px 0;
  }

  html.page-about .cv-document .entry {
    grid-template-columns: 66px minmax(0, 1fr);
    gap: 12px;
  }

  html.page-about .cv-document .entry p {
    font-size: 13px;
    line-height: 1.6;
  }
}

@media (prefers-reduced-motion: reduce) {
  html.page-about .cv-modal,
  html.page-about .cv-modal-dialog {
    transition-duration: 0.01ms !important;
  }
}

.title-initials{
  margin:0;
  font-family:"Quicksand", sans-serif;
  font-size:clamp(1.4em, 2.2vw, 2em);
  font-weight:300;
  letter-spacing:0;
  color:#575757;
  

}

.title-initials .word-initial{
  color:#000000;
  font-weight:300;
}