:root {
  --idp-paper: #fff;
  --idp-warm-paper: #f5f2ea;
  --idp-ink: #000;
  --idp-ink-soft: #1c1c1c;
  --idp-muted: #686868;
  --idp-faint: #a4a4a4;
  --idp-line: rgba(0, 0, 0, 0.18);
  --idp-line-soft: rgba(0, 0, 0, 0.10);
  --idp-line-inverse: rgba(255, 255, 255, 0.28);
  --idp-orange: #d66a00;
  --idp-display: "Syne", "Arial Black", Arial, sans-serif;
  --idp-body: Arial, "Helvetica Neue", Helvetica, sans-serif;
  --idp-progress: 0;
  --idp-scrolly-height: 620svh;
  --idp-page-pad: clamp(20px, 3.4vw, 56px);
}

html { box-sizing: border-box; }
*, *::before, *::after { box-sizing: inherit; }
html { scroll-behavior: smooth; }

html,
body {
  margin: 0;
  padding: 0;
  background: var(--idp-paper);
  color: var(--idp-ink);
  font-family: var(--idp-body);
}

html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden; /* fallback for engines where root overflow-x: clip is incomplete */
}
@supports (overflow: clip) {
  html,
  body { overflow-x: clip; }
}

/* Prevent transformed oversized editorial elements from enlarging the root
   horizontal scroll area. Horizontal scrolling remains explicitly available
   only inside components such as the work-filter strip. */
.idp-editorial,
.idp-category-strip,
.idp-transition,
.idp-works,
.idp-site-footer,
.idp-basic-page {
  max-width: 100%;
  overflow-x: clip;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }

::selection {
  background: var(--idp-ink);
  color: var(--idp-paper);
}

.idp-skip-link {
  position: fixed;
  left: 12px;
  top: 12px;
  z-index: 10000;
  padding: 10px 12px;
  background: #fff;
  color: #000;
  transform: translateY(-180%);
}
.idp-skip-link:focus { transform: translateY(0); }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.idp-site-header {
  position: fixed;
  z-index: 200;
  inset: 0 0 auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: max(16px, env(safe-area-inset-top)) var(--idp-page-pad) 14px;
  color: #fff;
  transition: color 180ms linear, background-color 180ms linear, border-color 180ms linear;
  border-bottom: 1px solid transparent;
  pointer-events: none;
}
.idp-site-header a { pointer-events: auto; }
.idp-site-header a,
.idp-menu-toggle {
  /* iOS/Android touch feedback used to paint a blue rectangle over the
     wordmark/menu control. Keep keyboard focus semantics, remove only the
     native tap flash. */
  -webkit-tap-highlight-color: transparent;
}
.idp-site-header a:focus:not(:focus-visible),
.idp-menu-toggle:focus:not(:focus-visible) {
  outline: none;
}
.idp-brand {
  color: inherit;
  text-decoration: none;
  font-family: var(--idp-display);
  font-weight: 700;
  letter-spacing: -0.055em;
  font-size: clamp(18px, 1.6vw, 24px);
  line-height: 1;
}
.idp-primary-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.2vw, 34px);
}
.idp-primary-nav a {
  color: inherit;
  text-decoration: none;
  font-size: 11px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.idp-primary-nav a::after {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  margin-top: 5px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: 100% 50%;
  transition: transform 180ms ease-out;
}
.idp-primary-nav a:hover::after,
.idp-primary-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: 0 50%;
}

.idp-after-scrolly .idp-site-header,
.idp-inner-page .idp-site-header {
  color: var(--idp-ink);
  background: rgba(255,255,255,.96);
  border-bottom-color: var(--idp-line-soft);
}

/* --------------------------------------------------------------------------
   Scrollytelling stage — v0.4.6 stable geometry + fixed overscan media
   -------------------------------------------------------------------------- */
.idp-scrolly {
  position: relative;
  height: var(--idp-scrolly-height);
  background: #111;
}

/*
 * INDUSTRY-STANDARD MOBILE VIEWPORT STRATEGY FOR THIS SCROLLYTELLING:
 *
 * 1) The scroll geometry remains stable at 100svh. Browser chrome may appear or
 *    disappear, but the sticky stage does not resize and therefore scroll→video
 *    progress does not change beneath the user's finger.
 *
 * 2) The visual background is a separate fixed plane sized to the LARGE viewport
 *    (100lvh). When mobile browser bars collapse, the browser simply reveals more
 *    of an already-rendered video plane. There is no delayed dvh resize and no
 *    black strip below a smaller stage.
 *
 * 3) Do not add transform/filter/perspective/contain/will-change to .idp-scrolly
 *    or any ancestor that would establish a containing block for fixed descendants.
 */
.idp-scrolly__backdrop {
  position: fixed;
  z-index: 0;
  top: 0;
  right: 0;
  left: 0;
  width: auto;
  height: 100vh; /* legacy fallback; mobile engines historically map this to large viewport */
  overflow: hidden;
  background: #111;
  pointer-events: none;
  opacity: 1;
  visibility: visible;
}

@supports (height: 100lvh) {
  .idp-scrolly__backdrop {
    height: 100lvh;
  }
}

/*
 * v0.4.6: do NOT hide the backdrop when sticky releases. The next opaque
 * section needs one viewport-height to travel from the bottom edge to the top.
 * JS keeps .is-viewport-active during that tail so the final video frame remains
 * the visual background until the editorial section fully covers the viewport.
 */
.js .idp-scrolly:not(.is-viewport-active) .idp-scrolly__backdrop {
  opacity: 0;
  visibility: hidden;
}

.idp-scrolly__stage {
  position: sticky;
  z-index: 1;
  top: 0;
  width: 100%;
  height: 100svh;
  overflow: hidden;
  background: transparent;
}

.idp-scrolly__poster,
.idp-scrolly__video,
.idp-scrolly__shade {
  position: absolute;
  inset: 0;
}

.idp-scrolly__poster,
.idp-scrolly__video {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 50% 50%;
}

.idp-scrolly__poster {
  z-index: 1;
  opacity: 1;
  transition: opacity 140ms linear;
}

.idp-scrolly__video {
  z-index: 2;
  opacity: 0;
  transition: opacity 140ms linear;
  background: #111;
}

.idp-scrolly.is-video-ready .idp-scrolly__video { opacity: 1; }
.idp-scrolly.is-video-ready .idp-scrolly__poster { opacity: 0; }

.idp-scrolly__shade {
  z-index: 3;
  background:
    linear-gradient(to bottom, rgba(0,0,0,.34), rgba(0,0,0,.04) 32%, rgba(0,0,0,.28)),
    linear-gradient(to right, rgba(0,0,0,.22), transparent 52%);
  pointer-events: none;
}

.idp-scrolly__overlays {
  position: absolute;
  z-index: 10;
  inset: 0;
  color: #fff;
  pointer-events: none;
  overflow: hidden;
}

.idp-story {
  position: absolute;
  margin: 0;
  backface-visibility: hidden;
  will-change: transform, opacity;
}

/* Initial DOM/CSS state must already equal progress=0. */
.idp-story--hero {
  left: var(--idp-page-pad);
  right: var(--idp-page-pad);
  bottom: clamp(40px, 8vh, 96px);
  max-width: 1280px;
  opacity: 1;
  transform: translate3d(0,0,0);
}

.idp-story__hero-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: min(860px, 78vw);
  margin-bottom: clamp(18px, 3vh, 34px);
}

.idp-story__kicker,
.idp-eyebrow,
.idp-story__counter {
  margin: 0;
  font-size: 10px;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.idp-story__counter { opacity: .72; }

.idp-story__display {
  margin: 0;
  max-width: 11ch;
  font-family: var(--idp-display);
  font-size: clamp(78px, 13.6vw, 210px);
  line-height: .71;
  letter-spacing: -.075em;
  font-weight: 700;
  text-wrap: balance;
}

/* v0.6.13 — brand accent only on the D of the opening hero title. */
.idp-story__display .idp-story__accent {
  color: #ea3323;
}

.idp-story__lede {
  max-width: 520px;
  margin: clamp(24px, 4vh, 42px) 0 0;
  font-size: clamp(18px, 1.65vw, 27px);
  line-height: 1.25;
  text-wrap: balance;
}

.idp-story__scroll {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-top: 28px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
}
.idp-story__scroll span:last-child { font-size: 15px; }

.idp-story--card {
  width: min(560px, calc(100vw - 40px));
  padding: clamp(24px, 3.4vw, 44px);
  background: rgba(255,255,255,.955);
  color: #000;
  border: 1px solid rgba(0,0,0,.16);
  border-radius: 0;
  overflow: hidden;
  opacity: 0;
  transform: translate3d(0,52px,0) scale(.978);
  box-shadow: 0 14px 48px rgba(0,0,0,.08);
}

.idp-story--card::before {
  content: attr(data-ghost);
  position: absolute;
  z-index: 0;
  right: -0.04em;
  bottom: -.17em;
  font-family: var(--idp-display);
  font-size: clamp(80px, 10vw, 150px);
  line-height: .8;
  font-weight: 700;
  letter-spacing: -.075em;
  color: rgba(0,0,0,.045);
  white-space: nowrap;
  pointer-events: none;
}

.idp-story--card > * {
  position: relative;
  z-index: 1;
}

.idp-story--card h2 {
  margin: 16px 0 0;
  font-family: var(--idp-display);
  font-size: clamp(34px, 4.2vw, 65px);
  line-height: .91;
  letter-spacing: -.052em;
  font-weight: 700;
  text-wrap: balance;
}

.idp-story--card p:last-of-type {
  margin: 22px 0 0;
  max-width: 43ch;
  font-size: 16px;
  line-height: 1.5;
}

.idp-story--about {
  left: clamp(20px, 6vw, 92px);
  bottom: clamp(52px, 9vh, 112px);
}
.idp-story--vision {
  right: clamp(20px, 6vw, 92px);
  top: clamp(100px, 14vh, 170px);
}
.idp-story--works {
  left: clamp(20px, 11vw, 180px);
  top: clamp(112px, 17vh, 194px);
}

.idp-story__link {
  display: inline-flex;
  gap: 16px;
  align-items: center;
  margin-top: 26px;
  color: #000;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
  border-bottom: 1px solid #000;
  padding-bottom: 5px;
}

.idp-scrolly__rail {
  position: absolute;
  z-index: 30;
  right: max(8px, calc(var(--idp-page-pad) / 2));
  top: 20%;
  bottom: 20%;
  width: 1px;
  background: rgba(255,255,255,.28);
}
.idp-scrolly__rail span {
  position: absolute;
  inset: 0;
  background: #fff;
  transform-origin: 50% 0;
  transform: scaleY(var(--idp-progress));
}

.idp-scrolly__stage-index {
  position: absolute;
  z-index: 30;
  right: calc(max(8px, calc(var(--idp-page-pad) / 2)) - 3px);
  top: calc(20% - 25px);
  bottom: calc(20% - 25px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: rgba(255,255,255,.72);
  font-size: 9px;
  line-height: 1;
  letter-spacing: .06em;
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   Editorial bridge after the cinematic section
   -------------------------------------------------------------------------- */
.idp-editorial {
  /* v0.4.6: start entering before the sticky story fully releases. This turns
     the unavoidable sticky parent tail into a visible transition instead of a
     dead viewport of final-frame video. */
  position: relative;
  z-index: 2;
  margin-top: -18svh;
  min-height: 112svh;
  padding: clamp(110px, 14vw, 220px) var(--idp-page-pad) clamp(90px, 12vw, 180px);
  background: var(--idp-paper);
  color: var(--idp-ink);
  border-bottom: 1px solid var(--idp-line);
}
.idp-editorial__meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
  margin-bottom: clamp(64px, 9vw, 130px);
}
.idp-editorial__side {
  justify-self: end;
  max-width: 24ch;
  margin: 0;
  font-size: 13px;
  line-height: 1.35;
  text-align: right;
}
.idp-editorial__display {
  display: flex;
  flex-direction: column;
  margin: 0;
  font-family: var(--idp-display);
  font-size: clamp(54px, 10.4vw, 160px);
  line-height: .76;
  letter-spacing: -.068em;
  font-weight: 700;
}
.idp-editorial__display span:nth-child(2),
.idp-editorial__display span:nth-child(4) {
  align-self: flex-end;
}
.idp-editorial__outline {
  color: transparent;
  -webkit-text-stroke: 1.5px #000;
  text-stroke: 1.5px #000;
}
.idp-editorial__footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 48px;
  align-items: end;
  margin-top: clamp(70px, 10vw, 150px);
  padding-top: 24px;
  border-top: 1px solid var(--idp-line);
}
.idp-editorial__footer p {
  max-width: 48ch;
  margin: 0;
  font-size: clamp(17px, 1.45vw, 22px);
  line-height: 1.4;
}
.idp-text-link {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  color: inherit;
  text-decoration: none;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  padding-bottom: 5px;
  border-bottom: 1px solid currentColor;
}

.idp-category-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  background: #000;
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,.18);
}
.idp-category-strip span {
  display: flex;
  align-items: center;
  min-height: 116px;
  padding: 20px var(--idp-page-pad);
  font-family: var(--idp-display);
  font-size: clamp(18px, 2.1vw, 34px);
  line-height: 1;
  font-weight: 600;
  letter-spacing: -.035em;
  border-right: 1px solid rgba(255,255,255,.18);
}
.idp-category-strip span:last-child { border-right: 0; }

