@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/fonts/inter/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Gelasio";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/fonts/gelasio/gelasio-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Gelasio";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/gelasio/gelasio-italic-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --cream: #fbf0df;
  --cream-light: #fffaf2;
  --ink: #3c3834;
  --muted: #746d66;
  --rule: rgba(60, 56, 52, 0.18);
  --coral: #ff8a6a;
  --yellow: #e4df55;
  --sans: "Inter", sans-serif;
  --serif: "Gelasio", serif;
  --body-text-color: #514b45;
  --body-text-size: 1rem;
  --body-text-leading: 1.7;
  --h2-size: clamp(1.75rem, 2.3vw, 2rem);
  --h2-body-gap: 2rem;
  --paragraph-gap: 1.25rem;
  --pad: clamp(1rem, 1.7vw, 1.75rem);
  --sidebar: 4rem;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --content-max: 105rem;
  --content-gutter: max(0px, calc((100% - var(--sidebar) - var(--content-max)) / 2));
}

* { box-sizing: border-box; }
html { background: var(--cream); scroll-behavior: smooth; }
body { display: flex; min-height: 100dvh; flex-direction: column; margin: 0; padding-bottom: var(--safe-bottom); padding-left: var(--sidebar); color: var(--ink); background: var(--cream); font-family: var(--sans); font-size: 16px; line-height: 1.45; -webkit-font-smoothing: antialiased; }
body > main { width: min(100%, var(--content-max)); flex: 1; margin-inline: auto; }
body.modal-open:not(.directory-open) { overflow: hidden; }
a { color: inherit; }
button { color: inherit; font: inherit; }
.burger-button, .side-mail, .footer-button, .directory-action, .dialog-close, .dialog-action { transition: background-color 200ms ease, color 200ms ease; }
img, svg { display: block; max-width: 100%; }
::selection { color: white; background: var(--ink); }

.skip-link { position: fixed; z-index: 100; top: .5rem; left: .5rem; padding: .75rem 1rem; color: white; background: var(--ink); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
.status-bar-fill { position: fixed; z-index: 90; top: 0; right: 0; left: 0; height: var(--safe-top); background: var(--cream); pointer-events: none; }
.site-header { position: fixed; z-index: 40; inset: 0 auto 0 0; width: var(--sidebar); height: 100dvh; border-right: 1px solid var(--rule); background: var(--cream); }
.burger-button { position: absolute; top: var(--safe-top); right: 0; left: 0; display: flex; width: var(--sidebar); height: var(--sidebar); flex-direction: column; gap: .34rem; align-items: center; justify-content: center; padding: 0; border: 0; border-bottom: 1px solid var(--rule); background: transparent; cursor: pointer; }
.burger-button span { width: 1.25rem; height: 1px; background: currentColor; }
.burger-button span { transition: transform 220ms ease, opacity 160ms ease; }
.directory-open .burger-button span:first-child { transform: translateY(calc(.34rem + 1px)) rotate(45deg); }
.directory-open .burger-button span:nth-child(2) { opacity: 0; }
.directory-open .burger-button span:last-child { transform: translateY(calc(-.34rem - 1px)) rotate(-45deg); }
.burger-button:focus-visible { color: var(--cream-light); background: var(--ink); outline: none; }
@media (hover: hover) and (pointer: fine) {
  .burger-button:hover { color: var(--cream-light); background: var(--ink); outline: none; }
}
.side-brand { position: absolute; top: 50%; left: 50%; display: inline-flex; align-items: baseline; font-family: var(--serif); font-size: 1.6rem; font-weight: 700; line-height: 1; letter-spacing: -.055em; text-decoration: none; white-space: nowrap; transform: translate(-50%, -50%) rotate(-90deg); }
.side-brand-accent { color: var(--coral); }
.side-mail { position: absolute; right: 0; bottom: var(--safe-bottom); left: 0; display: flex; width: var(--sidebar); height: var(--sidebar); align-items: center; justify-content: center; border: 0; border-top: 1px solid var(--rule); background: var(--coral); }
.side-mail svg { width: 1.35rem; height: 1.35rem; fill: none; stroke: currentColor; stroke-width: 1.5; }
.side-mail:focus-visible { color: var(--cream-light); background: var(--ink); outline: none; }
@media (hover: hover) and (pointer: fine) {
  .side-mail:hover { color: var(--cream-light); background: var(--ink); outline: none; }
}

.page-breadcrumb { position: absolute; z-index: 30; top: calc(var(--safe-top) + 1rem); left: calc(var(--sidebar) + var(--content-gutter) + 1.35rem); display: flex; align-items: center; gap: .65em; padding: .7rem 0; font-size: clamp(1rem, 1.5vw, 1.4rem); line-height: 1.5; }
.page-breadcrumb a { text-decoration: none; }
.page-breadcrumb a:focus-visible, .project-topbar-home:focus-visible { outline: 1px solid var(--ink); outline-offset: 3px; }

.language-switcher { position: absolute; z-index: 30; top: calc(var(--safe-top) + 1rem); right: calc(var(--content-gutter) + 1.35rem); min-width: 9rem; padding: .35rem .65rem; background: var(--cream); font-size: clamp(1rem, 1.5vw, 1.4rem); line-height: 1.5; }
.language-switcher summary { display: flex; align-items: center; justify-content: flex-end; gap: 1rem; padding: .35rem 0; list-style: none; cursor: pointer; }
.language-switcher summary::-webkit-details-marker { display: none; }
.language-current { display: inline-flex; align-items: center; gap: .5em; }
.language-globe { width: 1.1em; height: 1.1em; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.65; }
.language-chevron { width: 1.25rem; height: 1.25rem; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.5; }
.language-options { display: flex; flex-direction: column; }
.language-options a { display: block; padding: .35rem 2.25rem .35rem 0; text-align: right; text-decoration: none; }
.language-switcher summary:focus-visible, .language-options a:focus-visible { outline: 1px solid var(--ink); outline-offset: 3px; }
.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }

