/*
========================================================
EVOLV THEME — MAIN CSS
Base limpia y unificada
========================================================

ÍNDICE
1. Variables y reset
2. Layout base
3. Header
4. Footer
5. Preloader
6. Cursor
7. Fullscreen menu
8. Home horizontal
9. Hero home
10. Selected works + projects
11. About
12. Journal
13. Contact
14. Archive
15. Single project
16. Utilidades
17. Responsive
========================================================
*/

/* ======================================================
   1. VARIABLES Y RESET
====================================================== */

:root {
  --bg: #051E1A;
  --panel: #051E1A;
  --panel-2: #07241F;
  --fg: #F1F4EF;
  --muted: rgba(241, 244, 239, 0.64);
  --accent: #B5FF00;
  --accent-rgb: 181, 255, 0;
  --line: rgba(var(--accent-rgb), 0.14);
  --accent-dark: #051E1A;

  --container: min(100% - 40px, 1680px);
  --header-h: 70px;
  --footer-h: 70px;
  --home-project-image-h: 75vh;
  --home-project-body-h: calc(100dvh - var(--header-h) - var(--footer-h) - var(--home-project-image-h));

  --font-main: 'DM Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: Helvetica, Arial, sans-serif;
  --arrow-horizontal: url("https://evolv.antimatter-studio.com/wp-content/uploads/2026/05/flecha-horizontal.svg");

  --type-title: clamp(52px, 6vw, 124px);
  --type-heading: clamp(38px, 4.2vw, 78px);
  --type-large: clamp(26px, 3vw, 58px);
  --type-statement: clamp(22px, 2vw, 38px);
  --type-body: 18px;
  --type-detail: 11px;
  --leading-title: 0.92;
  --leading-heading: 0.94;
  --leading-large: 1.08;
  --leading-statement: 1.26;
  --leading-body: 1.48;
}

* {
  box-sizing: border-box;
}

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

body {
  font-family: var(--font-main);
  font-size: var(--type-body);
  line-height: var(--leading-body);
  background: var(--bg);
  color: var(--fg);
  overflow-x: hidden;
}

h1,
h2,
h3 {
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
  text-wrap: balance;
}

a {
  color: inherit;
  text-decoration: none;
}

strong,
b {
  font-weight: 400;
}

img {
  display: block;
  max-width: 100%;
}

.site-main img {
  filter: grayscale(1);
  transition: filter 0.35s ease, opacity 0.35s ease, transform 0.35s ease;
}

.site-main a:hover img,
.site-main a:focus-visible img,
.site-main figure:hover img,
.about-panel__media:hover img,
.contact-panel__media:hover img {
  filter: grayscale(0);
}

.site-main .project-panel__sketch img,
.site-main .project-panel__sketch svg,
.site-main .project-showcase-card__sketch svg,
.site-main .project-sketch-grid img,
.site-main .single-project-sketch img,
.site-main .single-project-sketch svg {
  filter: none;
}

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

.container {
  width: var(--container);
  margin: 0 auto;
}

/* ======================================================
   2. LAYOUT BASE
====================================================== */

.site-main {
  min-height: 100dvh;
  padding-top: var(--header-h);
  padding-bottom: var(--footer-h);
}

#barba-wrapper {
  min-height: calc(100dvh - var(--header-h) - var(--footer-h));
}

body.is-preloading,
body.menu-open {
  overflow: hidden;
}

.kicker,
.label {
  display: inline-block;
  font-size: var(--type-detail);
  line-height: 1;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.label {
  margin-bottom: 16px;
}

.inline-link {
  display: inline-block;
  margin-top: 18px;
  font-size: var(--type-detail);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

/* ======================================================
   3. HEADER
====================================================== */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 120;
  height: var(--header-h);
  background: var(--bg);
  border: 0;
  box-shadow: none;
}

.site-header::before,
.site-header::after {
  display: none !important;
}

.site-header__inner {
  width: var(--container);
  margin: 0 auto;
  height: var(--header-h);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
}

.site-header__left,
.site-header__center,
.site-header__right {
  display: flex;
  align-items: center;
  min-width: 0;
}

.site-header__left {
  justify-content: flex-start;
}

.site-header__center {
  justify-content: flex-start;
}

.site-header__right {
  justify-content: flex-end;
}

.site-brand {
  display: flex;
  align-items: center;
}

.site-brand img {
  height: 30px;
  width: auto;
}

.site-header__meta,
.terminal-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  white-space: nowrap;
  color: var(--accent);
  font-size: var(--type-detail);
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-header__meta span,
.terminal-meta span {
  padding: 0;
  margin: 0;
  border: 0;
  background: none;
  box-shadow: none;
  color: var(--accent);
  opacity: 1;
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: auto;
  min-width: 0;
  height: auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--accent);
  cursor: pointer;
}

.menu-toggle:hover,
.menu-toggle:focus-visible,
.menu-toggle.is-open {
  color: var(--accent);
}

.menu-toggle__label {
  display: inline-block;
  color: var(--accent);
  font-size: var(--type-detail);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.menu-toggle__icon {
  display: none;
}

/* ======================================================
   4. FOOTER
====================================================== */

.site-footer {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 120;
  height: var(--footer-h);
  background: var(--bg);
  border: 0;
  box-shadow: none;
}

.site-footer::before,
.site-footer::after {
  display: none !important;
}

.site-footer__inner {
  width: var(--container);
  margin: 0 auto;
  height: var(--footer-h);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  color: var(--muted);
  font-size: var(--type-detail);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.site-footer__left {
  justify-self: start;
}

.site-footer__center {
  display: flex;
  align-items: center;
  justify-self: center;
  gap: 10px;
  text-align: center;
}

.site-footer__right {
  justify-self: end;
}

body.is-about-page .site-main {
  padding-bottom: 0;
}

body.is-about-page .site-footer {
  position: relative;
  inset: auto;
  height: auto;
  min-height: var(--footer-h);
}

body.is-single-project .site-footer {
  position: relative;
  inset: auto;
  height: auto;
  min-height: var(--footer-h);
}

body.is-single-project .site-main {
  padding-bottom: 0;
}

/* ======================================================
   5. PRELOADER
====================================================== */

.site-preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg) !important;
}

.site-preloader__solid {
  position: absolute;
  inset: 0;
  background: var(--bg) !important;
}

.site-preloader__stage {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.site-preloader__sources {
  position: absolute;
  inset: 0;
  visibility: hidden;
  pointer-events: none;
}

.site-preloader__sources img {
  width: 1px;
  height: 1px;
  position: absolute;
}

.site-preloader__gif-wrap {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 0;
  background: var(--bg) !important;
}

.site-preloader__gif {
  width: min(62vw, 760px);
  height: auto;
}

.site-preloader__hud {
  position: absolute;
  left: 30px;
  right: 30px;
  bottom: 28px;
}

.site-preloader__bar {
  height: 2px;
  background: rgba(255, 255, 255, 0.10);
  overflow: hidden;
}

.site-preloader__bar span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: 0 50%;
}

/* ======================================================
   6. CURSOR
====================================================== */

.site-cursor {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 200;
  width: 12px;
  height: 12px;
  margin: -6px 0 0 -6px;
  border-radius: 999px;
  background: var(--accent);
  pointer-events: none;
  opacity: 0;
  transition:
    opacity 0.16s ease,
    width 0.16s ease,
    height 0.16s ease,
    margin 0.16s ease,
    border-radius 0.16s ease,
    background-color 0.16s ease;
}

.site-cursor::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('/wp-content/uploads/2026/04/arrow.svg') center center / 14px 14px no-repeat;
  opacity: 0;
  transition: opacity 0.16s ease;
  filter: brightness(0) saturate(100%) invert(9%) sepia(14%) saturate(1211%) hue-rotate(124deg) brightness(93%) contrast(97%);
}

.site-cursor.is-visible {
  opacity: 1;
}

.site-cursor.is-active,
.site-cursor.is-link {
  width: 42px;
  height: 42px;
  margin: -21px 0 0 -21px;
  border-radius: 999px;
  background: var(--accent);
}