.idp-transition {
  min-height: 86svh;
  display: grid;
  align-content: center;
  padding: 110px var(--idp-page-pad);
  background: var(--idp-warm-paper);
}
.idp-transition h2 {
  max-width: 13ch;
  margin: 24px 0 0;
  font-family: var(--idp-display);
  font-size: clamp(48px, 8vw, 126px);
  line-height: .84;
  letter-spacing: -.065em;
  font-weight: 700;
}
.idp-transition > p:last-child {
  max-width: 58ch;
  margin: 36px 0 0 auto;
  font-size: clamp(16px, 1.5vw, 22px);
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.idp-site-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: end;
  min-height: 280px;
  padding: 72px var(--idp-page-pad) 34px;
  background: #000;
  color: #fff;
}
.idp-site-footer__brand {
  font-family: var(--idp-display);
  font-size: clamp(52px, 8vw, 128px);
  line-height: .72;
  font-weight: 700;
  letter-spacing: -.07em;
}
.idp-site-footer__meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  font-size: 11px;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: .07em;
}
.idp-site-footer__meta a { text-decoration: none; }

.idp-site-footer__credits {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px 32px;
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.24);
  font-size: 11px;
  line-height: 1.4;
  letter-spacing: .035em;
  color: rgba(255,255,255,.70);
}
.idp-site-footer__credits a {
  color: #fff;
  text-decoration: none;
  text-underline-offset: .22em;
}
.idp-site-footer__credits a:hover,
.idp-site-footer__credits a:focus-visible { text-decoration: underline; }
.idp-site-footer__heart {
  display: inline-block;
  margin: 0 .12em;
  color: #fff;
  font-size: .95em;
}

/* --------------------------------------------------------------------------
   Basic WordPress pages/blog while full editorial templates are pending
   -------------------------------------------------------------------------- */
.idp-basic-page {
  min-height: 100svh;
  padding: 140px var(--idp-page-pad) 100px;
}
.idp-basic-page a { color: inherit; }
.idp-basic-page article { max-width: 760px; margin: 0 auto 64px; }
.idp-basic-page h1,
.idp-basic-page__header h1,
.idp-basic-page > article > h1 {
  margin: 0;
  font-family: var(--idp-display);
  font-size: clamp(50px, 8vw, 110px);
  line-height: .86;
  letter-spacing: -.055em;
  font-weight: 700;
}
.idp-basic-page h2 { font-family: var(--idp-display); font-size: clamp(34px, 5vw, 64px); line-height: .95; }
.idp-basic-page img { max-width: 100%; height: auto; }
.idp-entry-content { font-size: 18px; line-height: 1.65; }
.idp-basic-page__header { margin: 0 auto 72px; max-width: 1100px; }
.idp-post-list { max-width: 1100px; margin: 0 auto; border-top: 1px solid var(--idp-line); }
.idp-post-card { padding: 32px 0; border-bottom: 1px solid var(--idp-line); }
.idp-post-card h2 { margin: 0; font-family: var(--idp-display); font-size: clamp(30px, 4vw, 58px); line-height: .95; letter-spacing: -.04em; }
.idp-post-card h2 a { text-decoration: none; }
.idp-post-card > p:not(.idp-story__kicker) { max-width: 60ch; color: var(--idp-muted); line-height: 1.55; }
.navigation.pagination { max-width: 1100px; margin: 48px auto 0; }
.nav-links { display: flex; flex-wrap: wrap; gap: 12px; }
.page-numbers { color: inherit; }

/* --------------------------------------------------------------------------
   Debug
   -------------------------------------------------------------------------- */
.idp-debug {
  position: fixed;
  z-index: 1000;
  left: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom));
  width: min(380px, calc(100vw - 24px));
  padding: 12px;
  background: rgba(0,0,0,.90);
  color: #fff;
  border: 1px solid rgba(255,255,255,.22);
  font: 11px/1.45 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  white-space: pre-wrap;
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   Mobile
   -------------------------------------------------------------------------- */
@media (max-width: 760px) {
  :root {
    --idp-scrolly-height: 480svh;
    --idp-page-pad: 16px;
  }

  .idp-editorial { margin-top: -16svh; }

  html { scroll-behavior: auto; }
  html.idp-scrolly-active { overscroll-behavior-y: none; }

  /* Hard containment for large display text/transforms on narrow viewports. */
  .idp-scrolly__stage,
  .idp-scrolly__overlays,
  .idp-story,
  .idp-editorial__display,
  .idp-transition,
  .idp-works__head { max-width: 100%; }

  .idp-site-header {
    min-height: 60px;
    padding-top: max(13px, env(safe-area-inset-top));
    padding-bottom: 10px;
  }
  .idp-primary-nav { display: none; }
  .idp-brand { font-size: 19px; }

  .idp-scrolly__shade {
    background:
      linear-gradient(to bottom, rgba(0,0,0,.30), rgba(0,0,0,.02) 36%, rgba(0,0,0,.34)),
      linear-gradient(to right, rgba(0,0,0,.12), transparent 65%);
  }

  .idp-story--hero {
    left: 16px;
    right: 28px;
    bottom: max(36px, calc(24px + env(safe-area-inset-bottom)));
  }
  .idp-story__hero-meta { max-width: none; margin-bottom: 18px; }
  .idp-story__display {
    max-width: 7ch;
    font-size: clamp(68px, 22vw, 104px);
    line-height: .72;
  }
  .idp-story__lede {
    max-width: 26ch;
    margin-top: 22px;
    font-size: 18px;
  }

  .idp-story--card {
    left: 16px;
    right: 28px;
    width: auto;
    top: auto;
    bottom: max(8svh, calc(38px + env(safe-area-inset-bottom)));
    padding: 22px;
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
  }
  .idp-story--card::before {
    font-size: clamp(72px, 25vw, 112px);
    bottom: -.11em;
  }
  .idp-story--card h2 {
    margin-top: 12px;
    font-size: clamp(32px, 10.5vw, 48px);
    line-height: .91;
  }
  .idp-story--card p:last-of-type { margin-top: 17px; font-size: 15px; line-height: 1.45; }
  .idp-story__link { margin-top: 18px; }

  .idp-scrolly__rail {
    right: 8px;
    top: 23%;
    bottom: 23%;
  }
  .idp-scrolly__stage-index { display: none; }

  .idp-editorial {
    min-height: auto;
    padding-top: 100px;
    padding-bottom: 96px;
  }
  .idp-editorial__meta {
    grid-template-columns: 1fr;
    margin-bottom: 70px;
  }
  .idp-editorial__side {
    justify-self: start;
    text-align: left;
  }
  .idp-editorial__display {
    font-size: clamp(52px, 18vw, 82px);
    line-height: .79;
  }
  .idp-editorial__display span:nth-child(2),
  .idp-editorial__display span:nth-child(4) { align-self: flex-start; }
  .idp-editorial__display span:nth-child(even) { margin-left: 9vw; }
  .idp-editorial__footer {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 70px;
  }
  .idp-text-link { justify-self: start; }

  .idp-category-strip { grid-template-columns: 1fr; }
  .idp-category-strip span {
    min-height: 78px;
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,.18);
    font-size: 24px;
  }
  .idp-category-strip span:last-child { border-bottom: 0; }

  .idp-transition {
    min-height: 78svh;
    padding-top: 90px;
    padding-bottom: 90px;
  }
  .idp-transition h2 { font-size: clamp(48px, 15vw, 74px); }
  .idp-transition > p:last-child { margin: 30px 0 0; }

  .idp-site-footer {
    grid-template-columns: 1fr;
    min-height: 260px;
    padding-top: 70px;
  }
  .idp-site-footer__brand {
    font-size: clamp(40px, 13.8vw, 62px);
    line-height: .82;
    white-space: nowrap;
    max-width: 100%;
  }
  .idp-site-footer__meta { align-items: flex-start; }
  .idp-site-footer__credits {
    flex-direction: column;
    align-items: flex-start;
    margin-top: 24px;
    padding-top: 16px;
  }
}

/* --------------------------------------------------------------------------
   No-JS and reduced motion: the same semantic story becomes normal document flow.
   -------------------------------------------------------------------------- */
