/* Atlas editorial: paper, mineral ink and cartography. */
:root {
  color-scheme: light;
  --void: #f3f0e7;
  --panel: #e8e7df;
  --raised: #dce5df;
  --overlay: #d5dfda;
  --steel: #a1aeac;
  --border: #748985;
  --muted: #526368;
  --body: #35464b;
  --silver: #35464b;
  --white: #121b20;
  --blue: #06766f;
  --blue-deep: #075d58;
  --radius: 0px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --gutter: max(24px, calc((100vw - 1280px) / 2));
}
body {
  overflow-x: clip;
}
h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -0.055em;
}
h2 em,
h1 em {
  font-weight: 400;
}
.eyebrow,
.project-number,
.job-meta,
.post-meta,
.atlas-credit,
.hero-bottom {
  font-family: Consolas, monospace;
  letter-spacing: 0.07em;
}
a:hover {
  color: var(--blue);
}
:focus-visible {
  outline-color: var(--blue);
  outline-offset: 5px;
}
.site-header,
.site-header.is-scrolled {
  background: #f3f0e7f5;
  border-bottom: 1px solid #121b2025;
  backdrop-filter: blur(12px);
}
.brand {
  letter-spacing: -0.06em;
}
.brand svg {
  color: var(--blue);
}
#site-nav > a {
  color: #35464b;
}
#site-nav > a:hover,
#site-nav > a[aria-current] {
  color: #121b20;
}
#site-nav > .nav-contact {
  color: #121b20;
  border-color: #121b20;
  border-radius: 0;
}
#site-nav > .nav-contact:hover {
  background: #121b20;
  color: #f3f0e7;
}
.button {
  border-radius: 0;
  gap: 32px;
  transition:
    background 0.2s,
    color 0.2s;
}
.button-primary {
  background: #06766f;
  color: white;
}
.button-primary:hover {
  background: #075d58;
}
.button-outline {
  color: var(--white);
  border-color: var(--white);
}
.text-link {
  border-bottom: 1px solid currentColor;
  justify-content: space-between;
  gap: 24px;
}
.text-link span {
  color: currentColor;
  transition: transform 0.25s;
}
.text-link:hover span {
  transform: translate(3px, -3px);
}
.reading-progress {
  position: fixed;
  inset: 0 auto auto 0;
  height: 3px;
  width: 100%;
  background: #06766f;
  transform: scaleX(var(--read-progress, 0));
  transform-origin: left;
  z-index: 40;
  pointer-events: none;
}
body:has(.atlas-hero) main.container {
  width: 100%;
  max-width: none;
}
body:has(.atlas-hero) main > .section {
  margin-top: 0;
  padding: 100px var(--gutter);
}
.atlas-hero {
  --white: #f3f0e7;
  --body: #c9dad6;
  --silver: #c9dad6;
  --muted: #c9dad6;
  --steel: #708c8c;
  --raised: #163e40;
  position: relative;
  isolation: isolate;
  overflow: clip;
  text-align: left;
  background: #121b20;
  color: var(--body);
  padding: 70px var(--gutter) 100px;
  min-height: 900px;
}
.hero-intro {
  position: relative;
  z-index: 2;
  width: 52%;
  pointer-events: none;
}
.hero-intro a {
  pointer-events: auto;
}
.atlas-hero .eyebrow {
  font-size: 11px;
  max-width: 350px;
  margin-bottom: 35px;
  color: #c9dad6;
}
.status-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  background: #e88d42;
  border-radius: 50%;
  margin-right: 7px;
}
.atlas-hero h1 {
  font-size: clamp(76px, 8.3vw, 128px);
  line-height: 0.92;
  letter-spacing: -0.065em;
}
.atlas-hero h1 em {
  color: #d6de59;
}
.atlas-hero .hero-copy {
  margin: 28px 0 32px;
  max-width: 365px;
  font-size: 16px;
  line-height: 1.7;
}
.atlas-hero .actions {
  justify-content: flex-start;
  gap: 24px;
}
.atlas-hero .button-primary {
  background: #d6de59;
  color: #121b20;
  font-size: 16px;
  padding: 16px 22px;
}
.atlas-hero .button-primary:hover {
  background: #f3f0e7;
}
.hero-secondary {
  font-size: 13px;
  border-bottom: 1px solid #c9dad6;
  padding: 12px 0;
  display: flex;
  gap: 24px;
  align-items: center;
}
.hero-secondary:hover {
  color: #d6de59;
}
.atlas-scene {
  position: absolute;
  z-index: 1;
  width: min(52vw, 740px);
  right: calc(var(--gutter) - 65px);
  top: 10px;
  user-select: none;
}
.atlas-stage {
  position: relative;
  aspect-ratio: 1;
  overflow: clip;
}
.atlas-fallback,
.atlas-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.atlas-canvas {
  cursor: grab;
  touch-action: pan-y;
}
.atlas-canvas:active {
  cursor: grabbing;
}
.atlas-scene.is-ready .atlas-fallback {
  visibility: hidden;
}
.atlas-orbit {
  position: absolute;
  inset: 6%;
  border: 1px solid #d6de5925;
  border-radius: 50%;
  pointer-events: none;
}
.atlas-orbit:before,
.atlas-orbit:after {
  content: "+";
  position: absolute;
  color: #d6de59;
  font:
    18px Consolas,
    monospace;
  top: 50%;
  left: -6px;
}
.atlas-orbit:after {
  left: auto;
  right: -6px;
}
.atlas-caption {
  text-align: center;
  margin-top: -52px;
  position: relative;
  font-size: 11px;
  line-height: 1.7;
}
.atlas-location {
  display: block;
  color: #d6de59;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.atlas-instruction {
  display: block;
  color: #c9dad6;
  margin-top: 6px;
}
.atlas-locate-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  column-gap: 14px;
  margin-top: 5px;
}
.atlas-locate {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: #f3f0e7;
  border: 0;
  border-bottom: 1px solid #708c8c;
  min-height: 44px;
  margin: 0;
  padding: 6px 2px 4px;
  font-size: 11px;
  letter-spacing: 0.04em;
}
.atlas-locate-dot {
  width: 6px;
  height: 6px;
  border: 1px solid #e88d42;
  border-radius: 50%;
}
.atlas-locate:hover {
  color: #d6de59;
  border-color: #d6de59;
}
.atlas-locate:disabled {
  cursor: wait;
  opacity: 0.7;
}
.atlas-location-status {
  color: #9eb4b1;
  font-size: 9px;
}
.atlas-credit {
  display: block;
  text-align: center;
  font-size: 9px;
  color: #c9dad6;
  margin-top: 2px;
}
.hero-bottom {
  position: absolute;
  bottom: 24px;
  left: var(--gutter);
  right: var(--gutter);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  border-top: 1px solid #c9dad640;
  padding-top: 18px;
  font-size: 9px;
  color: #c9dad6;
}
.scroll-cue {
  display: flex;
  gap: 16px;
  align-items: center;
  color: #d6de59;
  font-size: 12px;
}
.expertise-rail {
  background: #d6de59;
  padding: 24px var(--gutter);
  display: grid;
  grid-template-columns: 1fr 4fr;
  gap: 24px;
  text-align: left;
  border-bottom: 1px solid #121b2030;
}
.expertise-rail .eyebrow {
  margin: 0;
  align-self: center;
  color: #35464b;
}
.expertise-rail > div {
  display: flex;
  gap: 24px;
  justify-content: space-between;
  font-size: 12px;
  font-family: Consolas, monospace;
}
.expertise-rail a {
  padding: 10px 0;
  border-bottom: 1px solid transparent;
}
.expertise-rail a:hover {
  border-color: currentColor;
}
.about {
  grid-template-columns: 0.75fr 1.25fr;
  gap: 100px;
}
.about-portrait {
  margin: 0;
  max-width: 360px;
  transform: rotate(-3deg);
  padding: 12px;
  background: #dce5df;
  border: 1px solid #121b2030;
}
.about-portrait img {
  border-radius: 0;
  filter: none;
  aspect-ratio: 4/5;
  object-position: 50% 30%;
}
.about-portrait .eyebrow {
  font-size: 10px;
  margin: 14px 0 4px;
}
.about h2 {
  font-size: clamp(48px, 5vw, 76px);
  line-height: 1.03;
}
.about h2 em {
  color: #783d9b;
}
.about p:not(.eyebrow) {
  max-width: 590px;
  font-size: 17px;
}
.map-story {
  --white: #f3f0e7;
  --body: #d4dfd9;
  --silver: #d4dfd9;
  --muted: #c9dad6;
  background: #121b20;
  color: var(--body);
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 70px;
  align-items: center;
}
.map-story-heading h2 {
  font-size: clamp(54px, 6vw, 88px);
  line-height: 0.97;
}
.map-story-heading h2 em {
  color: #d6de59;
}
.map-story-copy {
  max-width: 300px;
  margin: 24px 0;
  font-size: 15px;
}
.map-story-heading .text-link {
  font-size: 13px;
  margin-top: 28px;
}
.map-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
}
.map-switch button {
  background: transparent;
  color: #d4dfd9;
  border: 1px solid #8b9994;
  padding: 14px 18px;
  font:
    12px Consolas,
    monospace;
  min-height: 48px;
}
.map-switch button[aria-pressed="true"] {
  background: #f3f0e7;
  color: #121b20;
  border-color: #f3f0e7;
}
.map-switch button:hover {
  border-color: #d6de59;
}
.map-story .terrain-scene {
  margin: 0;
  height: auto;
  aspect-ratio: 1;
  border: 1px solid #71817f;
  border-radius: 0;
  background: #000;
}
.terrain-scene > img,
.terrain-scene:hover > img {
  object-fit: contain;
  object-position: center;
  transform: none;
  opacity: 1;
}
.hero-map:after {
  box-shadow: inset 0 -130px 80px -65px #000;
}
.map-top {
  top: 20px;
  left: 20px;
  right: 20px;
}
.map-caption {
  left: 20px;
  right: 20px;
  bottom: 20px;
  pointer-events: none;
}
.map-caption h3 {
  font-size: 25px;
  color: #fff;
}
.map-caption p,
.map-caption .eyebrow {
  color: #fff;
}
.map-label {
  background: #111;
  color: #eee;
  border-radius: 0;
}
.map-caption .round-arrow {
  background: #f3f0e7;
  color: #121b20;
  border: 0;
  border-radius: 0;
}
#proyectos {
  background: #f3f0e7;
}
.section-heading {
  margin-bottom: 52px;
  align-items: flex-end;
}
.section-heading h2,
.experience-heading h2 {
  font-size: clamp(48px, 5.7vw, 80px);
  line-height: 1.02;
}
.section-heading h2 em {
  color: #783d9b;
}
.section-heading > p {
  max-width: 370px;
  font-size: 15px;
}
.project-grid {
  grid-template-columns: 1.25fr 1fr;
  gap: 0;
  border-top: 1px solid #121b20;
}
.project-card {
  border-radius: 0;
  padding: 40px 36px;
  min-height: 360px;
  background: transparent;
  border-bottom: 1px solid #121b2060;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.project-number {
  font-size: 10px;
  margin-bottom: 38px;
}
.project-body h3 {
  font-size: clamp(38px, 5vw, 68px);
  letter-spacing: -0.06em;
  font-weight: 500;
}
.project-body p {
  font-size: 16px;
  max-width: 440px;
}
.project-card .text-link {
  width: 100%;
  margin-top: 24px;
  padding-bottom: 8px;
  font-size: 13px;
}
.project-card:first-child {
  background: #d7e6dd;
  min-height: 470px;
}
.project-card:first-child .project-body {
  max-width: 100%;
}
.project-card:nth-child(2) {
  background: #121b20;
  --white: #f3f0e7;
  --body: #e4ebe3;
  --muted: #c9dad6;
  --silver: #d6de59;
  color: var(--body);
  padding-top: 220px;
}
.project-card:nth-child(2) .project-number {
  position: absolute;
  top: 28px;
  left: 36px;
  z-index: 1;
  background: #121b20;
  padding: 6px;
}
.project-card:nth-child(2) h3 {
  color: #d6de59;
}
.project-art {
  position: absolute;
  top: -30px;
  right: 0;
  width: 100%;
  height: 250px;
  object-fit: cover;
  object-position: center 30%;
  z-index: -1;
  mask-image: linear-gradient(#000 60%, transparent);
}
.project-card:nth-child(3) {
  padding-left: 0;
  border-right: 1px solid #121b2060;
  margin-top: 32px;
  padding-top: 10px;
}
.project-card:nth-child(4) {
  margin-top: 32px;
  padding-top: 10px;
}
.project-card:nth-child(n + 3) h3 {
  font-family: Georgia, serif;
  font-size: 52px;
}
.project-glyph {
  position: absolute;
  right: 28px;
  top: 58px;
  font-size: 140px;
  font-weight: 300;
  line-height: 1;
  color: #06766f;
  pointer-events: none;
}
.project-card:first-child h3 {
  margin-top: 35px;
}
.project-card:first-child .badge {
  margin-bottom: 30px;
}
.project-stat strong {
  font-family: Georgia, serif;
  font-weight: 400;
  font-size: 50px;
  color: #f3f0e7;
}
.tags span {
  border-radius: 0;
  background: #e7efdf;
  color: #35464b;
}
.badge {
  border-radius: 0;
  background: #075d58;
  color: #f3f0e7;
}
.experience {
  background: #e0e9e5;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
}
.experience-heading {
  top: 120px;
}
.experience-heading h2 em {
  color: #06766f;
}
.timeline li {
  border-left: 0;
  border-top: 1px solid #748985;
  padding: 28px 0 32px 52px;
  counter-increment: job;
}
.timeline {
  counter-reset: job;
}
.timeline li:before {
  content: "0" counter(job);
  top: 28px;
  left: 0;
  background: none;
  box-shadow: none;
  width: auto;
  height: auto;
  border-radius: 0;
  color: #526368;
  font:
    12px Consolas,
    monospace;
}
.timeline li:last-child {
  padding-bottom: 28px;
}
.timeline h3 {
  font-size: 25px;
}
.timeline .job-meta {
  color: #526368;
}
.timeline .job-role {
  color: #35464b;
}
#tech {
  background: #f3f0e7;
}
.skills-grid {
  gap: 0;
  border-top: 1px solid #121b20;
  border-bottom: 1px solid #121b20;
}
.skill-group {
  border-radius: 0;
  background: transparent;
  padding: 32px 28px;
  border-right: 1px solid #121b2040;
}
.skill-group:first-child {
  padding-left: 0;
}
.skill-group:last-child {
  border-right: 0;
}
.skill-icon {
  font-size: 42px;
  color: #06766f;
  margin-bottom: 30px;
}
.skill-group p {
  padding-top: 12px;
  border-top: 1px solid #121b2020;
}
.contact {
  --white: #f3f0e7;
  --body: #f3f0e7;
  --silver: #f3f0e7;
  --muted: #f3f0e7;
  background: #06766f;
  border-radius: 0;
  gap: 80px;
  color: var(--body);
}
.contact h2 {
  font-size: clamp(56px, 6.5vw, 92px);
  line-height: 1;
  margin-bottom: 28px;
}
.contact h2 em {
  color: #d6de59;
}
.contact .contact-email {
  font-size: 19px;
  border-bottom: 1px solid #d6de59;
  padding-bottom: 5px;
}
.contact a:hover {
  color: #d6de59;
}
.contact input,
.contact textarea {
  border: 0;
  border-bottom: 1px solid #a8cebe;
  border-radius: 0;
  background: #075d58;
  color: #fff;
  padding: 14px;
}
.contact input::placeholder,
.contact textarea::placeholder {
  color: #e3efe6;
}
.contact input:focus,
.contact textarea:focus {
  background: #064d49;
}
.contact label {
  color: #fff;
  font-size: 13px;
}
.contact .button-primary {
  background: #d6de59;
  color: #121b20;
  font-size: 17px;
}
.contact .button-primary:hover {
  background: #f3f0e7;
}
.site-footer {
  padding-bottom: 90px;
}
.page-heading {
  position: relative;
  max-width: none;
  padding: 70px 0 55px;
  border-bottom: 1px solid #121b20;
  margin-bottom: 40px;
}
.page-heading h1 {
  font-size: clamp(54px, 7vw, 100px);
  max-width: 1050px;
  line-height: 1.02;
}
.page-heading > .eyebrow {
  color: #783d9b;
}
.gallery {
  gap: 52px;
}
.map-card {
  border-radius: 0;
  background: transparent;
  border-bottom: 1px solid #121b20;
}
.map-details {
  padding: 28px 0;
}
.map-preview .round-arrow {
  border-radius: 0;
  background: #f3f0e7;
  color: #121b20;
}
.map-preview img {
  transition: opacity 0.2s;
}
.code-grid {
  gap: 0;
  border-block: 1px solid #121b20;
}
.code-card {
  border-radius: 0;
  background: transparent;
  padding: 36px;
}
.code-card:first-child {
  background: #e0e9e5;
}
.code-card h2 {
  font-family: Georgia, serif;
  font-weight: 400;
  font-size: 38px;
}
.note-panel {
  border-radius: 0;
  background: #d6de59;
  border-left: 4px solid #075d58;
}
.note-panel .button-outline:hover {
  background: #075d58;
  color: #fff;
}
.post-list {
  max-width: 1100px;
}
.post-card {
  background: transparent;
  border-radius: 0;
  border-bottom: 1px solid #121b20;
  padding: 30px 0 48px;
}
.post-card h2 {
  font-size: clamp(34px, 4vw, 56px);
  max-width: 900px;
  font-weight: 400;
}
.post-meta {
  color: #526368;
}
.post-content pre {
  border-radius: 0;
  background: #e0e9e5;
}
.highlight .k,
.highlight .kn,
.highlight .s,
.highlight .s1,
.highlight .s2 {
  color: #075d58;
}
.image-dialog {
  border-radius: 0;
  background: #f3f0e7;
}
.dialog-close {
  color: #121b20;
  border-radius: 0;
}
.motion-toggle {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 30;
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 11px 14px;
  background: #f3f0e7;
  color: #121b20;
  border: 1px solid #121b20;
  border-radius: 0;
  font:
    11px Consolas,
    monospace;
  min-height: 42px;
  box-shadow: 3px 3px 0 #121b20;
}
.motion-toggle:hover {
  background: #d6de59;
}
.motion-toggle:disabled {
  opacity: 1;
  cursor: default;
}
.title-line {
  display: block;
  padding-bottom: 0.1em;
  margin-bottom: -0.1em;
  overflow: clip;
}
.title-line > span {
  display: block;
}
html[data-motion="on"] .title-line > span {
  animation: title-enter 0.9s var(--ease-out) both;
  animation-delay: calc(var(--line, 0) * 90ms);
}
html[data-motion="on"] .reveal {
  transition:
    opacity 0.6s,
    translate 0.6s var(--ease-out);
}
html[data-motion="on"] .reveal:not(.is-visible):not(:focus-within) {
  opacity: 0;
  translate: 0 18px;
}
@keyframes title-enter {
  from {
    transform: translateY(110%);
  }
  to {
    transform: translateY(0);
  }
}
html[data-motion="off"] *,
html[data-motion="off"] *:before,
html[data-motion="off"] *:after {
  animation: none !important;
  transition: none !important;
}
html[data-motion="off"] {
  scroll-behavior: auto;
}
html[data-motion="off"] .reveal {
  opacity: 1;
  translate: none;
}
html.tab-hidden *,
html.tab-hidden *:before,
html.tab-hidden *:after {
  animation-play-state: paused !important;
}
@media (min-width: 1600px) {
  .atlas-hero {
    padding-top: 90px;
    min-height: 900px;
  }
}
@media (max-width: 1100px) {
  .atlas-hero {
    min-height: 820px;
  }
  .atlas-hero h1 {
    font-size: 90px;
  }
  .atlas-scene {
    width: 630px;
    right: -100px;
    top: 10px;
  }
  .hero-intro {
    width: 58%;
  }
  .hero-intro .eyebrow {
    max-width: 280px;
  }
  .about,
  .map-story,
  .experience,
  .contact {
    gap: 40px;
  }
  .project-glyph {
    font-size: 90px;
  }
  .expertise-rail {
    grid-template-columns: 1fr;
  }
  .expertise-rail > div {
    flex-wrap: wrap;
  }
  .contact .contact-email {
    font-size: 16px;
  }
}
@media (max-width: 720px) {
  :root {
    --gutter: 20px;
  }
  body:has(.atlas-hero) main > .section {
    padding: 64px 20px;
  }
  .atlas-hero {
    padding: 38px 20px 26px;
    min-height: 0;
  }
  .hero-intro {
    width: 100%;
  }
  .atlas-hero h1 {
    font-size: clamp(64px, 18vw, 100px);
    line-height: 0.95;
  }
  .atlas-hero .eyebrow {
    font-size: 10px;
    max-width: 300px;
    margin-bottom: 26px;
  }
  .atlas-hero .hero-copy {
    font-size: 15px;
    max-width: 330px;
    margin: 24px 0;
  }
  .atlas-hero .actions {
    gap: 20px;
  }
  .atlas-hero .button-primary {
    font-size: 15px;
    padding: 14px 18px;
    gap: 18px;
  }
  .hero-secondary {
    font-size: 12px;
    gap: 12px;
  }
  .atlas-scene {
    position: relative;
    width: calc(100% + 40px);
    margin: 0 -20px;
    top: auto;
    right: auto;
  }
  .atlas-caption {
    margin-top: -15px;
  }
  .hero-bottom {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    margin-top: 28px;
    font-size: 8px;
  }
  .hero-bottom > span:first-child {
    display: none;
  }
  .expertise-rail {
    padding: 22px 20px;
    gap: 10px;
  }
  .expertise-rail > div {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    font-size: 11px;
  }
  .about {
    grid-template-columns: 1fr;
    gap: 42px;
  }
  .about-portrait {
    width: 220px;
    margin-left: 12px;
  }
  .about h2 {
    font-size: 50px;
  }
  .about p:not(.eyebrow) {
    font-size: 16px;
  }
  .map-story {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .map-story-heading h2 {
    font-size: 62px;
  }
  .map-story .terrain-scene {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
  }
  .map-caption h3 {
    font-size: 20px;
  }
  .map-caption {
    left: 14px;
    right: 14px;
    bottom: 14px;
  }
  .map-top {
    left: 14px;
    right: 14px;
    top: 14px;
  }
  .map-label {
    font-size: 8px;
  }
  .map-caption .eyebrow {
    display: none;
  }
  .map-caption p {
    font-size: 10px;
    margin-top: 4px;
  }
  .section-heading h2,
  .experience-heading h2 {
    font-size: 52px;
  }
  .section-heading {
    margin-bottom: 32px;
  }
  .project-grid {
    grid-template-columns: 1fr;
  }
  .project-card {
    padding: 28px 24px;
    min-height: 0;
  }
  .project-card:first-child {
    min-height: 380px;
  }
  .project-card:nth-child(2) {
    padding-top: 230px;
  }
  .project-card:nth-child(2) .project-number {
    left: 24px;
    font-size: 9px;
  }
  .project-card:nth-child(3),
  .project-card:nth-child(4) {
    padding: 28px 0;
    margin-top: 0;
    border-right: 0;
  }
  .project-body h3 {
    font-size: 48px;
  }
  .project-body p {
    font-size: 15px;
  }
  .project-glyph {
    top: 75px;
    right: 20px;
    font-size: 90px;
  }
  .project-number {
    font-size: 9px;
  }
  .experience {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .experience-heading {
    position: static;
  }
  .timeline li {
    padding-left: 34px;
  }
  .timeline h3 {
    font-size: 23px;
  }
  .skills-grid {
    grid-template-columns: 1fr;
  }
  .skill-group,
  .skill-group:first-child {
    padding: 28px 0;
    border-right: 0;
    border-bottom: 1px solid #121b2040;
  }
  .skill-group:last-child {
    border-bottom: 0;
  }
  .skill-icon {
    float: right;
    margin: 0;
    font-size: 32px;
  }
  .skill-group h3 {
    padding-right: 40px;
  }
  .skill-group p {
    flex-wrap: wrap;
  }
  .contact {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .contact h2 {
    font-size: 64px;
  }
  .contact .contact-email {
    font-size: 17px;
  }
  .page-heading {
    padding: 44px 0 32px;
  }
  .page-heading h1 {
    font-size: clamp(44px, 12vw, 70px);
  }
  .gallery {
    gap: 36px;
  }
  .code-grid {
    grid-template-columns: 1fr;
  }
  .code-card {
    padding: 28px 20px;
  }
  .code-card h2 {
    font-size: 34px;
  }
  .note-panel {
    padding: 24px;
  }
  .post-card {
    padding: 20px 0 36px;
  }
  .post-card h2 {
    font-size: 36px;
  }
  .motion-toggle {
    font-size: 10px;
    padding: 10px;
    right: 12px;
    bottom: 12px;
  }
  .site-footer {
    padding-bottom: 90px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
  }
  .reveal {
    opacity: 1 !important;
    translate: none !important;
  }
}

.button-outline:hover {
  background: #075d58;
  color: #fff;
  border-color: #075d58;
}
/* Curated projects: one visual lead, followed by concise editorial entries. */
.selected-work {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--white);
}
.selected-project {
  padding: 32px 28px;
  border-bottom: 1px solid var(--steel);
  border-right: 1px solid var(--steel);
}
.selected-project:last-child {
  border-right: 0;
}
.selected-project-lead {
  grid-column: 1/-1;
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 36px;
  padding: 32px 0 40px;
  border-right: 0;
}
.project-capture {
  align-self: center;
  min-width: 0;
}
.project-capture img {
  width: 100%;
  height: auto;
  border: 1px solid #121b2050;
}
.project-capture figcaption {
  font-size: 10px;
  margin-top: 9px;
  color: var(--muted);
}
.selected-project-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.selected-project h3 {
  font:
    400 clamp(32px, 3vw, 46px)/1.05 Georgia,
    serif;
  letter-spacing: -0.04em;
  margin-bottom: 20px;
}
.selected-project-lead h3 {
  font-size: 64px;
}
.selected-project p:not(.eyebrow) {
  font-size: 15px;
}
.selected-project .eyebrow {
  font-size: 10px;
  min-height: 32px;
  margin-bottom: 16px;
}
.project-stack {
  font:
    11px/1.7 Consolas,
    monospace;
  color: var(--muted);
  margin-top: 20px;
}
.project-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 24px;
}
.project-links .text-link {
  font-size: 12px;
  min-height: 44px;
}
.selected-work-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 28px 0 60px;
}
.selected-work-footer p {
  font-size: 13px;
}
.selected-work-footer .text-link {
  font-size: 13px;
}
.professional-work {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  border-top: 1px solid var(--white);
  padding-top: 32px;
}
.professional-work h3 {
  font:
    400 30px/1.1 Georgia,
    serif;
  margin-bottom: 16px;
}
.professional-work p:not(.eyebrow) {
  font-size: 14px;
}
.professional-work .eyebrow {
  font-size: 9px;
}
.professional-work .text-link {
  font-size: 12px;
  margin-top: 18px;
}
.project-index {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--white);
}
.project-index a {
  font:
    12px/1.6 Consolas,
    monospace;
  min-height: 44px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid transparent;
}
.project-index a:hover {
  border-color: currentColor;
}
.catalog-project {
  display: grid;
  grid-template-columns: 1fr 1.45fr;
  gap: 64px;
  padding: 48px 0;
  border-bottom: 1px solid var(--steel);
  scroll-margin-top: 110px;
}
.catalog-project h2 {
  font-size: 46px;
}
.project-stage {
  font:
    11px/1.5 Consolas,
    monospace;
  color: #075d58;
  margin-top: 18px;
}
.catalog-intro {
  font-size: 20px;
  color: var(--white);
  line-height: 1.5;
}
.catalog-project
  p:not(.catalog-intro):not(.eyebrow):not(.project-stack):not(.project-stage) {
  font-size: 15px;
}
.catalog-project .project-note {
  padding-left: 14px;
  border-left: 2px solid var(--steel);
  color: var(--muted);
  font-size: 13px !important;
  margin-top: 20px;
}
.experiment-section {
  margin-top: 80px;
  padding: 40px;
  background: #e0e9e5;
  scroll-margin-top: 110px;
}
.experiment-section h2 {
  font-size: 54px;
  margin-bottom: 24px;
}
.experiment-section > p:not(.eyebrow) {
  max-width: 650px;
}
.experiment-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  margin-top: 32px;
}
.experiment-list h3 {
  font-size: 23px;
  margin-bottom: 16px;
}
.experiment-list p {
  font-size: 14px;
}
.experiment-list .text-link {
  font-size: 12px;
  margin-top: 16px;
}
@media (max-width: 1000px) {
  .selected-project-lead {
    grid-template-columns: 1.2fr 1fr;
    gap: 24px;
  }
  .selected-project {
    padding: 28px 16px;
  }
  .selected-project-lead {
    padding-inline: 0;
  }
  .catalog-project {
    gap: 32px;
  }
  .professional-work {
    gap: 24px;
  }
  .experiment-section {
    padding: 28px;
  }
  .experiment-list {
    gap: 20px;
  }
}
@media (max-width: 720px) {
  .selected-work,
  .selected-project-lead,
  .professional-work,
  .catalog-project,
  .experiment-list {
    grid-template-columns: 1fr;
  }
  .selected-project {
    border-right: 0;
    padding: 28px 0;
  }
  .selected-project-lead {
    gap: 24px;
  }
  .selected-project .eyebrow {
    min-height: 0;
  }
  .selected-project h3 {
    font-size: 40px;
  }
  .selected-project-lead h3 {
    font-size: 54px;
  }
  .selected-work-footer {
    display: block;
    margin-bottom: 40px;
  }
  .selected-work-footer .text-link {
    margin-top: 12px;
  }
  .professional-work article {
    padding-bottom: 24px;
    border-bottom: 1px solid var(--steel);
  }
  .catalog-project {
    gap: 24px;
    padding-block: 36px;
  }
  .catalog-project h2 {
    font-size: 40px;
  }
  .catalog-intro {
    font-size: 18px;
  }
  .project-index {
    gap: 0 20px;
  }
  .experiment-section {
    padding: 24px;
    margin-top: 56px;
  }
  .experiment-section h2 {
    font-size: 44px;
  }
  .experiment-list {
    gap: 28px;
  }
}