.site-cursor.is-active::before,
.site-cursor.is-link::before {
  opacity: 1;
}

.site-cursor.is-image {
  width: 54px;
  height: 54px;
  margin: -27px 0 0 -27px;
  background: var(--accent);
}

.site-cursor.is-image::before {
  content: '+';
  display: grid;
  place-items: center;
  background: none;
  color: var(--accent-dark);
  font-family: var(--font-display);
  font-size: var(--type-large);
  font-weight: 400;
  line-height: 1;
  opacity: 1;
  filter: none;
  transform: translateY(-0.04em);
}

.site-cursor.is-discover {
  width: 54px;
  height: 54px;
  margin: -27px 0 0 -27px;
  background: var(--accent);
}

.site-cursor.is-discover::before {
  content: "";
  display: block;
  inset: 50% auto auto 50%;
  opacity: 1;
  width: 28px;
  height: 18px;
  background: var(--accent-dark);
  -webkit-mask: var(--arrow-horizontal) center / contain no-repeat;
  mask: var(--arrow-horizontal) center / contain no-repeat;
  filter: none;
  transform: translate(-50%, -50%);
}

.split-word,
.split-char,
.split-char-word,
.reveal-word {
  display: inline-block;
}

.split-char-word {
  white-space: nowrap;
}

.reveal-word {
  color: rgba(241, 244, 239, 0.24);
  opacity: 0.38;
}

.reveal-word.is-lit {
  color: var(--fg);
  opacity: 1;
}

/* ======================================================
   7. FULLSCREEN MENU
====================================================== */

.fullscreen-menu {
  position: fixed;
  inset: 0;
  z-index: 180;
  background: transparent;
}

.fullscreen-menu__panel {
  position: absolute;
  inset: 0;
  background: var(--bg);
  transition: background-color 0.28s ease;
}

.fullscreen-menu__inner {
  position: relative;
  min-height: 100dvh;
  height: 100dvh;
  padding: 0;
  background: transparent;
}

.fullscreen-menu__close {
  position: absolute;
  top: 24px;
  right: 24px;
  z-index: 10;
  border: 0;
  background: transparent;
  color: var(--fg);
  font-size: var(--type-detail);
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.22s ease;
}

.fullscreen-menu__grid {
  width: 100%;
  height: 100%;
  min-height: 100%;
  display: block;
}

.fullscreen-menu__nav {
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  width: 100%;
  height: 100%;
  padding: 0 28px 28px;
}

.fullscreen-menu__list {
  list-style: none;
  margin: 0;
  padding: 0;
  width: min(100%, 1100px);
  display: grid;
  gap: 2px;
}

.fullscreen-menu__list li {
  list-style: none;
}

.fullscreen-menu__list a {
  display: flex;
  align-items: baseline;
  gap: 16px;
  width: fit-content;
  max-width: calc(100vw - 56px);
  padding: 6px 0;
  background: transparent !important;
  color: rgba(238, 243, 238, 0.34) !important;
  font-family: var(--font-display);
  font-size: var(--type-title);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: 0;
  text-transform: uppercase;
  text-shadow: none !important;
  transform: none !important;
  transition: color 0.22s ease, transform 0.22s ease;
}

.fullscreen-menu__index {
  display: block;
  min-width: 24px;
  font-size: var(--type-detail);
  letter-spacing: 0.18em;
  color: rgba(238, 243, 238, 0.36);
  transform: translateY(-0.2em);
  transition: color 0.22s ease;
}

.fullscreen-menu__text {
  display: block;
  max-width: none;
  font-weight: 400;
  overflow: visible;
  position: relative;
}

.menu-label {
  display: inline-block;
  color: inherit !important;
  opacity: 1 !important;
  transition: color 0.22s ease, opacity 0.22s ease;
}

.menu-marquee,
.fullscreen-menu__preview,
.fullscreen-menu__meta {
  display: none !important;
}

/* fondo verde en hover global */
.fullscreen-menu.is-hovering .fullscreen-menu__panel {
  background: var(--accent);
}

.fullscreen-menu.is-hovering .fullscreen-menu__close {
  color: var(--accent-dark);
}

.fullscreen-menu.is-hovering .fullscreen-menu__list a {
  color: rgba(5, 30, 26, 0.24) !important;
}

.fullscreen-menu.is-hovering .fullscreen-menu__index {
  color: rgba(5, 30, 26, 0.24) !important;
}

.fullscreen-menu__list a:hover,
.fullscreen-menu__list a:focus-visible,
.fullscreen-menu__list a.is-active {
  color: var(--accent) !important;
  transform: none !important;
}

.fullscreen-menu__list a:hover .menu-label,
.fullscreen-menu__list a:focus-visible .menu-label,
.fullscreen-menu__list a.is-active .menu-label,
.fullscreen-menu__list a:hover .fullscreen-menu__index,
.fullscreen-menu__list a:focus-visible .fullscreen-menu__index,
.fullscreen-menu__list a.is-active .fullscreen-menu__index {
  color: var(--accent) !important;
}

/* cuando el fondo ya es verde */
.fullscreen-menu.is-hovering .fullscreen-menu__list a:hover,
.fullscreen-menu.is-hovering .fullscreen-menu__list a:focus-visible,
.fullscreen-menu.is-hovering .fullscreen-menu__list a.is-active {
  color: var(--accent-dark) !important;
}

.fullscreen-menu.is-hovering .fullscreen-menu__list a:hover .menu-label,
.fullscreen-menu.is-hovering .fullscreen-menu__list a:focus-visible .menu-label,
.fullscreen-menu.is-hovering .fullscreen-menu__list a.is-active .menu-label,
.fullscreen-menu.is-hovering .fullscreen-menu__list a:hover .fullscreen-menu__index,
.fullscreen-menu.is-hovering .fullscreen-menu__list a:focus-visible .fullscreen-menu__index,
.fullscreen-menu.is-hovering .fullscreen-menu__list a.is-active .fullscreen-menu__index {
  color: var(--accent-dark) !important;
}

/* ======================================================
   8. HOME HORIZONTAL
====================================================== */

.home-horizontal {
  position: relative;
  height: calc(100dvh - var(--header-h) - var(--footer-h));
  overflow: hidden;
  background: var(--bg);
}

.home-horizontal__progress {
  display: none !important;
}

.home-horizontal__track {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 0;
  width: max-content;
  height: 100%;
  will-change: transform;
}

.rail-panel {
  position: relative;
  width: 100vw;
  min-width: 100vw;
  height: 100%;
  background: var(--panel);
  border-right: 1px solid var(--line);
}

.rail-panel--statement,
.rail-panel--about,
.rail-panel--contact {
  width: 100vw;
  min-width: 100vw;
  background: var(--bg);
}

.rail-panel__inner {
  height: 100%;
  padding: 28px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  align-content: start;
}

.rail-panel__inner h2 {
  margin: 0;
  font-size: var(--type-heading);
  line-height: var(--leading-heading);
  letter-spacing: 0;
  text-transform: none;
  max-width: 10ch;
}

.rail-panel__inner p {
  margin: 18px 0 0;
  width: 100%;
  max-width: none;
  font-size: var(--type-body);
  line-height: 1.42;
  color: var(--muted);
}

/* ======================================================
   9. HERO HOME
====================================================== */

.home-hero {
  background: var(--bg);
  position: relative;
  overflow: hidden;
}

.home-hero__grid {
  position: relative;
  display: block;
  height: 100%;
  min-height: 100%;
}

.home-hero__copy {
  position: absolute;
  left: calc((100vw - var(--container)) / 2);
  bottom: clamp(28px, 6vh, 86px);
  z-index: 2;
  width: min(62vw, 1040px);
  max-width: calc(100vw - 48px);
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  background: none;
}

.home-hero__copy h1 {
  margin: 0;
  font-size: var(--type-title);
  font-weight: 400;
  line-height: var(--leading-title);
  letter-spacing: 0;
  text-transform: uppercase;
  max-width: 15ch;
}