.no-js .idp-site-header { position: absolute; }
.no-js .idp-scrolly { height: auto; background: #fff; }
.no-js .idp-scrolly__stage { position: relative; height: auto; overflow: visible; background: #fff; }
.no-js .idp-scrolly__backdrop { position: relative; height: min(78svh, 760px); min-height: 420px; }
.no-js .idp-scrolly__video,
.no-js .idp-scrolly__shade,
.no-js .idp-scrolly__rail,
.no-js .idp-scrolly__stage-index { display: none; }
.no-js .idp-scrolly__overlays { position: relative; inset: auto; background: #fff; color: #000; }
.no-js .idp-story {
  position: relative;
  inset: auto;
  width: auto;
  max-width: none;
  opacity: 1;
  transform: none;
  padding: 54px var(--idp-page-pad);
  background: #fff;
  color: #000;
  border: 0;
  border-bottom: 1px solid var(--idp-line);
  box-shadow: none;
}
.no-js .idp-story--card::before { display: none; }
.no-js .idp-story__display,
.no-js .idp-story--card h2 { font-size: clamp(40px, 10vw, 92px); line-height: .9; }
.no-js .idp-story__scroll { display: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; }
  .idp-site-header { position: absolute; }
  .idp-scrolly { height: auto; background: #fff; }
  .idp-scrolly__stage { position: relative; height: auto; overflow: visible; background: #fff; }
  .idp-scrolly__backdrop { position: relative; height: min(78svh, 760px); min-height: 420px; }
  .idp-scrolly__video,
  .idp-scrolly__shade,
  .idp-scrolly__rail,
  .idp-scrolly__stage-index { display: none; }
  .idp-scrolly__overlays { position: relative; inset: auto; background: #fff; color: #000; }
  .idp-story {
    position: relative;
    inset: auto;
    width: auto;
    max-width: none;
    opacity: 1 !important;
    transform: none !important;
    padding: 54px var(--idp-page-pad);
    background: #fff;
    color: #000;
    border: 0;
    border-bottom: 1px solid var(--idp-line);
    box-shadow: none;
  }
  .idp-story--card::before { display: none; }
  .idp-story__display,
  .idp-story--card h2 { font-size: clamp(40px, 10vw, 92px); line-height: .9; }
  .idp-story__scroll { display: none; }
}

@supports not (-webkit-text-stroke: 1px #000) {
  .idp-editorial__outline { color: rgba(0,0,0,.10); }
}

/* --------------------------------------------------------------------------
   v0.4.6 — curated artwork grid + fixed overscan mobile backdrop
   -------------------------------------------------------------------------- */
.idp-works {
  padding: clamp(100px, 12vw, 190px) var(--idp-page-pad) clamp(120px, 14vw, 220px);
  background: var(--idp-paper);
  color: var(--idp-ink);
}
.idp-works__head {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(260px, .65fr);
  gap: clamp(40px, 7vw, 120px);
  align-items: end;
  margin-bottom: clamp(56px, 7vw, 100px);
}
.idp-works__head h2 {
  margin: 15px 0 0;
  font-family: var(--idp-display);
  font-size: clamp(74px, 13vw, 200px);
  line-height: .70;
  letter-spacing: -.075em;
  font-weight: 700;
}
.idp-works__intro {
  margin: 0;
  max-width: 40ch;
  font-size: clamp(16px, 1.45vw, 21px);
  line-height: 1.45;
}
.idp-work-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0 clamp(18px, 2.6vw, 44px);
  margin: 0 0 clamp(48px, 6vw, 82px);
  padding: 16px 0;
  border-top: 1px solid var(--idp-line);
  border-bottom: 1px solid var(--idp-line);
}
.idp-work-filters button {
  appearance: none;
  border: 0;
  border-bottom: 1px solid transparent;
  padding: 8px 0 6px;
  background: transparent;
  color: var(--idp-muted);
  font: 700 11px/1 var(--idp-body);
  letter-spacing: .09em;
  text-transform: uppercase;
  cursor: pointer;
}
.idp-work-filters button:hover,
.idp-work-filters button:focus-visible,
.idp-work-filters button.is-active {
  color: var(--idp-ink);
  border-bottom-color: currentColor;
}
.idp-work-filters button:focus-visible { outline: 2px solid var(--idp-ink); outline-offset: 4px; }

.idp-work-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(16px, 2vw, 34px);
  row-gap: clamp(58px, 8vw, 126px);
  align-items: start;
}
.idp-work[hidden] { display: none !important; }
.idp-work { min-width: 0; }
.idp-work:nth-child(6n + 1) { grid-column: 1 / span 7; }
.idp-work:nth-child(6n + 2) { grid-column: 9 / span 4; margin-top: 11vw; }
.idp-work:nth-child(6n + 3) { grid-column: 2 / span 4; }
.idp-work:nth-child(6n + 4) { grid-column: 7 / span 6; margin-top: 5vw; }
.idp-work:nth-child(6n + 5) { grid-column: 1 / span 5; margin-top: 4vw; }
.idp-work:nth-child(6n + 6) { grid-column: 7 / span 5; }

.idp-work__media,
.idp-work__placeholder {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: var(--idp-warm-paper);
}
.idp-work--wide .idp-work__media,
.idp-work--wide .idp-work__placeholder { aspect-ratio: 16 / 10; }
.idp-work--landscape .idp-work__media,
.idp-work--landscape .idp-work__placeholder { aspect-ratio: 4 / 3; }
.idp-work--portrait .idp-work__media,
.idp-work--portrait .idp-work__placeholder { aspect-ratio: 4 / 5; }
.idp-work--square .idp-work__media,
.idp-work--square .idp-work__placeholder { aspect-ratio: 1 / 1; }
.idp-work__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.001);
  transition: transform 420ms cubic-bezier(.2,.7,.2,1);
}
@media (hover:hover) and (pointer:fine) {
  .idp-work:hover .idp-work__image { transform: scale(1.025); }
}
.idp-work__meta {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 18px;
  row-gap: 5px;
  align-items: baseline;
  margin-top: 15px;
  padding-top: 10px;
  border-top: 1px solid var(--idp-line);
}
.idp-work__index {
  grid-row: 1 / span 2;
  color: var(--idp-faint);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
}
.idp-work__meta h3 {
  margin: 0;
  font-family: var(--idp-display);
  font-size: clamp(22px, 2.25vw, 38px);
  line-height: .95;
  letter-spacing: -.045em;
  font-weight: 650;
}
.idp-work__meta p {
  margin: 0;
  color: var(--idp-muted);
  font-size: 10px;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.idp-work__placeholder {
  display: grid;
  place-items: center;
  background:
    linear-gradient(135deg, transparent 49.75%, rgba(0,0,0,.12) 50%, transparent 50.25%),
    var(--idp-warm-paper);
  border: 1px solid var(--idp-line-soft);
}
.idp-work__placeholder span {
  font-family: var(--idp-display);
  font-size: clamp(52px, 8vw, 116px);
  font-weight: 700;
  letter-spacing: -.06em;
  color: rgba(0,0,0,.12);
}
.idp-works__admin-hint {
  margin: 52px 0 0;
  padding: 18px 0;
  border-top: 1px solid var(--idp-line);
  color: var(--idp-muted);
  font-size: 13px;
  line-height: 1.5;
}
.idp-works__admin-hint a { color: var(--idp-ink); }

@media (max-width: 760px) {
  .idp-works { padding-top: 94px; padding-bottom: 112px; }
  .idp-works__head { grid-template-columns: 1fr; gap: 28px; margin-bottom: 54px; }
  .idp-works__head h2 { font-size: clamp(76px, 28vw, 118px); }
  .idp-works__intro { max-width: 32ch; }
  .idp-work-filters {
    flex-wrap: nowrap;
    gap: 22px;
    margin-left: calc(var(--idp-page-pad) * -1);
    margin-right: calc(var(--idp-page-pad) * -1);
    padding-left: var(--idp-page-pad);
    padding-right: var(--idp-page-pad);
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .idp-work-filters::-webkit-scrollbar { display: none; }
  .idp-work-filters button { flex: 0 0 auto; }
  .idp-work-grid { grid-template-columns: 1fr; row-gap: 64px; }
  .idp-work,
  .idp-work:nth-child(n) {
    grid-column: 1;
    margin-top: 0;
  }
  .idp-work:nth-child(3n + 2) { width: 82%; margin-left: auto; }
  .idp-work:nth-child(3n + 3) { width: 90%; }
  .idp-work__meta h3 { font-size: clamp(25px, 8vw, 36px); }
}

/* Filtering reassigns these six editorial slots so filtered results do not leave holes. */
@media (min-width: 761px) {
  .idp-work[data-layout-slot="1"] { grid-column: 1 / span 7; margin-top: 0; }
  .idp-work[data-layout-slot="2"] { grid-column: 9 / span 4; margin-top: 11vw; }
  .idp-work[data-layout-slot="3"] { grid-column: 2 / span 4; margin-top: 0; }
  .idp-work[data-layout-slot="4"] { grid-column: 7 / span 6; margin-top: 5vw; }
  .idp-work[data-layout-slot="5"] { grid-column: 1 / span 5; margin-top: 4vw; }
  .idp-work[data-layout-slot="6"] { grid-column: 7 / span 5; margin-top: 0; }
}

/* --------------------------------------------------------------------------
   v0.5 — structured artwork links + studio / distance / process / CTA
   -------------------------------------------------------------------------- */
.idp-work__link {
  display: block;
  color: inherit;
  text-decoration: none;
}
.idp-works__more {
  display: flex;
  justify-content: flex-end;
  margin-top: clamp(72px, 8vw, 120px);
}

/* Subtle reveals are deliberately isolated from the scroll-scrubber. */
.js .idp-reveal {
  opacity: 0;
  transform: translate3d(0, 34px, 0);
  transition: opacity 620ms cubic-bezier(.2,.7,.2,1), transform 620ms cubic-bezier(.2,.7,.2,1);
}
.js .idp-reveal.is-visible {
  opacity: 1;
  transform: translate3d(0,0,0);
}

.idp-studio {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(320px, .72fr);
  min-height: 92svh;
  padding: clamp(110px, 11vw, 176px) var(--idp-page-pad);
  background: var(--idp-warm-paper);
  color: var(--idp-ink);
  overflow: hidden;
}
.idp-studio__media {
  align-self: center;
  min-height: min(66vw, 760px);
  margin-right: -8vw;
  overflow: hidden;
  background: #d66a00;
}
.idp-studio__image {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  object-position: 50% 50%;
}
.idp-studio__placeholder {
  display: grid;
  place-items: end start;
  min-height: inherit;
  padding: clamp(24px, 4vw, 56px);
  background: #d66a00;
  color: rgba(255,255,255,.94);
  overflow: hidden;
}
.idp-studio__placeholder span {
  font-family: var(--idp-display);
  font-size: clamp(64px, 10vw, 150px);
  font-weight: 700;
  line-height: .72;
  letter-spacing: -.07em;
}
/* v0.6.14 — editorial statements requested by the artists. */
.idp-home-statement {
  display: grid;
  grid-template-columns: minmax(0, .32fr) minmax(0, 1fr);
  gap: clamp(36px, 7vw, 120px);
  align-items: start;
  padding: clamp(100px, 12vw, 180px) var(--idp-page-pad);
  background: #000;
  color: #fff;
}
.idp-home-statement > p:last-child {
  max-width: 15ch;
  margin: 0;
  font-family: var(--idp-display);
  font-size: clamp(48px, 7.5vw, 118px);
  line-height: .86;
  letter-spacing: -.065em;
  font-weight: 700;
}

.idp-studio__panel {
  position: relative;
  z-index: 2;
  align-self: end;
  margin: 0 0 clamp(30px, 5vw, 70px) -5vw;
  padding: clamp(30px, 4vw, 58px);
  background: rgba(255,255,255,.97);
  border: 1px solid var(--idp-line);
}
.idp-studio__panel h2 {
  max-width: 10ch;
  margin: 18px 0 0;
  font-family: var(--idp-display);
  font-size: clamp(42px, 5.8vw, 86px);
  line-height: .86;
  letter-spacing: -.06em;
  font-weight: 700;
}
.idp-studio__panel > p:not(.idp-eyebrow) {
  max-width: 43ch;
  margin: 28px 0 0;
  font-size: clamp(16px, 1.25vw, 19px);
  line-height: 1.55;
}
.idp-studio__panel .idp-text-link { margin-top: 30px; }

.idp-distance {
  padding: clamp(110px, 12vw, 188px) var(--idp-page-pad) clamp(120px, 13vw, 210px);
  background: var(--idp-paper);
  color: var(--idp-ink);
  border-top: 1px solid var(--idp-line-soft);
}
.idp-distance__head {
  display: grid;
  grid-template-columns: .34fr 1fr;
  gap: clamp(30px, 6vw, 100px);
  align-items: start;
  margin-bottom: clamp(72px, 9vw, 140px);
}
.idp-distance__head h2 {
  display: flex;
  flex-direction: column;
  margin: 0;
  font-family: var(--idp-display);
  font-size: clamp(62px, 10.5vw, 164px);
  line-height: .75;
  letter-spacing: -.072em;
  font-weight: 700;
}
.idp-distance__head h2 span:last-child { align-self: flex-end; }
.idp-distance__visuals {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.25fr);
  gap: clamp(24px, 5vw, 80px);
  align-items: end;
}
.idp-distance__frame { margin: 0; min-width: 0; }
.idp-distance__frame--detail { margin-bottom: clamp(72px, 9vw, 140px); }
.idp-distance__frame--detail,
.idp-distance__frame--whole {
  overflow: hidden;
}
.idp-distance__frame--detail .idp-distance__image {
  aspect-ratio: 4 / 5;
  width: 100%;
  object-fit: cover;
  transform: scale(2.15);
  transform-origin: 56% 45%;
}
.idp-distance__frame--whole .idp-distance__image {
  aspect-ratio: 4 / 3;
  width: 100%;
  object-fit: cover;
}
.idp-distance__frame figcaption {
  margin-top: 14px;
  padding-top: 10px;
  border-top: 1px solid var(--idp-line);
  color: var(--idp-muted);
  font-size: 11px;
  line-height: 1.35;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.idp-distance__placeholder {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  background: var(--idp-warm-paper);
  font-family: var(--idp-display);
  font-size: clamp(48px, 8vw, 110px);
  font-weight: 700;
  color: rgba(0,0,0,.1);
}

.idp-process {
  display: grid;
  grid-template-columns: minmax(300px, .75fr) minmax(0, 1.25fr);
  gap: clamp(54px, 8vw, 140px);
  padding: clamp(110px, 12vw, 190px) var(--idp-page-pad);
  background: #000;
  color: #fff;
}
.idp-process__head h2 {
  margin: 20px 0 0;
  font-family: var(--idp-display);
  font-size: clamp(58px, 8vw, 126px);
  line-height: .77;
  letter-spacing: -.07em;
  font-weight: 700;
}
.idp-process__steps {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--idp-line-inverse);
}
.idp-process__step {
  display: grid;
  grid-template-columns: 54px minmax(140px, .45fr) minmax(0, 1fr);
  gap: clamp(16px, 3vw, 50px);
  align-items: start;
  padding: clamp(28px, 4vw, 54px) 0;
  border-bottom: 1px solid var(--idp-line-inverse);
}
.idp-process__step > span {
  color: rgba(255,255,255,.48);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
}
.idp-process__step h3 {
  margin: -2px 0 0;
  font-family: var(--idp-display);
  font-size: clamp(28px, 3vw, 48px);
  line-height: .92;
  letter-spacing: -.045em;
  font-weight: 600;
}
.idp-process__step p {
  margin: 0;
  max-width: 42ch;
  color: rgba(255,255,255,.70);
  font-size: clamp(15px, 1.3vw, 18px);
  line-height: 1.5;
}

.idp-home-cta {
  position: relative;
  min-height: 86svh;
  display: grid;
  align-content: center;
  padding: clamp(110px, 13vw, 210px) var(--idp-page-pad);
  background: var(--idp-paper);
  color: var(--idp-ink);
  overflow: hidden;
}
.idp-home-cta h2 {
  max-width: 13ch;
  margin: 24px 0 0;
  font-family: var(--idp-display);
  font-size: clamp(58px, 9vw, 142px);
  line-height: .80;
  letter-spacing: -.072em;
  font-weight: 700;
}
.idp-home-cta__link {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 24px;
  margin-top: clamp(54px, 7vw, 104px);
  padding-bottom: 8px;
  border-bottom: 2px solid currentColor;
  color: inherit;
  text-decoration: none;
  font-family: var(--idp-display);
  font-size: clamp(26px, 3.3vw, 50px);
  line-height: 1;
  font-weight: 600;
  letter-spacing: -.04em;
}

.idp-artwork-single,
.idp-artwork-archive {
  padding: clamp(132px, 14vw, 210px) var(--idp-page-pad) clamp(100px, 12vw, 180px);
  background: var(--idp-paper);
  color: var(--idp-ink);
}
.idp-artwork-single__header,
.idp-artwork-archive__header { margin-bottom: clamp(58px, 8vw, 120px); }
.idp-artwork-single__header h1,
.idp-artwork-archive__header h1 {
  max-width: 13ch;
  margin: 18px 0 0;
  font-family: var(--idp-display);
  font-size: clamp(58px, 10vw, 156px);
  line-height: .78;
  letter-spacing: -.07em;
  font-weight: 700;
}
.idp-artwork-single__hero { margin: 0; }
.idp-artwork-single__hero img { width: 100%; height: auto; }
.idp-artwork-single__content { max-width: 720px; margin: 70px auto 0; font-size: 18px; line-height: 1.65; }
.idp-artwork-single__footer { display: flex; justify-content: flex-end; margin-top: 72px; }
.idp-artwork-archive__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: clamp(54px, 8vw, 120px) clamp(24px, 5vw, 80px);
}
.idp-artwork-archive__item:nth-child(even) { margin-top: 10vw; }
.idp-artwork-archive__item a { color: inherit; text-decoration: none; }
.idp-artwork-archive__item figure { margin: 0 0 18px; overflow: hidden; }
.idp-artwork-archive__item img { width: 100%; height: auto; }
.idp-artwork-archive__item h2 { margin: 9px 0 0; font-family: var(--idp-display); font-size: clamp(30px, 4vw, 60px); line-height: .9; letter-spacing: -.05em; }

@media (max-width: 760px) {
  .idp-works__more { justify-content: flex-start; margin-top: 66px; }

  .idp-studio {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 92px 0 100px;
  }
  .idp-studio__media {
    min-height: 72svh;
    margin: 0;
  }
  .idp-studio__panel {
    width: calc(100% - 32px);
    margin: -64px 16px 0;
    padding: 24px;
  }
  .idp-studio__panel h2 { font-size: clamp(42px, 13vw, 68px); }

  .idp-distance { padding-top: 96px; padding-bottom: 110px; }
  .idp-distance__head { grid-template-columns: 1fr; gap: 28px; margin-bottom: 70px; }
  .idp-distance__head h2 { font-size: clamp(62px, 20vw, 96px); line-height: .77; }
  .idp-distance__head h2 span:last-child { align-self: flex-start; margin-left: 12vw; }
  .idp-distance__visuals { grid-template-columns: 1fr; gap: 58px; }
  .idp-distance__frame--detail { width: 76%; margin: 0 0 0 auto; }
  .idp-distance__frame--whole { width: 94%; }

  .idp-process { grid-template-columns: 1fr; gap: 64px; padding-top: 96px; padding-bottom: 110px; }
  .idp-process__head h2 { font-size: clamp(62px, 19vw, 92px); }
  .idp-process__step { grid-template-columns: 36px 1fr; gap: 12px 18px; }
  .idp-process__step p { grid-column: 2; }

  .idp-home-cta { min-height: 74svh; padding-top: 96px; padding-bottom: 104px; }
  .idp-home-cta h2 { font-size: clamp(54px, 16vw, 82px); }
  .idp-home-cta__link { justify-self: start; font-size: 31px; }

  .idp-artwork-archive__grid { grid-template-columns: 1fr; gap: 70px; }
  .idp-artwork-archive__item:nth-child(even) { margin-top: 0; width: 86%; margin-left: auto; }
  .idp-artwork-single,
  .idp-artwork-archive { padding-top: 118px; }
}

@media (prefers-reduced-motion: reduce) {
  .js .idp-reveal,
  .js .idp-reveal.is-visible { opacity: 1; transform: none; transition: none; }
}

/* --------------------------------------------------------------------------
   v0.6 — navigation, favourite works, About, Contact and Blog
   -------------------------------------------------------------------------- */

/* Desktop studio fix: allow the grid item to shrink and cap the display word
   so "arquitectos" never escapes the paper panel. */
.idp-studio__panel {
  min-width: 0;
  max-width: 100%;
}
.idp-studio__panel h2 {
  max-width: 100%;
  font-size: clamp(42px, 4.05vw, 74px);
  line-height: .88;
  text-wrap: balance;
}

.idp-works__empty {
  margin-top: 40px;
  padding: 34px 0;
  border-top: 1px solid var(--idp-line);
  border-bottom: 1px solid var(--idp-line);
}
.idp-works__empty p { margin: 0 0 18px; color: var(--idp-muted); }

/* Contextual artwork back control. The visible arrow is thin, while the hit
   area remains comfortably large on touch screens. */
.idp-artwork-single__nav {
  display: flex;
  margin-bottom: clamp(44px, 6vw, 84px);
}
.idp-artwork-back {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  color: var(--idp-ink);
  text-decoration: none;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.idp-artwork-back svg {
  width: 38px;
  height: 24px;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.25;
  stroke-linecap: square;
  stroke-linejoin: miter;
  transition: transform 180ms ease-out;
}
.idp-artwork-back:hover svg,
.idp-artwork-back:focus-visible svg { transform: translateX(-5px); }
.idp-artwork-back:focus-visible { outline: 1px solid currentColor; outline-offset: 6px; }

/* Homepage blog / agenda --------------------------------------------------- */
.idp-home-blog {
  padding: clamp(110px, 12vw, 190px) var(--idp-page-pad) clamp(120px, 13vw, 210px);
  background: var(--idp-warm-paper);
  color: var(--idp-ink);
  border-top: 1px solid var(--idp-line-soft);
}
.idp-home-blog__head {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, .6fr);
  gap: clamp(40px, 8vw, 140px);
  align-items: end;
  margin-bottom: clamp(74px, 9vw, 140px);
}
.idp-home-blog__head h2 {
  max-width: 10ch;
  margin: 16px 0 0;
  font-family: var(--idp-display);
  font-size: clamp(58px, 8vw, 126px);
  line-height: .80;
  letter-spacing: -.07em;
  font-weight: 700;
}
.idp-home-blog__head > p {
  max-width: 38ch;
  margin: 0 0 8px;
  color: var(--idp-muted);
  font-size: clamp(16px, 1.35vw, 20px);
  line-height: 1.5;
}
.idp-home-blog__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, .72fr) minmax(0, .72fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: start;
}
.idp-home-post:nth-child(2) { margin-top: 9vw; }
.idp-home-post:nth-child(3) { margin-top: 3vw; }
.idp-home-post__link { display: block; color: inherit; text-decoration: none; }
.idp-home-post__media { margin: 0 0 22px; overflow: hidden; background: #e8e4dc; }
.idp-home-post__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 420ms cubic-bezier(.2,.7,.2,1);
}
.idp-home-post:nth-child(n+2) .idp-home-post__media img { aspect-ratio: 4 / 5; }
@media (hover:hover) and (pointer:fine) {
  .idp-home-post__link:hover .idp-home-post__media img { transform: scale(1.025); }
}
.idp-home-post__meta h3 {
  margin: 10px 0 0;
  font-family: var(--idp-display);
  font-size: clamp(30px, 3.5vw, 58px);
  line-height: .91;
  letter-spacing: -.05em;
  font-weight: 650;
}
.idp-home-post__meta > p:not(.idp-eyebrow) {
  margin: 18px 0 0;
  max-width: 46ch;
  color: var(--idp-muted);
  line-height: 1.5;
}
.idp-home-blog__empty {
  max-width: 760px;
  padding: 42px 0;
  border-top: 1px solid var(--idp-line);
  border-bottom: 1px solid var(--idp-line);
}
.idp-home-blog__empty > p:last-child { max-width: 48ch; color: var(--idp-muted); line-height: 1.5; }
.idp-home-blog__more { display: flex; justify-content: flex-end; margin-top: clamp(64px, 8vw, 112px); }