/* Reading sequence and distinction between independent and institutional work. */
.expertise-rail{grid-template-columns:1fr 5fr}
.expertise-rail>div{flex-wrap:wrap;gap:12px 24px}
.professional-work{grid-template-columns:repeat(2,minmax(0,1fr))}
.institutional-heading{margin-top:48px;margin-bottom:24px}
.institutional-heading h3{font:400 36px/1.1 Georgia,serif;margin-bottom:12px}
.institutional-heading p{font-size:15px;max-width:600px}
.map-story-copy{max-width:390px}
.conmapas-community{display:flex;width:fit-content}
@media(max-width:720px){.expertise-rail{grid-template-columns:1fr}.professional-work{grid-template-columns:1fr}.institutional-heading h3{font-size:30px}}

/* ConMapas accents: retain legible contrast on dark and colored surfaces. */
.atlas-hero,.map-story,.contact{--blue:#d6de59;--blue-deep:#d6de59}
.about h2 em,.section-heading h2 em{color:#783d9b}
.skill-icon{color:#783d9b}
.status-dot{background:#e88d42}
#conmapas .map-switch button[aria-pressed="true"]{background:#d6de59;color:#121b20;border-color:#d6de59}
#conmapas .map-switch button:hover{border-color:#e88d42}
::selection{background:#783d9b;color:#f3f0e7}

/* Evidence and authored social cartography, within the editorial reading order. */
.research-note { grid-column: 1 / -1; border-top: 1px solid #121b2033; padding-top: 2rem; max-width: 70rem; }
.research-note h3 { font: 400 clamp(1.8rem, 3vw, 2.8rem) / 1.1 Georgia, serif; margin: .75rem 0 1rem; }
.research-note > p:not(.eyebrow) { max-width: 65ch; }
.social-map-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 3.5rem); align-items: start; }
.social-map-grid article > a { display: block; overflow: hidden; background: #121b20; }
.social-map-grid img { display: block; width: 100%; height: auto; transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.social-map-grid a:hover img { transform: scale(1.018); }
.social-map-grid .eyebrow { display: flex; justify-content: space-between; gap: 1rem; margin-top: 1.5rem; }
.social-map-grid .social-proof { color: #783d9b; font-weight: 800; }
.social-map-grid h3 { font: 400 clamp(1.8rem, 3vw, 2.6rem) / 1.1 Georgia, serif; margin: .8rem 0 1rem; }
.social-map-grid p { max-width: 50ch; }
.social-map-grid .map-source { font-size: .8rem; color: #526368; }
.social-maps .gallery-note { margin: 2.5rem 0 0; }
.conmapas-series { margin-top: clamp(80px, 10vw, 140px); padding-top: clamp(54px, 7vw, 90px); border-top: 1px solid #121b2033; }
@media (max-width: 960px) { .social-map-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .social-map-grid { grid-template-columns: 1fr; gap: 3rem; } }
@media (prefers-reduced-motion: reduce) { .social-map-grid img { transition: none; } }

/* Teaching is a distinct practice: a bright editorial field between work and maps. */
.teaching {
  --blue: #121b20;
  --blue-deep: #121b20;
  position: relative;
  overflow: hidden;
  background: #d6de59;
  color: #121b20;
}
.teaching:before {
  content: "03";
  position: absolute;
  right: -0.04em;
  top: -0.18em;
  color: #c6ce4e;
  font: 400 clamp(180px, 28vw, 430px)/1 Georgia, serif;
  letter-spacing: -.08em;
  pointer-events: none;
}
.teaching-heading,
.course-feature,
.course-metrics,
.teaching-footer {
  position: relative;
  z-index: 1;
}
.teaching-heading {
  display: grid;
  grid-template-columns: 1.35fr .65fr;
  gap: clamp(36px, 7vw, 110px);
  align-items: end;
  padding-bottom: 44px;
  border-bottom: 1px solid #121b20;
}
.teaching-heading h2 {
  font: 400 clamp(58px, 7vw, 106px)/.93 Georgia, serif;
  letter-spacing: -.055em;
}
.teaching-heading h2 em { color: #783d9b; }
.teaching-heading > p { max-width: 440px; font-size: 17px; }
.teaching .eyebrow { color: #121b20; }
.course-feature {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  border-bottom: 1px solid #121b20;
}
.course-intro { padding: clamp(42px, 6vw, 82px) clamp(28px, 6vw, 90px) clamp(48px, 6vw, 82px) 0; }
.course-intro h3 {
  max-width: 760px;
  margin: 18px 0 28px;
  font: 400 clamp(42px, 5vw, 76px)/.98 Georgia, serif;
  letter-spacing: -.045em;
}
.course-intro > p:not(.eyebrow) { max-width: 650px; font-size: 17px; }
.course-intro .button { margin-top: 32px; background: #121b20; border-color: #121b20; color: #f3f0e7; }
.course-intro .button:hover { background: #783d9b; border-color: #783d9b; color: #fff; }
.course-syllabus { border-left: 1px solid #121b20; list-style: none; }
.course-syllabus li {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 20px;
  padding: 32px 0 32px 32px;
  border-bottom: 1px solid #121b20;
}
.course-syllabus li:last-child { border-bottom: 0; }
.course-syllabus li > span { color: #783d9b; font: 400 34px/1 Georgia, serif; }
.course-syllabus h4 { margin-bottom: 8px; font: 700 17px/1.25 "DM Sans", sans-serif; }
.course-syllabus p { max-width: 390px; font-size: 14px; }
.course-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 38px 0;
  border-bottom: 1px solid #121b20;
}
.course-metrics p { display: flex; flex-direction: column; gap: 8px; padding: 0 28px; border-right: 1px solid #121b20; }
.course-metrics p:first-child { padding-left: 0; }
.course-metrics p:last-child { border-right: 0; }
.course-metrics strong { color: #783d9b; font: 400 clamp(40px, 5vw, 68px)/1 Georgia, serif; letter-spacing: -.04em; }
.course-metrics span { font: 700 10px/1.35 Consolas, monospace; letter-spacing: .08em; text-transform: uppercase; }
.teaching-footer { display: flex; justify-content: space-between; gap: 28px; align-items: center; padding-top: 34px; }
.teaching-footer p { max-width: 620px; }
.teaching .text-link { color: #121b20; border-color: #121b20; }
@media (max-width: 900px) {
  .teaching-heading { grid-template-columns: 1fr; gap: 28px; }
  .course-feature { grid-template-columns: 1fr; }
  .course-intro { padding-right: 0; }
  .course-syllabus { border-left: 0; border-top: 1px solid #121b20; }
  .course-syllabus li { padding-left: 0; }
  .course-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .course-metrics p { padding: 24px; border-bottom: 1px solid #121b20; }
  .course-metrics p:nth-child(2) { border-right: 0; }
  .course-metrics p:nth-child(3), .course-metrics p:nth-child(4) { border-bottom: 0; }
  .course-metrics p:nth-child(3) { padding-left: 0; }
}
@media (max-width: 560px) {
  .teaching-heading h2 { font-size: 58px; }
  .course-intro h3 { font-size: 44px; }
  .course-syllabus li { grid-template-columns: 42px 1fr; gap: 12px; }
  .course-syllabus li > span { font-size: 27px; }
  .course-metrics strong { font-size: 42px; }
  .course-metrics p { padding: 20px 14px; }
  .course-metrics span { font-size: 9px; }
  .teaching-footer { display: block; }
  .teaching-footer .text-link { margin-top: 18px; }
}