.section-label, .meta-label { display: block; margin: 0 0 .35rem; color: var(--muted); font-size: .61rem; font-weight: 400; letter-spacing: .12em; text-transform: uppercase; }

.home-greeting, .detail-title-wrap { padding: calc(clamp(5.75rem, 7vw, 7rem) + var(--safe-top)) 1.35rem clamp(4rem, 7vw, 7rem); }
.home-greeting { margin: 0; border-bottom: 1px solid var(--rule); font-family: var(--serif); font-size: clamp(5rem, 13vw, 12rem); font-weight: 700; line-height: .95; letter-spacing: -.055em; text-align: left; }

.project-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.project-card { min-width: 0; }
.project-card.featured { grid-column: auto; }
.project-link { display: block; padding: 1.35rem; color: inherit; text-decoration: none; }
.project-media, .detail-cover img, .project-gallery img { outline: 1px solid var(--ink); outline-offset: -1px; }
.project-media { position: relative; isolation: isolate; aspect-ratio: 16 / 9; margin: 0; overflow: hidden; background: #ddd0be; outline: 0; }
.project-media::after { position: absolute; z-index: 2; inset: 0; box-shadow: inset 0 0 0 1px var(--ink); content: ""; pointer-events: none; }
.project-media img { position: relative; z-index: 0; display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 650ms cubic-bezier(.2,.7,.2,1); }
.project-link:hover .project-media img, .project-link:focus-visible .project-media img { transform: scale(1.025); }
.project-link:focus-visible { outline: 2px solid var(--ink); outline-offset: -2px; }
.project-caption { padding: 1rem 0 .6rem; }
.project-title { margin: 0; font-size: clamp(1.65rem, 2.45vw, 38px); font-weight: 400; line-height: 1.1; letter-spacing: -.04em; text-wrap: balance; }

.site-footer { display: flex; width: min(100%, var(--content-max)); height: var(--sidebar); flex-shrink: 0; align-items: center; justify-content: space-between; margin-inline: auto; border-top: 1px solid var(--rule); font-family: var(--sans); font-size: .9rem; font-weight: 400; line-height: 1.2; letter-spacing: -.025em; }
.site-footer p { margin: 0; padding: 0 1.35rem; white-space: nowrap; }
.footer-actions { display: flex; align-items: center; gap: 1.35rem; padding: 0 1.35rem; }
.footer-button { padding-bottom: .08em; color: inherit; background-image: linear-gradient(currentColor, currentColor); background-repeat: no-repeat; background-position: left bottom; background-size: 0% 1px; font: inherit; letter-spacing: inherit; text-decoration: none; transition: background-size 300ms cubic-bezier(.22,.7,.2,1); }
.footer-button:hover, .footer-button:focus-visible { background-size: 100% 1px; }

.site-directory { position: fixed; z-index: 38; inset: 0 0 0 var(--sidebar); width: calc(100% - var(--sidebar)); max-width: none; height: 100dvh; max-height: none; margin: 0; padding: 0; border: 0; color: var(--ink); background: #fff; overflow-y: auto; overscroll-behavior: contain; }
.site-directory[open] { animation: directory-enter 380ms cubic-bezier(.22,.7,.2,1); }
.site-directory[open].is-restoring { animation: none; }
.site-directory[open].is-closing { pointer-events: none; animation: directory-leave 380ms cubic-bezier(.22,.7,.2,1) forwards; }
.directory-content { display: flex; min-height: 100%; flex-direction: column; padding: clamp(2rem, 4vw, 4.5rem); }
.directory-map { display: grid; flex: 1; grid-template-columns: 1fr 1.25fr 1fr; gap: clamp(2rem, 4vw, 5rem); padding: 0 0 clamp(2rem, 4vw, 4rem); }
.directory-section { min-width: 0; }
.directory-section-title { margin: 0 0 1.65rem; font-family: var(--serif); font-size: clamp(2rem, 3.4vw, 3.75rem); font-weight: 700; line-height: 1.05; letter-spacing: -.045em; }
.directory-home { margin-top: calc(clamp(2rem, 3.4vw, 3.75rem) * 1.05 + 1.65rem); }
.directory-projects { display: flex; flex-direction: column; gap: 1.65rem; margin: 0; padding: 0; list-style: none; }
.directory-link { display: block; width: fit-content; max-width: 100%; color: inherit; text-decoration: none; }
.directory-link-title, .directory-email { font-size: clamp(1.65rem, 2.6vw, 3rem); font-weight: 400; line-height: 1.15; letter-spacing: -.045em; }
.directory-underline, .text-underline, .project-nav-title, .story-body a, .fact-link-text, .legal-copy a { padding-bottom: .08em; background-image: linear-gradient(currentColor, currentColor); background-repeat: no-repeat; background-position: left bottom; background-size: 0% 1px; transition: background-size 300ms cubic-bezier(.22,.7,.2,1); }
.story-body a, .facts-table a, .legal-copy a { text-decoration: none; }
.facts-table a { white-space: nowrap; }
.directory-link:hover .directory-underline, .directory-language:hover .directory-underline, .project-link:hover .text-underline, .project-nav-link:hover .project-nav-title, .language-switcher summary:hover .text-underline, .language-options a:hover .text-underline, .page-breadcrumb a:hover .text-underline, .story-body a:hover, .facts-table a:hover .fact-link-text, .legal-copy a:hover { background-size: 100% 1px; }
.directory-link:focus, .directory-action:focus, .directory-language:focus { outline: none; }
.directory-utilities { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.5rem 2rem; align-items: center; padding-top: 1.5rem; border-top: 1px solid var(--rule); }
.directory-languages { display: flex; align-items: center; gap: .85em; font-size: clamp(1rem, 1.6vw, 1.6rem); line-height: 1.1; letter-spacing: -.035em; }
.directory-globe { width: 1.2em; height: 1.2em; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.65; }
.directory-language-list { display: flex; align-items: center; }
.directory-language { padding: 0 .8em; color: inherit; text-decoration: none; }
.directory-language:first-child { padding-left: 0; }
.directory-language:last-child { padding-right: 0; }
.directory-language + .directory-language { border-left: 1px solid currentColor; }
.directory-language[aria-current="page"] { font-weight: 700; }
.directory-policy-actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.directory-action { display: inline-flex; align-items: center; text-decoration: none; min-height: 2.75rem; padding: .7rem 1.1rem; border: 1px solid var(--ink); color: inherit; background: transparent; font: inherit; font-size: .9rem; line-height: 1.2; letter-spacing: -.025em; cursor: pointer; }
.directory-action:hover, .directory-action:focus-visible { color: #fff; background: var(--ink); }
@keyframes directory-enter { from { transform: translateX(-100%); } to { transform: translateX(0); } }
@keyframes directory-leave { from { transform: translateX(0); } to { transform: translateX(-100%); } }

.contact-dialog { width: min(42rem, calc(100vw - 2rem)); max-width: none; padding: 0; border: 1px solid var(--ink); color: var(--ink); background: var(--cream-light); box-shadow: 0 2rem 7rem rgba(31,29,25,.3); }
.contact-dialog::backdrop { background: rgba(20,18,16,.62); backdrop-filter: blur(5px); }
.dialog-top { display: flex; align-items: center; justify-content: space-between; padding: .85rem .85rem .85rem var(--pad); border-bottom: 1px solid var(--rule); }
.dialog-top p { margin: 0; color: var(--muted); }
.dialog-close { width: 2.65rem; height: 2.65rem; padding: 0; border: 1px solid var(--rule); border-radius: 50%; background: transparent; font-size: 1.25rem; cursor: pointer; }
.dialog-close:hover, .dialog-close:focus-visible { color: white; background: var(--ink); outline: none; }
.dialog-body { padding: clamp(2.5rem, 6vw, 5rem) var(--pad); }
.dialog-body h2 { max-width: 13ch; margin: 0 0 3rem; font-size: clamp(2.5rem, 5vw, 4.8rem); font-weight: 400; line-height: 1; letter-spacing: -.04em; }
.dialog-actions { display: flex; flex-wrap: wrap; gap: .65rem; }
.dialog-action { display: inline-flex; min-height: 3.35rem; align-items: center; justify-content: center; padding: .8rem 1.2rem; border: 1px solid var(--ink); background: var(--coral); font-size: .7rem; font-weight: 400; letter-spacing: .06em; text-decoration: none; text-transform: uppercase; }
.dialog-action.secondary { background: transparent; cursor: pointer; }
.dialog-action:hover, .dialog-action:focus-visible { color: white; background: var(--ink); outline: none; }
.detail-main { overflow: clip; }
.detail-hero { border-bottom: 1px solid var(--rule); }
.detail-title { margin: 0; font-family: var(--serif); font-size: clamp(3.5rem, 8.8vw, 7.9rem); font-weight: 700; line-height: .95; letter-spacing: -.055em; text-wrap: balance; }
.project-topbar { position: fixed; z-index: 35; top: var(--safe-top); right: var(--content-gutter); left: calc(var(--sidebar) + var(--content-gutter)); display: flex; height: var(--sidebar); align-items: center; justify-content: space-between; gap: 1.5rem; padding: 0 1.35rem; border-bottom: 1px solid var(--rule); background: var(--cream); pointer-events: none; opacity: 0; transform: translateY(-100%); transition: transform 240ms ease, opacity 180ms ease; }
.project-topbar.is-visible { pointer-events: auto; opacity: 1; transform: translateY(0); }
.project-topbar-breadcrumb { display: flex; min-width: 0; align-items: center; gap: .65rem; }
.project-topbar-home { display: inline-flex; flex-shrink: 0; align-items: center; justify-content: center; padding-block: .35rem; }
.project-topbar-home svg { width: 1.1em; height: 1.1em; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.project-topbar-separator { flex-shrink: 0; }
.project-topbar-title { min-width: 0; overflow: hidden; margin: 0; font-family: var(--serif); font-size: clamp(1.3rem, 2vw, 1.75rem); font-weight: 700; line-height: 1.1; letter-spacing: -.055em; text-overflow: ellipsis; white-space: nowrap; }
.project-topbar-language { position: relative; top: auto; right: auto; min-width: 0; height: 100%; flex-shrink: 0; }
.project-topbar-language summary { height: 100%; }
.project-topbar-language .language-options { position: absolute; top: 100%; right: 0; min-width: 100%; padding: .35rem .65rem; background: var(--cream); }
.detail-cover { padding: var(--pad); border-bottom: 1px solid var(--rule); }
.detail-cover img { width: 100%; height: auto; }
.project-facts { border-bottom: 1px solid var(--rule); color: #fff; background: var(--ink); }
.facts-table { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; }
.fact-row { display: grid; min-width: 0; height: var(--sidebar); grid-template: "label value" / max-content minmax(0, 1fr); column-gap: clamp(.75rem, 1.2vw, 1.25rem); align-items: baseline; align-content: center; padding: 0 var(--pad); border-right: 1px solid rgba(255,255,255,.18); border-bottom: 1px solid rgba(255,255,255,.18); font-size: clamp(.8rem, 1.35vw, 1.3rem); line-height: 1.15; overflow-wrap: anywhere; }
.fact-row:nth-child(even) { border-right: 0; }
.fact-row:nth-last-child(-n+2) { border-bottom: 0; }
.fact-row dt, .fact-row dd { margin: 0; }
.fact-row::before, .fact-row dt { grid-area: label; }
.fact-row dd { grid-area: value; }
/* Use the widest translated label to size the label track in every row. */
.fact-row::before { content: "Título"; visibility: hidden; }
.fact-row::before, .fact-row dt, .project-nav-label { font-size: clamp(.6rem, .7vw, .7rem); font-weight: 400; letter-spacing: .08em; text-transform: uppercase; }
.project-nav-label { margin-inline-end: clamp(.75rem, 1.2vw, 1.25rem); }
.fact-row dd, .project-nav-title { font-weight: 500; letter-spacing: -.025em; }
.fact-external-arrow { display: inline-block; width: 1em; height: 1em; margin-inline-start: .3em; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; vertical-align: -.12em; }
.story-body { padding: clamp(4rem, 8vw, 8rem) var(--pad); }
.story-lead, .legal-copy h2 { margin: 0 0 var(--h2-body-gap); color: var(--ink); font-family: var(--sans); font-size: var(--h2-size); font-weight: 400; line-height: 1.08; letter-spacing: -.035em; text-align: left; break-inside: avoid; break-after: avoid; }
.story-columns p, .legal-copy p, .legal-copy li, .legal-copy dd { color: var(--body-text-color); font-family: var(--sans); font-size: var(--body-text-size); font-weight: 400; line-height: var(--body-text-leading); orphans: 3; widows: 3; }
.story-columns { column-gap: clamp(2rem, 4vw, 5rem); }
.story-section { break-inside: avoid; }
.story-columns p { margin: 0 0 var(--paragraph-gap); }
.story-columns p:last-child { margin-bottom: 0; }
.project-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: var(--pad); padding: var(--pad); border-bottom: 1px solid var(--rule); }
.project-gallery img { width: 100%; height: auto; }
.project-navigation { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); color: #fff; background: var(--ink); }
.project-navigation-single { grid-template-columns: 1fr; }
.project-nav-link { display: flex; min-width: 0; height: var(--sidebar); align-items: center; gap: clamp(.75rem, 1.2vw, 1.25rem); padding: 0 var(--pad); color: inherit; border-right: 1px solid rgba(255,255,255,.18); text-decoration: none; }
.project-nav-link:last-child { border-right: 0; }
.project-nav-next { justify-content: space-between; }
.project-nav-prev { justify-content: space-between; }
.project-nav-prev .project-nav-copy { text-align: right; }
.project-nav-prev .project-nav-label { margin-inline-end: 0; margin-inline-start: clamp(.75rem, 1.2vw, 1.25rem); }
.project-nav-copy { min-width: 0; font-size: clamp(.8rem, 1.35vw, 1.3rem); line-height: 1.15; overflow-wrap: anywhere; }
.project-nav-arrow { width: 1.3rem; height: 1.3rem; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.5; }
.project-nav-prev .project-nav-arrow { transform: rotate(180deg); }
.project-nav-link:focus-visible { outline: 2px solid #fff; outline-offset: -4px; }

.legal-copy { width: min(100%, 78ch); padding: clamp(2.5rem, 5vw, 5rem) 1.35rem clamp(4rem, 7vw, 7rem); font-size: var(--body-text-size); line-height: var(--body-text-leading); overflow-wrap: anywhere; }
.legal-copy h2 { margin-top: 3.5rem; text-wrap: balance; }
.story-columns h3, .legal-copy h3 { margin: 2.5rem 0 .85rem; font-size: 1.1em; font-weight: 500; line-height: 1.3; letter-spacing: -.025em; text-align: left; break-inside: avoid; break-after: avoid; }
.legal-copy p, .legal-copy ul, .legal-copy dl { margin: 0 0 var(--paragraph-gap); }
.legal-copy > :first-child { margin-top: 0; }
.legal-copy ul { padding-left: 1.3em; }
.legal-copy li + li { margin-top: .65rem; }
.legal-copy dt { margin-top: 1.5rem; font-weight: 500; letter-spacing: -.025em; break-inside: avoid; break-after: avoid; }
.legal-copy dd { margin: .35rem 0 var(--paragraph-gap); }
.legal-copy a:focus-visible { outline: 1px solid var(--ink); outline-offset: 3px; }

@media (min-width: 1000px) {
  .story-columns { column-count: 2; column-rule: none; }
  .legal-copy { width: 100%; column-count: 2; column-gap: clamp(2rem, 4vw, 5rem); column-rule: none; overflow-wrap: normal; }
  .story-columns p, .legal-copy p, .legal-copy li, .legal-copy dd { text-align: justify; text-align-last: left; -webkit-hyphens: auto; hyphens: auto; }
}

@media (max-width: 760px) {
  .page-breadcrumb { top: calc(var(--safe-top) + .75rem); }
  .language-switcher { top: calc(var(--safe-top) + .75rem); right: .75rem; }
  .project-topbar-language { top: auto; right: auto; }
  .directory-content { padding: 2rem 1.35rem; }
  .directory-map { grid-template-columns: 1fr; gap: 2.5rem; }
  .directory-home { margin-top: 0; }
  .directory-section-title { margin-bottom: 1.25rem; }
  .directory-projects { gap: 1.35rem; }
  .directory-languages { gap: .65em; font-size: clamp(.8rem, 2.8vw, 1rem); }
  .directory-language { padding: 0 .65em; }
  .project-grid { grid-template-columns: 1fr; }
  .fact-row { height: auto; min-height: var(--sidebar); grid-template: "label" "value" / minmax(0, 1fr); row-gap: .35rem; padding-block: .75rem; }
  .fact-row::before { content: none; }
  .project-navigation { grid-template-columns: 1fr; }
  .project-nav-link { border-right: 0; }
  .project-nav-link + .project-nav-link { border-top: 1px solid rgba(255,255,255,.18); }
  .detail-title { font-size: clamp(2rem, 7vw, 3.5rem); }
  .project-gallery { grid-template-columns: 1fr; }
  .site-footer p { padding: 0 .65rem; font-size: .75rem; }
  .footer-actions { gap: 1.2rem; padding: 0 .65rem; }
  .footer-button { font-size: .8rem; }
}

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