.home-hero__copy p {
  width: 100%;
  max-width: 48ch;
  margin-top: 22px;
  font-size: var(--type-body);
  font-weight: 400;
  line-height: var(--leading-body);
  color: var(--muted);
}

.home-hero__media {
  position: absolute;
  inset: 0;
  width: 100%;
  min-height: 0;
  height: auto;
  overflow: hidden;
  background: var(--panel-2);
  margin-right: 0;
}

.home-hero__media img,
.home-hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.home-hero__media img {
  opacity: 0;
  transition: opacity 0.5s ease;
}

.home-hero__media img.is-active {
  opacity: 0.58;
}

.home-hero__video {
  opacity: 0.58;
}

.home-hero__media-mask {
  position: absolute;
  inset: 0;
  background: rgba(5, 30, 26, 0.30);
  pointer-events: none;
}

/* ======================================================
   10. SELECTED WORKS + PROJECTS
====================================================== */

.rail-panel--selected-works {
  width: 120px;
  min-width: 120px;
  max-width: 120px;
  background: var(--bg);
  border-right: 1px solid var(--line);
  overflow: hidden;
  position: relative;
}

.selected-works-panel {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.selected-works-panel__rotate {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 100vh;
  transform: translate(-50%, -50%) rotate(-90deg);
  transform-origin: center center;
  overflow: hidden;
}

.selected-works-marquee {
  display: flex;
  align-items: center;
  width: max-content;
  white-space: nowrap;
  animation: selectedWorksMarquee 26s linear infinite;
  will-change: transform;
}

.selected-works-marquee__track {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

.selected-works-marquee__track span {
  display: inline-block;
  font-size: var(--type-title);
  line-height: 0.82;
  letter-spacing: 0;
  font-weight: 400;
  text-transform: uppercase;
  color: var(--fg);
}

.selected-works-marquee__track .dot {
  margin: 0 0.22em;
  color: var(--accent);
}

@keyframes selectedWorksMarquee {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-50%, 0, 0);
  }
}

.rail-panel--project {
  width: 100vw;
  min-width: 100vw;
  background: var(--bg);
}

.project-panel {
  height: 100%;
  display: grid;
  grid-template-columns: minmax(0, 40%) minmax(0, 60%);
  gap: 0;
  align-items: stretch;
  padding: 0;
  background: var(--bg);
}

.project-panel__primary {
  min-width: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 0 24px 0 28px;
}

.project-panel__media {
  display: block;
  flex: 0 0 var(--home-project-image-h);
  width: 100%;
  height: var(--home-project-image-h);
  min-height: 0;
  margin: 0;
  overflow: hidden;
  background: var(--panel-2);
}

.project-panel__body {
  flex: 0 0 var(--home-project-body-h);
  height: var(--home-project-body-h);
  min-height: 0;
  padding: 14px 0 12px;
  border: 0;
  background: transparent;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto auto;
  column-gap: 18px;
  row-gap: 7px;
  align-content: center;
  align-items: end;
  color: var(--fg);
  overflow: hidden;
}

.project-panel__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: grayscale(1);
}

.project-panel:hover .project-panel__media img,
.project-panel:focus-within .project-panel__media img {
  filter: grayscale(0);
}

.project-panel__body h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--type-large);
  font-weight: 400;
  line-height: 0.96;
  letter-spacing: 0;
  text-transform: none;
  color: var(--fg);
  opacity: 1;
  visibility: visible;
  grid-column: 1;
  grid-row: 1;
}

.project-panel__meta,
.archive-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin: 0;
  font-size: var(--type-detail);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.project-panel__meta {
  grid-column: 1;
  grid-row: 2;
}

.project-panel__body p {
  display: none;
}

.project-panel__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: end;
  white-space: nowrap;
  margin-top: 0;
  font-size: var(--type-detail);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 400;
}

.project-panel__link::after {
  content: "↗";
  display: inline-block;
  font-size: var(--type-detail);
  line-height: 1;
}

.project-panel__sketch {
  min-width: 0;
  min-height: 100%;
  display: grid;
  place-items: center;
  padding: 4vh 4vw;
  border: 0;
}

.project-panel__sketch img {
  width: 100%;
  max-width: 920px;
  max-height: 82%;
  object-fit: contain;
  opacity: 0.3;
}

.project-panel__sketch svg,
.project-showcase-card__sketch svg,
.single-project-sketch svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.project-panel__sketch svg,
.project-panel__sketch-image,
.project-showcase-card__sketch svg,
.project-showcase-card__sketch-image,
.single-project-sketch .single-project-sketch__svg,
.single-project-sketch__image {
  opacity: 0.3;
}

.single-project-sketch svg *,
.single-project-sketch__image {
  animation: none !important;
  transition: none !important;
  stroke-dasharray: none !important;
  stroke-dashoffset: 0 !important;
}

.single-project-sketch svg * {
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.project-panel__sketch svg,
.project-panel__sketch svg *,
.project-showcase-card__sketch svg,
.project-showcase-card__sketch svg *,
.single-project-sketch svg,
.single-project-sketch svg * {
  animation: none !important;
  transition: none !important;
}

.single-project-sketch animate,
.single-project-sketch animateMotion,
.single-project-sketch animateTransform,
.single-project-sketch set {
  display: none !important;
}

.project-panel__sketch svg *,
.project-showcase-card__sketch svg *,
.single-project-sketch svg * {
  fill: var(--accent) !important;
  stroke: var(--accent) !important;
}

.project-panel__sketch-image,
.project-showcase-card__sketch-image,
.single-project-sketch__image {
  filter: brightness(0) saturate(100%) invert(88%) sepia(80%) saturate(1960%) hue-rotate(28deg) brightness(108%) contrast(109%) !important;
}

.project-panel__sketch--placeholder {
  margin: 0;
  background: none;
}

.project-panel__sketch--placeholder span {
  color: var(--accent);
  font-family: var(--font-display);
  font-size: var(--type-title);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
}

/* ======================================================
   11. ABOUT
====================================================== */

.rail-panel--about {
  width: 100vw;
  min-width: 100vw;
  background: var(--bg);
}

.about-panel {
  height: 100%;
  display: grid;
  grid-template-columns: 32% 1fr;
  gap: 24px;
  padding: 0 28px;
}

.about-panel__copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 0 28px;
}

.about-panel__copy h2 {
  margin: 0 0 18px;
  width: 100%;
  max-width: none;
  font-family: var(--font-display);
  font-size: var(--type-heading);
  font-weight: 400;
  line-height: var(--leading-heading);
  letter-spacing: 0;
  text-transform: none;
}

.about-panel__copy p {
  width: 100%;
  max-width: none;
  font-size: var(--type-body);
  line-height: 1.45;
  color: var(--muted);
  margin: 0;
}

.about-panel__media {
  height: 100%;
  min-height: 100%;
  overflow: hidden;
  background: var(--panel-2);
}

.about-panel__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

/* ======================================================
   12. JOURNAL
====================================================== */

.home-journal-layout {
  height: 100%;
  display: grid;
  grid-template-columns: 28vw 1fr 1fr;
  gap: 24px;
  padding: 0 28px;
}

.home-journal-intro {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0 12px 0 0;
}

.home-journal-intro h2 {
  margin: 0 0 14px;
  font-size: var(--type-heading);
  line-height: var(--leading-heading);
  letter-spacing: 0;
  max-width: 8ch;
  text-transform: none;
}

.home-journal-intro p {
  width: 100%;
  max-width: none;
  font-size: var(--type-body);
  line-height: 1.42;
  color: var(--muted);
}

.home-journal-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  grid-column: 2 / 4;
}

.home-journal-column {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 20px;
}