/* About ------------------------------------------------------------------- */
.idp-about-page,
.idp-contact-page,
.idp-blog-page {
  max-width: 100%;
  overflow-x: clip;
  background: var(--idp-paper);
  color: var(--idp-ink);
}
.idp-about-hero {
  min-height: 100svh;
  display: grid;
  align-content: end;
  padding: clamp(150px, 15vw, 240px) var(--idp-page-pad) clamp(80px, 8vw, 130px);
  background: var(--idp-warm-paper);
}
.idp-about-hero h1 {
  max-width: 10ch;
  margin: 20px 0 0;
  font-family: var(--idp-display);
  font-size: clamp(76px, 12.5vw, 204px);
  line-height: .72;
  letter-spacing: -.078em;
  font-weight: 700;
}
.idp-about-hero > p:last-child {
  max-width: 38ch;
  margin: clamp(42px, 6vw, 90px) 0 0 auto;
  font-size: clamp(18px, 1.7vw, 27px);
  line-height: 1.42;
}
.idp-about-story {
  display: grid;
  grid-template-columns: minmax(320px, .72fr) minmax(0, 1.28fr);
  min-height: 90svh;
  background: #000;
  color: #fff;
}
.idp-about-story__copy {
  align-self: end;
  padding: clamp(90px, 10vw, 160px) var(--idp-page-pad);
}
.idp-about-story__copy h2 {
  margin: 18px 0 42px;
  font-family: var(--idp-display);
  font-size: clamp(54px, 6vw, 96px);
  line-height: .84;
  letter-spacing: -.06em;
  font-weight: 700;
}
.idp-about-story__copy > p:not(.idp-eyebrow) {
  max-width: 42ch;
  color: rgba(255,255,255,.72);
  font-size: clamp(16px, 1.25vw, 19px);
  line-height: 1.6;
}
.idp-about-story__copy > .idp-about-story__statement {
  max-width: 34ch;
  margin: 34px 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.28);
  color: #fff;
  font-family: var(--idp-display);
  font-size: clamp(22px, 2.2vw, 34px);
  line-height: 1.08;
  letter-spacing: -.03em;
  font-weight: 600;
}
.idp-about-story__media { min-height: 90svh; overflow: hidden; background: var(--idp-orange); }
.idp-about-story__image { width: 100%; height: 100%; object-fit: cover; }
.idp-about-story__placeholder {
  height: 100%;
  min-height: 90svh;
  display: grid;
  place-items: end start;
  padding: 48px;
  background: var(--idp-orange);
  color: rgba(255,255,255,.9);
  font-family: var(--idp-display);
  font-size: clamp(80px, 11vw, 170px);
  font-weight: 700;
}
.idp-about-team {
  padding: clamp(110px, 12vw, 190px) var(--idp-page-pad);
  background: var(--idp-paper);
}
.idp-about-team > header {
  display: grid;
  grid-template-columns: .35fr 1fr;
  gap: 50px;
  align-items: start;
  margin-bottom: clamp(70px, 9vw, 140px);
}
.idp-about-team > header h2 {
  margin: 0;
  font-family: var(--idp-display);
  font-size: clamp(60px, 9vw, 142px);
  line-height: .78;
  letter-spacing: -.07em;
  font-weight: 700;
}
.idp-about-team__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  border-top: 1px solid var(--idp-line);
}
.idp-about-team__grid article {
  padding: clamp(34px, 5vw, 72px) 0;
  border-bottom: 1px solid var(--idp-line);
}
.idp-about-team__grid article:first-child { padding-right: 5vw; border-right: 1px solid var(--idp-line); }
.idp-about-team__grid article:last-child { padding-left: 5vw; }
.idp-about-team__grid span { color: var(--idp-muted); font-size: 11px; font-weight: 700; letter-spacing: .08em; }
.idp-about-team__grid h3 {
  margin: 28px 0 0;
  font-family: var(--idp-display);
  font-size: clamp(38px, 5vw, 78px);
  line-height: .86;
  letter-spacing: -.055em;
  font-weight: 600;
}
.idp-about-team__grid p { margin: 20px 0 0; color: var(--idp-muted); text-transform: uppercase; letter-spacing: .08em; font-size: 11px; }
.idp-about-manifesto {
  min-height: 86svh;
  display: grid;
  align-content: center;
  padding: clamp(110px, 13vw, 210px) var(--idp-page-pad);
  background: var(--idp-orange);
  color: #fff;
}
.idp-about-manifesto > p:nth-child(2) {
  max-width: 13ch;
  margin: 22px 0 clamp(50px, 7vw, 100px);
  font-family: var(--idp-display);
  font-size: clamp(56px, 8.5vw, 136px);
  line-height: .8;
  letter-spacing: -.07em;
  font-weight: 700;
}
.idp-about-manifesto .idp-text-link { color: #fff; border-color: #fff; }
.idp-about-cta {
  padding: clamp(110px, 13vw, 210px) var(--idp-page-pad);
  background: var(--idp-paper);
}
.idp-about-cta h2 {
  max-width: 12ch;
  margin: 20px 0 clamp(48px, 6vw, 88px);
  font-family: var(--idp-display);
  font-size: clamp(58px, 8vw, 128px);
  line-height: .82;
  letter-spacing: -.07em;
}
.idp-about-cta > a {
  display: inline-flex;
  gap: 22px;
  color: inherit;
  text-decoration: none;
  padding-bottom: 8px;
  border-bottom: 2px solid currentColor;
  font-family: var(--idp-display);
  font-size: clamp(28px, 3vw, 48px);
  font-weight: 600;
}

/* Contact ----------------------------------------------------------------- */
.idp-contact-hero {
  min-height: 74svh;
  display: grid;
  align-content: end;
  padding: clamp(150px, 15vw, 230px) var(--idp-page-pad) clamp(80px, 8vw, 120px);
  background: #000;
  color: #fff;
}
.idp-contact-hero h1 {
  margin: 18px 0 0;
  font-family: var(--idp-display);
  font-size: clamp(88px, 16vw, 260px);
  line-height: .7;
  letter-spacing: -.08em;
  font-weight: 700;
}
.idp-contact-hero > p:last-child {
  max-width: 44ch;
  margin: clamp(48px, 6vw, 90px) 0 0 auto;
  color: rgba(255,255,255,.72);
  font-size: clamp(17px, 1.5vw, 23px);
  line-height: 1.5;
}
.idp-contact-layout {
  display: grid;
  grid-template-columns: minmax(260px, .55fr) minmax(0, 1.45fr);
  min-height: 90svh;
  background: var(--idp-warm-paper);
}
.idp-contact-aside {
  padding: clamp(80px, 8vw, 130px) var(--idp-page-pad);
  border-right: 1px solid var(--idp-line);
}
.idp-contact-aside__place {
  margin: clamp(48px, 7vw, 100px) 0;
  font-family: var(--idp-display);
  font-size: clamp(50px, 6vw, 96px);
  line-height: .82;
  letter-spacing: -.06em;
  font-weight: 700;
}
.idp-contact-aside > p:last-child { max-width: 24ch; color: var(--idp-muted); line-height: 1.5; }
.idp-contact-form-wrap { padding: clamp(80px, 8vw, 130px) var(--idp-page-pad); }
.idp-contact-form-wrap h2 {
  margin: 0 0 clamp(46px, 6vw, 86px);
  font-family: var(--idp-display);
  font-size: clamp(60px, 8vw, 128px);
  line-height: .8;
  letter-spacing: -.07em;
}
.idp-contact-form { display: grid; gap: 30px; max-width: 880px; }
.idp-contact-form label { display: grid; gap: 10px; }
.idp-contact-form label > span { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.idp-contact-form input,
.idp-contact-form textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--idp-ink);
  border-radius: 0;
  padding: 12px 0 14px;
  background: transparent;
  color: var(--idp-ink);
  font: inherit;
  font-size: clamp(18px, 1.6vw, 23px);
  outline: none;
}
.idp-contact-form textarea { resize: vertical; min-height: 150px; }
.idp-contact-form input:focus,
.idp-contact-form textarea:focus { border-bottom-width: 2px; }
.idp-contact-form button {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 22px;
  margin-top: 10px;
  padding: 0 0 8px;
  border: 0;
  border-bottom: 2px solid currentColor;
  border-radius: 0;
  background: transparent;
  color: var(--idp-ink);
  cursor: pointer;
  font-family: var(--idp-display);
  font-size: clamp(28px, 3vw, 46px);
  font-weight: 600;
}
.idp-contact-form__privacy { margin: 0; color: var(--idp-muted); font-size: 12px; }
.idp-form-status { max-width: 700px; padding: 16px 0; border-top: 1px solid currentColor; border-bottom: 1px solid currentColor; }
.idp-form-status--ok { color: #245d2d; }
.idp-form-status--error { color: #9b2e28; }
.idp-honeypot { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* Blog -------------------------------------------------------------------- */
.idp-blog-hero {
  padding: clamp(150px, 15vw, 230px) var(--idp-page-pad) clamp(90px, 10vw, 150px);
  background: var(--idp-warm-paper);
}
.idp-blog-hero h1 {
  max-width: 10ch;
  margin: 18px 0 0;
  font-family: var(--idp-display);
  font-size: clamp(72px, 11vw, 180px);
  line-height: .76;
  letter-spacing: -.075em;
  font-weight: 700;
}
.idp-blog-hero > p:last-child { max-width: 42ch; margin: 48px 0 0 auto; color: var(--idp-muted); font-size: clamp(17px, 1.5vw, 23px); line-height: 1.5; }
.idp-blog-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0,1fr));
  gap: clamp(56px, 8vw, 130px) clamp(22px, 3vw, 48px);
  padding: clamp(90px, 10vw, 150px) var(--idp-page-pad) clamp(110px, 13vw, 190px);
}
.idp-blog-card { grid-column: span 4; min-width: 0; }
.idp-blog-card:nth-child(6n+1) { grid-column: 1 / span 6; }
.idp-blog-card:nth-child(6n+2) { grid-column: 8 / span 4; margin-top: 8vw; }
.idp-blog-card:nth-child(6n+3) { grid-column: 2 / span 4; }
.idp-blog-card:nth-child(6n+4) { grid-column: 7 / span 6; }
.idp-blog-card a { color: inherit; text-decoration: none; }
.idp-blog-card figure { margin: 0 0 22px; overflow: hidden; }
.idp-blog-card figure img { width: 100%; height: auto; }
.idp-blog-card h2 {
  margin: 12px 0 0;
  font-family: var(--idp-display);
  font-size: clamp(34px, 4.2vw, 68px);
  line-height: .9;
  letter-spacing: -.055em;
  font-weight: 650;
}
.idp-blog-card a > p:last-child { max-width: 44ch; color: var(--idp-muted); line-height: 1.5; }
.idp-blog-empty { grid-column: 1 / -1; padding: 40px 0; border-top: 1px solid var(--idp-line); border-bottom: 1px solid var(--idp-line); }
.idp-blog-pagination,
.idp-blog-page > .navigation.pagination { padding: 0 var(--idp-page-pad) 100px; max-width: none; margin: 0; }

