/* gusmejia.com/field · Construction. Hefesto, 10/11/2026 (US-101); one entry per place, Atenea II, 12/11/2026 (US-115).
   Same tokens as the landing and the Lab. No inline styles or scripts: CSP-safe like /lab. The ruler heights are generated at the end by build.py. */
@font-face { font-family: "Schibsted Grotesk"; src: url("/fonts/schibsted-grotesk-latin-wght-normal.woff2") format("woff2"); font-weight: 400 900; font-display: swap; }
@font-face { font-family: "Spline Sans Mono"; src: url("/fonts/spline-sans-mono-latin-wght-normal.woff2") format("woff2"); font-weight: 300 700; font-display: swap; }

:root {
  --bg: #f6f7f8; --band: #ffffff; --ink: #0b0d10; --muted: #5b6570; --line: #dde1e5; --ctl-line: #7b868f;
  --text-2: #3d454e; --rule-soft: #e3e6e9; --paper: #ffffff; --ok: #0f6c80; --held: #94590a; --bad: #b42318;
  --solid-ink: #ffffff; --solid-hover: #22272d; --line-hover: #eceef0; --mark: #eef0f2;
  --sans: "Schibsted Grotesk", ui-sans-serif, system-ui, sans-serif;
  --mono: "Spline Sans Mono", ui-monospace, Menlo, monospace;
  --ease: cubic-bezier(.23, 1, .32, 1);
  --shadow: 0 1px 2px rgba(11, 13, 16, .06), 0 18px 36px -24px rgba(11, 13, 16, .35);
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #0b0d10; --band: #0f1216; --ink: #e8ecef; --muted: #8f99a3; --line: #20262d; --ctl-line: #5e6872;
  --text-2: #b9c1c8; --rule-soft: #232a31; --paper: #12161a; --ok: #7fd0e2; --held: #f0b45a; --bad: #ff8a80;
  --solid-ink: #0b0d10; --solid-hover: #ffffff; --line-hover: #171b20; --mark: #1b2026;
  --shadow: 0 1px 0 rgba(255, 255, 255, .03), 0 24px 48px -28px rgba(0, 0, 0, .9);
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0b0d10; --band: #0f1216; --ink: #e8ecef; --muted: #8f99a3; --line: #20262d; --ctl-line: #5e6872;
    --text-2: #b9c1c8; --rule-soft: #232a31; --paper: #12161a; --ok: #7fd0e2; --held: #f0b45a; --bad: #ff8a80;
    --solid-ink: #0b0d10; --solid-hover: #ffffff; --line-hover: #171b20; --mark: #1b2026;
    --shadow: 0 1px 0 rgba(255, 255, 255, .03), 0 24px 48px -28px rgba(0, 0, 0, .9);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; margin: 0; }
html { background: var(--bg); }
body { background: var(--bg); color: var(--ink); font: 400 1.0625rem/1.5 var(--sans); -webkit-font-smoothing: antialiased; }
::selection { background: var(--ink); color: var(--bg); }
p, li { text-wrap: pretty; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
button, input, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 3px; }
.wrap { width: min(1280px, 100% - 48px); margin-inline: auto; }
.mono { font-family: var(--mono); font-size: .75rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 10; background: var(--ink); color: var(--bg); padding: 10px 14px; border-radius: 6px; text-decoration: none; }
.skip:focus { top: 10px; }
[hidden] { display: none !important; }
[tabindex="-1"]:focus { outline: none; }

/* bar: the landing's, with Lab marked as the current section */
.bar { display: flex; align-items: center; gap: 28px; height: 60px; }
.bar .mark { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; text-decoration: none; font-weight: 600; letter-spacing: -.01em; }
.logo { width: 1.25em; height: 1.25em; fill: currentColor; flex: none; }
.bar .mark .logo { width: 21px; height: 21px; }
.bar ul { display: flex; gap: 24px; list-style: none; padding: 0; margin-left: auto; }
.bar ul a { color: var(--muted); text-decoration: none; font-size: .9375rem; transition: color .16s var(--ease); }
.bar ul a:hover, .bar ul a[aria-current] { color: var(--ink); }
.bar ul a[aria-current] { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .45em; }
.theme, .lang { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 999px; border: 1px solid var(--ctl-line); background: none; color: var(--ink); cursor: pointer; transition: transform .16s var(--ease), border-color .16s var(--ease); }
.theme:hover, .lang:hover { border-color: var(--muted); }
.theme:active, .lang:active { transform: scale(.94); }
.theme svg { width: 18px; height: 18px; }
.lang { font: 500 .75rem/1 var(--mono); text-decoration: none; letter-spacing: .02em; margin-left: 4px; }
.bar .theme { margin-left: -16px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; padding: 0 18px; border-radius: 999px; font: 500 .9375rem/1 var(--sans); text-decoration: none; border: 1px solid var(--ink); background: none; cursor: pointer; transition: transform .16s var(--ease), background-color .16s var(--ease); }
.btn:active { transform: scale(.97); }
.btn-solid { background: var(--ink); color: var(--solid-ink); }
.btn-solid:hover { background: var(--solid-hover); }
.btn-line:hover { background: var(--line-hover); }
.btn:disabled { opacity: .5; cursor: default; }
.btn .mono { opacity: .7; }
.btn svg { width: 12px; height: 12px; }