.journal-card {
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.journal-card a {
  display: grid;
  grid-template-rows: 190px auto;
  gap: 12px;
  height: 100%;
}

.journal-card__media {
  width: 100%;
  height: 190px;
  overflow: hidden;
  background: var(--panel-2);
}

.journal-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.journal-card__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.journal-card__body h3 {
  margin: 0;
  font-size: var(--type-large);
  line-height: 0.98;
  letter-spacing: 0;
  text-transform: none;
}

.journal-card__body p {
  margin: 0;
  color: var(--muted);
  font-size: var(--type-body);
  line-height: 1.34;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.journal-card__more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
  font-size: var(--type-detail);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.journal-card__more::after {
  content: "↗";
  display: inline-block;
  font-size: var(--type-detail);
  line-height: 1;
}

.home-journal-more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  font-size: var(--type-detail);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.home-journal-more::after {
  content: "↗";
}

/* ======================================================
   13. CONTACT
====================================================== */

.contact-panel {
  height: 100%;
  display: grid;
  grid-template-columns: 36vw 1fr;
  gap: 24px;
  padding: 0 28px;
}

.contact-panel__copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 0 28px;
}

.contact-panel__copy h2 {
  margin: 0 0 14px;
  width: 100%;
  max-width: none;
  font-family: var(--font-display);
  font-size: var(--type-heading);
  font-weight: 400;
  line-height: var(--leading-heading);
  letter-spacing: 0;
  text-transform: none;
}

.contact-panel__copy p {
  width: 100%;
  max-width: none;
  color: var(--muted);
  font-size: var(--type-body);
  line-height: 1.45;
}

.contact-panel__media {
  min-height: 100%;
  height: 100%;
  overflow: hidden;
  background: var(--panel-2);
}

.contact-panel__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.contact-page-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 72px);
  align-items: stretch;
  min-height: calc(100dvh - var(--header-h) - var(--footer-h));
  padding-top: 0;
  padding-bottom: 0;
}

.page-shell--contact {
  min-height: calc(100dvh - var(--header-h) - var(--footer-h));
  padding: 0;
}

.contact-page-layout__copy {
  display: grid;
  grid-template-rows: 1fr auto;
  gap: clamp(24px, 4vh, 44px);
  align-self: stretch;
  min-height: 0;
}

.contact-page-layout__intro {
  align-self: start;
}

.contact-page-layout__copy h2 {
  margin: 0 0 clamp(18px, 3vh, 32px);
  font-family: var(--font-display);
  font-size: var(--type-heading);
  font-weight: 400;
  line-height: var(--leading-heading);
  letter-spacing: 0;
  text-transform: none;
}

.contact-page-layout__copy p,
.contact-details-grid p {
  margin: 0;
  color: var(--muted);
  font-size: var(--type-body);
  line-height: 1.45;
}

.contact-page-layout__copy a {
  color: var(--accent);
}

.contact-form-wrap {
  align-self: center;
  border-top: 1px solid var(--line);
  padding-top: 8px;
}

.contact-form {
  display: grid;
  gap: 0;
}

.contact-form label {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.contact-form label span {
  padding-top: 14px;
  color: var(--muted);
  font-size: var(--type-detail);
  line-height: 1;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 0;
  border-radius: 0;
  outline: 0;
  background: rgba(241, 244, 239, 0.06);
  color: var(--fg);
  padding: 14px 16px;
  font-size: var(--type-body);
  line-height: 1.45;
}

.contact-form textarea {
  resize: vertical;
  min-height: clamp(150px, 22vh, 240px);
}

.contact-form input:focus,
.contact-form textarea:focus {
  background: rgba(241, 244, 239, 0.10);
  box-shadow: inset 0 0 0 1px var(--accent);
}

.contact-form button {
  justify-self: start;
  margin-top: 22px;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: var(--accent-dark);
  padding: 13px 18px;
  font-size: var(--type-detail);
  line-height: 1;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
}

.contact-form-message {
  margin: 0 0 18px;
  padding: 14px 16px;
  color: var(--fg);
  border: 1px solid var(--line);
}

.contact-form-message--success {
  border-color: var(--accent);
}

.contact-form-message--error {
  border-color: rgba(255, 80, 80, 0.5);
}

/* ======================================================
   14. ARCHIVE
====================================================== */

.page-shell {
  padding-top: calc(var(--header-h) + 30px);
  padding-bottom: 70px;
}

.page-head {
  display: grid;
  gap: 18px;
  padding-bottom: 26px;
}

.page-head h1 {
  margin: 0;
  font-size: var(--type-title);
  line-height: 0.88;
  letter-spacing: 0;
  text-transform: none;
}

.project-showcase {
  height: calc(100dvh - var(--header-h) - var(--footer-h));
  overflow: hidden;
  background: var(--bg);
}

.project-showcase__track {
  display: flex;
  align-items: stretch;
  width: max-content;
  height: 100%;
  will-change: transform;
}

.project-showcase__intro {
  width: clamp(280px, 24vw, 420px);
  min-width: clamp(280px, 24vw, 420px);
  height: 100%;
  padding: 28px;
  border-right: 1px solid var(--line);
  display: grid;
  grid-template-rows: auto 1fr auto;
  align-items: start;
  background: var(--bg);
}

.project-showcase__intro .kicker {
  color: var(--accent);
}

.project-showcase__intro strong {
  align-self: center;
  color: var(--accent);
  font-family: var(--font-display);
  font-size: var(--type-title);
  font-weight: 400;
  line-height: 0.82;
  letter-spacing: 0;
}

.project-showcase__intro p {
  margin: 0;
  color: var(--muted);
  font-size: var(--type-body);
  line-height: 1.42;
}

.project-showcase-card {
  --card-w: 80vw;
  width: var(--card-w);
  min-width: var(--card-w);
  height: 100%;
  padding: 0 18px;
  border-right: 1px solid var(--line);
  background: var(--bg);
}

.project-showcase-card__link {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: var(--panel-2);
  transition: transform 0.5s ease, opacity 0.5s ease;
}

.project-showcase-card__media {
  position: absolute;
  inset: 0;
  margin: 0;
}

.project-showcase-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: grayscale(1);
  transform: scale(1.01);
  transition: filter 0.45s ease, transform 0.8s cubic-bezier(0.19, 1, 0.22, 1);
}

.project-showcase-card__link::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(5, 30, 26, 0.02) 0%, rgba(5, 30, 26, 0.18) 46%, rgba(5, 30, 26, 0.78) 100%),
    linear-gradient(90deg, rgba(5, 30, 26, 0.62) 0%, rgba(5, 30, 26, 0.08) 54%);
  pointer-events: none;
}

.project-showcase-card__link:hover .project-showcase-card__media img,
.project-showcase-card__link:focus-visible .project-showcase-card__media img {
  filter: grayscale(0);
  transform: scale(1.04);
}

.project-showcase-card__sketch {
  position: absolute;
  top: 8%;
  right: 5%;
  z-index: 2;
  width: min(40%, 420px);
  height: 44%;
  display: grid;
  place-items: center;
  opacity: 0.52;
  pointer-events: none;
}

.project-showcase-card__sketch img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: none;
}

.project-showcase-card__content {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 20px;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: end;
  text-align: left;
}

.project-showcase-card__index {
  color: var(--accent);
  font-size: var(--type-detail);
  letter-spacing: 0.14em;
  line-height: 1;
  transform: translateY(-0.34em);
}

.project-showcase-card__title {
  min-width: 0;
  text-align: left;
}

.project-showcase-card__title h2 {
  margin: 0;
  max-width: 100%;
  color: var(--fg);
  font-family: var(--font-display);
  font-size: var(--type-heading);
  font-weight: 400;
  line-height: var(--leading-heading);
  letter-spacing: 0;
  text-align: left;
  text-transform: none;
}

.project-showcase-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-top: 12px;
  color: rgba(241, 244, 239, 0.72);
  font-size: var(--type-detail);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  justify-content: flex-start;
}