@media (max-width: 1100px) and (min-width: 761px) {
  .idp-studio { grid-template-columns: minmax(0, 1.25fr) minmax(360px, .9fr); }
  .idp-studio__panel h2 { font-size: clamp(42px, 5.5vw, 64px); }
}

@media (max-width: 760px) {
  .idp-studio__panel h2 { max-width: 9.5ch; font-size: clamp(42px, 13vw, 68px); }
  .idp-artwork-single__nav { margin-bottom: 38px; }
  .idp-artwork-back span { font-size: 9px; }

  .idp-home-blog { padding-top: 96px; padding-bottom: 110px; }
  .idp-home-blog__head { grid-template-columns: 1fr; gap: 32px; margin-bottom: 70px; }
  .idp-home-blog__head h2 { font-size: clamp(54px, 17vw, 82px); }
  .idp-home-blog__grid { grid-template-columns: 1fr; gap: 70px; }
  .idp-home-post:nth-child(n) { margin-top: 0; }
  .idp-home-post:nth-child(2) { width: 84%; margin-left: auto; }
  .idp-home-post:nth-child(3) { width: 92%; }
  .idp-home-post__meta h3 { font-size: clamp(30px, 10vw, 44px); }
  .idp-home-blog__more { justify-content: flex-start; margin-top: 66px; }

  .idp-home-statement {
    grid-template-columns: 1fr;
    gap: 34px;
    padding-top: 88px;
    padding-bottom: 96px;
  }
  .idp-home-statement > p:last-child {
    max-width: 12ch;
    font-size: clamp(42px, 13.5vw, 66px);
  }

  .idp-about-hero { min-height: 88svh; padding-top: 120px; padding-bottom: 76px; }
  .idp-about-hero h1 { font-size: clamp(68px, 22vw, 106px); }
  .idp-about-hero > p:last-child { margin: 46px 0 0; }
  .idp-about-story { grid-template-columns: 1fr; }
  .idp-about-story__copy { order: 2; padding: 80px 16px 90px; }
  .idp-about-story__copy h2 { font-size: clamp(52px, 17vw, 82px); }
  .idp-about-story__copy > .idp-about-story__statement {
    max-width: 30ch;
    margin: 32px 0;
    font-size: clamp(24px, 7.4vw, 34px);
  }
  .idp-about-story__media { order: 1; min-height: 72svh; }
  .idp-about-story__placeholder { min-height: 72svh; padding: 24px 16px; }
  .idp-about-team { padding-top: 96px; padding-bottom: 110px; }
  .idp-about-team > header { grid-template-columns: 1fr; gap: 26px; margin-bottom: 70px; }
  .idp-about-team > header h2 { font-size: clamp(58px, 18vw, 88px); }
  .idp-about-team__grid { grid-template-columns: 1fr; }
  .idp-about-team__grid article:first-child { padding-right: 0; border-right: 0; }
  .idp-about-team__grid article:last-child { padding-left: 0; }
  .idp-about-team__grid h3 { font-size: clamp(40px, 13vw, 60px); }
  .idp-about-manifesto { min-height: 76svh; padding-top: 96px; padding-bottom: 104px; }
  .idp-about-manifesto > p:nth-child(2) { font-size: clamp(54px, 16vw, 82px); }
  .idp-about-cta { padding-top: 96px; padding-bottom: 110px; }
  .idp-about-cta h2 { font-size: clamp(54px, 16vw, 82px); }

  .idp-contact-hero { min-height: 70svh; padding-top: 118px; padding-bottom: 78px; }
  .idp-contact-hero h1 { font-size: clamp(86px, 28vw, 132px); }
  .idp-contact-hero > p:last-child { margin: 46px 0 0; }
  .idp-contact-layout { grid-template-columns: 1fr; }
  .idp-contact-aside { padding: 80px 16px; border-right: 0; border-bottom: 1px solid var(--idp-line); }
  .idp-contact-aside__place { font-size: 64px; }
  .idp-contact-form-wrap { padding: 80px 16px 100px; }
  .idp-contact-form-wrap h2 { font-size: 72px; }
  .idp-contact-form button { justify-self: start; font-size: 32px; }

  .idp-blog-hero { padding-top: 118px; padding-bottom: 86px; }
  .idp-blog-hero h1 { font-size: clamp(66px, 21vw, 98px); }
  .idp-blog-hero > p:last-child { margin: 42px 0 0; }
  .idp-blog-grid { grid-template-columns: 1fr; padding-top: 80px; padding-bottom: 110px; gap: 72px; }
  .idp-blog-card,
  .idp-blog-card:nth-child(n) { grid-column: 1; margin-top: 0; width: 100%; }
  .idp-blog-card:nth-child(3n+2) { width: 84%; margin-left: auto; }
  .idp-blog-card h2 { font-size: clamp(34px, 11vw, 50px); }
}