/* US-115 (Atenea II, 12/11/2026): one entry per place, newest first, with a filter. The large photo stays: on a wide
   screen it sits to the right and follows the place you point at or open; on a phone it opens the page. */
.field { display: grid; grid-template-columns: minmax(0, 1fr); }
.top { padding: 56px 0 0; }
.kicker { color: var(--muted); }
.top h1 { margin-top: 16px; max-width: 11em; font: 400 clamp(2.5rem, 5.4vw, 4.75rem)/.96 var(--sans); letter-spacing: -.05em; text-wrap: balance; }
.top .lede { margin-top: 22px; max-width: 34em; font-size: 1.125rem; line-height: 1.45; color: var(--text-2); }
.accent { color: var(--ok); }

/* the stage */
.stage { margin-top: 32px; }
.st { position: relative; height: 100%; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; background: #16191d; color: #eef1f3; }
.st-open { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.st-open picture, .st-open img { display: block; width: 100%; height: 100%; }
.st-open img { object-fit: cover; transition: opacity .35s var(--ease); }
.st-open.swap img { opacity: 0; }
:root[data-theme="dark"] .st-open img { filter: brightness(.9); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .st-open img { filter: brightness(.9); } }
.st figcaption { position: absolute; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 16px; padding: 56px 120px 18px 20px;
  background: linear-gradient(to top, rgba(8, 10, 12, .82), rgba(8, 10, 12, .5) 55%, rgba(8, 10, 12, 0)); pointer-events: none; }
.st-t { color: #7fd3e6; }
.st-n { color: #c3cbd2; grid-column: 2; grid-row: 1; }
.st-a { grid-column: 1 / -1; font-size: .9375rem; line-height: 1.4; color: #e3e8ec; }
.st-p, .st-f { position: absolute; bottom: 16px; width: 40px; height: 40px; display: grid; place-items: center; padding: 0; border-radius: 999px; border: 1px solid rgba(238, 241, 243, .45);
  background: rgba(8, 10, 12, .35); color: #eef1f3; cursor: pointer; transition: border-color .16s var(--ease), transform .16s var(--ease); }
.st-p { right: 64px; } .st-f { right: 16px; }
.st-p:hover, .st-f:hover { border-color: #eef1f3; }
.st-p:active, .st-f:active { transform: scale(.94); }
.st-p svg, .st-f svg { width: 14px; height: 14px; }
.st.one .st-p, .st.one .st-f, .st.none .st-p, .st.none .st-f, .st.none .st-n, .st.none .st-a { display: none; }
.st.none .st-open { display: none; }
/* a job without photos: the years, set large, as the stage did before */
.plate { position: absolute; inset: 0; display: grid; align-content: center; justify-items: start; padding: 0 28px 40px; background: #16191d; }
.plate .big { font: 300 clamp(5rem, 11vw, 11rem)/.9 var(--sans); letter-spacing: -.06em; color: transparent; -webkit-text-stroke: 1px rgba(238, 241, 243, .42); white-space: nowrap; }
.plate .cap { margin-top: 18px; color: #c3cbd2; }

/* the filters: they need JavaScript */
html:not(.js) .filters { display: none; }
.filters { margin-top: 40px; padding-top: 16px; border-top: 1px solid var(--ink); }
.fl { color: var(--muted); margin-bottom: 10px; }
.ft { margin-top: 22px; }
.ruler { display: flex; align-items: flex-end; gap: 10px; }
.r-all, .chips button { min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--ctl-line); background: none; color: var(--ink); font: 500 .875rem/1 var(--sans); cursor: pointer; white-space: nowrap;
  transition: background-color .16s var(--ease), color .16s var(--ease), border-color .16s var(--ease), transform .16s var(--ease); }
.r-all { flex: none; margin-bottom: 22px; }
.r-all:hover, .chips button:hover { border-color: var(--ink); }
.r-all:active, .chips button:active { transform: scale(.96); }
.r-all[aria-pressed="true"], .chips button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.chips .c { margin-left: 4px; font-size: .6875rem; opacity: .7; }
.chips button.zero:not([aria-pressed="true"]) { color: var(--muted); border-color: var(--line); }
.ticks { flex: 1; min-width: 0; display: flex; align-items: stretch; gap: 3px; height: 74px; padding-bottom: 22px; border-bottom: 0; }
.yb { position: relative; flex: 1 1 0; min-width: 0; display: flex; align-items: flex-end; padding: 0; border: 0; border-bottom: 1px solid var(--line); background: none; cursor: pointer; }
.yb .bar { width: 100%; height: calc(var(--n, 0) * 3.6px + 2px); max-height: 100%; border-radius: 2px 2px 0 0; background: var(--ctl-line); opacity: .8; transition: height .25s var(--ease), background-color .16s var(--ease), opacity .16s var(--ease); }
.yb:hover .bar { opacity: 1; }
.yb[aria-pressed="true"] .bar { background: var(--ok); opacity: 1; }
.yb[aria-pressed="true"] { border-bottom-color: var(--ok); }
.yb .yl { position: absolute; top: 100%; left: 0; margin-top: 6px; color: var(--muted); font-size: .6875rem; }
.yb:focus-visible { outline-offset: 1px; }
.chips { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.count { margin-top: 18px; color: var(--muted); }
.count b { font-weight: 500; color: var(--ink); }

/* the log: one entry per place */
.log { margin-top: 10px; }
.entries { list-style: none; padding: 0; border-top: 1px solid var(--line); }
.entry { border-bottom: 1px solid var(--line); }
.entry summary { list-style: none; display: grid; grid-template-columns: 6.2rem minmax(0, 1fr) auto; column-gap: 16px; row-gap: 3px; align-items: baseline; padding: 15px 2px 14px; cursor: pointer; border-radius: 4px; }
.entry summary::-webkit-details-marker { display: none; }
.entry .yr { grid-row: 1 / span 2; color: var(--muted); padding-top: 2px; }
.entry .pl { font-weight: 500; font-size: 1.1875rem; line-height: 1.25; letter-spacing: -.015em; }
.entry .wh { grid-column: 2; color: var(--text-2); line-height: 1.45; }
.entry .n { grid-column: 3; grid-row: 1; color: var(--muted); white-space: nowrap; }
.entry .chev { grid-column: 3; grid-row: 2; justify-self: end; width: 14px; height: 14px; color: var(--muted); transition: transform .2s var(--ease); }
.entry details[open] .chev { transform: rotate(180deg); }
.entry summary:hover .pl { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }
.entry.on .yr { color: var(--ok); }
.panel { padding: 2px 2px 22px calc(6.2rem + 18px); }
.pm { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; color: var(--text-2); font-size: .9375rem; }
.pm .role .mono { color: var(--muted); margin-right: 6px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { padding: 3px 9px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); }
.thumbs { list-style: none; padding: 0; margin-top: 14px; display: grid; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: 6px; }
.thumbs button { display: block; width: 100%; aspect-ratio: 4 / 3; padding: 0; border: 0; border-radius: 6px; overflow: hidden; background: var(--line); cursor: zoom-in; transition: transform .16s var(--ease), opacity .16s var(--ease); }
.thumbs button:hover { opacity: .85; }
.thumbs button:active { transform: scale(.97); }
.thumbs button:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.thumbs picture, .thumbs img { display: block; width: 100%; height: 100%; }
.thumbs img { object-fit: cover; }
.empty { padding: 28px 0 8px; color: var(--text-2); }
.empty .btn { margin-top: 14px; }

/* the close */
.end { padding: 96px 0 112px; }
.end h2 { font: 400 clamp(2.25rem, 4.6vw, 3.75rem)/1 var(--sans); letter-spacing: -.045em; }
.end p { margin-top: 12px; font-size: 1.25rem; color: var(--text-2); }
.end .cta { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px; }
.end .note { margin-top: 48px; max-width: 60ch; font-size: .9375rem; color: var(--muted); }

/* wide screens: the log on the left, the stage on the right, held still */
@media (min-width: 1000px) {
  .field { grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); column-gap: 48px; grid-template-rows: auto auto 1fr auto;
    grid-template-areas: "top stage" "filters stage" "log stage" "end end"; }
  .top { grid-area: top; } .filters { grid-area: filters; } .log { grid-area: log; } .end { grid-area: end; }
  /* square: the photos are half landscape, half portrait; a square crops both the least */
  .stage { grid-area: stage; align-self: start; position: sticky; top: 76px; margin-top: 24px; }
  .st { aspect-ratio: 1 / 1; max-height: calc(100vh - 100px); max-height: calc(100svh - 100px); width: 100%; }
}

/* lightbox: native <dialog> */
.lb { width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(8, 10, 12, .96); color: #eef1f3; }
.lb::backdrop { background: rgba(8, 10, 12, .6); }
.lb[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; }
.lb-top { display: flex; align-items: center; gap: 16px; padding: 12px 16px 0 24px; }
.lb-top #lb-t { margin-right: auto; color: #c3cbd2; }
.lb-n { color: #c3cbd2; }
.lb button { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 999px; border: 1px solid rgba(238, 241, 243, .45); background: none; color: #eef1f3; cursor: pointer; transition: border-color .16s var(--ease), transform .16s var(--ease); }
.lb button:hover { border-color: #eef1f3; }
.lb button:active { transform: scale(.94); }
.lb button:focus-visible { outline: 2px solid #eef1f3; outline-offset: 3px; }
.lb button svg { width: 16px; height: 16px; }
.lb figure { display: grid; grid-template-rows: minmax(0, 1fr) auto; min-height: 0; padding: 16px 24px 0; touch-action: pan-y pinch-zoom; }
.lb picture { display: contents; }
.lb source { display: none; }
.lb figure img { grid-row: 1; }
.lb figcaption { grid-row: 2; }
.lb figure img { width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.lb figcaption { max-width: 70ch; margin: 12px auto 0; text-align: center; color: #c3cbd2; font-size: .9375rem; }
.st-a .cr, .lb figcaption .cr { display: block; margin-top: 4px; font-size: .75rem; letter-spacing: .01em; opacity: .72; } /* photo credit, small */
.lb-nav { display: flex; justify-content: center; gap: 12px; padding: 14px 0 22px; }
.lb.one .lb-nav { visibility: hidden; }

.foot { border-top: 1px solid var(--line); padding: 24px 0 40px; color: var(--muted); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; }
.foot .c { display: inline-flex; align-items: center; gap: 8px; }
.foot .logo { width: 16px; height: 16px; }

@media (max-width: 1100px) { .bar ul { gap: 18px; } .bar { gap: 20px; } }
@media (max-width: 900px) {
  .bar ul { display: none; } .bar .lang { margin-left: auto; } .bar { gap: 12px; } .bar .theme { margin-left: -4px; }
  .lb figure { padding: 12px 8px 0; }
}
@media (max-width: 999px) {
  .top { padding-top: 36px; }
  .top .lede { font-size: 1rem; margin-top: 18px; }
  .st figcaption { padding: 48px 112px 14px 14px; }
  .st-a { display: none; }
  /* the year ruler scrolls sideways; JS starts it at the newest years */
  .ruler { gap: 8px; }
  .ticks { overflow-x: auto; scrollbar-width: none; }
  .ticks::-webkit-scrollbar { display: none; }
  .yb { flex: none; width: 28px; }
  .chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-right: -24px; padding-right: 24px; }
  .chips::-webkit-scrollbar { display: none; }
  .chips li { flex: none; }
  .entry summary { grid-template-columns: minmax(0, 1fr) auto; }
  .entry .yr { grid-row: auto; grid-column: 1; padding: 0; }
  .entry .n { grid-column: 2; grid-row: 1; }
  .entry .pl { grid-column: 1; }
  .entry .chev { grid-column: 2; grid-row: 2; }
  .entry .wh { grid-column: 1 / -1; }
  .panel { padding-left: 2px; }
  /* photos: a strip you swipe, each one large */
  .thumbs { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 72%; overflow-x: auto; scroll-snap-type: x mandatory; margin-right: -24px; padding-right: 24px; scrollbar-width: none; }
  .thumbs::-webkit-scrollbar { display: none; }
  .thumbs li { scroll-snap-align: start; }
}
@media (prefers-reduced-motion: reduce) {
  .st-open img, .yb .bar, .chips button, .r-all, .thumbs button, .btn, .lb button, .st-p, .st-f, .entry .chev { transition: none; }
}

/* @generated by build.py: ruler heights */
.ruler .yb[data-y="2007"] { --n: 1; }
.ruler .yb[data-y="2008"] { --n: 1; }
.ruler .yb[data-y="2009"] { --n: 1; }
.ruler .yb[data-y="2010"] { --n: 1; }
.ruler .yb[data-y="2011"] { --n: 1; }
.ruler .yb[data-y="2012"] { --n: 1; }
.ruler .yb[data-y="2013"] { --n: 1; }
.ruler .yb[data-y="2014"] { --n: 1; }
.ruler .yb[data-y="2015"] { --n: 1; }
.ruler .yb[data-y="2016"] { --n: 1; }
.ruler .yb[data-y="2017"] { --n: 3; }
.ruler .yb[data-y="2018"] { --n: 3; }
.ruler .yb[data-y="2019"] { --n: 4; }
.ruler .yb[data-y="2020"] { --n: 4; }
.ruler .yb[data-y="2021"] { --n: 3; }
.ruler .yb[data-y="2022"] { --n: 0; }
.ruler .yb[data-y="2023"] { --n: 4; }
.ruler .yb[data-y="2024"] { --n: 13; }
.ruler .yb[data-y="2025"] { --n: 9; }
.ruler .yb[data-y="2026"] { --n: 8; }