.project-showcase-card__cta {
  color: var(--accent);
  font-size: var(--type-detail);
  letter-spacing: 0.14em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.project-showcase-card__cta::after {
  content: "↗";
  margin-left: 9px;
  font-size: var(--type-detail);
}

.project-showcase__empty {
  min-width: 60vw;
  display: grid;
  place-items: center;
  color: var(--muted);
}

/* ======================================================
   15. ABOUT PAGE
====================================================== */

.about-page {
  background: var(--bg);
}

.about-page section {
  position: relative;
}

.about-visual-hero {
  min-height: 420px;
  height: 60vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  background-color: var(--panel-2);
  background-position: center center;
  background-size: cover;
}

.about-visual-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(5, 30, 26, 0.12) 0%, rgba(5, 30, 26, 0.48) 54%, var(--bg) 100%),
    linear-gradient(90deg, rgba(5, 30, 26, 0.22) 0%, rgba(5, 30, 26, 0.04) 52%, rgba(5, 30, 26, 0.22) 100%);
}

.about-intro {
  min-height: calc(100dvh - var(--header-h) - var(--footer-h) - 60vh);
  display: grid;
  grid-template-columns: minmax(320px, 34%) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 84px);
  align-items: start;
  padding-top: clamp(34px, 6vh, 82px);
  padding-bottom: clamp(42px, 7vh, 96px);
}

.about-intro__copy {
  display: grid;
  gap: 22px;
  align-self: start;
  position: sticky;
  top: calc(var(--header-h) + 24px);
}

.about-intro__copy h1 {
  margin: 0;
  color: var(--accent);
  font-family: var(--font-display);
  font-size: var(--type-title);
  font-weight: 400;
  line-height: var(--leading-title);
  letter-spacing: 0;
  text-transform: none;
  overflow: visible;
  padding: 0.06em 0 0.08em;
}

.about-intro__statement p {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--type-statement);
  font-weight: 400;
  line-height: var(--leading-statement);
  letter-spacing: 0;
  color: var(--fg);
  text-transform: none;
}

.about-media-band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.about-media-band__inner {
  display: grid;
  grid-template-columns: minmax(320px, 46%) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 84px);
  align-items: stretch;
  min-height: 78vh;
  padding-top: clamp(28px, 5vh, 70px);
  padding-bottom: clamp(28px, 5vh, 70px);
}

.about-media-band__image {
  margin: 0;
  min-height: 520px;
  overflow: hidden;
  background: var(--panel-2);
}

.about-media-band__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.about-media-band__copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 18px;
}

.about-media-band__copy h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--type-heading);
  font-weight: 400;
  line-height: var(--leading-heading);
  letter-spacing: 0;
  text-transform: none;
}

.about-media-band__copy p {
  margin: 8px 0 0;
  width: 100%;
  max-width: none;
  color: var(--muted);
  font-size: var(--type-body);
  line-height: var(--leading-body);
}

.about-metrics {
  width: 100% !important;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.about-metric {
  min-height: clamp(280px, 34vh, 430px);
  display: grid;
  align-content: end;
  gap: 20px;
  padding: clamp(36px, 4vw, 72px);
  border-right: 1px solid var(--line);
}

.about-metric:last-child {
  border-right: 0;
}

.about-metric strong {
  display: block;
  color: var(--accent) !important;
  font-family: var(--font-display);
  font-size: var(--type-title) !important;
  font-weight: 400;
  line-height: var(--leading-title);
  letter-spacing: 0;
  text-transform: uppercase;
}

.about-metric strong .split-char-word,
.about-metric strong .split-char,
.about-metric strong .split-word {
  color: var(--accent) !important;
  font-size: inherit !important;
  line-height: inherit;
}

.about-metric span {
  max-width: 18ch;
  color: var(--muted);
  font-size: var(--type-detail);
  line-height: 1.35;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.about-principles {
  width: 100% !important;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-bottom: 1px solid var(--line);
}

.about-principle {
  min-height: 360px;
  display: grid;
  align-content: start;
  gap: clamp(22px, 3vw, 38px);
  padding: clamp(36px, 4vw, 72px);
  border-right: 1px solid var(--line);
}

.about-principle:last-child {
  border-right: 0;
}

.about-principle h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--type-large);
  font-weight: 400;
  line-height: var(--leading-large);
  letter-spacing: 0;
  text-transform: none;
}

.about-principle p {
  margin: 0;
  color: var(--muted);
  font-size: var(--type-body);
  line-height: var(--leading-body);
}

.about-team {
  width: var(--container) !important;
  display: grid;
  grid-template-columns: minmax(320px, 46%) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 84px);
  padding-top: clamp(42px, 7vh, 96px);
  padding-bottom: clamp(42px, 7vh, 96px);
  margin-left: auto;
  margin-right: auto;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.about-team::before,
.about-team::after {
  content: '';
  position: absolute;
  left: calc((100vw - var(--container)) / -2);
  right: calc((100vw - var(--container)) / -2);
  height: 1px;
  background: var(--line);
  pointer-events: none;
}

.about-team::before {
  top: -1px;
}

.about-team::after {
  bottom: -1px;
}

.about-team__head {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  align-self: start;
  display: grid;
  gap: 18px;
}

.about-team__head h2 {
  margin: 0;
  color: var(--accent);
  font-family: var(--font-display);
  font-size: var(--type-heading);
  font-weight: 400;
  line-height: var(--leading-heading);
  letter-spacing: 0;
  text-transform: none;
}

.about-team__list {
  display: grid;
  gap: 0;
}

.about-team-card {
  display: grid;
  grid-template-columns: minmax(220px, 34%) minmax(0, 1fr);
  gap: clamp(22px, 3vw, 44px);
  align-items: end;
  padding: 26px 0;
  border-top: 1px solid var(--line);
}

.about-team-card:last-child {
  border-bottom: 1px solid var(--line);
}

.about-team-card__portrait {
  margin: 0;
  aspect-ratio: 3 / 4;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--panel-2);
}

.about-team-card__portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.about-team-card__portrait span {
  color: var(--accent);
  font-size: var(--type-detail);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.about-team-card__body {
  display: grid;
  gap: 14px;
}

.about-team-card__body h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--type-large);
  font-weight: 400;
  line-height: var(--leading-large);
  letter-spacing: 0;
  text-transform: none;
}

.about-team-card__role {
  color: var(--accent);
  font-size: var(--type-detail);
  letter-spacing: 0.14em;
  line-height: 1;
  text-transform: uppercase;
}

.about-cta {
  min-height: 100vh;
  display: grid;
  align-items: stretch;
  overflow: hidden;
  background: var(--bg);
  border-top: 1px solid var(--line);
}

.about-cta__model,
.about-cta__shade,
.about-cta__content {
  grid-area: 1 / 1;
}

.about-cta__model {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.72;
}

.about-cta__model canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.about-cta__shade {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 48%, rgba(var(--accent-rgb), 0.13) 0%, rgba(var(--accent-rgb), 0.035) 28%, transparent 52%),
    linear-gradient(180deg, rgba(5, 30, 26, 0.38) 0%, rgba(5, 30, 26, 0.04) 45%, rgba(5, 30, 26, 0.72) 100%);
}

.about-cta__content {
  position: relative;
  z-index: 3;
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  align-items: start;
  padding-top: clamp(34px, 6vh, 82px);
  padding-bottom: clamp(42px, 7vh, 96px);
}

.about-cta__text {
  display: grid;
  gap: 16px;
  width: min(100%, 760px);
}

.about-cta__text p {
  margin: 0;
  color: var(--fg);
  font-family: var(--font-display);
  font-size: var(--type-large);
  line-height: var(--leading-large);
  letter-spacing: 0;
}

.about-cta a {
  align-self: end;
  justify-self: start;
  margin: 0;
  color: var(--accent);
  font-family: var(--font-display);
  font-size: var(--type-title);
  font-weight: 400;
  line-height: var(--leading-title);
  letter-spacing: 0;
  text-transform: none;
}

.about-cta a::after {
  content: "";
  display: inline-block;
  width: 0.7em;
  height: 0.7em;
  margin-left: 0.18em;
  background: currentColor;
  -webkit-mask: var(--arrow-horizontal) center / contain no-repeat;
  mask: var(--arrow-horizontal) center / contain no-repeat;
}