/* --------------------------------------------------------------------------
   v0.6.1 — artwork pacing, process layout hardening and terminology
   -------------------------------------------------------------------------- */

/* Artwork detail pages: the contextual back action should feel attached to the
   fixed header rather than beginning after a hero-sized top gutter. */
.idp-artwork-single {
  padding-top: clamp(88px, 6.4vw, 112px);
}
.idp-artwork-single__nav {
  margin-bottom: 26px;
}
.idp-artwork-single__header {
  margin-bottom: clamp(42px, 5vw, 76px);
}

/* Preserve every artwork's original aspect ratio, but normalise the viewing
   experience. Very tall pieces no longer create a multi-screen image before
   the visitor reaches the copy. The original remains available via zoom link. */
.idp-artwork-single__hero {
  display: grid;
  justify-items: center;
  gap: 14px;
  margin: 0;
  padding: clamp(18px, 2.5vw, 36px);
  background: var(--idp-warm-paper);
  overflow: hidden;
}
.idp-artwork-single__image-link {
  display: grid;
  width: 100%;
  min-width: 0;
  place-items: center;
  cursor: zoom-in;
  color: inherit;
  text-decoration: none;
}
.idp-artwork-single__hero .idp-artwork-single__image {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: min(82svh, 1080px);
  object-fit: contain;
}
.idp-artwork-single__hero figcaption {
  justify-self: end;
  width: 100%;
  text-align: right;
}
.idp-artwork-single__hero figcaption a {
  color: var(--idp-muted);
  text-decoration: none;
  font-size: 10px;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.idp-artwork-single__hero figcaption a:hover,
.idp-artwork-single__hero figcaption a:focus-visible {
  color: var(--idp-ink);
}

/* Process: headings and descriptions have explicit territory. The former .45fr
   heading column was too narrow for words such as “Composición”, causing it to
   paint underneath the copy at desktop widths. */
@media (min-width: 1501px) {
  .idp-process {
    grid-template-columns: minmax(300px, .72fr) minmax(0, 1.28fr);
    gap: clamp(64px, 6vw, 120px);
  }
  .idp-process__steps { min-width: 0; }
  .idp-process__step {
    grid-template-columns: 44px minmax(330px, .88fr) minmax(300px, 1.12fr);
    gap: clamp(20px, 2.2vw, 42px);
  }
  .idp-process__step h3 {
    min-width: 0;
    font-size: clamp(38px, 2.45vw, 52px);
    white-space: nowrap;
  }
  .idp-process__step p { min-width: 0; }
}

/* Medium desktops use a safer two-column step composition instead of trying to
   squeeze title and paragraph onto the same row. */
@media (min-width: 761px) and (max-width: 1500px) {
  .idp-process {
    grid-template-columns: minmax(250px, .68fr) minmax(0, 1.32fr);
    gap: clamp(46px, 5vw, 78px);
  }
  .idp-process__step {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 10px 22px;
  }
  .idp-process__step > span {
    grid-column: 1;
    grid-row: 1 / span 2;
    padding-top: 5px;
  }
  .idp-process__step h3 {
    grid-column: 2;
    grid-row: 1;
    min-width: 0;
    font-size: clamp(34px, 4vw, 50px);
  }
  .idp-process__step p {
    grid-column: 2;
    grid-row: 2;
    margin-top: 8px;
    max-width: 48ch;
  }
}

@media (max-width: 760px) {
  .idp-artwork-single {
    padding-top: max(74px, calc(env(safe-area-inset-top) + 62px));
  }
  .idp-artwork-single__nav { margin-bottom: 18px; }
  .idp-artwork-single__header { margin-bottom: 40px; }
  .idp-artwork-single__hero {
    padding: 12px;
    gap: 10px;
  }
  .idp-artwork-single__hero .idp-artwork-single__image {
    max-height: 76svh;
  }
}

/* --------------------------------------------------------------------------
   v0.6.2 — About portraits + resilient production-media fallback
   -------------------------------------------------------------------------- */
.idp-about-team__grid {
  gap: clamp(34px, 5vw, 88px);
  border-top: 0;
}
.idp-about-team__grid article,
.idp-about-team__grid article:first-child,
.idp-about-team__grid article:last-child {
  min-width: 0;
  padding: 0;
  border: 0;
}
.idp-about-person--gaspar { margin-top: clamp(48px, 7vw, 110px); }
.idp-about-person__media {
  margin: 0;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--idp-warm-paper);
}
.idp-about-person__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.idp-about-person__placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: end start;
  padding: 24px;
  background: var(--idp-warm-paper);
  color: var(--idp-muted);
  font-family: var(--idp-display);
  font-size: clamp(46px, 7vw, 100px);
  font-weight: 700;
}
.idp-about-person__meta {
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--idp-line);
}
.idp-about-person__meta h3 {
  max-width: 11ch;
}

@media (max-width: 760px) {
  .idp-about-team__grid { gap: 78px; }
  .idp-about-person--gaspar { margin-top: 0; }
  .idp-about-person__media { aspect-ratio: 4 / 5; }
  .idp-about-person__meta { margin-top: 18px; padding-top: 18px; }
}

/* --------------------------------------------------------------------------
   v0.6.4 — in-page artwork viewer / pinch-to-zoom lightbox
   -------------------------------------------------------------------------- */
.idp-artwork-viewer {
  width: 100vw;
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: #090909;
  color: #fff;
  overflow: hidden;
  overscroll-behavior: contain;
}
.idp-artwork-viewer[open] { display: block; }
.idp-artwork-viewer::backdrop { background: rgba(0, 0, 0, .94); }
.idp-artwork-viewer__stage {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  cursor: zoom-in;
  overscroll-behavior: contain;
}
.idp-artwork-viewer.is-zoomed .idp-artwork-viewer__stage { cursor: grab; }
.idp-artwork-viewer.is-zoomed .idp-artwork-viewer__stage:active { cursor: grabbing; }
.idp-artwork-viewer__image {
  display: block;
  width: auto;
  height: auto;
  max-width: calc(100vw - 40px);
  max-height: calc(100dvh - 126px);
  object-fit: contain;
  transform: translate3d(0, 0, 0) scale(1);
  transform-origin: center center;
  will-change: transform;
  pointer-events: none;
  -webkit-user-drag: none;
}
.idp-artwork-viewer__image.is-animated {
  transition: transform 180ms cubic-bezier(.2,.7,.2,1);
}
.idp-artwork-viewer__topbar {
  position: absolute;
  z-index: 3;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: max(14px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) 12px max(16px, env(safe-area-inset-left));
  pointer-events: none;
}
.idp-artwork-viewer__title {
  min-width: 0;
  overflow: hidden;
  color: rgba(255,255,255,.72);
  font-size: 11px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.idp-artwork-viewer__close {
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255,255,255,.26);
  border-radius: 0;
  background: rgba(9,9,9,.62);
  color: #fff;
  pointer-events: auto;
  cursor: pointer;
}
.idp-artwork-viewer__close svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.25;
}
.idp-artwork-viewer__toolbar {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: max(18px, env(safe-area-inset-bottom));
  display: flex;
  align-items: stretch;
  transform: translateX(-50%);
  border: 1px solid rgba(255,255,255,.23);
  background: rgba(9,9,9,.72);
}
.idp-artwork-viewer__toolbar button,
.idp-artwork-viewer__toolbar output {
  min-width: 46px;
  height: 44px;
  display: grid;
  place-items: center;
  margin: 0;
  padding: 0 11px;
  border: 0;
  border-right: 1px solid rgba(255,255,255,.16);
  border-radius: 0;
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: 14px;
}
.idp-artwork-viewer__toolbar button { cursor: pointer; }
.idp-artwork-viewer__toolbar output {
  min-width: 66px;
  color: rgba(255,255,255,.68);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .06em;
}
.idp-artwork-viewer__toolbar > :last-child { border-right: 0; }
.idp-artwork-viewer__toolbar button:hover,
.idp-artwork-viewer__toolbar button:focus-visible,
.idp-artwork-viewer__close:hover,
.idp-artwork-viewer__close:focus-visible {
  background: #fff;
  color: #000;
  outline: none;
}
.idp-artwork-viewer__hint {
  position: absolute;
  z-index: 2;
  left: max(16px, env(safe-area-inset-left));
  bottom: max(18px, env(safe-area-inset-bottom));
  margin: 0;
  color: rgba(255,255,255,.46);
  font-size: 10px;
  line-height: 1.35;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  pointer-events: none;
}
.idp-artwork-viewer__hint-mobile { display: none; }
body.idp-viewer-open { overscroll-behavior: none; }

/* The in-page viewer is progressive enhancement. Without JS the full-size
   anchor still opens the original image in the same tab rather than a new one. */
.idp-artwork-single__hero figcaption a span { display: inline-block; margin-left: 3px; }

@media (max-width: 760px) {
  .idp-artwork-viewer__image {
    max-width: calc(100vw - 20px);
    max-height: calc(100dvh - 108px);
  }
  .idp-artwork-viewer__title { max-width: calc(100vw - 92px); }
  .idp-artwork-viewer__hint {
    left: 50%;
    bottom: calc(max(18px, env(safe-area-inset-bottom)) + 58px);
    width: calc(100vw - 32px);
    transform: translateX(-50%);
    text-align: center;
  }
  .idp-artwork-viewer__hint-mobile { display: inline; }
  .idp-artwork-viewer__hint-desktop { display: none; }
  .idp-artwork-viewer__toolbar button,
  .idp-artwork-viewer__toolbar output { height: 46px; }
}

@media (prefers-reduced-motion: reduce) {
  .idp-artwork-viewer__image.is-animated { transition: none; }
}

/* v0.6.5 — editorial single blog post ------------------------------------ */
.idp-article-page {
  max-width: 100%;
  overflow-x: clip;
  background: var(--idp-paper);
  color: var(--idp-ink);
}
.idp-article { padding: clamp(138px, 13vw, 210px) var(--idp-page-pad) clamp(110px, 12vw, 180px); }
.idp-article__header {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr);
  gap: clamp(32px, 6vw, 110px);
  align-items: end;
  padding-bottom: clamp(58px, 7vw, 110px);
  border-bottom: 1px solid var(--idp-line);
}
.idp-article__header .idp-eyebrow { grid-column: 1 / -1; }
.idp-article__header h1 {
  margin: 0;
  font-family: var(--idp-display);
  font-size: clamp(58px, 8vw, 132px);
  line-height: .82;
  letter-spacing: -.07em;
  font-weight: 700;
}
.idp-article__dek {
  margin: 0;
  max-width: 36ch;
  color: var(--idp-muted);
  font-size: clamp(18px, 1.55vw, 25px);
  line-height: 1.45;
}
.idp-article__hero {
  margin: clamp(54px, 7vw, 110px) 0 clamp(72px, 8vw, 130px);
  display: grid;
  place-items: center;
  background: var(--idp-warm-paper);
  min-height: min(72svh, 820px);
  overflow: hidden;
}
.idp-article__hero img {
  display: block;
  width: 100%;
  max-height: min(84svh, 980px);
  object-fit: contain;
}
.idp-entry-content {
  max-width: 780px;
  margin: 0 auto;
  font-size: clamp(18px, 1.35vw, 21px);
  line-height: 1.72;
}
.idp-entry-content > * { margin-top: 0; margin-bottom: 1.55em; }
.idp-entry-content > p:first-child { font-size: clamp(22px, 2.1vw, 31px); line-height: 1.48; }
.idp-entry-content h2 {
  margin: clamp(70px, 8vw, 120px) 0 30px;
  font-family: var(--idp-display);
  font-size: clamp(42px, 5.2vw, 76px);
  line-height: .92;
  letter-spacing: -.055em;
  font-weight: 650;
}
.idp-entry-content a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .16em; }
.idp-entry-content .wp-block-image { margin: clamp(56px, 7vw, 100px) min(-9vw, -80px); }
.idp-entry-content .wp-block-image img { width: 100%; height: auto; }
.idp-entry-content figcaption {
  margin-top: 10px;
  color: var(--idp-muted);
  font-size: 12px;
  line-height: 1.45;
  letter-spacing: .03em;
}
.idp-entry-content .idp-demo-portraits {
  width: min(1120px, calc(100vw - (2 * var(--idp-page-pad))));
  margin: clamp(70px, 8vw, 120px) 50%;
  transform: translateX(-50%);
  gap: clamp(18px, 3vw, 44px);
}
.idp-entry-content .idp-demo-portraits .wp-block-image { margin: 0; }
.idp-entry-content .wp-block-separator { margin-top: 90px; border-color: var(--idp-line); }
.idp-entry-content .idp-article-source { color: var(--idp-muted); font-size: 14px; line-height: 1.6; }
.idp-article__footer {
  max-width: 780px;
  margin: clamp(80px, 9vw, 140px) auto 0;
  padding-top: 28px;
  border-top: 1px solid var(--idp-line);
}