/* ======================================================
   16. SINGLE PROJECT
====================================================== */

body.single-project .site-main {
  padding-top: 0;
  padding-bottom: 0;
}

body.single-project .site-footer {
  position: relative;
  inset: auto;
  height: auto;
  min-height: var(--footer-h);
}

.single-project-shell {
  position: relative;
  background: var(--bg);
}

.single-project-hero {
  position: relative;
  min-height: 100vh;
  height: 100vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.single-project-hero__media {
  position: absolute;
  inset: 0;
}

.single-project-hero__media a {
  display: block;
  width: 100%;
  height: 100%;
}

.single-project-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.single-project-hero__media::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.10) 0%,
    rgba(0, 0, 0, 0.22) 45%,
    rgba(0, 0, 0, 0.55) 100%
  );
}

.single-project-hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0 calc((100vw - var(--container)) / 2) 34px;
}

.single-project-hero__content h1 {
  margin: 0;
  width: 100%;
  max-width: none;
  font-family: var(--font-display);
  font-size: var(--type-title);
  font-weight: 400;
  line-height: 0.88;
  letter-spacing: 0;
  text-transform: none;
  color: var(--fg);
}

/* INFO SECTION */

.single-project-info {
  padding-top: 42px;
  padding-bottom: 56px;
}

.single-project-info__grid {
  display: grid;
  grid-template-columns: minmax(260px, 3fr) minmax(0, 7fr);
  gap: 40px;
  align-items: start;
}

.single-project-info__title-col {
  position: relative;
  align-self: start;
}

.single-project-info__title-sticky {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  align-self: start;
}

.single-project-info__title-sticky .kicker {
  display: inline-block;
  margin-bottom: 14px;
}

.single-project-info__title-sticky h2 {
  margin: 0;
  max-width: 100%;
  font-family: var(--font-display);
  font-size: var(--type-heading);
  font-weight: 400;
  line-height: var(--leading-heading);
  letter-spacing: 0;
  color: var(--fg);
  text-transform: none;
  transition: color 0.28s ease;
}

.single-project-info__title-sticky.is-active h2 {
  color: var(--accent);
}

.single-project-info__content-col {
  display: grid;
  gap: 0;
}


.single-project-info__block {
  border-top: 1px solid var(--line);
  padding: 20px 0 22px;
}

.single-project-info__block:last-child {
  border-bottom: 1px solid var(--line);
}

.single-project-info__row {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.single-project-info__heading {
  display: inline-block;
  font-size: var(--type-detail);
  line-height: 1;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 4px;
}

.single-project-info__value {
  min-width: 0;
}

.single-project-info__intro {
  margin: 0;
  width: 100%;
  max-width: none;
  font-family: var(--font-display);
  font-size: var(--type-statement);
  font-weight: 400;
  line-height: var(--leading-statement);
  letter-spacing: 0;
  color: var(--fg);
  text-transform: none;
}

.single-project-detail {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 16px;
  align-items: center;
  min-height: 42px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(var(--accent-rgb), 0.08);
}

.single-project-detail:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.single-project-detail__label {
  font-size: var(--type-detail);
  line-height: 1.2;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.single-project-detail__text {
  font-size: var(--type-body);
  line-height: 1.45;
  color: var(--fg);
}

.single-project-richtext,
.single-project-richtext p,
.single-project-richtext li {
  font-size: var(--type-body);
  line-height: var(--leading-body);
  color: var(--muted);
}

.single-project-richtext p:first-child {
  margin-top: 0;
}

.single-project-richtext p:last-child {
  margin-bottom: 0;
}

.single-project-quote {
  margin: 0;
  padding: 0;
  border: 0;
  width: 100%;
  max-width: none;
  font-family: var(--font-display);
  font-size: var(--type-statement) !important;
  font-style: italic;
  line-height: var(--leading-statement) !important;
  letter-spacing: 0;
  color: var(--fg);
}

.single-project-quote .reveal-word {
  font-size: inherit !important;
  line-height: inherit !important;
}

.single-project-quote::before,
.single-project-quote::after {
  display: inline;
  font-size: inherit;
  line-height: inherit;
}

.single-project-quote::before {
  content: '"';
}

.single-project-quote::after {
  content: '"';
}

.single-project-info__block--sketch {
  padding-top: 26px;
  padding-bottom: 30px;
}

.single-project-sketch {
  display: grid;
  place-items: center;
  width: 100%;
  min-height: clamp(320px, 46vw, 680px);
  padding: clamp(24px, 4vw, 58px);
  border: 0;
  background: none;
  overflow: hidden;
}

.single-project-sketch .single-project-sketch__svg,
.single-project-sketch__image {
  width: 100%;
  max-width: 980px;
  height: auto;
  max-height: 560px;
  object-fit: contain;
}

.single-project-credits {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.single-project-credit-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 44px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: var(--type-detail);
  line-height: 1.2;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 400;
}

.single-project-credit-link::after {
  content: "↗";
  flex: 0 0 auto;
  font-size: var(--type-detail);
  line-height: 1;
}

.single-project-credit-link--static {
  color: var(--muted);
}

.single-project-credit-link--static::after {
  content: "";
}
.single-project-shell,
.single-project-info,
.single-project-info__grid,
.single-project-info__title-col,
.single-project-info__content-col {
  overflow: visible;
}

.single-project-info__content-col {
  min-width: 0;
}
/* GALLERY */

.single-project-gallery {
  padding-bottom: 70px;
}

.project-gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.project-gallery-grid figure {
  margin: 0;
  min-height: 520px;
  overflow: hidden;
  background: var(--panel-2);
}

.project-gallery-grid a,
.project-sketch-grid a {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  cursor: zoom-in;
}

.project-gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.single-project-sketches {
  padding-bottom: 70px;
}

.single-project-section-head {
  display: grid;
  gap: 14px;
  margin-bottom: 24px;
}

.single-project-section-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--type-heading);
  font-weight: 400;
  line-height: var(--leading-heading);
  letter-spacing: 0;
}

.project-sketch-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  border-top: 1px solid var(--line);
  padding-top: 22px;
}

.project-sketch-grid figure {
  margin: 0;
  min-height: 420px;
  display: grid;
  place-items: center;
  background: var(--panel-2);
  overflow: hidden;
  padding: 34px;
}

.project-sketch-grid img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0.55;
}

.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  padding: 42px;
  background: rgba(5, 30, 26, 0.92);
  cursor: zoom-out;
}

.image-lightbox[hidden] {
  display: none;
}

.image-lightbox__image {
  max-width: min(100%, 1500px);
  max-height: calc(100dvh - 84px);
  width: auto;
  height: auto;
  object-fit: contain;
  filter: none !important;
}

.image-lightbox__close {
  position: absolute;
  top: 22px;
  right: 24px;
  border: 0;
  background: transparent;
  color: var(--accent);
  font-size: var(--type-detail);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
}

.image-lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  appearance: none;
  border: 0;
  background: var(--accent);
  color: var(--accent-dark);
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  padding: 0;
  border-radius: 999px;
  font-size: 0;
  line-height: 0;
  cursor: pointer;
}

.image-lightbox__nav[hidden] {
  display: none;
}

.image-lightbox__nav::before {
  content: "";
  display: block;
  width: 30px;
  height: 18px;
  background: var(--accent-dark);
  -webkit-mask: var(--arrow-horizontal) center / contain no-repeat;
  mask: var(--arrow-horizontal) center / contain no-repeat;
  transform: translateY(2px);
}

.image-lightbox__nav--prev {
  left: 24px;
}

.image-lightbox__nav--prev::before {
  transform: translateY(2px) rotate(180deg);
}

.image-lightbox__nav--next {
  right: 24px;
}

body.lightbox-open {
  overflow: hidden;
}

/* RESPONSIVE SINGLE */

@media (max-width: 1023px) {
  body.single-project .site-main {
    padding-top: 0;
  }

  .single-project-hero {
    min-height: 100svh;
    height: 100svh;
  }

  .single-project-hero__content {
    padding-bottom: 26px;
  }

  .single-project-hero__content h1 {
    max-width: none;
    font-size: var(--type-title);
  }

  .single-project-info {
    padding-top: 28px;
    padding-bottom: 40px;
  }

  .single-project-info__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .single-project-info__title-sticky {
    position: relative;
    top: auto;
  }

  .single-project-info__title-sticky h2 {
    max-width: none;
    font-size: var(--type-heading);
  }

  .single-project-info__row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .single-project-detail {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .single-project-sketch {
    min-height: 300px;
    padding: 22px;
  }

  .single-project-sketch .single-project-sketch__svg,
  .single-project-sketch__image {
    max-height: 420px;
  }

  .project-gallery-grid {
    grid-template-columns: 1fr;
  }

  .project-gallery-grid figure {
    min-height: 320px;
  }
}

@media (max-width: 1023px) {
  .single-project-info__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .single-project-info__title-sticky {
    position: relative;
    top: auto;
  }
}

.single-project-info__title-col {
  min-height: 100%;
}
/* ======================================================
   16. UTILIDADES
====================================================== */

.page-shell .entry-content,
.page-shell .entry-content p {
  font-size: var(--type-body);
  line-height: 1.6;
  color: var(--muted);
}

.contact-details-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin-top: 0;
  margin-bottom: 0;
  border-top: 1px solid var(--line);
}