@media (max-width: 760px) {
  .idp-article { padding-top: 118px; }
  .idp-article__header { grid-template-columns: 1fr; gap: 30px; }
  .idp-article__header h1 { font-size: clamp(48px, 15vw, 72px); }
  .idp-article__dek { max-width: 100%; }
  .idp-article__hero { min-height: 0; margin-top: 44px; margin-bottom: 72px; }
  .idp-article__hero img { max-height: 72svh; }
  .idp-entry-content { font-size: 17px; }
  .idp-entry-content > p:first-child { font-size: 20px; }
  .idp-entry-content h2 { margin-top: 64px; font-size: clamp(38px, 12vw, 54px); }
  .idp-entry-content .wp-block-image { margin: 54px 0; }
  .idp-entry-content .idp-demo-portraits {
    width: 100%;
    margin: 60px 0;
    transform: none;
    gap: 38px;
  }
}

/* ========================================================================== 
   v0.6.6 — mobile navigation, compact Blog/Agenda rail and true distance story
   Hero/video scroller rules above are intentionally untouched.
   ========================================================================== */

/* Mobile navigation ------------------------------------------------------- */
.idp-menu-toggle,
.idp-mobile-menu { display: none; }

.idp-menu-toggle {
  appearance: none;
  border: 0;
  border-radius: 0;
  padding: 8px 0 8px 12px;
  margin: -8px 0 -8px 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
  pointer-events: auto;
  align-items: center;
  gap: 10px;
}
.idp-menu-toggle__label {
  font-size: 9px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: .12em;
}
.idp-menu-toggle__icon {
  position: relative;
  display: block;
  width: 25px;
  height: 14px;
}
.idp-menu-toggle__icon i {
  position: absolute;
  left: 0;
  width: 25px;
  height: 1px;
  background: currentColor;
  transform-origin: 50% 50%;
  transition: top 180ms ease, transform 180ms ease;
}
.idp-menu-toggle__icon i:first-child { top: 3px; }
.idp-menu-toggle__icon i:last-child { top: 10px; }
.idp-menu-toggle[aria-expanded="true"] .idp-menu-toggle__icon i:first-child {
  top: 7px;
  transform: rotate(45deg);
}
.idp-menu-toggle[aria-expanded="true"] .idp-menu-toggle__icon i:last-child {
  top: 7px;
  transform: rotate(-45deg);
}

@media (max-width: 760px) {
  .idp-menu-toggle {
    position: relative;
    z-index: 210;
    display: inline-flex;
  }
  .idp-mobile-menu[hidden] { display: none !important; }
  .idp-mobile-menu:not([hidden]) {
    position: fixed;
    z-index: 190;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100svh;
    padding:
      max(92px, calc(72px + env(safe-area-inset-top)))
      var(--idp-page-pad)
      max(26px, env(safe-area-inset-bottom));
    background: var(--idp-paper);
    color: var(--idp-ink);
    overflow-y: auto;
    pointer-events: auto;
  }
  html.idp-menu-open,
  body.idp-menu-open { overflow: hidden; }
  html.idp-menu-open .idp-site-header,
  body.idp-menu-open .idp-site-header {
    z-index: 200;
    color: var(--idp-ink);
    background: var(--idp-paper);
    border-bottom-color: var(--idp-line-soft);
  }
  html.idp-menu-open .idp-brand,
  body.idp-menu-open .idp-brand {
    position: relative;
    z-index: 210;
  }
  html.idp-menu-open .idp-menu-toggle,
  body.idp-menu-open .idp-menu-toggle {
    z-index: 220;
    color: var(--idp-ink);
  }
  .idp-mobile-menu__nav {
    display: flex;
    flex-direction: column;
    border-top: 1px solid var(--idp-line);
  }
  .idp-mobile-menu__nav a {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    align-items: baseline;
    gap: 10px;
    padding: 18px 0 20px;
    border-bottom: 1px solid var(--idp-line);
    color: inherit;
    text-decoration: none;
    font-family: var(--idp-display);
    font-size: clamp(42px, 13.5vw, 66px);
    line-height: .9;
    letter-spacing: -.055em;
    font-weight: 650;
  }
  .idp-mobile-menu__nav a span {
    align-self: start;
    padding-top: .35em;
    font-family: var(--idp-body);
    font-size: 9px;
    line-height: 1;
    letter-spacing: .08em;
    font-weight: 700;
  }
  .idp-mobile-menu__foot {
    margin: 44px 0 0;
    font-size: 9px;
    line-height: 1.4;
    font-weight: 700;
    letter-spacing: .12em;
  }
}

/* De cerca / De lejos — real scroll zoom-out ----------------------------- */
.idp-distance.idp-distance--story {
  --idp-distance-start-scale: 5.15;
  --idp-distance-header-offset: 72px;
  --idp-distance-wall: #f1eee6;
  padding: 0;
  border-top: 1px solid var(--idp-line-soft);
  background: var(--idp-paper);
  overflow: clip;
}
.idp-distance__intro {
  min-height: min(82svh, 860px);
  display: grid;
  grid-template-columns: minmax(180px, .32fr) minmax(0, 1fr);
  grid-template-rows: auto auto;
  gap: 26px clamp(34px, 7vw, 120px);
  align-content: end;
  padding: clamp(110px, 12vw, 190px) var(--idp-page-pad) clamp(72px, 8vw, 120px);
}
.idp-distance__intro > .idp-eyebrow { margin: 8px 0 0; }
.idp-distance__intro h2 {
  grid-column: 2;
  display: flex;
  flex-direction: column;
  max-width: 9ch;
  margin: 0;
  font-family: var(--idp-display);
  font-size: clamp(72px, 11.7vw, 184px);
  line-height: .74;
  letter-spacing: -.073em;
  font-weight: 700;
}
.idp-distance__intro h2 span:last-child {
  margin-left: clamp(26px, 8vw, 130px);
}
.idp-distance__intro > p:last-child {
  grid-column: 2;
  max-width: 45ch;
  margin: 16px 0 0;
  color: var(--idp-muted);
  font-size: clamp(16px, 1.35vw, 20px);
  line-height: 1.55;
}
.idp-distance-zoom {
  position: relative;
  height: 280svh;
  background: var(--idp-distance-wall);
}
/*
 * Same viewport split that fixed the hero video:
 * - sticky geometry remains 100svh so scroll progress is stable;
 * - the visual wall extends to 100lvh so collapsing mobile browser chrome never
 *   reveals an unpainted/black strip underneath the stage.
 */
.idp-distance-zoom__stage {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100svh;
  overflow: visible;
  background: transparent;
}
.idp-distance-zoom__media {
  position: absolute;
  z-index: 0;
  top: 0;
  right: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  margin: 0;
  overflow: hidden;
  background: var(--idp-distance-wall);
}
@supports (height: 100lvh) {
  .idp-distance-zoom__media { height: 100lvh; }
}
/* Keep the artwork centred in the stable viewport while the wall overscans. */
.idp-distance-zoom__artwork {
  position: absolute;
  top: var(--idp-distance-header-offset);
  right: 0;
  left: 0;
  height: calc(100svh - var(--idp-distance-header-offset));
  display: grid;
  place-items: center;
  overflow: visible;
}
.idp-distance-zoom__image {
  display: block;
  width: auto;
  height: auto;
  max-width: min(calc(100vw - clamp(84px, 10vw, 170px)), 760px);
  max-height: calc(100svh - clamp(72px, 9vw, 130px));
  object-fit: contain;
  transform: scale(var(--idp-distance-start-scale));
  transform-origin: 50% 50%;
  border: clamp(8px, .85vw, 14px) solid #faf8f2;
  outline: 1px solid rgba(0,0,0,.12);
  box-shadow: 0 18px 55px rgba(0,0,0,.16);
  will-change: transform;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
.idp-distance-zoom__label {
  position: absolute;
  z-index: 2;
  bottom: max(22px, env(safe-area-inset-bottom));
  color: #111;
  font-size: 9px;
  line-height: 1;
  letter-spacing: .13em;
  font-weight: 700;
  pointer-events: none;
}
.idp-distance-zoom__label--near { left: var(--idp-page-pad); }
.idp-distance-zoom__label--far {
  right: var(--idp-page-pad);
  opacity: 0;
}
.idp-distance__after {
  display: grid;
  grid-template-columns: minmax(180px, .32fr) minmax(0, 1fr);
  gap: clamp(34px, 7vw, 120px);
  padding: clamp(58px, 6vw, 92px) var(--idp-page-pad) clamp(110px, 12vw, 180px);
  background: var(--idp-paper);
}
.idp-distance__after p { margin: 0; }
.idp-distance__after > p:last-child {
  max-width: 45ch;
  color: var(--idp-muted);
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.55;
}

/* Homepage Blog / Agenda — deliberately lighter visual weight ------------ */
.idp-home-blog {
  padding: clamp(82px, 8vw, 128px) var(--idp-page-pad) clamp(86px, 9vw, 142px);
}
.idp-home-blog__head {
  grid-template-columns: minmax(0, .9fr) minmax(260px, .55fr);
  gap: clamp(34px, 6vw, 96px);
  margin-bottom: clamp(42px, 5vw, 72px);
}
.idp-home-blog__head h2 {
  max-width: 11ch;
  margin-top: 12px;
  font-size: clamp(46px, 5.7vw, 84px);
  line-height: .84;
}
.idp-home-blog__head > p {
  max-width: 36ch;
  font-size: clamp(14px, 1.1vw, 17px);
  line-height: 1.5;
}
.idp-home-blog__rail {
  display: flex;
  gap: clamp(16px, 2vw, 28px);
  width: calc(100% + var(--idp-page-pad));
  margin-right: calc(-1 * var(--idp-page-pad));
  padding: 0 var(--idp-page-pad) 22px 0;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-inline: contain;
  scroll-snap-type: inline mandatory;
  scroll-padding-inline: 0 var(--idp-page-pad);
  scrollbar-width: thin;
  scrollbar-color: rgba(0,0,0,.32) transparent;
  -webkit-overflow-scrolling: touch;
}
.idp-home-blog__rail::-webkit-scrollbar { height: 2px; }
.idp-home-blog__rail::-webkit-scrollbar-track { background: rgba(0,0,0,.09); }
.idp-home-blog__rail::-webkit-scrollbar-thumb { background: rgba(0,0,0,.42); }
.idp-home-blog__rail .idp-home-post {
  flex: 0 0 clamp(270px, 29vw, 390px);
  min-width: 0;
  margin-top: 0 !important;
  scroll-snap-align: start;
}
.idp-home-post__link { height: 100%; }
.idp-home-post__media {
  position: relative;
  margin-bottom: 16px;
  aspect-ratio: 16 / 10;
}
.idp-home-post__media img,
.idp-home-post:nth-child(n+2) .idp-home-post__media img {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
}
.idp-home-post__media-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--idp-display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -.03em;
  color: rgba(0,0,0,.18);
}
.idp-home-post__meta h3 {
  margin-top: 9px;
  font-size: clamp(23px, 2.25vw, 34px);
  line-height: .96;
  letter-spacing: -.045em;
}
.idp-home-blog__swipe {
  margin: 12px 0 0;
  color: var(--idp-muted);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .12em;
}
.idp-home-blog__more {
  justify-content: flex-start;
  margin-top: clamp(34px, 4vw, 56px);
  padding-top: 24px;
  border-top: 1px solid var(--idp-line);
}