.contact-details-grid > div {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  min-height: 56px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.contact-details-grid .label {
  margin-bottom: 0;
}

.contact-details-grid a {
  color: var(--accent);
}

/* ======================================================
   17. RESPONSIVE
====================================================== */

@media (max-width: 1279px) {
  :root {
    --type-title: clamp(48px, 7vw, 104px);
    --type-heading: clamp(36px, 5.2vw, 68px);
    --type-large: clamp(25px, 3.6vw, 50px);
    --type-statement: clamp(20px, 2.3vw, 34px);
    --type-body: 17px;
    --type-detail: 10px;
  }

  .home-hero__grid {
    grid-template-columns: 44vw 56vw;
  }

  .rail-panel--selected-works {
    width: 96px;
    min-width: 96px;
    max-width: 96px;
  }

  .selected-works-marquee__track span {
    font-size: var(--type-title);
  }

  .rail-panel--project {
    width: 100vw;
    min-width: 100vw;
  }

  .project-showcase-card {
    --card-w: 80vw;
  }
}

@media (max-width: 1023px) {
  :root {
    --container: calc(100vw - 28px);
    --header-h: 70px;
    --footer-h: 70px;
    --home-project-image-h: 62vh;
    --home-project-body-h: auto;
    --type-title: clamp(42px, 10vw, 82px);
    --type-heading: clamp(32px, 7vw, 56px);
    --type-large: clamp(24px, 6vw, 44px);
    --type-statement: clamp(18px, 4.5vw, 28px);
    --type-body: 16px;
    --type-detail: 10px;
    --leading-title: 0.94;
    --leading-heading: 0.96;
    --leading-large: 1.12;
    --leading-statement: 1.34;
    --leading-body: 1.52;
  }

  .about-intro,
  .about-media-band__inner,
  .about-team,
  .about-cta {
    grid-template-columns: 1fr;
  }

  .about-visual-hero {
    min-height: 340px;
    height: 56vh;
  }

  .about-intro {
    min-height: auto;
    padding-top: 32px;
    padding-bottom: 42px;
  }

  .about-intro__copy,
  .about-team__head {
    position: relative;
    top: auto;
  }

  .about-intro__statement p {
    font-size: var(--type-statement);
  }

  .about-media-band__inner {
    min-height: auto;
  }

  .about-media-band__image {
    min-height: 54vh;
  }

  .about-metrics,
  .about-principles {
    grid-template-columns: 1fr;
  }

  .about-metric,
  .about-principle {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .about-metric:last-child,
  .about-principle:last-child {
    border-bottom: 0;
  }

  .about-principle {
    min-height: 320px;
  }

  .about-team-card {
    grid-template-columns: 1fr;
  }

  .about-team-card__portrait {
    max-width: 420px;
  }

  .site-header__inner {
    grid-template-columns: 1fr auto;
  }

  .site-header__center {
    display: none;
  }

  .home-horizontal {
    height: auto;
    overflow: visible;
    scroll-snap-type: none;
  }

  .home-horizontal__track {
    display: block;
    width: 100%;
    height: auto;
    transform: none !important;
  }

  .rail-panel,
  .rail-panel--statement,
  .rail-panel--about,
  .rail-panel--contact,
  .rail-panel--project,
  .rail-panel--selected-works {
    width: 100%;
    min-width: 100%;
    max-width: none;
    height: auto;
    min-height: auto;
  }

  .rail-panel__inner {
    min-height: auto;
    padding: calc(var(--header-h) + 30px) 16px 24px;
  }

  .home-hero__grid,
  .about-panel,
  .home-journal-layout,
  .contact-panel,
  .contact-page-layout {
    grid-template-columns: 1fr;
    height: auto;
  }

  .page-shell--contact,
  .contact-page-layout {
    min-height: auto;
  }

  .contact-page-layout {
    padding-top: 28px;
    padding-bottom: 34px;
  }

  .contact-page-layout__copy {
    grid-template-rows: auto;
  }

  .home-hero {
    min-height: calc(100svh - var(--footer-h));
  }

  .home-hero__grid {
    min-height: inherit;
  }

  .home-hero__copy {
    inset: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: none;
    min-height: calc(100svh - var(--footer-h));
    padding: calc(var(--header-h) + 34px) 16px 20px;
    justify-content: flex-end;
  }

  .home-hero__media {
    position: absolute;
    inset: 0;
    min-height: 0;
    height: auto;
    margin-right: 0;
  }

  .selected-works-panel {
    min-height: 96px;
    display: flex;
    align-items: center;
    overflow: hidden;
  }

  .selected-works-panel__rotate {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    transform: none;
  }

  .selected-works-marquee {
    animation: selectedWorksMarqueeMobile 22s linear infinite;
  }

  .selected-works-marquee__track span {
    font-size: var(--type-title);
  }

  @keyframes selectedWorksMarqueeMobile {
    from {
      transform: translate3d(0, 0, 0);
    }
    to {
      transform: translate3d(-50%, 0, 0);
    }
  }

  .project-panel {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 0 16px 20px;
  }

  .project-panel__primary {
    grid-template-rows: auto auto;
    padding: 0;
  }

  .project-panel__media {
    flex-basis: var(--home-project-image-h);
    height: var(--home-project-image-h);
  }

  .project-panel__body {
    height: auto;
    min-height: 112px;
    padding: 14px 0 0;
    overflow: visible;
  }

  .project-panel__sketch {
    min-height: 50vh;
    border-left: 0;
    border-top: 0;
    padding: 28px 0;
  }

  .project-panel__sketch--placeholder {
    margin: 0;
  }

  .about-panel {
    padding: 0 16px 24px;
    gap: 20px;
  }

  .about-panel__copy {
    padding: 0;
  }

  .about-panel__media {
    height: 56vh;
    min-height: 56vh;
  }

  .home-journal-layout {
    padding: 0 16px 24px;
  }

  .home-journal-columns {
    grid-template-columns: 1fr;
    grid-column: auto;
  }

  .home-journal-column {
    grid-template-rows: auto;
  }

  .contact-panel {
    padding: 0 16px 24px;
  }

  .contact-panel__copy {
    padding: 0;
  }

  .contact-panel__media {
    height: 56vh;
    min-height: 56vh;
  }

  .project-archive-shell[data-layout="grid"] .project-archive,
  .project-gallery-grid,
  .project-sketch-grid,
  .contact-details-grid {
    grid-template-columns: 1fr;
  }

  .contact-details-grid > div {
    grid-template-columns: 1fr;
    gap: 8px;
    align-items: start;
  }

  .project-showcase {
    height: auto;
    overflow: visible;
    padding: 14px;
  }

  .project-showcase__track {
    display: grid;
    width: 100%;
    height: auto;
    gap: 14px;
    transform: none !important;
  }

  .project-showcase__intro {
    width: 100%;
    min-width: 0;
    min-height: 240px;
    padding: 18px;
    border: 1px solid var(--line);
  }

  .project-showcase__intro strong {
    font-size: var(--type-title);
  }

  .project-showcase-card,
  .project-showcase-card--wide,
  .project-showcase-card--tall,
  .project-showcase-card--feature {
    width: 100%;
    min-width: 0;
    height: 72svh;
    min-height: 520px;
    padding: 0;
    border: 1px solid var(--line);
  }

  .project-showcase-card__content {
    left: 16px;
    right: 16px;
    bottom: 16px;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .project-showcase-card__index {
    transform: none;
  }

  .project-showcase-card__title h2 {
    max-width: none;
    font-size: var(--type-heading);
  }

  .project-showcase-card__cta {
    justify-self: start;
  }

  .project-showcase-card__sketch {
    top: 5%;
    right: 4%;
    width: 46%;
    height: 34%;
  }

  .contact-form label {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .contact-form label span {
    padding-top: 0;
  }

  .project-archive-shell[data-layout="horizontal"] .project-archive {
    display: grid;
    height: auto;
    overflow: visible;
  }

  .project-archive-shell[data-layout="horizontal"] .archive-card {
    width: 100%;
    min-width: 100%;
  }

  .archive-card {
    min-height: auto;
  }

  .site-footer__inner {
    grid-template-columns: 1fr;
    justify-items: center;
    padding: 14px 0;
    gap: 8px;
    min-height: auto;
    height: auto;
  }
}

@media (max-width: 767px) {
  :root {
    --type-title: clamp(38px, 12vw, 72px);
    --type-heading: clamp(28px, 9vw, 46px);
    --type-large: clamp(22px, 7vw, 38px);
    --type-statement: clamp(17px, 5vw, 24px);
    --type-body: 16px;
    --type-detail: 10px;
  }

  .site-header__meta,
  .terminal-meta {
    gap: 4px;
    font-size: var(--type-detail);
    letter-spacing: 0.06em;
  }

  .fullscreen-menu__list a {
    font-size: var(--type-title);
  }

  .page-head h1 {
    font-size: var(--type-title);
  }

  .home-hero__copy h1 {
    font-size: var(--type-title);
  }

  .project-panel__body h3,
  .home-journal-intro h2,
  .contact-panel__copy h2,
  .about-panel__copy h2 {
    max-width: none;
  }
}


/* ======================================================
   18. JOURNAL ARCHIVE
====================================================== */

.journal-archive{
  padding-top: calc(var(--header-h) + 28px);
  padding-bottom: 120px;
}

.journal-archive__head{
  display:grid;
  grid-template-columns: minmax(280px, 32%) minmax(0, 1fr);
  gap: 28px;
  align-items:end;
  margin-bottom: 34px;
}

.journal-archive__head h1{
  margin: 0;
  font-size: var(--type-title);
  line-height: .88;
  letter-spacing: 0;
  text-transform: none;
}

.journal-archive__head p{
  margin: 0;
  width: 100%;
  max-width: none;
  font-size: var(--type-body);
  line-height: 1.42;
  color: var(--muted);
}

.journal-archive__grid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 26px;
}

.journal-archive-card{
  background: var(--bg);
}

.journal-archive-card__link{
  display:grid;
  grid-template-rows: 420px auto;
  gap: 16px;
}

.journal-archive-card__media{
  overflow:hidden;
  background: var(--panel-2);
}

.journal-archive-card__media img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center center;
}

.journal-archive-card__body{
  display:flex;
  flex-direction:column;
  gap:10px;
}

.journal-archive-card__body h2{
  margin:0;
  font-size: var(--type-large);
  line-height:.95;
  letter-spacing: 0;
  text-transform:none;
}

.journal-archive-card__body p{
  margin:0;
  color:var(--muted);
  font-size: var(--type-body);
  line-height:1.42;
  display:-webkit-box;
  -webkit-line-clamp:3;
  -webkit-box-orient:vertical;
  overflow:hidden;
}

.journal-archive-card__more{
  display:inline-flex;
  align-items:center;
  gap:10px;
  margin-top:4px;
  font-size: var(--type-detail);
  letter-spacing:.14em;
  text-transform:uppercase;
  color:var(--accent);
}

.journal-archive-card__more::after{
  content:"↗";
  display:inline-block;
  font-size: var(--type-detail);
  line-height:1;
}

.journal-archive__pagination{
  margin-top: 42px;
}


/* ======================================================
   19. SINGLE JOURNAL
====================================================== */

.single-journal-shell{
  background: var(--bg);
}

.single-journal-hero{
  position:relative;
  height:100vh;
  min-height:100vh;
  margin-top: calc(var(--header-h) * -1);
}

.single-journal-hero__media,
.single-journal-hero__media img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center center;
}

.single-journal-intro{
  padding-top: 42px;
  padding-bottom: 80px;
}

.single-journal-intro__grid{
  display:grid;
  grid-template-columns: minmax(280px, 32%) minmax(0, 1fr);
  gap: 42px;
  align-items:start;
}

.single-journal-intro__title-col{
  position:relative;
}

.single-journal-intro__title-sticky{
  position:sticky;
  top: calc(var(--header-h) + 24px);
}

.single-journal-intro__title-sticky h1{
  margin:0;
  font-size: var(--type-title);
  line-height:.9;
  letter-spacing: 0;
  text-transform:none;
}

.single-journal-meta-block{
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
  padding: 10px 0;
  margin-bottom: 34px;
}

.single-journal-meta-row{
  display:grid;
  grid-template-columns: 140px 1fr;
  gap: 20px;
  padding: 14px 0;
  border-bottom:1px solid var(--line);
}

.single-journal-meta-row:last-child{
  border-bottom:0;
}

.single-journal-meta-row span{
  font-size: var(--type-detail);
  letter-spacing:.14em;
  text-transform:uppercase;
  color:var(--muted);
}

.single-journal-meta-row strong{
  font-size: var(--type-large);
  font-weight: 400;
  color:var(--fg);
}

.single-journal-excerpt{
  margin-bottom: 34px;
}

.single-journal-excerpt p{
  margin:0;
  font-size: var(--type-large);
  line-height:1.34;
  color:var(--fg);
}

.single-journal-content{
  color:var(--muted);
}

.single-journal-content p{
  margin: 0 0 1.2em;
  font-size: var(--type-body);
  line-height: 1.7;
  color: var(--muted);
}

.single-journal-content h2,
.single-journal-content h3,
.single-journal-content h4{
  margin: 1.6em 0 .5em;
  color: var(--fg);
  line-height: 1;
  letter-spacing: 0;
}

.single-journal-content h2{
  font-size: var(--type-large);
}

.single-journal-content h3{
  font-size: var(--type-large);
}


/* ======================================================
   20. RESPONSIVE JOURNAL
====================================================== */

@media (max-width: 1023px){
  .journal-archive__head,
  .single-journal-intro__grid{
    grid-template-columns:1fr;
  }

  .journal-archive__grid{
    grid-template-columns:1fr;
  }

  .journal-archive-card__link{
    grid-template-rows: 300px auto;
  }

  .single-journal-intro__title-sticky{
    position:relative;
    top:auto;
  }

  .single-journal-hero{
    height:72vh;
    min-height:72vh;
  }

  .single-journal-meta-row{
    grid-template-columns: 1fr;
    gap: 8px;
  }
}


/* ======================================================
   FIX FOOTER EN SINGLE JOURNAL / SINGLE POST
====================================================== */

body.single-post .site-footer,
body.single .site-footer {
  position: relative !important;
  inset: auto !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
  height: auto !important;
  min-height: var(--footer-h);
}

body.single-post .site-footer__inner,
body.single .site-footer__inner {
  height: auto !important;
  min-height: var(--footer-h) !important;
}

body.single-post .site-main,
body.single .site-main {
  padding-bottom: 0 !important;
}