@media (max-width: 760px) {
  .idp-distance.idp-distance--story {
    --idp-distance-start-scale: 4.6;
    --idp-distance-header-offset: max(60px, calc(29px + env(safe-area-inset-top)));
  }
  .idp-distance__intro {
    min-height: 72svh;
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 94px var(--idp-page-pad) 64px;
  }
  .idp-distance__intro > .idp-eyebrow,
  .idp-distance__intro h2,
  .idp-distance__intro > p:last-child { grid-column: 1; }
  .idp-distance__intro h2 {
    font-size: clamp(70px, 23vw, 104px);
    line-height: .73;
  }
  .idp-distance__intro h2 span:last-child { margin-left: 11vw; }
  .idp-distance__intro > p:last-child { margin-top: 6px; font-size: 16px; }
  .idp-distance-zoom { height: 250svh; }
  .idp-distance-zoom__image {
    max-width: calc(100vw - 34px);
    max-height: calc(100svh - 86px);
    border-width: 7px;
    box-shadow: 0 14px 38px rgba(0,0,0,.14);
  }
  .idp-distance-zoom__label {
    bottom: max(16px, env(safe-area-inset-bottom));
    color: #111;
  }
  .idp-distance__after {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 46px var(--idp-page-pad) 100px;
  }
  .idp-distance__after > p:last-child { font-size: 16px; }

  .idp-home-blog { padding: 78px var(--idp-page-pad) 92px; }
  .idp-home-blog__head {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 42px;
  }
  .idp-home-blog__head h2 { font-size: clamp(48px, 15vw, 70px); }
  .idp-home-blog__head > p { max-width: 32ch; font-size: 15px; }
  .idp-home-blog__rail .idp-home-post { flex-basis: min(82vw, 340px); }
  .idp-home-post__media { margin-bottom: 14px; }
  .idp-home-post__meta h3 { font-size: clamp(25px, 7.4vw, 32px); }
  .idp-home-blog__swipe { display: block; }
  .idp-home-blog__more { margin-top: 34px; }
}

@media (min-width: 761px) {
  .idp-home-blog__swipe { opacity: .66; }
}

@media (prefers-reduced-motion: reduce) {
  .idp-distance-zoom { height: auto; }
  .idp-distance-zoom__stage {
    position: relative;
    height: auto;
    min-height: 78svh;
    overflow: hidden;
  }
  .idp-distance-zoom__media {
    position: relative;
    height: auto;
    min-height: 78svh;
  }
  .idp-distance-zoom__artwork {
    position: relative;
    height: auto;
    min-height: 78svh;
    padding: 38px var(--idp-page-pad);
  }
  .idp-distance-zoom__image {
    transform: none !important;
    will-change: auto;
  }
  .idp-distance-zoom__label { display: none; }
  .idp-menu-toggle__icon i { transition: none; }
}

/* v0.6.6.2 — clearer mobile close state. */
@media (max-width: 760px) {
  .idp-menu-toggle[aria-expanded="true"] .idp-menu-toggle__label { letter-spacing: .09em; }
  .idp-menu-toggle[aria-expanded="true"] .idp-menu-toggle__icon { width: 24px; height: 18px; }
  .idp-menu-toggle[aria-expanded="true"] .idp-menu-toggle__icon i {
    width: 24px;
    height: 1.25px;
  }
}


/* v0.6.6.4 — keep the close control above the full-screen menu panel and
   centre the final artwork in the viewport area that remains below the fixed
   header. The latter removes the apparent extra bottom margin at full reveal. */


/* v0.6.6.3 — honest event-specific fallback when no public documentary photo exists. */
.idp-event-cover {
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  min-height: 260px;
  padding: clamp(22px, 3vw, 42px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  background: #171717;
  color: #f7f4ed;
  text-align: left;
}
.idp-event-cover__kicker,
.idp-event-cover__place {
  font-size: 11px;
  line-height: 1.2;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.idp-event-cover__title {
  max-width: 15ch;
  font-family: var(--idp-display);
  font-size: clamp(24px, 3vw, 48px);
  line-height: .95;
  letter-spacing: -.045em;
  font-weight: 650;
}
.idp-home-post__media > .idp-event-cover { position: absolute; inset: 0; min-height: 0; }
.idp-blog-card figure > .idp-event-cover { aspect-ratio: 16 / 10; }
.idp-article__hero > .idp-event-cover { width: min(100%, 1180px); min-height: min(70svh, 780px); }


/* --------------------------------------------------------------------------
   v0.6.7 — artwork archive contextual back + compact opening rhythm
   -------------------------------------------------------------------------- */

/* /obras now uses the same back affordance and context-navigation behaviour as
   artwork detail pages. Keep the control directly below the fixed header and
   let it occupy the space that was previously an empty top gutter. */
.idp-artwork-archive {
  padding-top: clamp(88px, 6.4vw, 112px);
}
.idp-artwork-archive__nav {
  display: flex;
  margin-bottom: 26px;
}

@media (max-width: 760px) {
  .idp-artwork-archive {
    padding-top: max(82px, calc(env(safe-area-inset-top) + 56px));
  }
  .idp-artwork-archive__nav {
    margin-bottom: 14px;
  }
}


/* --------------------------------------------------------------------------
   v0.6.7.1 — mobile polish: compositor-safe distance ending, contact fit and
   a non-interactive editorial statement in place of the category strip.
   -------------------------------------------------------------------------- */

/* Stack the animated image and its mobile-only settled twin in exactly the
   same grid cell. The twin itself is never transformed. */
.idp-distance-zoom__artwork { grid-template-areas: "distance-art"; }
.idp-distance-zoom__image { grid-area: distance-art; }
.idp-distance-zoom__image--settled {
  opacity: 0;
  transform: none !important;
  will-change: opacity;
  pointer-events: none;
  -webkit-backface-visibility: visible;
  backface-visibility: visible;
}

.idp-category-strip__mobile-copy { display: none; }

@media (max-width: 760px) {
  /* Keep Hablemos entirely inside narrow viewports. */
  .idp-contact-hero h1 {
    font-size: clamp(74px, 22vw, 108px);
    line-height: .75;
    letter-spacing: -.07em;
  }
  .idp-contact-hero > p:last-child {
    max-width: 38ch;
    padding-right: clamp(12px, 4vw, 24px);
  }
  .idp-contact-form-wrap { padding-right: 24px; }

  /* On mobile the three boxed labels read too much like controls. Turn this
     transition into a single editorial beat while desktop keeps the taxonomy. */
  .idp-category-strip {
    display: block;
    border-bottom: 0;
  }
  .idp-category-strip > span { display: none; }
  .idp-category-strip__mobile-copy {
    display: block;
    min-height: 190px;
    margin: 0;
    padding: 42px var(--idp-page-pad) 46px;
    font-family: var(--idp-display);
    font-size: clamp(38px, 11.5vw, 54px);
    line-height: .92;
    letter-spacing: -.055em;
    font-weight: 600;
    max-width: 13ch;
  }
}

/* --------------------------------------------------------------------------
   v0.6.7.2 — mobile typography fit
   -------------------------------------------------------------------------- */
@media (max-width: 760px) {
  /* The previous clamp was still too wide on real narrow Safari viewports.
     Keep the display impact, but guarantee the complete word fits. */
  .idp-contact-hero h1 {
    font-size: clamp(58px, 17vw, 72px);
    line-height: .78;
    letter-spacing: -.065em;
    white-space: nowrap;
  }

  /* Make the editorial beat quieter and let the black field do more work. */
  .idp-category-strip__mobile-copy {
    min-height: 232px;
    padding-top: 54px;
    padding-bottom: 58px;
    font-size: clamp(28px, 8vw, 38px);
    line-height: 1.02;
    letter-spacing: -.045em;
    max-width: 15ch;
  }
}


/* --------------------------------------------------------------------------
   v0.6.9 — Instagram touchpoints
   -------------------------------------------------------------------------- */
.idp-instagram-icon {
  display: block;
  width: 1.35em;
  height: 1.35em;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.idp-instagram-icon__dot {
  fill: currentColor;
  stroke: none;
}

.idp-site-footer__instagram {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
}
.idp-site-footer__instagram .idp-instagram-icon {
  width: 15px;
  height: 15px;
}

.idp-contact-instagram {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  margin-top: 30px;
  color: inherit;
  text-decoration: none;
  font-size: 12px;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: .055em;
}
.idp-contact-instagram .idp-instagram-icon {
  width: 19px;
  height: 19px;
}
.idp-contact-instagram:hover span,
.idp-contact-instagram:focus-visible span {
  text-decoration: underline;
  text-underline-offset: .24em;
}

@media (max-width: 760px) {
  .idp-mobile-menu__bottom {
    margin-top: 42px;
    padding-top: 22px;
    border-top: 1px solid var(--idp-line);
  }
  .idp-mobile-menu__instagram {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: fit-content;
    color: inherit;
    text-decoration: none;
    font-size: 11px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: .035em;
  }
  .idp-mobile-menu__instagram .idp-instagram-icon {
    width: 19px;
    height: 19px;
  }
  .idp-mobile-menu__foot {
    margin-top: 22px;
  }
  .idp-site-footer__instagram {
    justify-content: flex-start;
  }
  .idp-contact-instagram {
    margin-top: 26px;
  }
}

/* v0.6.10 — current editorial year is rendered dynamically in front-page.php. */

/* ========================================================================== 
   v0.7.1 — production theme metadata + attribution
   ========================================================================== */

/* Keep the visual language intact while exposing a clear keyboard-only focus
   indicator. Native touch highlighting remains disabled on the header. */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

.idp-skip-link:focus-visible {
  outline-color: #000;
  outline-offset: 3px;
}

/* WCAG-friendly physical targets. The typography is unchanged; only the
   interactive box grows. Header controls fit inside the existing 72px rail. */
.idp-brand,
.idp-primary-nav a {
  min-block-size: 44px;
  display: inline-flex;
  align-items: center;
}
.idp-menu-toggle { min-block-size: 44px; }

.idp-site-footer__meta {
  gap: 0;
}
.idp-site-footer__meta a {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  min-inline-size: 44px;
  min-block-size: 44px;
}
.idp-site-footer__credits a,
.idp-contact-instagram,
.idp-mobile-menu__instagram {
  min-block-size: 44px;
  display: inline-flex;
  align-items: center;
}
.idp-site-footer__credits a { padding-inline: 4px; }

.idp-field-error {
  color: #9b2e28;
  font-size: 12px !important;
  line-height: 1.45;
  letter-spacing: 0 !important;
  text-transform: none !important;
  font-weight: 600 !important;
}
.idp-contact-form [aria-invalid="true"] {
  border-bottom-color: #9b2e28;
  border-bottom-width: 2px;
}

@media (max-width: 760px) {
  .idp-site-footer__meta a { justify-content: flex-start; }
  .idp-menu-toggle { min-inline-size: 44px; justify-content: flex-end; }
}

/* Reduced-motion mode is an alternate static presentation, not a zero-duration
   version of the animated one. The scroller and distance story are converted
   to normal document flow by the earlier component rules; these declarations
   remove the remaining decorative movement and reveal effects. */
@media (prefers-reduced-motion: reduce) {
  .idp-site-header,
  .idp-primary-nav a::after,
  .idp-menu-toggle__icon i,
  .idp-scrolly__poster,
  .idp-scrolly__video,
  .idp-artwork-back svg,
  .idp-artwork-viewer__image,
  .idp-work__media img {
    transition: none !important;
  }

  .js .idp-reveal,
  .js .idp-reveal.is-visible {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
